diff --git a/Base/src/main/java/io/deephaven/base/ArrayUtil.java b/Base/src/main/java/io/deephaven/base/ArrayUtil.java index c65cf19a062..557ed8d2568 100644 --- a/Base/src/main/java/io/deephaven/base/ArrayUtil.java +++ b/Base/src/main/java/io/deephaven/base/ArrayUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import io.deephaven.base.verify.Require; diff --git a/Base/src/main/java/io/deephaven/base/AtomicUtil.java b/Base/src/main/java/io/deephaven/base/AtomicUtil.java index 585a36ffb30..43aa96ac37b 100644 --- a/Base/src/main/java/io/deephaven/base/AtomicUtil.java +++ b/Base/src/main/java/io/deephaven/base/AtomicUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import java.util.concurrent.atomic.AtomicInteger; diff --git a/Base/src/main/java/io/deephaven/base/Base64.java b/Base/src/main/java/io/deephaven/base/Base64.java index 93d823976df..e84f03df7d8 100644 --- a/Base/src/main/java/io/deephaven/base/Base64.java +++ b/Base/src/main/java/io/deephaven/base/Base64.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; /* copied from java.util.prefs; but allow the class to be public */ diff --git a/Base/src/main/java/io/deephaven/base/ClampUtil.java b/Base/src/main/java/io/deephaven/base/ClampUtil.java index 3894d282e7c..a17537eab04 100644 --- a/Base/src/main/java/io/deephaven/base/ClampUtil.java +++ b/Base/src/main/java/io/deephaven/base/ClampUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; public class ClampUtil { diff --git a/Base/src/main/java/io/deephaven/base/ClassUtil.java b/Base/src/main/java/io/deephaven/base/ClassUtil.java index 8833b95c4c9..e06d2350585 100644 --- a/Base/src/main/java/io/deephaven/base/ClassUtil.java +++ b/Base/src/main/java/io/deephaven/base/ClassUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import org.apache.commons.lang3.ClassUtils; diff --git a/Base/src/main/java/io/deephaven/base/CompareUtils.java b/Base/src/main/java/io/deephaven/base/CompareUtils.java index a3a13e23788..a2129f6921c 100644 --- a/Base/src/main/java/io/deephaven/base/CompareUtils.java +++ b/Base/src/main/java/io/deephaven/base/CompareUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; public class CompareUtils { diff --git a/Base/src/main/java/io/deephaven/base/Copyable.java b/Base/src/main/java/io/deephaven/base/Copyable.java index 96ba82515fe..8d8e8b2235d 100644 --- a/Base/src/main/java/io/deephaven/base/Copyable.java +++ b/Base/src/main/java/io/deephaven/base/Copyable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; public interface Copyable extends SafeCloneable { diff --git a/Base/src/main/java/io/deephaven/base/Encodeable.java b/Base/src/main/java/io/deephaven/base/Encodeable.java index fb35f8d0a50..522cd0f735f 100644 --- a/Base/src/main/java/io/deephaven/base/Encodeable.java +++ b/Base/src/main/java/io/deephaven/base/Encodeable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import java.io.DataInput; diff --git a/Base/src/main/java/io/deephaven/base/FIFOMutex.java b/Base/src/main/java/io/deephaven/base/FIFOMutex.java index 39d617c7db4..5f6df397ba0 100644 --- a/Base/src/main/java/io/deephaven/base/FIFOMutex.java +++ b/Base/src/main/java/io/deephaven/base/FIFOMutex.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import java.util.concurrent.atomic.AtomicReference; diff --git a/Base/src/main/java/io/deephaven/base/FIFOSemaphore.java b/Base/src/main/java/io/deephaven/base/FIFOSemaphore.java index 542ffa1476e..88669f9aafc 100644 --- a/Base/src/main/java/io/deephaven/base/FIFOSemaphore.java +++ b/Base/src/main/java/io/deephaven/base/FIFOSemaphore.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import io.deephaven.base.verify.Assert; diff --git a/Base/src/main/java/io/deephaven/base/Factory.java b/Base/src/main/java/io/deephaven/base/Factory.java index 10562d5fec2..a2510221956 100644 --- a/Base/src/main/java/io/deephaven/base/Factory.java +++ b/Base/src/main/java/io/deephaven/base/Factory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; public interface Factory { diff --git a/Base/src/main/java/io/deephaven/base/FatalErrorHandler.java b/Base/src/main/java/io/deephaven/base/FatalErrorHandler.java index cb26a0b8b81..ec2c720c56c 100644 --- a/Base/src/main/java/io/deephaven/base/FatalErrorHandler.java +++ b/Base/src/main/java/io/deephaven/base/FatalErrorHandler.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; /** diff --git a/Base/src/main/java/io/deephaven/base/FatalErrorHandlerFactory.java b/Base/src/main/java/io/deephaven/base/FatalErrorHandlerFactory.java index c28f38482fd..9f37873b7a0 100644 --- a/Base/src/main/java/io/deephaven/base/FatalErrorHandlerFactory.java +++ b/Base/src/main/java/io/deephaven/base/FatalErrorHandlerFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; public interface FatalErrorHandlerFactory { diff --git a/Base/src/main/java/io/deephaven/base/FileUtils.java b/Base/src/main/java/io/deephaven/base/FileUtils.java index 09e6a21f2d3..983c7d3a5b7 100644 --- a/Base/src/main/java/io/deephaven/base/FileUtils.java +++ b/Base/src/main/java/io/deephaven/base/FileUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import io.deephaven.base.verify.Assert; diff --git a/Base/src/main/java/io/deephaven/base/Lazy.java b/Base/src/main/java/io/deephaven/base/Lazy.java index db280fab6e4..47744e787af 100644 --- a/Base/src/main/java/io/deephaven/base/Lazy.java +++ b/Base/src/main/java/io/deephaven/base/Lazy.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import java.util.function.Supplier; diff --git a/Base/src/main/java/io/deephaven/base/LockFreeArrayQueue.java b/Base/src/main/java/io/deephaven/base/LockFreeArrayQueue.java index 4093efd82c7..558d37fd5ce 100644 --- a/Base/src/main/java/io/deephaven/base/LockFreeArrayQueue.java +++ b/Base/src/main/java/io/deephaven/base/LockFreeArrayQueue.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import io.deephaven.base.queue.ConcurrentQueue; diff --git a/Base/src/main/java/io/deephaven/base/LowGarbageArrayIntegerMap.java b/Base/src/main/java/io/deephaven/base/LowGarbageArrayIntegerMap.java index ad29fd102e9..7cac75f1288 100644 --- a/Base/src/main/java/io/deephaven/base/LowGarbageArrayIntegerMap.java +++ b/Base/src/main/java/io/deephaven/base/LowGarbageArrayIntegerMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import io.deephaven.base.verify.Assert; diff --git a/Base/src/main/java/io/deephaven/base/LowGarbageArrayList.java b/Base/src/main/java/io/deephaven/base/LowGarbageArrayList.java index bfaf322db43..03018bec188 100644 --- a/Base/src/main/java/io/deephaven/base/LowGarbageArrayList.java +++ b/Base/src/main/java/io/deephaven/base/LowGarbageArrayList.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import io.deephaven.base.verify.Assert; diff --git a/Base/src/main/java/io/deephaven/base/LowGarbageArraySet.java b/Base/src/main/java/io/deephaven/base/LowGarbageArraySet.java index a181145d4e7..55907a77e4c 100644 --- a/Base/src/main/java/io/deephaven/base/LowGarbageArraySet.java +++ b/Base/src/main/java/io/deephaven/base/LowGarbageArraySet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import java.util.AbstractSet; diff --git a/Base/src/main/java/io/deephaven/base/MathUtil.java b/Base/src/main/java/io/deephaven/base/MathUtil.java index f7ebc05b6b0..1f07a5923ef 100644 --- a/Base/src/main/java/io/deephaven/base/MathUtil.java +++ b/Base/src/main/java/io/deephaven/base/MathUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; /** diff --git a/Base/src/main/java/io/deephaven/base/Pair.java b/Base/src/main/java/io/deephaven/base/Pair.java index 766c33656f1..288b2df0c69 100644 --- a/Base/src/main/java/io/deephaven/base/Pair.java +++ b/Base/src/main/java/io/deephaven/base/Pair.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/Predicate.java b/Base/src/main/java/io/deephaven/base/Predicate.java index 397654654ed..97fdb2e67c8 100644 --- a/Base/src/main/java/io/deephaven/base/Predicate.java +++ b/Base/src/main/java/io/deephaven/base/Predicate.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; public class Predicate { diff --git a/Base/src/main/java/io/deephaven/base/RAPriQueue.java b/Base/src/main/java/io/deephaven/base/RAPriQueue.java index 478912bb19b..b7f89b39987 100644 --- a/Base/src/main/java/io/deephaven/base/RAPriQueue.java +++ b/Base/src/main/java/io/deephaven/base/RAPriQueue.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import java.util.Arrays; diff --git a/Base/src/main/java/io/deephaven/base/Reference.java b/Base/src/main/java/io/deephaven/base/Reference.java index ad60bcf79b5..92f40d19a76 100644 --- a/Base/src/main/java/io/deephaven/base/Reference.java +++ b/Base/src/main/java/io/deephaven/base/Reference.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; // -------------------------------------------------------------------- diff --git a/Base/src/main/java/io/deephaven/base/RingBuffer.java b/Base/src/main/java/io/deephaven/base/RingBuffer.java index bc14dae7247..4c83c096256 100644 --- a/Base/src/main/java/io/deephaven/base/RingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/RingBuffer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import java.util.Arrays; diff --git a/Base/src/main/java/io/deephaven/base/SafeCloneable.java b/Base/src/main/java/io/deephaven/base/SafeCloneable.java index 85381a26903..c6ffd04356e 100644 --- a/Base/src/main/java/io/deephaven/base/SafeCloneable.java +++ b/Base/src/main/java/io/deephaven/base/SafeCloneable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; /** diff --git a/Base/src/main/java/io/deephaven/base/SleepUtil.java b/Base/src/main/java/io/deephaven/base/SleepUtil.java index 4888d7dbd4f..cd83a856e19 100644 --- a/Base/src/main/java/io/deephaven/base/SleepUtil.java +++ b/Base/src/main/java/io/deephaven/base/SleepUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; public class SleepUtil { diff --git a/Base/src/main/java/io/deephaven/base/ThrowRuntimeExceptionFatalErrorHandlerFactory.java b/Base/src/main/java/io/deephaven/base/ThrowRuntimeExceptionFatalErrorHandlerFactory.java index ad6a9e53f4d..c8933dcb453 100644 --- a/Base/src/main/java/io/deephaven/base/ThrowRuntimeExceptionFatalErrorHandlerFactory.java +++ b/Base/src/main/java/io/deephaven/base/ThrowRuntimeExceptionFatalErrorHandlerFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; @SuppressWarnings("unused") // only used reflexively diff --git a/Base/src/main/java/io/deephaven/base/UnfairMutex.java b/Base/src/main/java/io/deephaven/base/UnfairMutex.java index 49471837e12..4124fb5c4b0 100644 --- a/Base/src/main/java/io/deephaven/base/UnfairMutex.java +++ b/Base/src/main/java/io/deephaven/base/UnfairMutex.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; diff --git a/Base/src/main/java/io/deephaven/base/UnfairSemaphore.java b/Base/src/main/java/io/deephaven/base/UnfairSemaphore.java index 185c4666634..65731b331b6 100644 --- a/Base/src/main/java/io/deephaven/base/UnfairSemaphore.java +++ b/Base/src/main/java/io/deephaven/base/UnfairSemaphore.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import io.deephaven.base.verify.Assert; diff --git a/Base/src/main/java/io/deephaven/base/WeakReferenceManager.java b/Base/src/main/java/io/deephaven/base/WeakReferenceManager.java index ac61c0eb39a..0807a50e2f2 100644 --- a/Base/src/main/java/io/deephaven/base/WeakReferenceManager.java +++ b/Base/src/main/java/io/deephaven/base/WeakReferenceManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import java.lang.ref.WeakReference; diff --git a/Base/src/main/java/io/deephaven/base/array/FastArray.java b/Base/src/main/java/io/deephaven/base/array/FastArray.java index 7bc63bb76ad..7bef984c6cc 100644 --- a/Base/src/main/java/io/deephaven/base/array/FastArray.java +++ b/Base/src/main/java/io/deephaven/base/array/FastArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/main/java/io/deephaven/base/array/FastArrayExt.java b/Base/src/main/java/io/deephaven/base/array/FastArrayExt.java index be30d878924..014e0f163b5 100644 --- a/Base/src/main/java/io/deephaven/base/array/FastArrayExt.java +++ b/Base/src/main/java/io/deephaven/base/array/FastArrayExt.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import io.deephaven.base.Copyable; diff --git a/Base/src/main/java/io/deephaven/base/array/FastBooleanArray.java b/Base/src/main/java/io/deephaven/base/array/FastBooleanArray.java index 635fb30fa72..ce064ddc75b 100644 --- a/Base/src/main/java/io/deephaven/base/array/FastBooleanArray.java +++ b/Base/src/main/java/io/deephaven/base/array/FastBooleanArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/main/java/io/deephaven/base/array/FastByteArray.java b/Base/src/main/java/io/deephaven/base/array/FastByteArray.java index c960f80930a..337c64706a8 100644 --- a/Base/src/main/java/io/deephaven/base/array/FastByteArray.java +++ b/Base/src/main/java/io/deephaven/base/array/FastByteArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/main/java/io/deephaven/base/array/FastCharArray.java b/Base/src/main/java/io/deephaven/base/array/FastCharArray.java index ac2c6f571ec..26fc1ad4451 100644 --- a/Base/src/main/java/io/deephaven/base/array/FastCharArray.java +++ b/Base/src/main/java/io/deephaven/base/array/FastCharArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/main/java/io/deephaven/base/array/FastDoubleArray.java b/Base/src/main/java/io/deephaven/base/array/FastDoubleArray.java index f6d76998724..8810fc0015c 100644 --- a/Base/src/main/java/io/deephaven/base/array/FastDoubleArray.java +++ b/Base/src/main/java/io/deephaven/base/array/FastDoubleArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/main/java/io/deephaven/base/array/FastFloatArray.java b/Base/src/main/java/io/deephaven/base/array/FastFloatArray.java index d10ae5c503c..0fe2fcd8a68 100644 --- a/Base/src/main/java/io/deephaven/base/array/FastFloatArray.java +++ b/Base/src/main/java/io/deephaven/base/array/FastFloatArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/main/java/io/deephaven/base/array/FastIntArray.java b/Base/src/main/java/io/deephaven/base/array/FastIntArray.java index 1c3519b56cf..71eb06787ab 100644 --- a/Base/src/main/java/io/deephaven/base/array/FastIntArray.java +++ b/Base/src/main/java/io/deephaven/base/array/FastIntArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/main/java/io/deephaven/base/array/FastLongArray.java b/Base/src/main/java/io/deephaven/base/array/FastLongArray.java index 74dcc6cdde2..2701844c58a 100644 --- a/Base/src/main/java/io/deephaven/base/array/FastLongArray.java +++ b/Base/src/main/java/io/deephaven/base/array/FastLongArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/main/java/io/deephaven/base/array/FastShortArray.java b/Base/src/main/java/io/deephaven/base/array/FastShortArray.java index b357f915be4..1cd4a2698b8 100644 --- a/Base/src/main/java/io/deephaven/base/array/FastShortArray.java +++ b/Base/src/main/java/io/deephaven/base/array/FastShortArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/main/java/io/deephaven/base/cache/KeyedObjectCache.java b/Base/src/main/java/io/deephaven/base/cache/KeyedObjectCache.java index 70611680530..38545409cc3 100644 --- a/Base/src/main/java/io/deephaven/base/cache/KeyedObjectCache.java +++ b/Base/src/main/java/io/deephaven/base/cache/KeyedObjectCache.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.cache; import io.deephaven.base.MathUtil; diff --git a/Base/src/main/java/io/deephaven/base/cache/OpenAddressedCanonicalizationCache.java b/Base/src/main/java/io/deephaven/base/cache/OpenAddressedCanonicalizationCache.java index 9ac75fc09a8..2f48b0c93fc 100644 --- a/Base/src/main/java/io/deephaven/base/cache/OpenAddressedCanonicalizationCache.java +++ b/Base/src/main/java/io/deephaven/base/cache/OpenAddressedCanonicalizationCache.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.cache; import io.deephaven.base.verify.Assert; diff --git a/Base/src/main/java/io/deephaven/base/cache/RetentionCache.java b/Base/src/main/java/io/deephaven/base/cache/RetentionCache.java index de91cf9fe40..56ed117dfb6 100644 --- a/Base/src/main/java/io/deephaven/base/cache/RetentionCache.java +++ b/Base/src/main/java/io/deephaven/base/cache/RetentionCache.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.cache; diff --git a/Base/src/main/java/io/deephaven/base/classloaders/MapBackedClassLoader.java b/Base/src/main/java/io/deephaven/base/classloaders/MapBackedClassLoader.java index f07f43fa357..a9bd87fdc90 100644 --- a/Base/src/main/java/io/deephaven/base/classloaders/MapBackedClassLoader.java +++ b/Base/src/main/java/io/deephaven/base/classloaders/MapBackedClassLoader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.classloaders; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/clock/TimeConstants.java b/Base/src/main/java/io/deephaven/base/clock/TimeConstants.java index 86c3a7a5434..6d24efc64a4 100644 --- a/Base/src/main/java/io/deephaven/base/clock/TimeConstants.java +++ b/Base/src/main/java/io/deephaven/base/clock/TimeConstants.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.clock; public class TimeConstants { diff --git a/Base/src/main/java/io/deephaven/base/clock/TimeZones.java b/Base/src/main/java/io/deephaven/base/clock/TimeZones.java index 766023398fc..a3a957b5408 100644 --- a/Base/src/main/java/io/deephaven/base/clock/TimeZones.java +++ b/Base/src/main/java/io/deephaven/base/clock/TimeZones.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.clock; import java.util.TimeZone; diff --git a/Base/src/main/java/io/deephaven/base/formatters/FormatBitSet.java b/Base/src/main/java/io/deephaven/base/formatters/FormatBitSet.java index b415107c005..593641f8c64 100644 --- a/Base/src/main/java/io/deephaven/base/formatters/FormatBitSet.java +++ b/Base/src/main/java/io/deephaven/base/formatters/FormatBitSet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.formatters; import java.util.BitSet; diff --git a/Base/src/main/java/io/deephaven/base/log/LogOutput.java b/Base/src/main/java/io/deephaven/base/log/LogOutput.java index aa82f807e5a..d0170218f9a 100644 --- a/Base/src/main/java/io/deephaven/base/log/LogOutput.java +++ b/Base/src/main/java/io/deephaven/base/log/LogOutput.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.log; import io.deephaven.base.text.TimestampBuffer; diff --git a/Base/src/main/java/io/deephaven/base/log/LogOutputAppendable.java b/Base/src/main/java/io/deephaven/base/log/LogOutputAppendable.java index 3a78ab2896d..3cd9380a33b 100644 --- a/Base/src/main/java/io/deephaven/base/log/LogOutputAppendable.java +++ b/Base/src/main/java/io/deephaven/base/log/LogOutputAppendable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.log; /** diff --git a/Base/src/main/java/io/deephaven/base/map/FastArrayMap.java b/Base/src/main/java/io/deephaven/base/map/FastArrayMap.java index 01c2f15389f..a07dc0ee881 100644 --- a/Base/src/main/java/io/deephaven/base/map/FastArrayMap.java +++ b/Base/src/main/java/io/deephaven/base/map/FastArrayMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.map; diff --git a/Base/src/main/java/io/deephaven/base/map/FastArrayMapLongToObject.java b/Base/src/main/java/io/deephaven/base/map/FastArrayMapLongToObject.java index 784953a94f5..a5e91576719 100644 --- a/Base/src/main/java/io/deephaven/base/map/FastArrayMapLongToObject.java +++ b/Base/src/main/java/io/deephaven/base/map/FastArrayMapLongToObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.map; diff --git a/Base/src/main/java/io/deephaven/base/map/KeyValuePair.java b/Base/src/main/java/io/deephaven/base/map/KeyValuePair.java index edfe2de8579..e7699d091c8 100644 --- a/Base/src/main/java/io/deephaven/base/map/KeyValuePair.java +++ b/Base/src/main/java/io/deephaven/base/map/KeyValuePair.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.map; import io.deephaven.base.Copyable; diff --git a/Base/src/main/java/io/deephaven/base/map/KeyValuePairLongToObject.java b/Base/src/main/java/io/deephaven/base/map/KeyValuePairLongToObject.java index 480c7ba141b..45b72639887 100644 --- a/Base/src/main/java/io/deephaven/base/map/KeyValuePairLongToObject.java +++ b/Base/src/main/java/io/deephaven/base/map/KeyValuePairLongToObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.map; import io.deephaven.base.Copyable; diff --git a/Base/src/main/java/io/deephaven/base/pool/Pool.java b/Base/src/main/java/io/deephaven/base/pool/Pool.java index fc42bc33335..e3ac151ed13 100644 --- a/Base/src/main/java/io/deephaven/base/pool/Pool.java +++ b/Base/src/main/java/io/deephaven/base/pool/Pool.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.pool; import java.util.function.Consumer; diff --git a/Base/src/main/java/io/deephaven/base/pool/PoolEmptyException.java b/Base/src/main/java/io/deephaven/base/pool/PoolEmptyException.java index a7fa08392f3..8c828548240 100644 --- a/Base/src/main/java/io/deephaven/base/pool/PoolEmptyException.java +++ b/Base/src/main/java/io/deephaven/base/pool/PoolEmptyException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.pool; // -------------------------------------------------------------------- diff --git a/Base/src/main/java/io/deephaven/base/pool/PoolFullException.java b/Base/src/main/java/io/deephaven/base/pool/PoolFullException.java index 75b9b5682c0..a40750ee6e8 100644 --- a/Base/src/main/java/io/deephaven/base/pool/PoolFullException.java +++ b/Base/src/main/java/io/deephaven/base/pool/PoolFullException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.pool; // -------------------------------------------------------------------- diff --git a/Base/src/main/java/io/deephaven/base/pool/ThreadSafeFixedSizePool.java b/Base/src/main/java/io/deephaven/base/pool/ThreadSafeFixedSizePool.java index c191e39a161..bf2b13a57a6 100644 --- a/Base/src/main/java/io/deephaven/base/pool/ThreadSafeFixedSizePool.java +++ b/Base/src/main/java/io/deephaven/base/pool/ThreadSafeFixedSizePool.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.pool; import io.deephaven.base.LockFreeArrayQueue; diff --git a/Base/src/main/java/io/deephaven/base/pool/ThreadSafeLenientFixedSizePool.java b/Base/src/main/java/io/deephaven/base/pool/ThreadSafeLenientFixedSizePool.java index 93589dc3764..67dcdf7e33f 100644 --- a/Base/src/main/java/io/deephaven/base/pool/ThreadSafeLenientFixedSizePool.java +++ b/Base/src/main/java/io/deephaven/base/pool/ThreadSafeLenientFixedSizePool.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.pool; import io.deephaven.base.LockFreeArrayQueue; diff --git a/Base/src/main/java/io/deephaven/base/queue/ConcurrentPriorityQueue.java b/Base/src/main/java/io/deephaven/base/queue/ConcurrentPriorityQueue.java index 59561b468dd..9c78a743257 100644 --- a/Base/src/main/java/io/deephaven/base/queue/ConcurrentPriorityQueue.java +++ b/Base/src/main/java/io/deephaven/base/queue/ConcurrentPriorityQueue.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.queue; public interface ConcurrentPriorityQueue extends ConcurrentQueue { diff --git a/Base/src/main/java/io/deephaven/base/queue/ConcurrentQueue.java b/Base/src/main/java/io/deephaven/base/queue/ConcurrentQueue.java index d79caa205b7..45a883ca6d9 100644 --- a/Base/src/main/java/io/deephaven/base/queue/ConcurrentQueue.java +++ b/Base/src/main/java/io/deephaven/base/queue/ConcurrentQueue.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.queue; /** diff --git a/Base/src/main/java/io/deephaven/base/queue/ProducerConsumer.java b/Base/src/main/java/io/deephaven/base/queue/ProducerConsumer.java index b0c253fd299..b5a1ae0b0d3 100644 --- a/Base/src/main/java/io/deephaven/base/queue/ProducerConsumer.java +++ b/Base/src/main/java/io/deephaven/base/queue/ProducerConsumer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.queue; /** diff --git a/Base/src/main/java/io/deephaven/base/queue/ProducerConsumerWithTake.java b/Base/src/main/java/io/deephaven/base/queue/ProducerConsumerWithTake.java index 22b586db72b..299eed5294a 100644 --- a/Base/src/main/java/io/deephaven/base/queue/ProducerConsumerWithTake.java +++ b/Base/src/main/java/io/deephaven/base/queue/ProducerConsumerWithTake.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.queue; import io.deephaven.base.UnfairSemaphore; diff --git a/Base/src/main/java/io/deephaven/base/reference/CleanupReference.java b/Base/src/main/java/io/deephaven/base/reference/CleanupReference.java index 2b7a3d9cabe..50e2df08ca3 100644 --- a/Base/src/main/java/io/deephaven/base/reference/CleanupReference.java +++ b/Base/src/main/java/io/deephaven/base/reference/CleanupReference.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.reference; /** diff --git a/Base/src/main/java/io/deephaven/base/reference/DowngradableReference.java b/Base/src/main/java/io/deephaven/base/reference/DowngradableReference.java index 5ea440d70b0..94413793d7d 100644 --- a/Base/src/main/java/io/deephaven/base/reference/DowngradableReference.java +++ b/Base/src/main/java/io/deephaven/base/reference/DowngradableReference.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.reference; import java.lang.ref.WeakReference; diff --git a/Base/src/main/java/io/deephaven/base/reference/HardSimpleReference.java b/Base/src/main/java/io/deephaven/base/reference/HardSimpleReference.java index b0d14b545cc..497c31f82a2 100644 --- a/Base/src/main/java/io/deephaven/base/reference/HardSimpleReference.java +++ b/Base/src/main/java/io/deephaven/base/reference/HardSimpleReference.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.reference; /** diff --git a/Base/src/main/java/io/deephaven/base/reference/PooledObjectReference.java b/Base/src/main/java/io/deephaven/base/reference/PooledObjectReference.java index 0587afbfcc9..ef25c6b261e 100644 --- a/Base/src/main/java/io/deephaven/base/reference/PooledObjectReference.java +++ b/Base/src/main/java/io/deephaven/base/reference/PooledObjectReference.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.reference; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/reference/SimpleReference.java b/Base/src/main/java/io/deephaven/base/reference/SimpleReference.java index 807d8edd7ee..32d55cb0a0a 100644 --- a/Base/src/main/java/io/deephaven/base/reference/SimpleReference.java +++ b/Base/src/main/java/io/deephaven/base/reference/SimpleReference.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.reference; /** diff --git a/Base/src/main/java/io/deephaven/base/reference/SwappableDelegatingReference.java b/Base/src/main/java/io/deephaven/base/reference/SwappableDelegatingReference.java index 66fe701bec0..0e31d034236 100644 --- a/Base/src/main/java/io/deephaven/base/reference/SwappableDelegatingReference.java +++ b/Base/src/main/java/io/deephaven/base/reference/SwappableDelegatingReference.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.reference; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/reference/WeakCleanupReference.java b/Base/src/main/java/io/deephaven/base/reference/WeakCleanupReference.java index f268072da71..999dbf8c98e 100644 --- a/Base/src/main/java/io/deephaven/base/reference/WeakCleanupReference.java +++ b/Base/src/main/java/io/deephaven/base/reference/WeakCleanupReference.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.reference; import java.lang.ref.ReferenceQueue; diff --git a/Base/src/main/java/io/deephaven/base/reference/WeakReferenceWrapper.java b/Base/src/main/java/io/deephaven/base/reference/WeakReferenceWrapper.java index 63cf1053ff5..c7e9db98749 100644 --- a/Base/src/main/java/io/deephaven/base/reference/WeakReferenceWrapper.java +++ b/Base/src/main/java/io/deephaven/base/reference/WeakReferenceWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.reference; /** diff --git a/Base/src/main/java/io/deephaven/base/reference/WeakSimpleReference.java b/Base/src/main/java/io/deephaven/base/reference/WeakSimpleReference.java index f640dea89ac..52f355bfd00 100644 --- a/Base/src/main/java/io/deephaven/base/reference/WeakSimpleReference.java +++ b/Base/src/main/java/io/deephaven/base/reference/WeakSimpleReference.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.reference; import java.lang.ref.ReferenceQueue; diff --git a/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingByteRingBuffer.java b/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingByteRingBuffer.java index 972fd4ac457..f4f2ce461a8 100644 --- a/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingByteRingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingByteRingBuffer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AggregatingCharRingBuffer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AggregatingCharRingBuffer and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingCharRingBuffer.java b/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingCharRingBuffer.java index 11479841d3c..e931ba3f1c6 100644 --- a/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingCharRingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingCharRingBuffer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.ringbuffer; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingDoubleRingBuffer.java b/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingDoubleRingBuffer.java index 594f2423570..516474e31ac 100644 --- a/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingDoubleRingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingDoubleRingBuffer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AggregatingCharRingBuffer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AggregatingCharRingBuffer and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingFloatRingBuffer.java b/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingFloatRingBuffer.java index 7c4404f6525..fedb32a7ab5 100644 --- a/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingFloatRingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingFloatRingBuffer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AggregatingCharRingBuffer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AggregatingCharRingBuffer and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingIntRingBuffer.java b/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingIntRingBuffer.java index 0561cd0722a..9794c76ec0d 100644 --- a/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingIntRingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingIntRingBuffer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AggregatingCharRingBuffer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AggregatingCharRingBuffer and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingLongRingBuffer.java b/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingLongRingBuffer.java index 486dc5bc4e2..c402fe5db2f 100644 --- a/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingLongRingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingLongRingBuffer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AggregatingCharRingBuffer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AggregatingCharRingBuffer and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingObjectRingBuffer.java b/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingObjectRingBuffer.java index 02556b74454..b064b8a4383 100644 --- a/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingObjectRingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingObjectRingBuffer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AggregatingCharRingBuffer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AggregatingCharRingBuffer and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingShortRingBuffer.java b/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingShortRingBuffer.java index b97af935732..1e6707cb473 100644 --- a/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingShortRingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/ringbuffer/AggregatingShortRingBuffer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AggregatingCharRingBuffer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AggregatingCharRingBuffer and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/ringbuffer/ByteRingBuffer.java b/Base/src/main/java/io/deephaven/base/ringbuffer/ByteRingBuffer.java index 26e5560c954..ee8e47041cd 100644 --- a/Base/src/main/java/io/deephaven/base/ringbuffer/ByteRingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/ringbuffer/ByteRingBuffer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBuffer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBuffer and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/main/java/io/deephaven/base/ringbuffer/CharRingBuffer.java b/Base/src/main/java/io/deephaven/base/ringbuffer/CharRingBuffer.java index 97906727c55..a2d934e9537 100644 --- a/Base/src/main/java/io/deephaven/base/ringbuffer/CharRingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/ringbuffer/CharRingBuffer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.ringbuffer; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/main/java/io/deephaven/base/ringbuffer/DoubleRingBuffer.java b/Base/src/main/java/io/deephaven/base/ringbuffer/DoubleRingBuffer.java index 134d35d3e55..3f0f5cfbe35 100644 --- a/Base/src/main/java/io/deephaven/base/ringbuffer/DoubleRingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/ringbuffer/DoubleRingBuffer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBuffer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBuffer and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/main/java/io/deephaven/base/ringbuffer/FloatRingBuffer.java b/Base/src/main/java/io/deephaven/base/ringbuffer/FloatRingBuffer.java index 7efc6c76cfa..70cbded55ac 100644 --- a/Base/src/main/java/io/deephaven/base/ringbuffer/FloatRingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/ringbuffer/FloatRingBuffer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBuffer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBuffer and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/main/java/io/deephaven/base/ringbuffer/IntRingBuffer.java b/Base/src/main/java/io/deephaven/base/ringbuffer/IntRingBuffer.java index 31dd5d20bea..590014fa926 100644 --- a/Base/src/main/java/io/deephaven/base/ringbuffer/IntRingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/ringbuffer/IntRingBuffer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBuffer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBuffer and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/main/java/io/deephaven/base/ringbuffer/LongRingBuffer.java b/Base/src/main/java/io/deephaven/base/ringbuffer/LongRingBuffer.java index 4f2868c3d44..49a3203860a 100644 --- a/Base/src/main/java/io/deephaven/base/ringbuffer/LongRingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/ringbuffer/LongRingBuffer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBuffer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBuffer and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/main/java/io/deephaven/base/ringbuffer/ObjectRingBuffer.java b/Base/src/main/java/io/deephaven/base/ringbuffer/ObjectRingBuffer.java index 1d840136cdf..e65291e23a6 100644 --- a/Base/src/main/java/io/deephaven/base/ringbuffer/ObjectRingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/ringbuffer/ObjectRingBuffer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBuffer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBuffer and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import java.util.Arrays; diff --git a/Base/src/main/java/io/deephaven/base/ringbuffer/ShortRingBuffer.java b/Base/src/main/java/io/deephaven/base/ringbuffer/ShortRingBuffer.java index c216e63002d..d074fab3431 100644 --- a/Base/src/main/java/io/deephaven/base/ringbuffer/ShortRingBuffer.java +++ b/Base/src/main/java/io/deephaven/base/ringbuffer/ShortRingBuffer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBuffer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBuffer and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/main/java/io/deephaven/base/stats/Composite.java b/Base/src/main/java/io/deephaven/base/stats/Composite.java index 9cd7f68f8b7..81c66d4f55f 100644 --- a/Base/src/main/java/io/deephaven/base/stats/Composite.java +++ b/Base/src/main/java/io/deephaven/base/stats/Composite.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.stats; import io.deephaven.base.verify.Assert; diff --git a/Base/src/main/java/io/deephaven/base/stats/Counter.java b/Base/src/main/java/io/deephaven/base/stats/Counter.java index 3e2ebd7cc01..b6ef0dfbd6e 100644 --- a/Base/src/main/java/io/deephaven/base/stats/Counter.java +++ b/Base/src/main/java/io/deephaven/base/stats/Counter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.stats; import java.util.function.LongFunction; diff --git a/Base/src/main/java/io/deephaven/base/stats/Group.java b/Base/src/main/java/io/deephaven/base/stats/Group.java index dda1cb5a01c..364c3c3121f 100644 --- a/Base/src/main/java/io/deephaven/base/stats/Group.java +++ b/Base/src/main/java/io/deephaven/base/stats/Group.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.stats; import java.util.ArrayList; diff --git a/Base/src/main/java/io/deephaven/base/stats/HistogramPower2.java b/Base/src/main/java/io/deephaven/base/stats/HistogramPower2.java index 113f16b531c..f6783f48e3f 100644 --- a/Base/src/main/java/io/deephaven/base/stats/HistogramPower2.java +++ b/Base/src/main/java/io/deephaven/base/stats/HistogramPower2.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.stats; import java.util.function.LongFunction; diff --git a/Base/src/main/java/io/deephaven/base/stats/HistogramState.java b/Base/src/main/java/io/deephaven/base/stats/HistogramState.java index 4a72ba76815..1f9f0ab0af4 100644 --- a/Base/src/main/java/io/deephaven/base/stats/HistogramState.java +++ b/Base/src/main/java/io/deephaven/base/stats/HistogramState.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.stats; import java.util.function.BiFunction; diff --git a/Base/src/main/java/io/deephaven/base/stats/History.java b/Base/src/main/java/io/deephaven/base/stats/History.java index 0beb5491106..8cda8159be6 100644 --- a/Base/src/main/java/io/deephaven/base/stats/History.java +++ b/Base/src/main/java/io/deephaven/base/stats/History.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.stats; public class History { diff --git a/Base/src/main/java/io/deephaven/base/stats/Item.java b/Base/src/main/java/io/deephaven/base/stats/Item.java index 38831a7c692..1963139e432 100644 --- a/Base/src/main/java/io/deephaven/base/stats/Item.java +++ b/Base/src/main/java/io/deephaven/base/stats/Item.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.stats; public class Item { diff --git a/Base/src/main/java/io/deephaven/base/stats/ItemUpdateListener.java b/Base/src/main/java/io/deephaven/base/stats/ItemUpdateListener.java index cc9007f5e72..48844ee4d44 100644 --- a/Base/src/main/java/io/deephaven/base/stats/ItemUpdateListener.java +++ b/Base/src/main/java/io/deephaven/base/stats/ItemUpdateListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.stats; public interface ItemUpdateListener { diff --git a/Base/src/main/java/io/deephaven/base/stats/State.java b/Base/src/main/java/io/deephaven/base/stats/State.java index fcbd21119db..3ce8d4524d6 100644 --- a/Base/src/main/java/io/deephaven/base/stats/State.java +++ b/Base/src/main/java/io/deephaven/base/stats/State.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.stats; import java.util.function.LongFunction; diff --git a/Base/src/main/java/io/deephaven/base/stats/Stats.java b/Base/src/main/java/io/deephaven/base/stats/Stats.java index fe5a5a7bced..480e8c7ed36 100644 --- a/Base/src/main/java/io/deephaven/base/stats/Stats.java +++ b/Base/src/main/java/io/deephaven/base/stats/Stats.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.stats; import java.util.ArrayList; diff --git a/Base/src/main/java/io/deephaven/base/stats/Value.java b/Base/src/main/java/io/deephaven/base/stats/Value.java index 9dbbb9d9174..cb8c098b9b4 100644 --- a/Base/src/main/java/io/deephaven/base/stats/Value.java +++ b/Base/src/main/java/io/deephaven/base/stats/Value.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.stats; public abstract class Value { diff --git a/Base/src/main/java/io/deephaven/base/string/EncodingInfo.java b/Base/src/main/java/io/deephaven/base/string/EncodingInfo.java index da81a36b50a..304de1f02bc 100644 --- a/Base/src/main/java/io/deephaven/base/string/EncodingInfo.java +++ b/Base/src/main/java/io/deephaven/base/string/EncodingInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string; import io.deephaven.base.log.LogOutput; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/AbstractCompressedString.java b/Base/src/main/java/io/deephaven/base/string/cache/AbstractCompressedString.java index 1067c59252d..44b0fb01d84 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/AbstractCompressedString.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/AbstractCompressedString.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/AlwaysCreateStringCache.java b/Base/src/main/java/io/deephaven/base/string/cache/AlwaysCreateStringCache.java index 4023687ffed..ff7c57ae74a 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/AlwaysCreateStringCache.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/AlwaysCreateStringCache.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import io.deephaven.base.verify.Require; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/ByteArrayCharSequenceAdapterImpl.java b/Base/src/main/java/io/deephaven/base/string/cache/ByteArrayCharSequenceAdapterImpl.java index 1a6ef8d8b85..43dd8db33ae 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/ByteArrayCharSequenceAdapterImpl.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/ByteArrayCharSequenceAdapterImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/ByteBufferCharSequenceAdapterImpl.java b/Base/src/main/java/io/deephaven/base/string/cache/ByteBufferCharSequenceAdapterImpl.java index ea58fd558c1..9e731e6f42c 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/ByteBufferCharSequenceAdapterImpl.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/ByteBufferCharSequenceAdapterImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/ByteOrientedCharSequenceAdapter.java b/Base/src/main/java/io/deephaven/base/string/cache/ByteOrientedCharSequenceAdapter.java index c43ba59717e..4329265f835 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/ByteOrientedCharSequenceAdapter.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/ByteOrientedCharSequenceAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; /** diff --git a/Base/src/main/java/io/deephaven/base/string/cache/CharSequenceAdapter.java b/Base/src/main/java/io/deephaven/base/string/cache/CharSequenceAdapter.java index 6a06e4080c2..5469b527a8a 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/CharSequenceAdapter.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/CharSequenceAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/CharSequenceAdapterBuilder.java b/Base/src/main/java/io/deephaven/base/string/cache/CharSequenceAdapterBuilder.java index da93a4779c9..dbb2a40a493 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/CharSequenceAdapterBuilder.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/CharSequenceAdapterBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import io.deephaven.base.MathUtil; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/CharSequenceUtils.java b/Base/src/main/java/io/deephaven/base/string/cache/CharSequenceUtils.java index 0dfaa29cef5..bbded5e208a 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/CharSequenceUtils.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/CharSequenceUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/CompressedString.java b/Base/src/main/java/io/deephaven/base/string/cache/CompressedString.java index 8d49b29dce7..108b022477a 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/CompressedString.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/CompressedString.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/ConcurrentBoundedStringCache.java b/Base/src/main/java/io/deephaven/base/string/cache/ConcurrentBoundedStringCache.java index db2f30f5255..e8856625d8f 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/ConcurrentBoundedStringCache.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/ConcurrentBoundedStringCache.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import io.deephaven.base.cache.KeyedObjectCache; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/ConcurrentUnboundedStringCache.java b/Base/src/main/java/io/deephaven/base/string/cache/ConcurrentUnboundedStringCache.java index 8313a02b1e4..9a7598f0c68 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/ConcurrentUnboundedStringCache.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/ConcurrentUnboundedStringCache.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import io.deephaven.hash.KeyedObjectHash; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/MappedCompressedString.java b/Base/src/main/java/io/deephaven/base/string/cache/MappedCompressedString.java index 9484fd80041..35791fa430a 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/MappedCompressedString.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/MappedCompressedString.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import io.deephaven.base.reference.SimpleReference; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/OpenAddressedWeakUnboundedStringCache.java b/Base/src/main/java/io/deephaven/base/string/cache/OpenAddressedWeakUnboundedStringCache.java index 0b0942311bc..424841ead46 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/OpenAddressedWeakUnboundedStringCache.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/OpenAddressedWeakUnboundedStringCache.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import io.deephaven.base.cache.OpenAddressedCanonicalizationCache; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/StringAlike.java b/Base/src/main/java/io/deephaven/base/string/cache/StringAlike.java index 2d07c741b7f..4bf5c10c085 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/StringAlike.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/StringAlike.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/StringCache.java b/Base/src/main/java/io/deephaven/base/string/cache/StringCache.java index 3d5d3cf2b45..5d88612ac12 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/StringCache.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/StringCache.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/StringCacheTypeAdapter.java b/Base/src/main/java/io/deephaven/base/string/cache/StringCacheTypeAdapter.java index ce4e2d5a9ac..34eb22c45c5 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/StringCacheTypeAdapter.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/StringCacheTypeAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/StringCacheTypeAdapterCompressedStringImpl.java b/Base/src/main/java/io/deephaven/base/string/cache/StringCacheTypeAdapterCompressedStringImpl.java index dcff82908b2..8591f1c2116 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/StringCacheTypeAdapterCompressedStringImpl.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/StringCacheTypeAdapterCompressedStringImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/StringCacheTypeAdapterMappedCompressedStringImpl.java b/Base/src/main/java/io/deephaven/base/string/cache/StringCacheTypeAdapterMappedCompressedStringImpl.java index 74b4ad9475b..d53784822fb 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/StringCacheTypeAdapterMappedCompressedStringImpl.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/StringCacheTypeAdapterMappedCompressedStringImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/StringCacheTypeAdapterStringImpl.java b/Base/src/main/java/io/deephaven/base/string/cache/StringCacheTypeAdapterStringImpl.java index 17b549d51c6..d186c98e278 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/StringCacheTypeAdapterStringImpl.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/StringCacheTypeAdapterStringImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/string/cache/StringCompatible.java b/Base/src/main/java/io/deephaven/base/string/cache/StringCompatible.java index a589857e4fb..2873114d713 100644 --- a/Base/src/main/java/io/deephaven/base/string/cache/StringCompatible.java +++ b/Base/src/main/java/io/deephaven/base/string/cache/StringCompatible.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/system/AsyncSystem.java b/Base/src/main/java/io/deephaven/base/system/AsyncSystem.java index 934bb690b1d..453bdec389c 100644 --- a/Base/src/main/java/io/deephaven/base/system/AsyncSystem.java +++ b/Base/src/main/java/io/deephaven/base/system/AsyncSystem.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.system; import io.deephaven.base.verify.Assert; diff --git a/Base/src/main/java/io/deephaven/base/system/MultipleOutputStreams.java b/Base/src/main/java/io/deephaven/base/system/MultipleOutputStreams.java index 2767d2487ec..363cd6ecc1f 100644 --- a/Base/src/main/java/io/deephaven/base/system/MultipleOutputStreams.java +++ b/Base/src/main/java/io/deephaven/base/system/MultipleOutputStreams.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.system; import java.io.IOException; diff --git a/Base/src/main/java/io/deephaven/base/system/PrintStreamGlobals.java b/Base/src/main/java/io/deephaven/base/system/PrintStreamGlobals.java index d5c9b7cc6b2..ed6d1b57fe4 100644 --- a/Base/src/main/java/io/deephaven/base/system/PrintStreamGlobals.java +++ b/Base/src/main/java/io/deephaven/base/system/PrintStreamGlobals.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.system; import java.io.PrintStream; diff --git a/Base/src/main/java/io/deephaven/base/system/StandardStreamReceiver.java b/Base/src/main/java/io/deephaven/base/system/StandardStreamReceiver.java index e84abb3f967..b237943bbad 100644 --- a/Base/src/main/java/io/deephaven/base/system/StandardStreamReceiver.java +++ b/Base/src/main/java/io/deephaven/base/system/StandardStreamReceiver.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.system; import java.io.OutputStream; diff --git a/Base/src/main/java/io/deephaven/base/system/StandardStreamState.java b/Base/src/main/java/io/deephaven/base/system/StandardStreamState.java index ce4358b0943..bea51a76fc7 100644 --- a/Base/src/main/java/io/deephaven/base/system/StandardStreamState.java +++ b/Base/src/main/java/io/deephaven/base/system/StandardStreamState.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.system; import java.io.OutputStream; diff --git a/Base/src/main/java/io/deephaven/base/system/StreamToPrintStreams.java b/Base/src/main/java/io/deephaven/base/system/StreamToPrintStreams.java index 194926d6332..3609fc9191a 100644 --- a/Base/src/main/java/io/deephaven/base/system/StreamToPrintStreams.java +++ b/Base/src/main/java/io/deephaven/base/system/StreamToPrintStreams.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.system; import java.io.OutputStream; diff --git a/Base/src/main/java/io/deephaven/base/text/Convert.java b/Base/src/main/java/io/deephaven/base/text/Convert.java index b2a4a7e205b..ba5e9fa0ce7 100644 --- a/Base/src/main/java/io/deephaven/base/text/Convert.java +++ b/Base/src/main/java/io/deephaven/base/text/Convert.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.text; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/text/TimestampBuffer.java b/Base/src/main/java/io/deephaven/base/text/TimestampBuffer.java index 4c48a00c3d6..567603400fb 100644 --- a/Base/src/main/java/io/deephaven/base/text/TimestampBuffer.java +++ b/Base/src/main/java/io/deephaven/base/text/TimestampBuffer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.text; import java.nio.ByteBuffer; diff --git a/Base/src/main/java/io/deephaven/base/text/TimestampBufferMicros.java b/Base/src/main/java/io/deephaven/base/text/TimestampBufferMicros.java index 5847a83c5cb..0939816bd55 100644 --- a/Base/src/main/java/io/deephaven/base/text/TimestampBufferMicros.java +++ b/Base/src/main/java/io/deephaven/base/text/TimestampBufferMicros.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.text; import java.nio.ByteBuffer; diff --git a/Base/src/main/java/io/deephaven/base/verify/Assert.java b/Base/src/main/java/io/deephaven/base/verify/Assert.java index f9a78191fcd..4e01086ae14 100644 --- a/Base/src/main/java/io/deephaven/base/verify/Assert.java +++ b/Base/src/main/java/io/deephaven/base/verify/Assert.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.verify; import java.awt.EventQueue; diff --git a/Base/src/main/java/io/deephaven/base/verify/AssertionFailure.java b/Base/src/main/java/io/deephaven/base/verify/AssertionFailure.java index 5f09cc46ac9..6c9b80d1430 100644 --- a/Base/src/main/java/io/deephaven/base/verify/AssertionFailure.java +++ b/Base/src/main/java/io/deephaven/base/verify/AssertionFailure.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.verify; // -------------------------------------------------------------------- diff --git a/Base/src/main/java/io/deephaven/base/verify/ExceptionMessageUtil.java b/Base/src/main/java/io/deephaven/base/verify/ExceptionMessageUtil.java index 2478057e28a..1a992e5ef87 100644 --- a/Base/src/main/java/io/deephaven/base/verify/ExceptionMessageUtil.java +++ b/Base/src/main/java/io/deephaven/base/verify/ExceptionMessageUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.verify; /** diff --git a/Base/src/main/java/io/deephaven/base/verify/Require.java b/Base/src/main/java/io/deephaven/base/verify/Require.java index 41e79d4c3e1..8b5dbef0961 100644 --- a/Base/src/main/java/io/deephaven/base/verify/Require.java +++ b/Base/src/main/java/io/deephaven/base/verify/Require.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.verify; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/main/java/io/deephaven/base/verify/RequirementFailure.java b/Base/src/main/java/io/deephaven/base/verify/RequirementFailure.java index a61f37dabca..bfdb2caf4ce 100644 --- a/Base/src/main/java/io/deephaven/base/verify/RequirementFailure.java +++ b/Base/src/main/java/io/deephaven/base/verify/RequirementFailure.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.verify; import java.io.PrintStream; diff --git a/Base/src/main/java/io/deephaven/io/log/impl/LogOutputStringImpl.java b/Base/src/main/java/io/deephaven/io/log/impl/LogOutputStringImpl.java index d2bac44ef63..014583fa030 100644 --- a/Base/src/main/java/io/deephaven/io/log/impl/LogOutputStringImpl.java +++ b/Base/src/main/java/io/deephaven/io/log/impl/LogOutputStringImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log.impl; import io.deephaven.base.text.Convert; diff --git a/Base/src/test/java/io/deephaven/base/ArrayUtilTest.java b/Base/src/test/java/io/deephaven/base/ArrayUtilTest.java index 42265b29cee..8d44e06ce33 100644 --- a/Base/src/test/java/io/deephaven/base/ArrayUtilTest.java +++ b/Base/src/test/java/io/deephaven/base/ArrayUtilTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/ClassUtilTest.java b/Base/src/test/java/io/deephaven/base/ClassUtilTest.java index ebf16cc9c9b..0791c19a01d 100644 --- a/Base/src/test/java/io/deephaven/base/ClassUtilTest.java +++ b/Base/src/test/java/io/deephaven/base/ClassUtilTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import org.junit.Test; diff --git a/Base/src/test/java/io/deephaven/base/ExerciseFIFOMutex.java b/Base/src/test/java/io/deephaven/base/ExerciseFIFOMutex.java index fd7be918154..c685d8d9a48 100644 --- a/Base/src/test/java/io/deephaven/base/ExerciseFIFOMutex.java +++ b/Base/src/test/java/io/deephaven/base/ExerciseFIFOMutex.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; public class ExerciseFIFOMutex { diff --git a/Base/src/test/java/io/deephaven/base/ExerciseLockFreeArrayQueue.java b/Base/src/test/java/io/deephaven/base/ExerciseLockFreeArrayQueue.java index a3652d0360e..07c62718b9e 100644 --- a/Base/src/test/java/io/deephaven/base/ExerciseLockFreeArrayQueue.java +++ b/Base/src/test/java/io/deephaven/base/ExerciseLockFreeArrayQueue.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import java.util.concurrent.atomic.AtomicBoolean; diff --git a/Base/src/test/java/io/deephaven/base/MathUtilTest.java b/Base/src/test/java/io/deephaven/base/MathUtilTest.java index ba2acce05c8..2f9833d96a1 100644 --- a/Base/src/test/java/io/deephaven/base/MathUtilTest.java +++ b/Base/src/test/java/io/deephaven/base/MathUtilTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/MemoryModelVolatileTest.java b/Base/src/test/java/io/deephaven/base/MemoryModelVolatileTest.java index 084f167c3da..bd1a1acad1b 100644 --- a/Base/src/test/java/io/deephaven/base/MemoryModelVolatileTest.java +++ b/Base/src/test/java/io/deephaven/base/MemoryModelVolatileTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/MockFactory.java b/Base/src/test/java/io/deephaven/base/MockFactory.java index 9b9ce03a2b0..06df1149139 100644 --- a/Base/src/test/java/io/deephaven/base/MockFactory.java +++ b/Base/src/test/java/io/deephaven/base/MockFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import java.util.LinkedList; diff --git a/Base/src/test/java/io/deephaven/base/RAPriQueueTest.java b/Base/src/test/java/io/deephaven/base/RAPriQueueTest.java index 45e39226e62..66bc3343f6e 100644 --- a/Base/src/test/java/io/deephaven/base/RAPriQueueTest.java +++ b/Base/src/test/java/io/deephaven/base/RAPriQueueTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/RingBufferTest.java b/Base/src/test/java/io/deephaven/base/RingBufferTest.java index 4777b3570c9..bf9d62f9933 100644 --- a/Base/src/test/java/io/deephaven/base/RingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/RingBufferTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/TestLowGarbageArrayIntegerMap.java b/Base/src/test/java/io/deephaven/base/TestLowGarbageArrayIntegerMap.java index 61a94034068..2822fad3f89 100644 --- a/Base/src/test/java/io/deephaven/base/TestLowGarbageArrayIntegerMap.java +++ b/Base/src/test/java/io/deephaven/base/TestLowGarbageArrayIntegerMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import io.deephaven.base.verify.RequirementFailure; diff --git a/Base/src/test/java/io/deephaven/base/TestLowGarbageArraySet.java b/Base/src/test/java/io/deephaven/base/TestLowGarbageArraySet.java index 22bc1c09703..58f93e1a9bf 100644 --- a/Base/src/test/java/io/deephaven/base/TestLowGarbageArraySet.java +++ b/Base/src/test/java/io/deephaven/base/TestLowGarbageArraySet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import java.util.Iterator; diff --git a/Base/src/test/java/io/deephaven/base/TestPair.java b/Base/src/test/java/io/deephaven/base/TestPair.java index 2e14bd0c1e9..b9a4b27dcf0 100644 --- a/Base/src/test/java/io/deephaven/base/TestPair.java +++ b/Base/src/test/java/io/deephaven/base/TestPair.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/array/FastArrayTest.java b/Base/src/test/java/io/deephaven/base/array/FastArrayTest.java index c54f26cd7b3..cef9a0b77e2 100644 --- a/Base/src/test/java/io/deephaven/base/array/FastArrayTest.java +++ b/Base/src/test/java/io/deephaven/base/array/FastArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/array/FastBooleanArrayTest.java b/Base/src/test/java/io/deephaven/base/array/FastBooleanArrayTest.java index 34aaf12732e..510c11406be 100644 --- a/Base/src/test/java/io/deephaven/base/array/FastBooleanArrayTest.java +++ b/Base/src/test/java/io/deephaven/base/array/FastBooleanArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/array/FastByteArrayTest.java b/Base/src/test/java/io/deephaven/base/array/FastByteArrayTest.java index 2b09476930d..20f4203138c 100644 --- a/Base/src/test/java/io/deephaven/base/array/FastByteArrayTest.java +++ b/Base/src/test/java/io/deephaven/base/array/FastByteArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/array/FastCharArrayTest.java b/Base/src/test/java/io/deephaven/base/array/FastCharArrayTest.java index e58acaa1c3e..570f78038ce 100644 --- a/Base/src/test/java/io/deephaven/base/array/FastCharArrayTest.java +++ b/Base/src/test/java/io/deephaven/base/array/FastCharArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/array/FastDoubleArrayTest.java b/Base/src/test/java/io/deephaven/base/array/FastDoubleArrayTest.java index 1e23a99202b..c8de35d57ba 100644 --- a/Base/src/test/java/io/deephaven/base/array/FastDoubleArrayTest.java +++ b/Base/src/test/java/io/deephaven/base/array/FastDoubleArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/array/FastFloatArrayTest.java b/Base/src/test/java/io/deephaven/base/array/FastFloatArrayTest.java index 3071afa159f..5709a3d49de 100644 --- a/Base/src/test/java/io/deephaven/base/array/FastFloatArrayTest.java +++ b/Base/src/test/java/io/deephaven/base/array/FastFloatArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/array/FastIntArrayTest.java b/Base/src/test/java/io/deephaven/base/array/FastIntArrayTest.java index c4124147afd..4524a2a7599 100644 --- a/Base/src/test/java/io/deephaven/base/array/FastIntArrayTest.java +++ b/Base/src/test/java/io/deephaven/base/array/FastIntArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/array/FastLongArrayTest.java b/Base/src/test/java/io/deephaven/base/array/FastLongArrayTest.java index 437c311bc17..ba776129326 100644 --- a/Base/src/test/java/io/deephaven/base/array/FastLongArrayTest.java +++ b/Base/src/test/java/io/deephaven/base/array/FastLongArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/array/FastShortArrayTest.java b/Base/src/test/java/io/deephaven/base/array/FastShortArrayTest.java index 84d3d9d65b8..d99d0fd89fd 100644 --- a/Base/src/test/java/io/deephaven/base/array/FastShortArrayTest.java +++ b/Base/src/test/java/io/deephaven/base/array/FastShortArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/array/TrialClassA.java b/Base/src/test/java/io/deephaven/base/array/TrialClassA.java index 773e9ba7f1a..9ea7fb1f975 100644 --- a/Base/src/test/java/io/deephaven/base/array/TrialClassA.java +++ b/Base/src/test/java/io/deephaven/base/array/TrialClassA.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.array; import io.deephaven.base.Copyable; diff --git a/Base/src/test/java/io/deephaven/base/cache/TestKeyedObjectCache.java b/Base/src/test/java/io/deephaven/base/cache/TestKeyedObjectCache.java index cd6d7262e34..a0c6eb1cc58 100644 --- a/Base/src/test/java/io/deephaven/base/cache/TestKeyedObjectCache.java +++ b/Base/src/test/java/io/deephaven/base/cache/TestKeyedObjectCache.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.cache; import io.deephaven.hash.KeyedObjectKey; diff --git a/Base/src/test/java/io/deephaven/base/cache/TestOpenAddressedCanonicalizationCache.java b/Base/src/test/java/io/deephaven/base/cache/TestOpenAddressedCanonicalizationCache.java index 995b87bceb2..42f8ce0e34b 100644 --- a/Base/src/test/java/io/deephaven/base/cache/TestOpenAddressedCanonicalizationCache.java +++ b/Base/src/test/java/io/deephaven/base/cache/TestOpenAddressedCanonicalizationCache.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.cache; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/test/java/io/deephaven/base/map/FastArrayMapLongToObjectTest.java b/Base/src/test/java/io/deephaven/base/map/FastArrayMapLongToObjectTest.java index a8bb0065d22..b4ff53d146a 100644 --- a/Base/src/test/java/io/deephaven/base/map/FastArrayMapLongToObjectTest.java +++ b/Base/src/test/java/io/deephaven/base/map/FastArrayMapLongToObjectTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.map; import io.deephaven.base.array.FastArrayTest; diff --git a/Base/src/test/java/io/deephaven/base/map/FastArrayMapTest.java b/Base/src/test/java/io/deephaven/base/map/FastArrayMapTest.java index 8b50a52968f..1a4c5d45404 100644 --- a/Base/src/test/java/io/deephaven/base/map/FastArrayMapTest.java +++ b/Base/src/test/java/io/deephaven/base/map/FastArrayMapTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.map; import io.deephaven.base.array.FastArrayTest; diff --git a/Base/src/test/java/io/deephaven/base/map/KeyValuePairLongToObjectTest.java b/Base/src/test/java/io/deephaven/base/map/KeyValuePairLongToObjectTest.java index 41c40440f58..42dc92e6977 100644 --- a/Base/src/test/java/io/deephaven/base/map/KeyValuePairLongToObjectTest.java +++ b/Base/src/test/java/io/deephaven/base/map/KeyValuePairLongToObjectTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.map; import io.deephaven.base.array.FastArray; diff --git a/Base/src/test/java/io/deephaven/base/map/KeyValuePairTest.java b/Base/src/test/java/io/deephaven/base/map/KeyValuePairTest.java index 00775f75ac9..c2257cec15e 100644 --- a/Base/src/test/java/io/deephaven/base/map/KeyValuePairTest.java +++ b/Base/src/test/java/io/deephaven/base/map/KeyValuePairTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.map; import io.deephaven.base.array.FastArray; diff --git a/Base/src/test/java/io/deephaven/base/map/LongWrapper.java b/Base/src/test/java/io/deephaven/base/map/LongWrapper.java index e0b7ef1af05..388039f7951 100644 --- a/Base/src/test/java/io/deephaven/base/map/LongWrapper.java +++ b/Base/src/test/java/io/deephaven/base/map/LongWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.map; import io.deephaven.base.Copyable; diff --git a/Base/src/test/java/io/deephaven/base/pool/MockClearingProcedure.java b/Base/src/test/java/io/deephaven/base/pool/MockClearingProcedure.java index e806867f3ad..599af1c20ed 100644 --- a/Base/src/test/java/io/deephaven/base/pool/MockClearingProcedure.java +++ b/Base/src/test/java/io/deephaven/base/pool/MockClearingProcedure.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.pool; import io.deephaven.base.testing.RecordingMockObject; diff --git a/Base/src/test/java/io/deephaven/base/pool/MockFactory.java b/Base/src/test/java/io/deephaven/base/pool/MockFactory.java index bf03a1a2daf..4a47e449a3f 100644 --- a/Base/src/test/java/io/deephaven/base/pool/MockFactory.java +++ b/Base/src/test/java/io/deephaven/base/pool/MockFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.pool; import java.util.LinkedList; diff --git a/Base/src/test/java/io/deephaven/base/pool/MockPool.java b/Base/src/test/java/io/deephaven/base/pool/MockPool.java index 82b8f1b6856..09cd65177b5 100644 --- a/Base/src/test/java/io/deephaven/base/pool/MockPool.java +++ b/Base/src/test/java/io/deephaven/base/pool/MockPool.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.pool; import java.util.LinkedList; diff --git a/Base/src/test/java/io/deephaven/base/pool/TestThreadSafeFixedSizePool.java b/Base/src/test/java/io/deephaven/base/pool/TestThreadSafeFixedSizePool.java index ee1a493a721..f6731a77ec4 100644 --- a/Base/src/test/java/io/deephaven/base/pool/TestThreadSafeFixedSizePool.java +++ b/Base/src/test/java/io/deephaven/base/pool/TestThreadSafeFixedSizePool.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.pool; import io.deephaven.base.MockFactory; diff --git a/Base/src/test/java/io/deephaven/base/pool/TestThreadSafeLenientFixedSizePool.java b/Base/src/test/java/io/deephaven/base/pool/TestThreadSafeLenientFixedSizePool.java index b9924cc0d77..fddf945354f 100644 --- a/Base/src/test/java/io/deephaven/base/pool/TestThreadSafeLenientFixedSizePool.java +++ b/Base/src/test/java/io/deephaven/base/pool/TestThreadSafeLenientFixedSizePool.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.pool; import io.deephaven.base.MockFactory; diff --git a/Base/src/test/java/io/deephaven/base/reference/PooledObjectReferenceTest.java b/Base/src/test/java/io/deephaven/base/reference/PooledObjectReferenceTest.java index 0c6871af4f6..4f026f7da1e 100644 --- a/Base/src/test/java/io/deephaven/base/reference/PooledObjectReferenceTest.java +++ b/Base/src/test/java/io/deephaven/base/reference/PooledObjectReferenceTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.reference; import org.jetbrains.annotations.NotNull; diff --git a/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingByteRingBufferTest.java b/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingByteRingBufferTest.java index ada55b324c1..553f3bf7222 100644 --- a/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingByteRingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingByteRingBufferTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AggregatingCharRingBufferTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AggregatingCharRingBufferTest and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingCharRingBufferTest.java b/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingCharRingBufferTest.java index c8d7b9d5b0e..f0d682477d8 100644 --- a/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingCharRingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingCharRingBufferTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.ringbuffer; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingDoubleRingBufferTest.java b/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingDoubleRingBufferTest.java index 6efaf407902..078dc150a6e 100644 --- a/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingDoubleRingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingDoubleRingBufferTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AggregatingCharRingBufferTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AggregatingCharRingBufferTest and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingFloatRingBufferTest.java b/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingFloatRingBufferTest.java index cd3e4b2eb00..08ea6c76190 100644 --- a/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingFloatRingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingFloatRingBufferTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AggregatingCharRingBufferTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AggregatingCharRingBufferTest and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingIntRingBufferTest.java b/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingIntRingBufferTest.java index 519389303f5..0a8445f6eab 100644 --- a/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingIntRingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingIntRingBufferTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AggregatingCharRingBufferTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AggregatingCharRingBufferTest and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingLongRingBufferTest.java b/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingLongRingBufferTest.java index ea587966f21..afb705fa793 100644 --- a/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingLongRingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingLongRingBufferTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AggregatingCharRingBufferTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AggregatingCharRingBufferTest and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingObjectRingBufferTest.java b/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingObjectRingBufferTest.java index 73d2f0bf4b7..0f226b6e18d 100644 --- a/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingObjectRingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingObjectRingBufferTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.ringbuffer; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingShortRingBufferTest.java b/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingShortRingBufferTest.java index db24862caa1..fe77b88efb3 100644 --- a/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingShortRingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/ringbuffer/AggregatingShortRingBufferTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AggregatingCharRingBufferTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AggregatingCharRingBufferTest and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/ringbuffer/ByteRingBufferTest.java b/Base/src/test/java/io/deephaven/base/ringbuffer/ByteRingBufferTest.java index aae24a46e02..14e22525eb0 100644 --- a/Base/src/test/java/io/deephaven/base/ringbuffer/ByteRingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/ringbuffer/ByteRingBufferTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBufferTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBufferTest and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/test/java/io/deephaven/base/ringbuffer/CharRingBufferTest.java b/Base/src/test/java/io/deephaven/base/ringbuffer/CharRingBufferTest.java index eb68f1e459c..e548ea634bf 100644 --- a/Base/src/test/java/io/deephaven/base/ringbuffer/CharRingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/ringbuffer/CharRingBufferTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.ringbuffer; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/test/java/io/deephaven/base/ringbuffer/DoubleRingBufferTest.java b/Base/src/test/java/io/deephaven/base/ringbuffer/DoubleRingBufferTest.java index 0b3cc231ee0..9503dbf246b 100644 --- a/Base/src/test/java/io/deephaven/base/ringbuffer/DoubleRingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/ringbuffer/DoubleRingBufferTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBufferTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBufferTest and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/test/java/io/deephaven/base/ringbuffer/FloatRingBufferTest.java b/Base/src/test/java/io/deephaven/base/ringbuffer/FloatRingBufferTest.java index dc10cb00c6e..ab8b865ccca 100644 --- a/Base/src/test/java/io/deephaven/base/ringbuffer/FloatRingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/ringbuffer/FloatRingBufferTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBufferTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBufferTest and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/test/java/io/deephaven/base/ringbuffer/IntRingBufferTest.java b/Base/src/test/java/io/deephaven/base/ringbuffer/IntRingBufferTest.java index 8a7bb165919..55fe5492f30 100644 --- a/Base/src/test/java/io/deephaven/base/ringbuffer/IntRingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/ringbuffer/IntRingBufferTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBufferTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBufferTest and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/test/java/io/deephaven/base/ringbuffer/LongRingBufferTest.java b/Base/src/test/java/io/deephaven/base/ringbuffer/LongRingBufferTest.java index 2ae06517edb..cd2bfdb1dff 100644 --- a/Base/src/test/java/io/deephaven/base/ringbuffer/LongRingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/ringbuffer/LongRingBufferTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBufferTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBufferTest and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/test/java/io/deephaven/base/ringbuffer/ObjectRingBufferTest.java b/Base/src/test/java/io/deephaven/base/ringbuffer/ObjectRingBufferTest.java index 1eeb73c322b..b7a9db4817e 100644 --- a/Base/src/test/java/io/deephaven/base/ringbuffer/ObjectRingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/ringbuffer/ObjectRingBufferTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBufferTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBufferTest and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/test/java/io/deephaven/base/ringbuffer/ShortRingBufferTest.java b/Base/src/test/java/io/deephaven/base/ringbuffer/ShortRingBufferTest.java index 9f7c99580b8..baff6f06fbd 100644 --- a/Base/src/test/java/io/deephaven/base/ringbuffer/ShortRingBufferTest.java +++ b/Base/src/test/java/io/deephaven/base/ringbuffer/ShortRingBufferTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBufferTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBufferTest and run "./gradlew replicateRingBuffers" to regenerate +// +// @formatter:off package io.deephaven.base.ringbuffer; import io.deephaven.base.ArrayUtil; diff --git a/Base/src/test/java/io/deephaven/base/stats/HistogramPower2Test.java b/Base/src/test/java/io/deephaven/base/stats/HistogramPower2Test.java index bd24cf5c052..08e6d098aac 100644 --- a/Base/src/test/java/io/deephaven/base/stats/HistogramPower2Test.java +++ b/Base/src/test/java/io/deephaven/base/stats/HistogramPower2Test.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.stats; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/stats/HistogramStateTest.java b/Base/src/test/java/io/deephaven/base/stats/HistogramStateTest.java index 2a23844c93f..30afb85a6e3 100644 --- a/Base/src/test/java/io/deephaven/base/stats/HistogramStateTest.java +++ b/Base/src/test/java/io/deephaven/base/stats/HistogramStateTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.stats; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/stats/TestValue.java b/Base/src/test/java/io/deephaven/base/stats/TestValue.java index ca12590de36..2b841c7ae3e 100644 --- a/Base/src/test/java/io/deephaven/base/stats/TestValue.java +++ b/Base/src/test/java/io/deephaven/base/stats/TestValue.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.stats; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/string/cache/TestCharSequenceAdapterBuilder.java b/Base/src/test/java/io/deephaven/base/string/cache/TestCharSequenceAdapterBuilder.java index 9b396f031d8..4d9633ce3a4 100644 --- a/Base/src/test/java/io/deephaven/base/string/cache/TestCharSequenceAdapterBuilder.java +++ b/Base/src/test/java/io/deephaven/base/string/cache/TestCharSequenceAdapterBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/string/cache/TestCompressedString.java b/Base/src/test/java/io/deephaven/base/string/cache/TestCompressedString.java index 0c89d897d85..89f63446c08 100644 --- a/Base/src/test/java/io/deephaven/base/string/cache/TestCompressedString.java +++ b/Base/src/test/java/io/deephaven/base/string/cache/TestCompressedString.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/string/cache/TestConcurrentBoundedStringCache.java b/Base/src/test/java/io/deephaven/base/string/cache/TestConcurrentBoundedStringCache.java index 9dd1b994b7e..e44d4245b5b 100644 --- a/Base/src/test/java/io/deephaven/base/string/cache/TestConcurrentBoundedStringCache.java +++ b/Base/src/test/java/io/deephaven/base/string/cache/TestConcurrentBoundedStringCache.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/string/cache/TestConcurrentUnboundedStringCache.java b/Base/src/test/java/io/deephaven/base/string/cache/TestConcurrentUnboundedStringCache.java index 244896967f6..1ec5ec90afd 100644 --- a/Base/src/test/java/io/deephaven/base/string/cache/TestConcurrentUnboundedStringCache.java +++ b/Base/src/test/java/io/deephaven/base/string/cache/TestConcurrentUnboundedStringCache.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import junit.framework.TestCase; diff --git a/Base/src/test/java/io/deephaven/base/string/cache/TestMappedCompressedString.java b/Base/src/test/java/io/deephaven/base/string/cache/TestMappedCompressedString.java index 649860304f4..168d7b38534 100644 --- a/Base/src/test/java/io/deephaven/base/string/cache/TestMappedCompressedString.java +++ b/Base/src/test/java/io/deephaven/base/string/cache/TestMappedCompressedString.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.string.cache; import io.deephaven.base.reference.HardSimpleReference; diff --git a/Base/src/test/java/io/deephaven/base/testing/HashCodeChecker.java b/Base/src/test/java/io/deephaven/base/testing/HashCodeChecker.java index d9a8c993e08..4ddbdd1896b 100644 --- a/Base/src/test/java/io/deephaven/base/testing/HashCodeChecker.java +++ b/Base/src/test/java/io/deephaven/base/testing/HashCodeChecker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.testing; import java.util.HashSet; diff --git a/Base/src/test/java/io/deephaven/base/testing/MTTestSupport.java b/Base/src/test/java/io/deephaven/base/testing/MTTestSupport.java index d377a7d040b..b4cfea240dd 100644 --- a/Base/src/test/java/io/deephaven/base/testing/MTTestSupport.java +++ b/Base/src/test/java/io/deephaven/base/testing/MTTestSupport.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.testing; import io.deephaven.base.*; diff --git a/Base/src/test/java/io/deephaven/base/testing/Matchers.java b/Base/src/test/java/io/deephaven/base/testing/Matchers.java index 2daf9232f0d..6e7542bfc7c 100644 --- a/Base/src/test/java/io/deephaven/base/testing/Matchers.java +++ b/Base/src/test/java/io/deephaven/base/testing/Matchers.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.testing; import io.deephaven.base.verify.Require; diff --git a/Base/src/test/java/io/deephaven/base/testing/RecordingMockObject.java b/Base/src/test/java/io/deephaven/base/testing/RecordingMockObject.java index 830d7a5c43c..b7fdf757c43 100644 --- a/Base/src/test/java/io/deephaven/base/testing/RecordingMockObject.java +++ b/Base/src/test/java/io/deephaven/base/testing/RecordingMockObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.testing; // -------------------------------------------------------------------- diff --git a/Base/src/test/java/io/deephaven/base/testing/SimpleTestSupport.java b/Base/src/test/java/io/deephaven/base/testing/SimpleTestSupport.java index 4df914fcdcb..1660b861bd6 100644 --- a/Base/src/test/java/io/deephaven/base/testing/SimpleTestSupport.java +++ b/Base/src/test/java/io/deephaven/base/testing/SimpleTestSupport.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.testing; import java.io.*; diff --git a/Base/src/test/java/io/deephaven/base/testing/Thumbprinter.java b/Base/src/test/java/io/deephaven/base/testing/Thumbprinter.java index feb7b9fc53f..c4e1c5d5cd6 100644 --- a/Base/src/test/java/io/deephaven/base/testing/Thumbprinter.java +++ b/Base/src/test/java/io/deephaven/base/testing/Thumbprinter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.testing; // -------------------------------------------------------------------- diff --git a/Base/src/test/java/io/deephaven/base/testing/TimeLimitedTest.java b/Base/src/test/java/io/deephaven/base/testing/TimeLimitedTest.java index 017ef50e686..f3c4b0fbe96 100644 --- a/Base/src/test/java/io/deephaven/base/testing/TimeLimitedTest.java +++ b/Base/src/test/java/io/deephaven/base/testing/TimeLimitedTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.testing; /** diff --git a/Base/src/test/java/io/deephaven/base/text/TestConvert.java b/Base/src/test/java/io/deephaven/base/text/TestConvert.java index 48fd8c46253..8769d8c79b1 100644 --- a/Base/src/test/java/io/deephaven/base/text/TestConvert.java +++ b/Base/src/test/java/io/deephaven/base/text/TestConvert.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.base.text; import junit.framework.TestCase; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/BenchUtil.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/BenchUtil.java index 63194b32452..74f243d83cc 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/BenchUtil.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/BenchUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking; import io.deephaven.util.metrics.MetricsManager; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/BenchmarkTable.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/BenchmarkTable.java index 2bc0b643c1f..346a9ef12ff 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/BenchmarkTable.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/BenchmarkTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking; import io.deephaven.engine.table.Table; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/BenchmarkTableBuilder.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/BenchmarkTableBuilder.java index 1d31b470f74..ae0568cb014 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/BenchmarkTableBuilder.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/BenchmarkTableBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking; import io.deephaven.util.annotations.ScriptApi; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/BenchmarkTools.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/BenchmarkTools.java index ee0f32b8fe2..5b06c4d2b82 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/BenchmarkTools.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/BenchmarkTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking; import io.deephaven.configuration.DataDir; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/ConcurrentResourceProfiler.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/ConcurrentResourceProfiler.java index 0c61b2ec024..bf89ac62ba2 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/ConcurrentResourceProfiler.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/ConcurrentResourceProfiler.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking; import io.deephaven.benchmarking.runner.ProfilerStats; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/CsvResultWriter.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/CsvResultWriter.java index 51768681c4f..1b8c3bb941a 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/CsvResultWriter.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/CsvResultWriter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking; import com.univocity.parsers.csv.CsvWriter; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/ResourceProfiler.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/ResourceProfiler.java index 2ba0c9a2776..58b160af95f 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/ResourceProfiler.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/ResourceProfiler.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking; import org.openjdk.jmh.infra.BenchmarkParams; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/AbstractColumnGenerator.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/AbstractColumnGenerator.java index fe12a700069..461fc89d6c4 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/AbstractColumnGenerator.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/AbstractColumnGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.generator; import io.deephaven.engine.table.ColumnDefinition; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/ColumnGenerator.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/ColumnGenerator.java index 59324f3f600..542f37a4f3d 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/ColumnGenerator.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/ColumnGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.generator; import io.deephaven.engine.table.ColumnDefinition; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/EnumStringGenerator.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/EnumStringGenerator.java index b94e86ac6f2..0217bdd9040 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/EnumStringGenerator.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/EnumStringGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.generator; import io.deephaven.datastructures.util.CollectionUtil; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/FuzzyNumberGenerator.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/FuzzyNumberGenerator.java index 3b7d4fc1af0..4e6e03ea15b 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/FuzzyNumberGenerator.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/FuzzyNumberGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.generator; import io.deephaven.benchmarking.generator.random.ExtendedRandom; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/InstantGenerator.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/InstantGenerator.java index 27708388fb6..8b628c59a3a 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/InstantGenerator.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/InstantGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.generator; import io.deephaven.time.DateTimeUtils; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/NumberColumnGenerator.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/NumberColumnGenerator.java index 7c164b2a070..b1ceda9cb2e 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/NumberColumnGenerator.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/NumberColumnGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.generator; import io.deephaven.benchmarking.generator.random.ExtendedRandom; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/NumberGenerator.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/NumberGenerator.java index a9c37d65f67..585854f440d 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/NumberGenerator.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/NumberGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.generator; import io.deephaven.benchmarking.generator.random.ExtendedRandom; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/ObjectColumnGenerator.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/ObjectColumnGenerator.java index b939c9a9f26..e9673aa3e59 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/ObjectColumnGenerator.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/ObjectColumnGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.generator; import io.deephaven.benchmarking.generator.random.ExtendedRandom; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/ObjectGenerator.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/ObjectGenerator.java index 7ce5be86c5f..e36f3c98d9b 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/ObjectGenerator.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/ObjectGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.generator; import io.deephaven.benchmarking.generator.random.ExtendedRandom; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/RandomNumberGenerator.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/RandomNumberGenerator.java index 033f3b0078b..758112db0dd 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/RandomNumberGenerator.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/RandomNumberGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.generator; import io.deephaven.benchmarking.generator.random.ExtendedRandom; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/RandomStringGenerator.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/RandomStringGenerator.java index d4d8a10fe40..d829ff33a70 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/RandomStringGenerator.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/RandomStringGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.generator; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/SequentialNumberGenerator.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/SequentialNumberGenerator.java index 26e4165bdaf..bdb42923cfe 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/SequentialNumberGenerator.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/SequentialNumberGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.generator; import io.deephaven.benchmarking.generator.random.ExtendedRandom; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/random/ExtendedRandom.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/random/ExtendedRandom.java index 1bab517b4b6..bfdcfbae1c5 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/random/ExtendedRandom.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/generator/random/ExtendedRandom.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.generator.random; import org.jetbrains.annotations.NotNull; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/AbstractBenchmarkTable.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/AbstractBenchmarkTable.java index 7ce2de45022..fcfa175bf9e 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/AbstractBenchmarkTable.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/AbstractBenchmarkTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.impl; import io.deephaven.engine.table.Table; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/AbstractBenchmarkTableBuilder.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/AbstractBenchmarkTableBuilder.java index 6c2a0dc5d0c..93034292b56 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/AbstractBenchmarkTableBuilder.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/AbstractBenchmarkTableBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.impl; import io.deephaven.hash.KeyedObjectHash; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/AbstractGeneratedTable.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/AbstractGeneratedTable.java index 9e13584fa10..d1add7876f0 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/AbstractGeneratedTable.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/AbstractGeneratedTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.impl; import io.deephaven.engine.table.ColumnDefinition; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/InMemoryBenchmarkTable.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/InMemoryBenchmarkTable.java index 516c00079a0..bf906300fe1 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/InMemoryBenchmarkTable.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/InMemoryBenchmarkTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.impl; import io.deephaven.engine.table.Table; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/InMemoryBenchmarkTableBuilder.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/InMemoryBenchmarkTableBuilder.java index 09c7f262336..0b26d8070f4 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/InMemoryBenchmarkTableBuilder.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/InMemoryBenchmarkTableBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.impl; import io.deephaven.benchmarking.BenchmarkTable; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/PersistentBenchmarkTableBuilder.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/PersistentBenchmarkTableBuilder.java index c17e9c14bf7..3690836123f 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/PersistentBenchmarkTableBuilder.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/PersistentBenchmarkTableBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.impl; import io.deephaven.benchmarking.BenchmarkTable; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/TableBackedBenchmarkTable.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/TableBackedBenchmarkTable.java index c13e4607807..b66c720f3b1 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/TableBackedBenchmarkTable.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/TableBackedBenchmarkTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.impl; import io.deephaven.engine.table.Table; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/TableBackedBenchmarkTableBuilder.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/TableBackedBenchmarkTableBuilder.java index e33b4a4fd78..cf19b3a684b 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/TableBackedBenchmarkTableBuilder.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/impl/TableBackedBenchmarkTableBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.impl; import io.deephaven.engine.table.Table; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/BenchmarkRunner.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/BenchmarkRunner.java index 8eb94c7f968..3a48fbf904d 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/BenchmarkRunner.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/BenchmarkRunner.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.runner; import io.deephaven.benchmarking.BenchmarkTools; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/EnvUtils.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/EnvUtils.java index a99dd0dddce..410fb36ddf0 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/EnvUtils.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/EnvUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.runner; import java.lang.management.GarbageCollectorMXBean; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/ProfilerStats.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/ProfilerStats.java index dc50d393fab..c92d87e8d91 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/ProfilerStats.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/ProfilerStats.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.runner; public class ProfilerStats { diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/StatsGatherer.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/StatsGatherer.java index 3bb93586804..d9f4b4ce8a7 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/StatsGatherer.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/StatsGatherer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.runner; import org.jetbrains.annotations.NotNull; diff --git a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/TableBenchmarkState.java b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/TableBenchmarkState.java index b6bf36b1a5b..482e9b568dc 100644 --- a/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/TableBenchmarkState.java +++ b/BenchmarkSupport/src/main/java/io/deephaven/benchmarking/runner/TableBenchmarkState.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.runner; import io.deephaven.engine.table.ColumnDefinition; diff --git a/BenchmarkSupport/src/test/java/io/deephaven/benchmarking/impl/TestTableGeneration.java b/BenchmarkSupport/src/test/java/io/deephaven/benchmarking/impl/TestTableGeneration.java index f5cd21e4a3d..430b9e5bb1d 100644 --- a/BenchmarkSupport/src/test/java/io/deephaven/benchmarking/impl/TestTableGeneration.java +++ b/BenchmarkSupport/src/test/java/io/deephaven/benchmarking/impl/TestTableGeneration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmarking.impl; import io.deephaven.engine.table.Table; diff --git a/ClientSupport/src/main/java/io/deephaven/clientsupport/gotorow/SeekRow.java b/ClientSupport/src/main/java/io/deephaven/clientsupport/gotorow/SeekRow.java index 598ece5d9aa..5f57ff99f85 100644 --- a/ClientSupport/src/main/java/io/deephaven/clientsupport/gotorow/SeekRow.java +++ b/ClientSupport/src/main/java/io/deephaven/clientsupport/gotorow/SeekRow.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.clientsupport.gotorow; import java.time.Instant; diff --git a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/BucketState.java b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/BucketState.java index 9afad440639..f29276dca14 100644 --- a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/BucketState.java +++ b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/BucketState.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.clientsupport.plotdownsampling; import io.deephaven.base.verify.Assert; diff --git a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/ByteValueTracker.java b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/ByteValueTracker.java index e47d61c0cf6..ca30f993fc2 100644 --- a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/ByteValueTracker.java +++ b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/ByteValueTracker.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharValueTracker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharValueTracker and run "./gradlew replicateDownsamplingValueTrackers" to regenerate +// +// @formatter:off package io.deephaven.clientsupport.plotdownsampling; import io.deephaven.base.verify.Assert; @@ -34,6 +33,7 @@ protected void ensureCapacity(int bucketCount) { private byte minValue(int offset) { return source.getUnsafe(minValuePosition(offset)); } + private byte maxValue(int offset) { return source.getUnsafe(maxValuePosition(offset)); } @@ -41,12 +41,14 @@ private byte maxValue(int offset) { private void setMinValue(int offset, byte value) { source.set(minValuePosition(offset), value); } + private void setMaxValue(int offset, byte value) { source.set(maxValuePosition(offset), value); } @Override - public void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls) { + public void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls) { final byte val = valuesChunk.asByteChunk().get(indexInChunk); if (val == NULL_BYTE) { if (nulls != null) { @@ -57,7 +59,8 @@ public void append(int offset, long rowKey, Chunk valuesChunk, // if max and min indexes are null, then this is the first non-null value, so we always want it final boolean first = maxIndex(offset) == QueryConstants.NULL_LONG; - Assert.eq(first, "first", minIndex(offset) == QueryConstants.NULL_LONG, "minIndex(" + offset +") == QueryConstants.NULL_LONG"); + Assert.eq(first, "first", minIndex(offset) == QueryConstants.NULL_LONG, + "minIndex(" + offset + ") == QueryConstants.NULL_LONG"); if (first || val > maxValue(offset)) { setMaxValue(offset, val); @@ -72,13 +75,15 @@ public void append(int offset, long rowKey, Chunk valuesChunk, } @Override - public void update(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls) { + public void update(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls) { byte val = valuesChunk.asByteChunk().get(indexInChunk); if (val == NULL_BYTE) { if (nulls != null) { nulls.insert(rowKey); } - // whether or not we are tracking nulls, if the row was our max/min, mark the value as invalid so we can rescan + // whether or not we are tracking nulls, if the row was our max/min, mark the value as invalid so we can + // rescan if (rowKey == maxIndex(offset)) { maxValueValid(offset, false);// invalid will force a rescan } @@ -96,7 +101,8 @@ public void update(int offset, long rowKey, Chunk valuesChunk, // This is still the max, but update the value setMaxValue(offset, val); } else { - // May no longer be the max, rescan to check - leave old value in place for another update to compare + // May no longer be the max, rescan to check - leave old value in place for another update to + // compare // against it or replace in rescan maxValueValid(offset, false); } @@ -130,7 +136,8 @@ public void update(int offset, long rowKey, Chunk valuesChunk, } @Override - public void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable RowSet nulls) { + public void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable RowSet nulls) { byte val = valuesChunk.asByteChunk().get(indexInChunk); if (val == NULL_BYTE) { // can't check if our min/max is valid, or anything about positions, only can confirm that this rowKey is in @@ -159,6 +166,6 @@ public void validate(int offset, long rowKey, Chunk valuesChun @Override public String toString(int offset) { - return "ByteValueTracker("+offset+") { max=" + maxValue(offset) + ", min=" + minValue(offset) + " }"; + return "ByteValueTracker(" + offset + ") { max=" + maxValue(offset) + ", min=" + minValue(offset) + " }"; } } diff --git a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/CharValueTracker.java b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/CharValueTracker.java index c08cd59184d..f57d7189f61 100644 --- a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/CharValueTracker.java +++ b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/CharValueTracker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.clientsupport.plotdownsampling; import io.deephaven.base.verify.Assert; @@ -29,6 +29,7 @@ protected void ensureCapacity(int bucketCount) { private char minValue(int offset) { return source.getUnsafe(minValuePosition(offset)); } + private char maxValue(int offset) { return source.getUnsafe(maxValuePosition(offset)); } @@ -36,12 +37,14 @@ private char maxValue(int offset) { private void setMinValue(int offset, char value) { source.set(minValuePosition(offset), value); } + private void setMaxValue(int offset, char value) { source.set(maxValuePosition(offset), value); } @Override - public void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls) { + public void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls) { final char val = valuesChunk.asCharChunk().get(indexInChunk); if (val == NULL_CHAR) { if (nulls != null) { @@ -52,7 +55,8 @@ public void append(int offset, long rowKey, Chunk valuesChunk, // if max and min indexes are null, then this is the first non-null value, so we always want it final boolean first = maxIndex(offset) == QueryConstants.NULL_LONG; - Assert.eq(first, "first", minIndex(offset) == QueryConstants.NULL_LONG, "minIndex(" + offset +") == QueryConstants.NULL_LONG"); + Assert.eq(first, "first", minIndex(offset) == QueryConstants.NULL_LONG, + "minIndex(" + offset + ") == QueryConstants.NULL_LONG"); if (first || val > maxValue(offset)) { setMaxValue(offset, val); @@ -67,13 +71,15 @@ public void append(int offset, long rowKey, Chunk valuesChunk, } @Override - public void update(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls) { + public void update(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls) { char val = valuesChunk.asCharChunk().get(indexInChunk); if (val == NULL_CHAR) { if (nulls != null) { nulls.insert(rowKey); } - // whether or not we are tracking nulls, if the row was our max/min, mark the value as invalid so we can rescan + // whether or not we are tracking nulls, if the row was our max/min, mark the value as invalid so we can + // rescan if (rowKey == maxIndex(offset)) { maxValueValid(offset, false);// invalid will force a rescan } @@ -91,7 +97,8 @@ public void update(int offset, long rowKey, Chunk valuesChunk, // This is still the max, but update the value setMaxValue(offset, val); } else { - // May no longer be the max, rescan to check - leave old value in place for another update to compare + // May no longer be the max, rescan to check - leave old value in place for another update to + // compare // against it or replace in rescan maxValueValid(offset, false); } @@ -125,7 +132,8 @@ public void update(int offset, long rowKey, Chunk valuesChunk, } @Override - public void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable RowSet nulls) { + public void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable RowSet nulls) { char val = valuesChunk.asCharChunk().get(indexInChunk); if (val == NULL_CHAR) { // can't check if our min/max is valid, or anything about positions, only can confirm that this rowKey is in @@ -154,6 +162,6 @@ public void validate(int offset, long rowKey, Chunk valuesChun @Override public String toString(int offset) { - return "CharValueTracker("+offset+") { max=" + maxValue(offset) + ", min=" + minValue(offset) + " }"; + return "CharValueTracker(" + offset + ") { max=" + maxValue(offset) + ", min=" + minValue(offset) + " }"; } } diff --git a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/DoubleValueTracker.java b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/DoubleValueTracker.java index 003132dd02b..4d771d0071d 100644 --- a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/DoubleValueTracker.java +++ b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/DoubleValueTracker.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharValueTracker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharValueTracker and run "./gradlew replicateDownsamplingValueTrackers" to regenerate +// +// @formatter:off package io.deephaven.clientsupport.plotdownsampling; import io.deephaven.base.verify.Assert; @@ -34,6 +33,7 @@ protected void ensureCapacity(int bucketCount) { private double minValue(int offset) { return source.getUnsafe(minValuePosition(offset)); } + private double maxValue(int offset) { return source.getUnsafe(maxValuePosition(offset)); } @@ -41,12 +41,14 @@ private double maxValue(int offset) { private void setMinValue(int offset, double value) { source.set(minValuePosition(offset), value); } + private void setMaxValue(int offset, double value) { source.set(maxValuePosition(offset), value); } @Override - public void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls) { + public void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls) { final double val = valuesChunk.asDoubleChunk().get(indexInChunk); if (val == NULL_DOUBLE) { if (nulls != null) { @@ -57,7 +59,8 @@ public void append(int offset, long rowKey, Chunk valuesChunk, // if max and min indexes are null, then this is the first non-null value, so we always want it final boolean first = maxIndex(offset) == QueryConstants.NULL_LONG; - Assert.eq(first, "first", minIndex(offset) == QueryConstants.NULL_LONG, "minIndex(" + offset +") == QueryConstants.NULL_LONG"); + Assert.eq(first, "first", minIndex(offset) == QueryConstants.NULL_LONG, + "minIndex(" + offset + ") == QueryConstants.NULL_LONG"); if (first || val > maxValue(offset)) { setMaxValue(offset, val); @@ -72,13 +75,15 @@ public void append(int offset, long rowKey, Chunk valuesChunk, } @Override - public void update(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls) { + public void update(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls) { double val = valuesChunk.asDoubleChunk().get(indexInChunk); if (val == NULL_DOUBLE) { if (nulls != null) { nulls.insert(rowKey); } - // whether or not we are tracking nulls, if the row was our max/min, mark the value as invalid so we can rescan + // whether or not we are tracking nulls, if the row was our max/min, mark the value as invalid so we can + // rescan if (rowKey == maxIndex(offset)) { maxValueValid(offset, false);// invalid will force a rescan } @@ -96,7 +101,8 @@ public void update(int offset, long rowKey, Chunk valuesChunk, // This is still the max, but update the value setMaxValue(offset, val); } else { - // May no longer be the max, rescan to check - leave old value in place for another update to compare + // May no longer be the max, rescan to check - leave old value in place for another update to + // compare // against it or replace in rescan maxValueValid(offset, false); } @@ -130,7 +136,8 @@ public void update(int offset, long rowKey, Chunk valuesChunk, } @Override - public void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable RowSet nulls) { + public void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable RowSet nulls) { double val = valuesChunk.asDoubleChunk().get(indexInChunk); if (val == NULL_DOUBLE) { // can't check if our min/max is valid, or anything about positions, only can confirm that this rowKey is in @@ -159,6 +166,6 @@ public void validate(int offset, long rowKey, Chunk valuesChun @Override public String toString(int offset) { - return "DoubleValueTracker("+offset+") { max=" + maxValue(offset) + ", min=" + minValue(offset) + " }"; + return "DoubleValueTracker(" + offset + ") { max=" + maxValue(offset) + ", min=" + minValue(offset) + " }"; } } diff --git a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/DownsampleChunkContext.java b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/DownsampleChunkContext.java index 336032455ca..434a3632f1a 100644 --- a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/DownsampleChunkContext.java +++ b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/DownsampleChunkContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.clientsupport.plotdownsampling; import io.deephaven.base.verify.Assert; diff --git a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/FloatValueTracker.java b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/FloatValueTracker.java index 159b1a81ce9..3a5e22e8e06 100644 --- a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/FloatValueTracker.java +++ b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/FloatValueTracker.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharValueTracker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharValueTracker and run "./gradlew replicateDownsamplingValueTrackers" to regenerate +// +// @formatter:off package io.deephaven.clientsupport.plotdownsampling; import io.deephaven.base.verify.Assert; @@ -34,6 +33,7 @@ protected void ensureCapacity(int bucketCount) { private float minValue(int offset) { return source.getUnsafe(minValuePosition(offset)); } + private float maxValue(int offset) { return source.getUnsafe(maxValuePosition(offset)); } @@ -41,12 +41,14 @@ private float maxValue(int offset) { private void setMinValue(int offset, float value) { source.set(minValuePosition(offset), value); } + private void setMaxValue(int offset, float value) { source.set(maxValuePosition(offset), value); } @Override - public void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls) { + public void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls) { final float val = valuesChunk.asFloatChunk().get(indexInChunk); if (val == NULL_FLOAT) { if (nulls != null) { @@ -57,7 +59,8 @@ public void append(int offset, long rowKey, Chunk valuesChunk, // if max and min indexes are null, then this is the first non-null value, so we always want it final boolean first = maxIndex(offset) == QueryConstants.NULL_LONG; - Assert.eq(first, "first", minIndex(offset) == QueryConstants.NULL_LONG, "minIndex(" + offset +") == QueryConstants.NULL_LONG"); + Assert.eq(first, "first", minIndex(offset) == QueryConstants.NULL_LONG, + "minIndex(" + offset + ") == QueryConstants.NULL_LONG"); if (first || val > maxValue(offset)) { setMaxValue(offset, val); @@ -72,13 +75,15 @@ public void append(int offset, long rowKey, Chunk valuesChunk, } @Override - public void update(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls) { + public void update(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls) { float val = valuesChunk.asFloatChunk().get(indexInChunk); if (val == NULL_FLOAT) { if (nulls != null) { nulls.insert(rowKey); } - // whether or not we are tracking nulls, if the row was our max/min, mark the value as invalid so we can rescan + // whether or not we are tracking nulls, if the row was our max/min, mark the value as invalid so we can + // rescan if (rowKey == maxIndex(offset)) { maxValueValid(offset, false);// invalid will force a rescan } @@ -96,7 +101,8 @@ public void update(int offset, long rowKey, Chunk valuesChunk, // This is still the max, but update the value setMaxValue(offset, val); } else { - // May no longer be the max, rescan to check - leave old value in place for another update to compare + // May no longer be the max, rescan to check - leave old value in place for another update to + // compare // against it or replace in rescan maxValueValid(offset, false); } @@ -130,7 +136,8 @@ public void update(int offset, long rowKey, Chunk valuesChunk, } @Override - public void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable RowSet nulls) { + public void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable RowSet nulls) { float val = valuesChunk.asFloatChunk().get(indexInChunk); if (val == NULL_FLOAT) { // can't check if our min/max is valid, or anything about positions, only can confirm that this rowKey is in @@ -159,6 +166,6 @@ public void validate(int offset, long rowKey, Chunk valuesChun @Override public String toString(int offset) { - return "FloatValueTracker("+offset+") { max=" + maxValue(offset) + ", min=" + minValue(offset) + " }"; + return "FloatValueTracker(" + offset + ") { max=" + maxValue(offset) + ", min=" + minValue(offset) + " }"; } } diff --git a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/IntValueTracker.java b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/IntValueTracker.java index 8bcdeac9613..bfb333f1a7a 100644 --- a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/IntValueTracker.java +++ b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/IntValueTracker.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharValueTracker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharValueTracker and run "./gradlew replicateDownsamplingValueTrackers" to regenerate +// +// @formatter:off package io.deephaven.clientsupport.plotdownsampling; import io.deephaven.base.verify.Assert; @@ -34,6 +33,7 @@ protected void ensureCapacity(int bucketCount) { private int minValue(int offset) { return source.getUnsafe(minValuePosition(offset)); } + private int maxValue(int offset) { return source.getUnsafe(maxValuePosition(offset)); } @@ -41,12 +41,14 @@ private int maxValue(int offset) { private void setMinValue(int offset, int value) { source.set(minValuePosition(offset), value); } + private void setMaxValue(int offset, int value) { source.set(maxValuePosition(offset), value); } @Override - public void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls) { + public void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls) { final int val = valuesChunk.asIntChunk().get(indexInChunk); if (val == NULL_INT) { if (nulls != null) { @@ -57,7 +59,8 @@ public void append(int offset, long rowKey, Chunk valuesChunk, // if max and min indexes are null, then this is the first non-null value, so we always want it final boolean first = maxIndex(offset) == QueryConstants.NULL_LONG; - Assert.eq(first, "first", minIndex(offset) == QueryConstants.NULL_LONG, "minIndex(" + offset +") == QueryConstants.NULL_LONG"); + Assert.eq(first, "first", minIndex(offset) == QueryConstants.NULL_LONG, + "minIndex(" + offset + ") == QueryConstants.NULL_LONG"); if (first || val > maxValue(offset)) { setMaxValue(offset, val); @@ -72,13 +75,15 @@ public void append(int offset, long rowKey, Chunk valuesChunk, } @Override - public void update(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls) { + public void update(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls) { int val = valuesChunk.asIntChunk().get(indexInChunk); if (val == NULL_INT) { if (nulls != null) { nulls.insert(rowKey); } - // whether or not we are tracking nulls, if the row was our max/min, mark the value as invalid so we can rescan + // whether or not we are tracking nulls, if the row was our max/min, mark the value as invalid so we can + // rescan if (rowKey == maxIndex(offset)) { maxValueValid(offset, false);// invalid will force a rescan } @@ -96,7 +101,8 @@ public void update(int offset, long rowKey, Chunk valuesChunk, // This is still the max, but update the value setMaxValue(offset, val); } else { - // May no longer be the max, rescan to check - leave old value in place for another update to compare + // May no longer be the max, rescan to check - leave old value in place for another update to + // compare // against it or replace in rescan maxValueValid(offset, false); } @@ -130,7 +136,8 @@ public void update(int offset, long rowKey, Chunk valuesChunk, } @Override - public void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable RowSet nulls) { + public void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable RowSet nulls) { int val = valuesChunk.asIntChunk().get(indexInChunk); if (val == NULL_INT) { // can't check if our min/max is valid, or anything about positions, only can confirm that this rowKey is in @@ -159,6 +166,6 @@ public void validate(int offset, long rowKey, Chunk valuesChun @Override public String toString(int offset) { - return "IntValueTracker("+offset+") { max=" + maxValue(offset) + ", min=" + minValue(offset) + " }"; + return "IntValueTracker(" + offset + ") { max=" + maxValue(offset) + ", min=" + minValue(offset) + " }"; } } diff --git a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/LongValueTracker.java b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/LongValueTracker.java index 6dea102f053..486508d227c 100644 --- a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/LongValueTracker.java +++ b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/LongValueTracker.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharValueTracker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharValueTracker and run "./gradlew replicateDownsamplingValueTrackers" to regenerate +// +// @formatter:off package io.deephaven.clientsupport.plotdownsampling; import io.deephaven.base.verify.Assert; @@ -34,6 +33,7 @@ protected void ensureCapacity(int bucketCount) { private long minValue(int offset) { return source.getUnsafe(minValuePosition(offset)); } + private long maxValue(int offset) { return source.getUnsafe(maxValuePosition(offset)); } @@ -41,12 +41,14 @@ private long maxValue(int offset) { private void setMinValue(int offset, long value) { source.set(minValuePosition(offset), value); } + private void setMaxValue(int offset, long value) { source.set(maxValuePosition(offset), value); } @Override - public void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls) { + public void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls) { final long val = valuesChunk.asLongChunk().get(indexInChunk); if (val == NULL_LONG) { if (nulls != null) { @@ -57,7 +59,8 @@ public void append(int offset, long rowKey, Chunk valuesChunk, // if max and min indexes are null, then this is the first non-null value, so we always want it final boolean first = maxIndex(offset) == QueryConstants.NULL_LONG; - Assert.eq(first, "first", minIndex(offset) == QueryConstants.NULL_LONG, "minIndex(" + offset +") == QueryConstants.NULL_LONG"); + Assert.eq(first, "first", minIndex(offset) == QueryConstants.NULL_LONG, + "minIndex(" + offset + ") == QueryConstants.NULL_LONG"); if (first || val > maxValue(offset)) { setMaxValue(offset, val); @@ -72,13 +75,15 @@ public void append(int offset, long rowKey, Chunk valuesChunk, } @Override - public void update(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls) { + public void update(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls) { long val = valuesChunk.asLongChunk().get(indexInChunk); if (val == NULL_LONG) { if (nulls != null) { nulls.insert(rowKey); } - // whether or not we are tracking nulls, if the row was our max/min, mark the value as invalid so we can rescan + // whether or not we are tracking nulls, if the row was our max/min, mark the value as invalid so we can + // rescan if (rowKey == maxIndex(offset)) { maxValueValid(offset, false);// invalid will force a rescan } @@ -96,7 +101,8 @@ public void update(int offset, long rowKey, Chunk valuesChunk, // This is still the max, but update the value setMaxValue(offset, val); } else { - // May no longer be the max, rescan to check - leave old value in place for another update to compare + // May no longer be the max, rescan to check - leave old value in place for another update to + // compare // against it or replace in rescan maxValueValid(offset, false); } @@ -130,7 +136,8 @@ public void update(int offset, long rowKey, Chunk valuesChunk, } @Override - public void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable RowSet nulls) { + public void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable RowSet nulls) { long val = valuesChunk.asLongChunk().get(indexInChunk); if (val == NULL_LONG) { // can't check if our min/max is valid, or anything about positions, only can confirm that this rowKey is in @@ -159,6 +166,6 @@ public void validate(int offset, long rowKey, Chunk valuesChun @Override public String toString(int offset) { - return "LongValueTracker("+offset+") { max=" + maxValue(offset) + ", min=" + minValue(offset) + " }"; + return "LongValueTracker(" + offset + ") { max=" + maxValue(offset) + ", min=" + minValue(offset) + " }"; } } diff --git a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/ObjectValueTracker.java b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/ObjectValueTracker.java index 842c41d6da0..388f688bd99 100644 --- a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/ObjectValueTracker.java +++ b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/ObjectValueTracker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.clientsupport.plotdownsampling; import io.deephaven.base.verify.Assert; @@ -18,7 +18,8 @@ public final class ObjectValueTracker> extends ValueTrac private final ObjectArraySource source; public ObjectValueTracker(ColumnSource columnSource) { - Require.eqTrue(Comparable.class.isAssignableFrom(columnSource.getType()), "Comparable.class.isAssignableFrom(columnSource.getType())"); + Require.eqTrue(Comparable.class.isAssignableFrom(columnSource.getType()), + "Comparable.class.isAssignableFrom(columnSource.getType())"); source = new ObjectArraySource(columnSource.getType(), columnSource.getComponentType()); } @@ -31,6 +32,7 @@ protected void ensureCapacity(int bucketCount) { private T minValue(int offset) { return source.getUnsafe(minValuePosition(offset)); } + private T maxValue(int offset) { return source.getUnsafe(maxValuePosition(offset)); } @@ -38,12 +40,14 @@ private T maxValue(int offset) { private void setMinValue(int offset, T value) { source.set(minValuePosition(offset), value); } + private void setMaxValue(int offset, T value) { source.set(maxValuePosition(offset), value); } @Override - public void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls) { + public void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls) { final T val = valuesChunk.asObjectChunk().get(indexInChunk); if (val == null) { if (nulls != null) { @@ -54,7 +58,8 @@ public void append(int offset, long rowKey, Chunk valuesChunk, // if max and min indexes are null, then this is the first non-null value, so we always want it final boolean first = maxIndex(offset) == QueryConstants.NULL_LONG; - Assert.eq(first, "first", minIndex(offset) == QueryConstants.NULL_LONG, "minIndex(" + offset +") == QueryConstants.NULL_LONG"); + Assert.eq(first, "first", minIndex(offset) == QueryConstants.NULL_LONG, + "minIndex(" + offset + ") == QueryConstants.NULL_LONG"); if (first || val.compareTo(maxValue(offset)) > 0) { setMaxValue(offset, val); @@ -69,7 +74,8 @@ public void append(int offset, long rowKey, Chunk valuesChunk, } @Override - public void update(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls) { + public void update(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls) { T val = valuesChunk.asObjectChunk().get(indexInChunk); if (val == null) { if (nulls != null) { @@ -96,7 +102,8 @@ public void update(int offset, long rowKey, Chunk valuesChunk, // This is still the max, but update the value setMaxValue(offset, val); } else { - // May no longer be the max, rescan to check - leave old value in place for another update to compare + // May no longer be the max, rescan to check - leave old value in place for another update to + // compare // against it or replace in rescan maxValueValid(offset, false); } @@ -125,10 +132,12 @@ public void update(int offset, long rowKey, Chunk valuesChunk, } @Override - public void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable RowSet nulls) { + public void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable RowSet nulls) { T val = valuesChunk.asObjectChunk().get(indexInChunk); if (val == null) { - // can't check if our min/max is valid, or anything about positions, only can confirm that this row key is in + // can't check if our min/max is valid, or anything about positions, only can confirm that this row key is + // in // nulls if (nulls != null) { Assert.eqTrue(nulls.containsRange(rowKey, rowKey), "nulls.containsRange(rowIndex, rowIndex)"); @@ -154,6 +163,6 @@ public void validate(int offset, long rowKey, Chunk valuesChun @Override public String toString(int offset) { - return "ObjectValueTracker("+offset+") { max=" + maxValue(offset) + ", min=" + minValue(offset) + " }"; + return "ObjectValueTracker(" + offset + ") { max=" + maxValue(offset) + ", min=" + minValue(offset) + " }"; } } diff --git a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/RunChartDownsample.java b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/RunChartDownsample.java index a963455c9c9..c0fadd7f2c4 100644 --- a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/RunChartDownsample.java +++ b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/RunChartDownsample.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.clientsupport.plotdownsampling; import io.deephaven.chunk.attributes.Values; diff --git a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/ShortValueTracker.java b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/ShortValueTracker.java index 5c78f80feed..27406d1b984 100644 --- a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/ShortValueTracker.java +++ b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/ShortValueTracker.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharValueTracker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharValueTracker and run "./gradlew replicateDownsamplingValueTrackers" to regenerate +// +// @formatter:off package io.deephaven.clientsupport.plotdownsampling; import io.deephaven.base.verify.Assert; @@ -34,6 +33,7 @@ protected void ensureCapacity(int bucketCount) { private short minValue(int offset) { return source.getUnsafe(minValuePosition(offset)); } + private short maxValue(int offset) { return source.getUnsafe(maxValuePosition(offset)); } @@ -41,12 +41,14 @@ private short maxValue(int offset) { private void setMinValue(int offset, short value) { source.set(minValuePosition(offset), value); } + private void setMaxValue(int offset, short value) { source.set(maxValuePosition(offset), value); } @Override - public void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls) { + public void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls) { final short val = valuesChunk.asShortChunk().get(indexInChunk); if (val == NULL_SHORT) { if (nulls != null) { @@ -57,7 +59,8 @@ public void append(int offset, long rowKey, Chunk valuesChunk, // if max and min indexes are null, then this is the first non-null value, so we always want it final boolean first = maxIndex(offset) == QueryConstants.NULL_LONG; - Assert.eq(first, "first", minIndex(offset) == QueryConstants.NULL_LONG, "minIndex(" + offset +") == QueryConstants.NULL_LONG"); + Assert.eq(first, "first", minIndex(offset) == QueryConstants.NULL_LONG, + "minIndex(" + offset + ") == QueryConstants.NULL_LONG"); if (first || val > maxValue(offset)) { setMaxValue(offset, val); @@ -72,13 +75,15 @@ public void append(int offset, long rowKey, Chunk valuesChunk, } @Override - public void update(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls) { + public void update(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls) { short val = valuesChunk.asShortChunk().get(indexInChunk); if (val == NULL_SHORT) { if (nulls != null) { nulls.insert(rowKey); } - // whether or not we are tracking nulls, if the row was our max/min, mark the value as invalid so we can rescan + // whether or not we are tracking nulls, if the row was our max/min, mark the value as invalid so we can + // rescan if (rowKey == maxIndex(offset)) { maxValueValid(offset, false);// invalid will force a rescan } @@ -96,7 +101,8 @@ public void update(int offset, long rowKey, Chunk valuesChunk, // This is still the max, but update the value setMaxValue(offset, val); } else { - // May no longer be the max, rescan to check - leave old value in place for another update to compare + // May no longer be the max, rescan to check - leave old value in place for another update to + // compare // against it or replace in rescan maxValueValid(offset, false); } @@ -130,7 +136,8 @@ public void update(int offset, long rowKey, Chunk valuesChunk, } @Override - public void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable RowSet nulls) { + public void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable RowSet nulls) { short val = valuesChunk.asShortChunk().get(indexInChunk); if (val == NULL_SHORT) { // can't check if our min/max is valid, or anything about positions, only can confirm that this rowKey is in @@ -159,6 +166,6 @@ public void validate(int offset, long rowKey, Chunk valuesChun @Override public String toString(int offset) { - return "ShortValueTracker("+offset+") { max=" + maxValue(offset) + ", min=" + minValue(offset) + " }"; + return "ShortValueTracker(" + offset + ") { max=" + maxValue(offset) + ", min=" + minValue(offset) + " }"; } } diff --git a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/ValueTracker.java b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/ValueTracker.java index 106938cb69b..5e24d64f98b 100644 --- a/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/ValueTracker.java +++ b/ClientSupport/src/main/java/io/deephaven/clientsupport/plotdownsampling/ValueTracker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.clientsupport.plotdownsampling; import io.deephaven.chunk.attributes.Values; @@ -17,26 +17,25 @@ import java.util.List; /** - * Wraps all values in a given Y column when downsampling and apply operations consistently to supported - * column types. Each operation includes an offset, which is the BucketState.offset value - internally - * this is transformed to the position in the array sources. + * Wraps all values in a given Y column when downsampling and apply operations consistently to supported column types. + * Each operation includes an offset, which is the BucketState.offset value - internally this is transformed to the + * position in the array sources. * - * Each tracker maintains 6 pieces of data/metadata on all possible buckets, spread across 3 array sources: - * o the min and max value - * o the indexes of those min and max values in the original table - * o a flag indicating whether or not the each min and max are presently valid - these must always be true - * except when a shift aware update is currently being processed. + * Each tracker maintains 6 pieces of data/metadata on all possible buckets, spread across 3 array sources: o the min + * and max value o the indexes of those min and max values in the original table o a flag indicating whether or not the + * each min and max are presently valid - these must always be true except when a shift aware update is currently being + * processed. * - * It is possible that there are gaps in the data - this is not understood directly by the ValueTracker, but - * instead by the fact that no BucketState exists with a corresponding offset. + * It is possible that there are gaps in the data - this is not understood directly by the ValueTracker, but instead by + * the fact that no BucketState exists with a corresponding offset. */ public abstract class ValueTracker { /** * Creates a set of value trackers to share across a given RunChartDownsample's BucketState instances. + * * @param valueColumnSources the Y columns being downsampled and tracked - * @param bucketCount the initial size to allocate in each tracker, usually the number of pixels - * to be displayed + * @param bucketCount the initial size to allocate in each tracker, usually the number of pixels to be displayed * @return an array of correctly typed and sizes value trackers for use with the given Y value column sources */ public static ValueTracker[] of(final List> valueColumnSources, final int bucketCount) { @@ -100,23 +99,25 @@ protected void ensureCapacity(final int bucketCount) { * this becomes the new max or the new min, mark that position as being valid, indicating that we are confident that * we have the largest or smallest value at that offset. * - * Implementations must take care to check if the value is null. If so, if {@code nulls} is present, the current - * row key should be added to it. If the + * Implementations must take care to check if the value is null. If so, if {@code nulls} is present, the current row + * key should be added to it. If the * * @param offset the offset of the bucket state to use - use this with minValuePosition/maxValuePosition to compute - * the actual position in the underlying array sources + * the actual position in the underlying array sources * @param rowKey the row key in the original table of the specified value. If the current given value is interesting - * in some way, record this using setMinIndex/setMaxIndex so we can construct the full downsampled - * table row set later + * in some way, record this using setMinIndex/setMaxIndex so we can construct the full downsampled table row + * set later * @param valuesChunk the chunk that we're currently examining * @param indexInChunk the index in the chunk that we're currently examining */ - public abstract void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable WritableRowSet nulls); + public abstract void append(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable WritableRowSet nulls); /** * Indicates that a row was removed from the original table being downsampled. If that row key was previously * considered to be interesting, mark this offset as invalid, so that we can rescan later to find the next * interesting value. + * * @param offset the offset of the bucket state to use * @param rowKey the row key in the original table. */ @@ -137,35 +138,35 @@ public final void remove(final int offset, final long rowKey) { * There are three cases to consider for each min and max, so six cases in total. Here is the summary for the three * "max" cases, the opposite must be likewise done for the min cases: * - * If the updated row was the old max, then we cover two of the cases: - * o if the new value is greater than the old value, record the new value, but we are still the max and still - * valid. - * o if the new value is less than the old value, invalidate this row but keep the old max, we may need to - * rescan later + * If the updated row was the old max, then we cover two of the cases: o if the new value is greater than the old + * value, record the new value, but we are still the max and still valid. o if the new value is less than the old + * value, invalidate this row but keep the old max, we may need to rescan later * * Otherwise, if the new value is greater than the old max, then the current row is now the new max, and are now * valid. * * @param offset the offset of the bucket state to use - use this with minValuePosition/maxValuePosition to compute - * the actual position in the underlying array sources + * the actual position in the underlying array sources * @param rowKey the row key in the original table of the specified value. If the current given value is interesting - * in some way, record this using setMinIndex/setMaxIndex so we can construct the full downsampled - * table row set later + * in some way, record this using setMinIndex/setMaxIndex so we can construct the full downsampled table row + * set later * @param valuesChunk the chunk that we're currently examining * @param chunkIndex the index in the chunk that we're currently examining */ - public abstract void update(int offset, long rowKey, Chunk valuesChunk, int chunkIndex, @Nullable WritableRowSet nulls); + public abstract void update(int offset, long rowKey, Chunk valuesChunk, int chunkIndex, + @Nullable WritableRowSet nulls); /** - * Transforms the given BucketState.offset into the position in the array sources that represents the min value - * of that bucket state. + * Transforms the given BucketState.offset into the position in the array sources that represents the min value of + * that bucket state. */ protected final long minValuePosition(final int offset) { return 2 * offset; } + /** - * Transforms the given BucketState.offset into the position in the array sources that represents the max value - * of that bucket state. + * Transforms the given BucketState.offset into the position in the array sources that represents the max value of + * that bucket state. */ protected final long maxValuePosition(final int offset) { return 2 * offset + 1; @@ -174,6 +175,7 @@ protected final long maxValuePosition(final int offset) { protected final long minIndex(final int offset) { return indexes.getUnsafe(minValuePosition(offset)); } + protected final long maxIndex(final int offset) { return indexes.getUnsafe(maxValuePosition(offset)); } @@ -181,6 +183,7 @@ protected final long maxIndex(final int offset) { protected final void setMinIndex(final int offset, final long minIndex) { indexes.set(minValuePosition(offset), minIndex); } + protected final void setMaxIndex(final int offset, final long maxIndex) { indexes.set(maxValuePosition(offset), maxIndex); } @@ -188,6 +191,7 @@ protected final void setMaxIndex(final int offset, final long maxIndex) { protected final void minValueValid(final int offset, final boolean isValid) { valid.set(minValuePosition(offset), isValid); } + protected final void maxValueValid(final int offset, final boolean isValid) { valid.set(maxValuePosition(offset), isValid); } @@ -195,6 +199,7 @@ protected final void maxValueValid(final int offset, final boolean isValid) { protected final boolean minValueValid(final int offset) { return valid.get(minValuePosition(offset)); } + protected final boolean maxValueValid(final int offset) { return valid.get(maxValuePosition(offset)); } @@ -209,7 +214,8 @@ protected final boolean maxValueValid(final int offset) { * Scan the given chunk and confirm that whichever values are currently selected as max and min are correct, and * that the current data is now valid. */ - public abstract void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, @Nullable RowSet nulls); + public abstract void validate(int offset, long rowKey, Chunk valuesChunk, int indexInChunk, + @Nullable RowSet nulls); public final void shiftMaxIndex(final int offset, final RowSetShiftData shiftData) { final long maxIndex = maxIndex(offset); diff --git a/ClientSupport/src/main/java/io/deephaven/table/sort/SortDirective.java b/ClientSupport/src/main/java/io/deephaven/table/sort/SortDirective.java index 48626b0c5a1..9de76f55b57 100644 --- a/ClientSupport/src/main/java/io/deephaven/table/sort/SortDirective.java +++ b/ClientSupport/src/main/java/io/deephaven/table/sort/SortDirective.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.table.sort; import java.io.Serializable; diff --git a/Configuration/src/main/java/io/deephaven/configuration/CacheDir.java b/Configuration/src/main/java/io/deephaven/configuration/CacheDir.java index fb63d1c6ea3..40441103898 100644 --- a/Configuration/src/main/java/io/deephaven/configuration/CacheDir.java +++ b/Configuration/src/main/java/io/deephaven/configuration/CacheDir.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; import java.nio.file.Path; diff --git a/Configuration/src/main/java/io/deephaven/configuration/ConfigDir.java b/Configuration/src/main/java/io/deephaven/configuration/ConfigDir.java index 2e0dbf216b2..bd1f5afb083 100644 --- a/Configuration/src/main/java/io/deephaven/configuration/ConfigDir.java +++ b/Configuration/src/main/java/io/deephaven/configuration/ConfigDir.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; import java.nio.file.Files; diff --git a/Configuration/src/main/java/io/deephaven/configuration/Configuration.java b/Configuration/src/main/java/io/deephaven/configuration/Configuration.java index 9bfca1feb31..49933a696a5 100644 --- a/Configuration/src/main/java/io/deephaven/configuration/Configuration.java +++ b/Configuration/src/main/java/io/deephaven/configuration/Configuration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; import io.deephaven.internal.log.Bootstrap; diff --git a/Configuration/src/main/java/io/deephaven/configuration/ConfigurationContext.java b/Configuration/src/main/java/io/deephaven/configuration/ConfigurationContext.java index 44f399166de..e9becf5f777 100644 --- a/Configuration/src/main/java/io/deephaven/configuration/ConfigurationContext.java +++ b/Configuration/src/main/java/io/deephaven/configuration/ConfigurationContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; import java.net.InetAddress; diff --git a/Configuration/src/main/java/io/deephaven/configuration/ConfigurationException.java b/Configuration/src/main/java/io/deephaven/configuration/ConfigurationException.java index c614b894f8e..643a457032b 100644 --- a/Configuration/src/main/java/io/deephaven/configuration/ConfigurationException.java +++ b/Configuration/src/main/java/io/deephaven/configuration/ConfigurationException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; /** diff --git a/Configuration/src/main/java/io/deephaven/configuration/ConfigurationScope.java b/Configuration/src/main/java/io/deephaven/configuration/ConfigurationScope.java index 2401b0cd685..5ec4ac5d9b2 100644 --- a/Configuration/src/main/java/io/deephaven/configuration/ConfigurationScope.java +++ b/Configuration/src/main/java/io/deephaven/configuration/ConfigurationScope.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; import java.util.*; diff --git a/Configuration/src/main/java/io/deephaven/configuration/DataDir.java b/Configuration/src/main/java/io/deephaven/configuration/DataDir.java index e81d6bba527..d2866ae8162 100644 --- a/Configuration/src/main/java/io/deephaven/configuration/DataDir.java +++ b/Configuration/src/main/java/io/deephaven/configuration/DataDir.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; import java.nio.file.Path; diff --git a/Configuration/src/main/java/io/deephaven/configuration/ParsedProperties.java b/Configuration/src/main/java/io/deephaven/configuration/ParsedProperties.java index 25eb89d1cfc..888d082b451 100644 --- a/Configuration/src/main/java/io/deephaven/configuration/ParsedProperties.java +++ b/Configuration/src/main/java/io/deephaven/configuration/ParsedProperties.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; import java.io.*; diff --git a/Configuration/src/main/java/io/deephaven/configuration/PropertyException.java b/Configuration/src/main/java/io/deephaven/configuration/PropertyException.java index 56d707f4d2b..8d5868f810b 100644 --- a/Configuration/src/main/java/io/deephaven/configuration/PropertyException.java +++ b/Configuration/src/main/java/io/deephaven/configuration/PropertyException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; /** diff --git a/Configuration/src/main/java/io/deephaven/configuration/PropertyFile.java b/Configuration/src/main/java/io/deephaven/configuration/PropertyFile.java index 174ebadbc27..3a7d13f96f9 100644 --- a/Configuration/src/main/java/io/deephaven/configuration/PropertyFile.java +++ b/Configuration/src/main/java/io/deephaven/configuration/PropertyFile.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; import io.deephaven.base.verify.Assert; diff --git a/Configuration/src/main/java/io/deephaven/configuration/PropertyHistory.java b/Configuration/src/main/java/io/deephaven/configuration/PropertyHistory.java index 9721a8e9a58..4a92151fd2d 100644 --- a/Configuration/src/main/java/io/deephaven/configuration/PropertyHistory.java +++ b/Configuration/src/main/java/io/deephaven/configuration/PropertyHistory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; /** diff --git a/Configuration/src/main/java/io/deephaven/configuration/PropertyInputStreamLoader.java b/Configuration/src/main/java/io/deephaven/configuration/PropertyInputStreamLoader.java index 7c19317b27a..33bbc8a7742 100644 --- a/Configuration/src/main/java/io/deephaven/configuration/PropertyInputStreamLoader.java +++ b/Configuration/src/main/java/io/deephaven/configuration/PropertyInputStreamLoader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; import java.io.InputStream; diff --git a/Configuration/src/main/java/io/deephaven/configuration/PropertyInputStreamLoaderFactory.java b/Configuration/src/main/java/io/deephaven/configuration/PropertyInputStreamLoaderFactory.java index f0176dcea9b..ed0eee21d08 100644 --- a/Configuration/src/main/java/io/deephaven/configuration/PropertyInputStreamLoaderFactory.java +++ b/Configuration/src/main/java/io/deephaven/configuration/PropertyInputStreamLoaderFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; import java.util.Comparator; diff --git a/Configuration/src/main/java/io/deephaven/configuration/PropertyInputStreamLoaderTraditional.java b/Configuration/src/main/java/io/deephaven/configuration/PropertyInputStreamLoaderTraditional.java index 416cb100eea..30a3dd374f7 100644 --- a/Configuration/src/main/java/io/deephaven/configuration/PropertyInputStreamLoaderTraditional.java +++ b/Configuration/src/main/java/io/deephaven/configuration/PropertyInputStreamLoaderTraditional.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; import com.google.auto.service.AutoService; diff --git a/Configuration/src/test/java/io/deephaven/configuration/PropertyInputStreamLoaderFactoryTest.java b/Configuration/src/test/java/io/deephaven/configuration/PropertyInputStreamLoaderFactoryTest.java index 9cc78285d14..d7adbc6cabe 100644 --- a/Configuration/src/test/java/io/deephaven/configuration/PropertyInputStreamLoaderFactoryTest.java +++ b/Configuration/src/test/java/io/deephaven/configuration/PropertyInputStreamLoaderFactoryTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; import junit.framework.TestCase; diff --git a/Configuration/src/test/java/io/deephaven/configuration/PropertyInputStreamLoaderTraditionalTest.java b/Configuration/src/test/java/io/deephaven/configuration/PropertyInputStreamLoaderTraditionalTest.java index 0d0db8d04d0..9f880833a76 100644 --- a/Configuration/src/test/java/io/deephaven/configuration/PropertyInputStreamLoaderTraditionalTest.java +++ b/Configuration/src/test/java/io/deephaven/configuration/PropertyInputStreamLoaderTraditionalTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; import static org.junit.Assert.assertArrayEquals; diff --git a/Configuration/src/test/java/io/deephaven/configuration/TestConfiguration.java b/Configuration/src/test/java/io/deephaven/configuration/TestConfiguration.java index c408a19dd0e..8d771d2376f 100644 --- a/Configuration/src/test/java/io/deephaven/configuration/TestConfiguration.java +++ b/Configuration/src/test/java/io/deephaven/configuration/TestConfiguration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.configuration; import junit.framework.TestCase; diff --git a/DHProcess/src/main/java/io/deephaven/process/BaseboardOshi.java b/DHProcess/src/main/java/io/deephaven/process/BaseboardOshi.java index 4fb141a0bb1..8b3bdcbda65 100644 --- a/DHProcess/src/main/java/io/deephaven/process/BaseboardOshi.java +++ b/DHProcess/src/main/java/io/deephaven/process/BaseboardOshi.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.properties.PropertySet; diff --git a/DHProcess/src/main/java/io/deephaven/process/ComputerSystemOshi.java b/DHProcess/src/main/java/io/deephaven/process/ComputerSystemOshi.java index 83e8eee7993..8a78822d662 100644 --- a/DHProcess/src/main/java/io/deephaven/process/ComputerSystemOshi.java +++ b/DHProcess/src/main/java/io/deephaven/process/ComputerSystemOshi.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.properties.PropertySet; diff --git a/DHProcess/src/main/java/io/deephaven/process/FirmwareOshi.java b/DHProcess/src/main/java/io/deephaven/process/FirmwareOshi.java index 9ca1583aeff..511fa6e25ca 100644 --- a/DHProcess/src/main/java/io/deephaven/process/FirmwareOshi.java +++ b/DHProcess/src/main/java/io/deephaven/process/FirmwareOshi.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.properties.PropertySet; diff --git a/DHProcess/src/main/java/io/deephaven/process/MemoryMxBeanInfo.java b/DHProcess/src/main/java/io/deephaven/process/MemoryMxBeanInfo.java index 62e98153f0d..77eaa63e659 100644 --- a/DHProcess/src/main/java/io/deephaven/process/MemoryMxBeanInfo.java +++ b/DHProcess/src/main/java/io/deephaven/process/MemoryMxBeanInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.properties.PropertySet; diff --git a/DHProcess/src/main/java/io/deephaven/process/MemoryPoolsMxBeanInfo.java b/DHProcess/src/main/java/io/deephaven/process/MemoryPoolsMxBeanInfo.java index 97f7ad2af99..c7dcd142b83 100644 --- a/DHProcess/src/main/java/io/deephaven/process/MemoryPoolsMxBeanInfo.java +++ b/DHProcess/src/main/java/io/deephaven/process/MemoryPoolsMxBeanInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.process.ImmutableMemoryPoolsMxBeanInfo.Builder; diff --git a/DHProcess/src/main/java/io/deephaven/process/MemoryUsageInfo.java b/DHProcess/src/main/java/io/deephaven/process/MemoryUsageInfo.java index 5645a160064..f3c1bceaabe 100644 --- a/DHProcess/src/main/java/io/deephaven/process/MemoryUsageInfo.java +++ b/DHProcess/src/main/java/io/deephaven/process/MemoryUsageInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.process.ImmutableMemoryUsageInfo.Builder; diff --git a/DHProcess/src/main/java/io/deephaven/process/NetworkOshi.java b/DHProcess/src/main/java/io/deephaven/process/NetworkOshi.java index 42099bf14dc..5e0892f5da1 100644 --- a/DHProcess/src/main/java/io/deephaven/process/NetworkOshi.java +++ b/DHProcess/src/main/java/io/deephaven/process/NetworkOshi.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.properties.PropertySet; diff --git a/DHProcess/src/main/java/io/deephaven/process/OperatingSystemOshi.java b/DHProcess/src/main/java/io/deephaven/process/OperatingSystemOshi.java index 9acfc6c8692..d91ede7bf41 100644 --- a/DHProcess/src/main/java/io/deephaven/process/OperatingSystemOshi.java +++ b/DHProcess/src/main/java/io/deephaven/process/OperatingSystemOshi.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.properties.PropertySet; diff --git a/DHProcess/src/main/java/io/deephaven/process/OperatingSystemVersionOshi.java b/DHProcess/src/main/java/io/deephaven/process/OperatingSystemVersionOshi.java index 4149d93f3d2..c6c437aa60b 100644 --- a/DHProcess/src/main/java/io/deephaven/process/OperatingSystemVersionOshi.java +++ b/DHProcess/src/main/java/io/deephaven/process/OperatingSystemVersionOshi.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.properties.PropertySet; diff --git a/DHProcess/src/main/java/io/deephaven/process/ProcessInfo.java b/DHProcess/src/main/java/io/deephaven/process/ProcessInfo.java index 9856984e784..5fb26d2240c 100644 --- a/DHProcess/src/main/java/io/deephaven/process/ProcessInfo.java +++ b/DHProcess/src/main/java/io/deephaven/process/ProcessInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.properties.PropertySet; diff --git a/DHProcess/src/main/java/io/deephaven/process/ProcessStyle.java b/DHProcess/src/main/java/io/deephaven/process/ProcessStyle.java index 36070c1ba44..789f1c15edb 100644 --- a/DHProcess/src/main/java/io/deephaven/process/ProcessStyle.java +++ b/DHProcess/src/main/java/io/deephaven/process/ProcessStyle.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import org.immutables.value.Value; diff --git a/DHProcess/src/main/java/io/deephaven/process/RuntimeMxBeanInfo.java b/DHProcess/src/main/java/io/deephaven/process/RuntimeMxBeanInfo.java index 595c8c4f5f9..9d76fb4e9b1 100644 --- a/DHProcess/src/main/java/io/deephaven/process/RuntimeMxBeanInfo.java +++ b/DHProcess/src/main/java/io/deephaven/process/RuntimeMxBeanInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.properties.PropertySet; diff --git a/DHProcess/src/main/java/io/deephaven/process/StringListWrapper.java b/DHProcess/src/main/java/io/deephaven/process/StringListWrapper.java index 967a4e39705..beb978e7c41 100644 --- a/DHProcess/src/main/java/io/deephaven/process/StringListWrapper.java +++ b/DHProcess/src/main/java/io/deephaven/process/StringListWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.properties.PropertySet; diff --git a/DHProcess/src/main/java/io/deephaven/process/StringMapWrapper.java b/DHProcess/src/main/java/io/deephaven/process/StringMapWrapper.java index 7f877542516..39a6ac9c128 100644 --- a/DHProcess/src/main/java/io/deephaven/process/StringMapWrapper.java +++ b/DHProcess/src/main/java/io/deephaven/process/StringMapWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.properties.PropertySet; diff --git a/DHProcess/src/main/java/io/deephaven/process/SystemCpuOshi.java b/DHProcess/src/main/java/io/deephaven/process/SystemCpuOshi.java index fb4efa8dd85..c0f0e38be41 100644 --- a/DHProcess/src/main/java/io/deephaven/process/SystemCpuOshi.java +++ b/DHProcess/src/main/java/io/deephaven/process/SystemCpuOshi.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.properties.PropertySet; diff --git a/DHProcess/src/main/java/io/deephaven/process/SystemInfoOshi.java b/DHProcess/src/main/java/io/deephaven/process/SystemInfoOshi.java index bd2df7a1fb0..5e1c9c3b84b 100644 --- a/DHProcess/src/main/java/io/deephaven/process/SystemInfoOshi.java +++ b/DHProcess/src/main/java/io/deephaven/process/SystemInfoOshi.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.properties.PropertySet; diff --git a/DHProcess/src/main/java/io/deephaven/process/SystemMemoryOshi.java b/DHProcess/src/main/java/io/deephaven/process/SystemMemoryOshi.java index f4218e9fa35..e383c670820 100644 --- a/DHProcess/src/main/java/io/deephaven/process/SystemMemoryOshi.java +++ b/DHProcess/src/main/java/io/deephaven/process/SystemMemoryOshi.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.properties.PropertySet; diff --git a/DHProcess/src/main/java/io/deephaven/process/ThreadMxBeanInfo.java b/DHProcess/src/main/java/io/deephaven/process/ThreadMxBeanInfo.java index 55b6c01410d..76c9b4543ac 100644 --- a/DHProcess/src/main/java/io/deephaven/process/ThreadMxBeanInfo.java +++ b/DHProcess/src/main/java/io/deephaven/process/ThreadMxBeanInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.properties.PropertySet; diff --git a/DHProcess/src/main/java/io/deephaven/process/Wrapped.java b/DHProcess/src/main/java/io/deephaven/process/Wrapped.java index 0750fc21a36..0d27355f7c8 100644 --- a/DHProcess/src/main/java/io/deephaven/process/Wrapped.java +++ b/DHProcess/src/main/java/io/deephaven/process/Wrapped.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import org.immutables.value.Value; diff --git a/DHProcess/src/main/java/io/deephaven/process/Wrapper.java b/DHProcess/src/main/java/io/deephaven/process/Wrapper.java index 5a2d6b4c357..204130ea77d 100644 --- a/DHProcess/src/main/java/io/deephaven/process/Wrapper.java +++ b/DHProcess/src/main/java/io/deephaven/process/Wrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import org.immutables.value.Value; diff --git a/DHProcess/src/main/java/io/deephaven/process/_ApplicationArguments.java b/DHProcess/src/main/java/io/deephaven/process/_ApplicationArguments.java index a52a7f11b2e..441cf645bdd 100644 --- a/DHProcess/src/main/java/io/deephaven/process/_ApplicationArguments.java +++ b/DHProcess/src/main/java/io/deephaven/process/_ApplicationArguments.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import org.immutables.value.Value; diff --git a/DHProcess/src/main/java/io/deephaven/process/_ApplicationConfig.java b/DHProcess/src/main/java/io/deephaven/process/_ApplicationConfig.java index d4132fd7b19..97263b1d4d7 100644 --- a/DHProcess/src/main/java/io/deephaven/process/_ApplicationConfig.java +++ b/DHProcess/src/main/java/io/deephaven/process/_ApplicationConfig.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import org.immutables.value.Value; diff --git a/DHProcess/src/main/java/io/deephaven/process/_DnsServers.java b/DHProcess/src/main/java/io/deephaven/process/_DnsServers.java index f33511b9159..b2cfa90e58d 100644 --- a/DHProcess/src/main/java/io/deephaven/process/_DnsServers.java +++ b/DHProcess/src/main/java/io/deephaven/process/_DnsServers.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import org.immutables.value.Value; diff --git a/DHProcess/src/main/java/io/deephaven/process/_EnvironmentVariables.java b/DHProcess/src/main/java/io/deephaven/process/_EnvironmentVariables.java index cc11a14f258..336bbc564f9 100644 --- a/DHProcess/src/main/java/io/deephaven/process/_EnvironmentVariables.java +++ b/DHProcess/src/main/java/io/deephaven/process/_EnvironmentVariables.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import java.util.LinkedHashMap; diff --git a/DHProcess/src/main/java/io/deephaven/process/_HostPathInfo.java b/DHProcess/src/main/java/io/deephaven/process/_HostPathInfo.java index f6c9cfd576a..31804ec9ae1 100644 --- a/DHProcess/src/main/java/io/deephaven/process/_HostPathInfo.java +++ b/DHProcess/src/main/java/io/deephaven/process/_HostPathInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.properties.SplayedPath; diff --git a/DHProcess/src/main/java/io/deephaven/process/_JvmArguments.java b/DHProcess/src/main/java/io/deephaven/process/_JvmArguments.java index dcb0a85d3d0..6e6edba8725 100644 --- a/DHProcess/src/main/java/io/deephaven/process/_JvmArguments.java +++ b/DHProcess/src/main/java/io/deephaven/process/_JvmArguments.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import java.lang.management.RuntimeMXBean; diff --git a/DHProcess/src/main/java/io/deephaven/process/_ProcessUniqueId.java b/DHProcess/src/main/java/io/deephaven/process/_ProcessUniqueId.java index 23303fc9660..3eceac93238 100644 --- a/DHProcess/src/main/java/io/deephaven/process/_ProcessUniqueId.java +++ b/DHProcess/src/main/java/io/deephaven/process/_ProcessUniqueId.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import org.immutables.value.Value; diff --git a/DHProcess/src/main/java/io/deephaven/process/_SystemProperties.java b/DHProcess/src/main/java/io/deephaven/process/_SystemProperties.java index b880cdefbd0..6efeb0e813f 100644 --- a/DHProcess/src/main/java/io/deephaven/process/_SystemProperties.java +++ b/DHProcess/src/main/java/io/deephaven/process/_SystemProperties.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import java.lang.management.RuntimeMXBean; diff --git a/DHProcess/src/main/java/io/deephaven/properties/PropertySet.java b/DHProcess/src/main/java/io/deephaven/properties/PropertySet.java index 2f6cdaf2cdb..f5042b09324 100644 --- a/DHProcess/src/main/java/io/deephaven/properties/PropertySet.java +++ b/DHProcess/src/main/java/io/deephaven/properties/PropertySet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.properties; import java.util.List; diff --git a/DHProcess/src/main/java/io/deephaven/properties/PropertySetParser.java b/DHProcess/src/main/java/io/deephaven/properties/PropertySetParser.java index 59a39d5f40c..7171bc67178 100644 --- a/DHProcess/src/main/java/io/deephaven/properties/PropertySetParser.java +++ b/DHProcess/src/main/java/io/deephaven/properties/PropertySetParser.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.properties; // TODO: - not in use yet diff --git a/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitor.java b/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitor.java index 87c31b58608..57dadba9448 100644 --- a/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitor.java +++ b/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.properties; import io.deephaven.properties.PropertyVisitorStringBase.BiConsumerStringImpl; diff --git a/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorError.java b/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorError.java index 837414cfbf8..834056fb4f1 100644 --- a/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorError.java +++ b/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorError.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.properties; /** diff --git a/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorPrefixed.java b/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorPrefixed.java index 654f405d9b9..30927dee7bc 100644 --- a/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorPrefixed.java +++ b/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorPrefixed.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.properties; import java.util.Objects; diff --git a/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorPrintStream.java b/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorPrintStream.java index 1a7357b228d..6d5b36e8c4f 100644 --- a/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorPrintStream.java +++ b/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorPrintStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.properties; import java.io.PrintStream; diff --git a/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorStringBase.java b/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorStringBase.java index 25113df42ef..2e41d4b2c59 100644 --- a/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorStringBase.java +++ b/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorStringBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.properties; import java.util.Objects; diff --git a/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorStripPrefix.java b/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorStripPrefix.java index 48518eeff9a..d0cd55bcf59 100644 --- a/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorStripPrefix.java +++ b/DHProcess/src/main/java/io/deephaven/properties/PropertyVisitorStripPrefix.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.properties; import java.util.Objects; diff --git a/DHProcess/src/main/java/io/deephaven/properties/SplayedPath.java b/DHProcess/src/main/java/io/deephaven/properties/SplayedPath.java index e159b109772..5ed955af4ef 100644 --- a/DHProcess/src/main/java/io/deephaven/properties/SplayedPath.java +++ b/DHProcess/src/main/java/io/deephaven/properties/SplayedPath.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.properties; import static io.deephaven.properties.PropertyVisitor.SEPARATOR; diff --git a/DataStructures/src/main/java/io/deephaven/datastructures/util/CollectionUtil.java b/DataStructures/src/main/java/io/deephaven/datastructures/util/CollectionUtil.java index efa6980faea..a6b3f6b99df 100644 --- a/DataStructures/src/main/java/io/deephaven/datastructures/util/CollectionUtil.java +++ b/DataStructures/src/main/java/io/deephaven/datastructures/util/CollectionUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.datastructures.util; import java.io.Serializable; diff --git a/DataStructures/src/main/java/io/deephaven/datastructures/util/HashCodeUtil.java b/DataStructures/src/main/java/io/deephaven/datastructures/util/HashCodeUtil.java index a67c084cc41..46bde7d8c91 100644 --- a/DataStructures/src/main/java/io/deephaven/datastructures/util/HashCodeUtil.java +++ b/DataStructures/src/main/java/io/deephaven/datastructures/util/HashCodeUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.datastructures.util; import java.util.Date; diff --git a/Generators/src/main/java/io/deephaven/gen/AbstractBasicJavaGenerator.java b/Generators/src/main/java/io/deephaven/gen/AbstractBasicJavaGenerator.java index 689225976d6..a6caec89d8f 100644 --- a/Generators/src/main/java/io/deephaven/gen/AbstractBasicJavaGenerator.java +++ b/Generators/src/main/java/io/deephaven/gen/AbstractBasicJavaGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.gen; import java.io.IOException; diff --git a/Generators/src/main/java/io/deephaven/gen/JavaFunction.java b/Generators/src/main/java/io/deephaven/gen/JavaFunction.java index 54c29ac5227..c8b10db53cf 100644 --- a/Generators/src/main/java/io/deephaven/gen/JavaFunction.java +++ b/Generators/src/main/java/io/deephaven/gen/JavaFunction.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.gen; import io.deephaven.util.type.TypeUtils; diff --git a/Generators/src/main/java/io/deephaven/libs/GroovyStaticImportGenerator.java b/Generators/src/main/java/io/deephaven/libs/GroovyStaticImportGenerator.java index c562f73052f..92640e10575 100644 --- a/Generators/src/main/java/io/deephaven/libs/GroovyStaticImportGenerator.java +++ b/Generators/src/main/java/io/deephaven/libs/GroovyStaticImportGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.libs; import io.deephaven.gen.AbstractBasicJavaGenerator; diff --git a/Generators/src/main/java/io/deephaven/libs/StaticCalendarMethodsGenerator.java b/Generators/src/main/java/io/deephaven/libs/StaticCalendarMethodsGenerator.java index 97459bf4ea7..b22ed2a4b58 100644 --- a/Generators/src/main/java/io/deephaven/libs/StaticCalendarMethodsGenerator.java +++ b/Generators/src/main/java/io/deephaven/libs/StaticCalendarMethodsGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.libs; import io.deephaven.gen.AbstractBasicJavaGenerator; diff --git a/Generators/src/main/java/io/deephaven/plot/util/GenerateAxesPlotMethods.java b/Generators/src/main/java/io/deephaven/plot/util/GenerateAxesPlotMethods.java index b3b8a0d655a..24cdbe2fcc7 100644 --- a/Generators/src/main/java/io/deephaven/plot/util/GenerateAxesPlotMethods.java +++ b/Generators/src/main/java/io/deephaven/plot/util/GenerateAxesPlotMethods.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.util; import io.deephaven.base.verify.Require; diff --git a/Generators/src/main/java/io/deephaven/plot/util/GenerateFigureImmutable.java b/Generators/src/main/java/io/deephaven/plot/util/GenerateFigureImmutable.java index 89acf744da8..8731b1c7969 100644 --- a/Generators/src/main/java/io/deephaven/plot/util/GenerateFigureImmutable.java +++ b/Generators/src/main/java/io/deephaven/plot/util/GenerateFigureImmutable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.util; import io.deephaven.gen.GenUtils; diff --git a/Generators/src/main/java/io/deephaven/plot/util/GenerateMultiSeries.java b/Generators/src/main/java/io/deephaven/plot/util/GenerateMultiSeries.java index 8b9379ea3b1..35c3d3c917f 100644 --- a/Generators/src/main/java/io/deephaven/plot/util/GenerateMultiSeries.java +++ b/Generators/src/main/java/io/deephaven/plot/util/GenerateMultiSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.util; import io.deephaven.base.ClassUtil; diff --git a/Generators/src/main/java/io/deephaven/plot/util/GeneratePlottingConvenience.java b/Generators/src/main/java/io/deephaven/plot/util/GeneratePlottingConvenience.java index 524c56e1c6d..a0b60ed5b41 100644 --- a/Generators/src/main/java/io/deephaven/plot/util/GeneratePlottingConvenience.java +++ b/Generators/src/main/java/io/deephaven/plot/util/GeneratePlottingConvenience.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.util; import io.deephaven.gen.GenUtils; diff --git a/Generators/src/main/java/io/deephaven/plot/util/GeneratePyV2FigureAPI.java b/Generators/src/main/java/io/deephaven/plot/util/GeneratePyV2FigureAPI.java index 7616cf47ef4..bcf065d55e5 100644 --- a/Generators/src/main/java/io/deephaven/plot/util/GeneratePyV2FigureAPI.java +++ b/Generators/src/main/java/io/deephaven/plot/util/GeneratePyV2FigureAPI.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.util; import io.deephaven.base.Pair; diff --git a/IO/src/main/java/io/deephaven/io/CompressedFileUtil.java b/IO/src/main/java/io/deephaven/io/CompressedFileUtil.java index ba4b18428a8..7127e0737c9 100644 --- a/IO/src/main/java/io/deephaven/io/CompressedFileUtil.java +++ b/IO/src/main/java/io/deephaven/io/CompressedFileUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io; import io.deephaven.io.streams.MultiFileInputStream; diff --git a/IO/src/main/java/io/deephaven/io/InputStreamFactory.java b/IO/src/main/java/io/deephaven/io/InputStreamFactory.java index be0093e0b11..3ddeb825d01 100644 --- a/IO/src/main/java/io/deephaven/io/InputStreamFactory.java +++ b/IO/src/main/java/io/deephaven/io/InputStreamFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io; import java.io.IOException; diff --git a/IO/src/main/java/io/deephaven/io/log/LogBufferPool.java b/IO/src/main/java/io/deephaven/io/log/LogBufferPool.java index 2029b22a0aa..a13860f43fb 100644 --- a/IO/src/main/java/io/deephaven/io/log/LogBufferPool.java +++ b/IO/src/main/java/io/deephaven/io/log/LogBufferPool.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log; import io.deephaven.base.pool.Pool; diff --git a/IO/src/main/java/io/deephaven/io/log/LogBufferPoolLenientImpl.java b/IO/src/main/java/io/deephaven/io/log/LogBufferPoolLenientImpl.java index 9e5b2a3dcb8..4e818d12b1f 100644 --- a/IO/src/main/java/io/deephaven/io/log/LogBufferPoolLenientImpl.java +++ b/IO/src/main/java/io/deephaven/io/log/LogBufferPoolLenientImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log; import io.deephaven.base.pool.ThreadSafeLenientFixedSizePool; diff --git a/IO/src/main/java/io/deephaven/io/log/LogEntry.java b/IO/src/main/java/io/deephaven/io/log/LogEntry.java index 95db5e0e89e..124dadd77ff 100644 --- a/IO/src/main/java/io/deephaven/io/log/LogEntry.java +++ b/IO/src/main/java/io/deephaven/io/log/LogEntry.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log; import io.deephaven.base.MathUtil; diff --git a/IO/src/main/java/io/deephaven/io/log/LogEntryPool.java b/IO/src/main/java/io/deephaven/io/log/LogEntryPool.java index 2cbbffb7c02..1864b282f39 100644 --- a/IO/src/main/java/io/deephaven/io/log/LogEntryPool.java +++ b/IO/src/main/java/io/deephaven/io/log/LogEntryPool.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log; import io.deephaven.base.pool.Pool; diff --git a/IO/src/main/java/io/deephaven/io/log/LogLevel.java b/IO/src/main/java/io/deephaven/io/log/LogLevel.java index 77b94d2717f..35459b587cf 100644 --- a/IO/src/main/java/io/deephaven/io/log/LogLevel.java +++ b/IO/src/main/java/io/deephaven/io/log/LogLevel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log; public class LogLevel { diff --git a/IO/src/main/java/io/deephaven/io/log/LogSink.java b/IO/src/main/java/io/deephaven/io/log/LogSink.java index 23e255f30e5..a32f88294d7 100644 --- a/IO/src/main/java/io/deephaven/io/log/LogSink.java +++ b/IO/src/main/java/io/deephaven/io/log/LogSink.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log; import io.deephaven.base.log.LogOutput; diff --git a/IO/src/main/java/io/deephaven/io/log/impl/DelayedLogEntryImpl.java b/IO/src/main/java/io/deephaven/io/log/impl/DelayedLogEntryImpl.java index cbf5004ae53..e5abc087814 100644 --- a/IO/src/main/java/io/deephaven/io/log/impl/DelayedLogEntryImpl.java +++ b/IO/src/main/java/io/deephaven/io/log/impl/DelayedLogEntryImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log.impl; import io.deephaven.base.array.*; diff --git a/IO/src/main/java/io/deephaven/io/log/impl/DelayedLogEntryImpl2.java b/IO/src/main/java/io/deephaven/io/log/impl/DelayedLogEntryImpl2.java index bab2f1283a5..090626ee103 100644 --- a/IO/src/main/java/io/deephaven/io/log/impl/DelayedLogEntryImpl2.java +++ b/IO/src/main/java/io/deephaven/io/log/impl/DelayedLogEntryImpl2.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log.impl; import io.deephaven.base.ArrayUtil; diff --git a/IO/src/main/java/io/deephaven/io/log/impl/DynamicDelayedLogEntryPoolImpl.java b/IO/src/main/java/io/deephaven/io/log/impl/DynamicDelayedLogEntryPoolImpl.java index 4bf1ba07d11..f18d21322a5 100644 --- a/IO/src/main/java/io/deephaven/io/log/impl/DynamicDelayedLogEntryPoolImpl.java +++ b/IO/src/main/java/io/deephaven/io/log/impl/DynamicDelayedLogEntryPoolImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log.impl; import io.deephaven.base.pool.ThreadSafeLenientFixedSizePool; diff --git a/IO/src/main/java/io/deephaven/io/log/impl/DynamicLogBufferPoolImpl.java b/IO/src/main/java/io/deephaven/io/log/impl/DynamicLogBufferPoolImpl.java index 27c61e90aae..af01254e954 100644 --- a/IO/src/main/java/io/deephaven/io/log/impl/DynamicLogBufferPoolImpl.java +++ b/IO/src/main/java/io/deephaven/io/log/impl/DynamicLogBufferPoolImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log.impl; import io.deephaven.base.pool.ThreadSafeLenientFixedSizePool; diff --git a/IO/src/main/java/io/deephaven/io/log/impl/DynamicLogEntryPoolImpl.java b/IO/src/main/java/io/deephaven/io/log/impl/DynamicLogEntryPoolImpl.java index 5d37368807f..c75a349a6ac 100644 --- a/IO/src/main/java/io/deephaven/io/log/impl/DynamicLogEntryPoolImpl.java +++ b/IO/src/main/java/io/deephaven/io/log/impl/DynamicLogEntryPoolImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log.impl; import io.deephaven.base.pool.ThreadSafeLenientFixedSizePool; diff --git a/IO/src/main/java/io/deephaven/io/log/impl/LogBufferPoolImpl.java b/IO/src/main/java/io/deephaven/io/log/impl/LogBufferPoolImpl.java index 719849dba15..4ab1051fb95 100644 --- a/IO/src/main/java/io/deephaven/io/log/impl/LogBufferPoolImpl.java +++ b/IO/src/main/java/io/deephaven/io/log/impl/LogBufferPoolImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log.impl; import java.nio.ByteBuffer; diff --git a/IO/src/main/java/io/deephaven/io/log/impl/LogEntryImpl.java b/IO/src/main/java/io/deephaven/io/log/impl/LogEntryImpl.java index 7776eb49e88..fe8094b5e90 100644 --- a/IO/src/main/java/io/deephaven/io/log/impl/LogEntryImpl.java +++ b/IO/src/main/java/io/deephaven/io/log/impl/LogEntryImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log.impl; import io.deephaven.base.log.LogOutput; diff --git a/IO/src/main/java/io/deephaven/io/log/impl/LogEntryPoolImpl.java b/IO/src/main/java/io/deephaven/io/log/impl/LogEntryPoolImpl.java index 7efd11d5b7d..d48bd8bb41f 100644 --- a/IO/src/main/java/io/deephaven/io/log/impl/LogEntryPoolImpl.java +++ b/IO/src/main/java/io/deephaven/io/log/impl/LogEntryPoolImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log.impl; import io.deephaven.base.pool.ThreadSafeFixedSizePool; diff --git a/IO/src/main/java/io/deephaven/io/log/impl/LogOutputBaseImpl.java b/IO/src/main/java/io/deephaven/io/log/impl/LogOutputBaseImpl.java index 9a18fde82da..2148b8116a5 100644 --- a/IO/src/main/java/io/deephaven/io/log/impl/LogOutputBaseImpl.java +++ b/IO/src/main/java/io/deephaven/io/log/impl/LogOutputBaseImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log.impl; import io.deephaven.base.ArrayUtil; diff --git a/IO/src/main/java/io/deephaven/io/log/impl/LogOutputCsvImpl.java b/IO/src/main/java/io/deephaven/io/log/impl/LogOutputCsvImpl.java index 21fb61afe81..8fbe714c66a 100644 --- a/IO/src/main/java/io/deephaven/io/log/impl/LogOutputCsvImpl.java +++ b/IO/src/main/java/io/deephaven/io/log/impl/LogOutputCsvImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log.impl; import io.deephaven.base.log.LogOutput; diff --git a/IO/src/main/java/io/deephaven/io/log/impl/LogSinkImpl.java b/IO/src/main/java/io/deephaven/io/log/impl/LogSinkImpl.java index ac46d67f2f0..68fc91d177f 100644 --- a/IO/src/main/java/io/deephaven/io/log/impl/LogSinkImpl.java +++ b/IO/src/main/java/io/deephaven/io/log/impl/LogSinkImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log.impl; import io.deephaven.base.ArrayUtil; diff --git a/IO/src/main/java/io/deephaven/io/logger/InternalLoggerUtil.java b/IO/src/main/java/io/deephaven/io/logger/InternalLoggerUtil.java index 232eaca71cd..6b833e988f1 100644 --- a/IO/src/main/java/io/deephaven/io/logger/InternalLoggerUtil.java +++ b/IO/src/main/java/io/deephaven/io/logger/InternalLoggerUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; import io.deephaven.io.log.LogEntry; diff --git a/IO/src/main/java/io/deephaven/io/logger/LogBuffer.java b/IO/src/main/java/io/deephaven/io/logger/LogBuffer.java index da34bc939fa..3a3e2a892d5 100644 --- a/IO/src/main/java/io/deephaven/io/logger/LogBuffer.java +++ b/IO/src/main/java/io/deephaven/io/logger/LogBuffer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; import io.deephaven.base.RingBuffer; diff --git a/IO/src/main/java/io/deephaven/io/logger/LogBufferGlobal.java b/IO/src/main/java/io/deephaven/io/logger/LogBufferGlobal.java index 3728fce7826..25d96820d6a 100644 --- a/IO/src/main/java/io/deephaven/io/logger/LogBufferGlobal.java +++ b/IO/src/main/java/io/deephaven/io/logger/LogBufferGlobal.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; import java.util.Objects; diff --git a/IO/src/main/java/io/deephaven/io/logger/LogBufferInterceptor.java b/IO/src/main/java/io/deephaven/io/logger/LogBufferInterceptor.java index 007c25cd25a..6b1dfbb87ed 100644 --- a/IO/src/main/java/io/deephaven/io/logger/LogBufferInterceptor.java +++ b/IO/src/main/java/io/deephaven/io/logger/LogBufferInterceptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; import io.deephaven.base.log.LogOutput; diff --git a/IO/src/main/java/io/deephaven/io/logger/LogBufferOutputStream.java b/IO/src/main/java/io/deephaven/io/logger/LogBufferOutputStream.java index 0829cca3306..21316aff708 100644 --- a/IO/src/main/java/io/deephaven/io/logger/LogBufferOutputStream.java +++ b/IO/src/main/java/io/deephaven/io/logger/LogBufferOutputStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; import io.deephaven.io.log.LogLevel; diff --git a/IO/src/main/java/io/deephaven/io/logger/LogBufferRecord.java b/IO/src/main/java/io/deephaven/io/logger/LogBufferRecord.java index 16183805603..784176e7703 100644 --- a/IO/src/main/java/io/deephaven/io/logger/LogBufferRecord.java +++ b/IO/src/main/java/io/deephaven/io/logger/LogBufferRecord.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; import io.deephaven.base.verify.Assert; diff --git a/IO/src/main/java/io/deephaven/io/logger/LogBufferRecordListener.java b/IO/src/main/java/io/deephaven/io/logger/LogBufferRecordListener.java index 7dccc556ce5..a76ab2785b5 100644 --- a/IO/src/main/java/io/deephaven/io/logger/LogBufferRecordListener.java +++ b/IO/src/main/java/io/deephaven/io/logger/LogBufferRecordListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; public interface LogBufferRecordListener { diff --git a/IO/src/main/java/io/deephaven/io/logger/LogCrashDump.java b/IO/src/main/java/io/deephaven/io/logger/LogCrashDump.java index 136dbe99b11..d640f275404 100644 --- a/IO/src/main/java/io/deephaven/io/logger/LogCrashDump.java +++ b/IO/src/main/java/io/deephaven/io/logger/LogCrashDump.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; import io.deephaven.io.log.LogEntry; diff --git a/IO/src/main/java/io/deephaven/io/logger/Logger.java b/IO/src/main/java/io/deephaven/io/logger/Logger.java index ddd156294d7..f3198b2e8c9 100644 --- a/IO/src/main/java/io/deephaven/io/logger/Logger.java +++ b/IO/src/main/java/io/deephaven/io/logger/Logger.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; import io.deephaven.io.log.LogEntry; diff --git a/IO/src/main/java/io/deephaven/io/logger/LoggerImpl.java b/IO/src/main/java/io/deephaven/io/logger/LoggerImpl.java index 2b5b5e4d052..8c4b4a9ea59 100644 --- a/IO/src/main/java/io/deephaven/io/logger/LoggerImpl.java +++ b/IO/src/main/java/io/deephaven/io/logger/LoggerImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; import io.deephaven.base.text.TimestampBufferMicros; diff --git a/IO/src/main/java/io/deephaven/io/logger/LoggerOutputStream.java b/IO/src/main/java/io/deephaven/io/logger/LoggerOutputStream.java index e96b0fb3e0e..8521a27e802 100644 --- a/IO/src/main/java/io/deephaven/io/logger/LoggerOutputStream.java +++ b/IO/src/main/java/io/deephaven/io/logger/LoggerOutputStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; import io.deephaven.io.log.LogEntry; diff --git a/IO/src/main/java/io/deephaven/io/logger/LoggerTimeSource.java b/IO/src/main/java/io/deephaven/io/logger/LoggerTimeSource.java index a2f5c43096f..2968b4720c4 100644 --- a/IO/src/main/java/io/deephaven/io/logger/LoggerTimeSource.java +++ b/IO/src/main/java/io/deephaven/io/logger/LoggerTimeSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; public interface LoggerTimeSource { diff --git a/IO/src/main/java/io/deephaven/io/logger/NullLoggerImpl.java b/IO/src/main/java/io/deephaven/io/logger/NullLoggerImpl.java index 05cefb34235..11922d7b510 100644 --- a/IO/src/main/java/io/deephaven/io/logger/NullLoggerImpl.java +++ b/IO/src/main/java/io/deephaven/io/logger/NullLoggerImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; import io.deephaven.base.ArrayUtil; diff --git a/IO/src/main/java/io/deephaven/io/logger/ProcessStreamLoggerImpl.java b/IO/src/main/java/io/deephaven/io/logger/ProcessStreamLoggerImpl.java index 15d6f816490..1809e65486e 100644 --- a/IO/src/main/java/io/deephaven/io/logger/ProcessStreamLoggerImpl.java +++ b/IO/src/main/java/io/deephaven/io/logger/ProcessStreamLoggerImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; import io.deephaven.base.ArrayUtil; diff --git a/IO/src/main/java/io/deephaven/io/logger/StreamLoggerImpl.java b/IO/src/main/java/io/deephaven/io/logger/StreamLoggerImpl.java index 0121443d9b5..7810175ef0a 100644 --- a/IO/src/main/java/io/deephaven/io/logger/StreamLoggerImpl.java +++ b/IO/src/main/java/io/deephaven/io/logger/StreamLoggerImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; import io.deephaven.base.ArrayUtil; diff --git a/IO/src/main/java/io/deephaven/io/logger/StreamToLogBuffer.java b/IO/src/main/java/io/deephaven/io/logger/StreamToLogBuffer.java index 5b7432694f2..ac5e517a52f 100644 --- a/IO/src/main/java/io/deephaven/io/logger/StreamToLogBuffer.java +++ b/IO/src/main/java/io/deephaven/io/logger/StreamToLogBuffer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; import io.deephaven.base.system.StandardStreamReceiver; diff --git a/IO/src/main/java/io/deephaven/io/logger/StringsLoggerImpl.java b/IO/src/main/java/io/deephaven/io/logger/StringsLoggerImpl.java index 9bff7eefb95..2b36a654051 100644 --- a/IO/src/main/java/io/deephaven/io/logger/StringsLoggerImpl.java +++ b/IO/src/main/java/io/deephaven/io/logger/StringsLoggerImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; import io.deephaven.base.log.LogOutput; diff --git a/IO/src/main/java/io/deephaven/io/logger/SystemStreamAdapter.java b/IO/src/main/java/io/deephaven/io/logger/SystemStreamAdapter.java index 10e07a80f20..13b53304e74 100644 --- a/IO/src/main/java/io/deephaven/io/logger/SystemStreamAdapter.java +++ b/IO/src/main/java/io/deephaven/io/logger/SystemStreamAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.logger; import io.deephaven.io.log.LogLevel; diff --git a/IO/src/main/java/io/deephaven/io/streams/BufferedChannelReader.java b/IO/src/main/java/io/deephaven/io/streams/BufferedChannelReader.java index 1a78fef7fa6..902c7df44a8 100644 --- a/IO/src/main/java/io/deephaven/io/streams/BufferedChannelReader.java +++ b/IO/src/main/java/io/deephaven/io/streams/BufferedChannelReader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.streams; import io.deephaven.base.verify.Require; diff --git a/IO/src/main/java/io/deephaven/io/streams/ByteBufferInputStream.java b/IO/src/main/java/io/deephaven/io/streams/ByteBufferInputStream.java index 0fd45f21a13..7522906028b 100644 --- a/IO/src/main/java/io/deephaven/io/streams/ByteBufferInputStream.java +++ b/IO/src/main/java/io/deephaven/io/streams/ByteBufferInputStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.streams; import java.io.DataInput; diff --git a/IO/src/main/java/io/deephaven/io/streams/ByteBufferOutputStream.java b/IO/src/main/java/io/deephaven/io/streams/ByteBufferOutputStream.java index 29a3fd6ce88..8a901f26718 100644 --- a/IO/src/main/java/io/deephaven/io/streams/ByteBufferOutputStream.java +++ b/IO/src/main/java/io/deephaven/io/streams/ByteBufferOutputStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.streams; import io.deephaven.base.text.Convert; diff --git a/IO/src/main/java/io/deephaven/io/streams/ByteBufferSink.java b/IO/src/main/java/io/deephaven/io/streams/ByteBufferSink.java index b2f7876566e..e368db68a19 100644 --- a/IO/src/main/java/io/deephaven/io/streams/ByteBufferSink.java +++ b/IO/src/main/java/io/deephaven/io/streams/ByteBufferSink.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.streams; import java.nio.ByteBuffer; diff --git a/IO/src/main/java/io/deephaven/io/streams/ByteBufferStreams.java b/IO/src/main/java/io/deephaven/io/streams/ByteBufferStreams.java index 48c0446d7bd..f1323f02bb3 100644 --- a/IO/src/main/java/io/deephaven/io/streams/ByteBufferStreams.java +++ b/IO/src/main/java/io/deephaven/io/streams/ByteBufferStreams.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.streams; import io.deephaven.base.ArrayUtil; diff --git a/IO/src/main/java/io/deephaven/io/streams/BzipFileOutputStream.java b/IO/src/main/java/io/deephaven/io/streams/BzipFileOutputStream.java index 9bcb98f6dbd..381c49bd83d 100644 --- a/IO/src/main/java/io/deephaven/io/streams/BzipFileOutputStream.java +++ b/IO/src/main/java/io/deephaven/io/streams/BzipFileOutputStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.streams; import org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream; diff --git a/IO/src/main/java/io/deephaven/io/streams/CurrentByteBufferSink.java b/IO/src/main/java/io/deephaven/io/streams/CurrentByteBufferSink.java index 486249d3843..da7e403856a 100644 --- a/IO/src/main/java/io/deephaven/io/streams/CurrentByteBufferSink.java +++ b/IO/src/main/java/io/deephaven/io/streams/CurrentByteBufferSink.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.streams; import io.deephaven.base.verify.Require; diff --git a/IO/src/main/java/io/deephaven/io/streams/MultiFileInputStream.java b/IO/src/main/java/io/deephaven/io/streams/MultiFileInputStream.java index 4527c66b40a..34b593e65f9 100644 --- a/IO/src/main/java/io/deephaven/io/streams/MultiFileInputStream.java +++ b/IO/src/main/java/io/deephaven/io/streams/MultiFileInputStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.streams; import org.jetbrains.annotations.Nullable; diff --git a/IO/src/main/java/io/deephaven/io/streams/NullByteBufferSink.java b/IO/src/main/java/io/deephaven/io/streams/NullByteBufferSink.java index 7fa5b906caa..bc13c4701c0 100644 --- a/IO/src/main/java/io/deephaven/io/streams/NullByteBufferSink.java +++ b/IO/src/main/java/io/deephaven/io/streams/NullByteBufferSink.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.streams; import java.nio.ByteBuffer; diff --git a/IO/src/main/java/io/deephaven/io/streams/SevenZipInputStream.java b/IO/src/main/java/io/deephaven/io/streams/SevenZipInputStream.java index 98e5133449f..511611daed5 100644 --- a/IO/src/main/java/io/deephaven/io/streams/SevenZipInputStream.java +++ b/IO/src/main/java/io/deephaven/io/streams/SevenZipInputStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.streams; import SevenZip.CRC; diff --git a/IO/src/main/java/io/deephaven/io/streams/SimpleByteBufferSink.java b/IO/src/main/java/io/deephaven/io/streams/SimpleByteBufferSink.java index 14ede66befb..b46392310aa 100644 --- a/IO/src/main/java/io/deephaven/io/streams/SimpleByteBufferSink.java +++ b/IO/src/main/java/io/deephaven/io/streams/SimpleByteBufferSink.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.streams; import java.nio.ByteBuffer; diff --git a/IO/src/main/java/io/deephaven/io/streams/Writable.java b/IO/src/main/java/io/deephaven/io/streams/Writable.java index 1968c24550d..cf751c43fb6 100644 --- a/IO/src/main/java/io/deephaven/io/streams/Writable.java +++ b/IO/src/main/java/io/deephaven/io/streams/Writable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.streams; import java.nio.ByteBuffer; diff --git a/IO/src/main/java/io/deephaven/io/streams/ZipInputStream.java b/IO/src/main/java/io/deephaven/io/streams/ZipInputStream.java index f978bb1d8ea..5c619de2ad6 100644 --- a/IO/src/main/java/io/deephaven/io/streams/ZipInputStream.java +++ b/IO/src/main/java/io/deephaven/io/streams/ZipInputStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.streams; import java.io.*; diff --git a/IO/src/main/java/io/deephaven/io/streams/ZipOutputStream.java b/IO/src/main/java/io/deephaven/io/streams/ZipOutputStream.java index 2dfc851a14f..dc548933f2f 100644 --- a/IO/src/main/java/io/deephaven/io/streams/ZipOutputStream.java +++ b/IO/src/main/java/io/deephaven/io/streams/ZipOutputStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.streams; import java.io.*; diff --git a/IO/src/main/java/io/deephaven/io/util/NullOutputStream.java b/IO/src/main/java/io/deephaven/io/util/NullOutputStream.java index 6639c7db9bd..086334bf8ac 100644 --- a/IO/src/main/java/io/deephaven/io/util/NullOutputStream.java +++ b/IO/src/main/java/io/deephaven/io/util/NullOutputStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.util; import java.io.IOException; diff --git a/IO/src/test/java/io/deephaven/io/ExerciseLogSink.java b/IO/src/test/java/io/deephaven/io/ExerciseLogSink.java index 582d3450826..9b04e52e5ff 100644 --- a/IO/src/test/java/io/deephaven/io/ExerciseLogSink.java +++ b/IO/src/test/java/io/deephaven/io/ExerciseLogSink.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io; import io.deephaven.io.log.*; diff --git a/IO/src/test/java/io/deephaven/io/log/impl/ConsolidatingLogEntry.java b/IO/src/test/java/io/deephaven/io/log/impl/ConsolidatingLogEntry.java index a21cde7bc95..46880d4b4fe 100644 --- a/IO/src/test/java/io/deephaven/io/log/impl/ConsolidatingLogEntry.java +++ b/IO/src/test/java/io/deephaven/io/log/impl/ConsolidatingLogEntry.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log.impl; import io.deephaven.base.text.TimestampBuffer; diff --git a/IO/src/test/java/io/deephaven/io/log/impl/TestLogEntryImpl.java b/IO/src/test/java/io/deephaven/io/log/impl/TestLogEntryImpl.java index faa34667ccf..2eba6488459 100644 --- a/IO/src/test/java/io/deephaven/io/log/impl/TestLogEntryImpl.java +++ b/IO/src/test/java/io/deephaven/io/log/impl/TestLogEntryImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log.impl; import io.deephaven.io.log.LogBufferPool; diff --git a/IO/src/test/java/io/deephaven/io/log/impl/TestLogOutput.java b/IO/src/test/java/io/deephaven/io/log/impl/TestLogOutput.java index ece0c3b9936..0097f6ca4eb 100644 --- a/IO/src/test/java/io/deephaven/io/log/impl/TestLogOutput.java +++ b/IO/src/test/java/io/deephaven/io/log/impl/TestLogOutput.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.log.impl; import io.deephaven.base.log.LogOutput; diff --git a/IO/src/test/java/io/deephaven/io/streams/OutputInputStreamTest.java b/IO/src/test/java/io/deephaven/io/streams/OutputInputStreamTest.java index ae92842a03d..b799d5ed16a 100644 --- a/IO/src/test/java/io/deephaven/io/streams/OutputInputStreamTest.java +++ b/IO/src/test/java/io/deephaven/io/streams/OutputInputStreamTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.streams; import junit.framework.TestCase; diff --git a/IO/src/test/java/io/deephaven/io/streams/TestByteBufferStreams.java b/IO/src/test/java/io/deephaven/io/streams/TestByteBufferStreams.java index b0bfdca5fe4..e6f655d789a 100644 --- a/IO/src/test/java/io/deephaven/io/streams/TestByteBufferStreams.java +++ b/IO/src/test/java/io/deephaven/io/streams/TestByteBufferStreams.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.io.streams; import io.deephaven.base.ArrayUtil; diff --git a/Integrations/src/main/java/io/deephaven/integrations/common/PrimitiveArrayConversionUtility.java b/Integrations/src/main/java/io/deephaven/integrations/common/PrimitiveArrayConversionUtility.java index 2ad1466d7ba..45d7c5ef284 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/common/PrimitiveArrayConversionUtility.java +++ b/Integrations/src/main/java/io/deephaven/integrations/common/PrimitiveArrayConversionUtility.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.common; import io.deephaven.time.DateTimeUtils; diff --git a/Integrations/src/main/java/io/deephaven/integrations/learn/Computer.java b/Integrations/src/main/java/io/deephaven/integrations/learn/Computer.java index 31bfe532471..b310f74fa48 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/learn/Computer.java +++ b/Integrations/src/main/java/io/deephaven/integrations/learn/Computer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.learn; import io.deephaven.base.verify.Require; diff --git a/Integrations/src/main/java/io/deephaven/integrations/learn/Future.java b/Integrations/src/main/java/io/deephaven/integrations/learn/Future.java index 22de4c5b4d9..3406a4ed3a2 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/learn/Future.java +++ b/Integrations/src/main/java/io/deephaven/integrations/learn/Future.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.learn; import io.deephaven.base.verify.Assert; diff --git a/Integrations/src/main/java/io/deephaven/integrations/learn/FutureOffset.java b/Integrations/src/main/java/io/deephaven/integrations/learn/FutureOffset.java index cae68e94521..3ba9ad21837 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/learn/FutureOffset.java +++ b/Integrations/src/main/java/io/deephaven/integrations/learn/FutureOffset.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.learn; import io.deephaven.base.verify.Require; diff --git a/Integrations/src/main/java/io/deephaven/integrations/learn/Input.java b/Integrations/src/main/java/io/deephaven/integrations/learn/Input.java index 705d28ae4c1..8c7859664d2 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/learn/Input.java +++ b/Integrations/src/main/java/io/deephaven/integrations/learn/Input.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.learn; import io.deephaven.engine.table.Table; diff --git a/Integrations/src/main/java/io/deephaven/integrations/learn/Output.java b/Integrations/src/main/java/io/deephaven/integrations/learn/Output.java index 935c9a38143..fea10b6cdce 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/learn/Output.java +++ b/Integrations/src/main/java/io/deephaven/integrations/learn/Output.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.learn; import io.deephaven.api.util.NameValidator; diff --git a/Integrations/src/main/java/io/deephaven/integrations/learn/Scatterer.java b/Integrations/src/main/java/io/deephaven/integrations/learn/Scatterer.java index 4c786451e52..0eb6ad20d8c 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/learn/Scatterer.java +++ b/Integrations/src/main/java/io/deephaven/integrations/learn/Scatterer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.learn; import io.deephaven.base.verify.Require; diff --git a/Integrations/src/main/java/io/deephaven/integrations/learn/gather/NumPy.java b/Integrations/src/main/java/io/deephaven/integrations/learn/gather/NumPy.java index 93fc0c05a71..e1b117634f2 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/learn/gather/NumPy.java +++ b/Integrations/src/main/java/io/deephaven/integrations/learn/gather/NumPy.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.learn.gather; import io.deephaven.chunk.*; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/JavaLambdaFactory.java b/Integrations/src/main/java/io/deephaven/integrations/python/JavaLambdaFactory.java index 96b2a3c98b1..1b7824283f4 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/JavaLambdaFactory.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/JavaLambdaFactory.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import org.jpy.PyObject; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PyLogOutputStream.java b/Integrations/src/main/java/io/deephaven/integrations/python/PyLogOutputStream.java index e8fee6b10ab..acbcb9d99c3 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PyLogOutputStream.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PyLogOutputStream.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import org.jetbrains.annotations.NotNull; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonBiFunction.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonBiFunction.java index 55dfb47dec4..0735399f898 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonBiFunction.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonBiFunction.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import io.deephaven.util.annotations.ScriptApi; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonDeephavenSession.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonDeephavenSession.java index d362acecc4f..f14f3459504 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonDeephavenSession.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonDeephavenSession.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import io.deephaven.base.FileUtils; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonFunction.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonFunction.java index 4794d35e6a4..4f6c7908b0a 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonFunction.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonFunction.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import io.deephaven.util.annotations.ScriptApi; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonFunctionCaller.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonFunctionCaller.java index d3505116148..dea4eb1edae 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonFunctionCaller.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonFunctionCaller.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import io.deephaven.util.annotations.ScriptApi; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonListenerAdapter.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonListenerAdapter.java index 90992855249..29ea9a270a5 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonListenerAdapter.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonListenerAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import io.deephaven.engine.table.Table; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonListenerTableUpdateDataReader.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonListenerTableUpdateDataReader.java index a0056e03e27..1a0180f04df 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonListenerTableUpdateDataReader.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonListenerTableUpdateDataReader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import io.deephaven.chunk.ChunkType; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonObjectWrapper.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonObjectWrapper.java index 54539ba316e..5e2fd1f7729 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonObjectWrapper.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonObjectWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import org.jpy.PyModule; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonReplayListenerAdapter.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonReplayListenerAdapter.java index 3787e68f711..5b26f71461a 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonReplayListenerAdapter.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonReplayListenerAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import io.deephaven.engine.table.Table; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonReplayShiftObliviousListenerAdapter.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonReplayShiftObliviousListenerAdapter.java index 527ddc5c418..56b1df0bfa6 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonReplayShiftObliviousListenerAdapter.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonReplayShiftObliviousListenerAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import io.deephaven.engine.table.Table; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonRunnable.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonRunnable.java index 4a73f41d0be..d6b330dc7e6 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonRunnable.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonRunnable.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import org.jpy.PyObject; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonShiftObliviousListenerAdapter.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonShiftObliviousListenerAdapter.java index 84d0ecbbfd5..5d097d8e013 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonShiftObliviousListenerAdapter.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonShiftObliviousListenerAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import io.deephaven.engine.table.Table; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonThrowingRunnable.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonThrowingRunnable.java index e87cc28cdda..50031dc539d 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonThrowingRunnable.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonThrowingRunnable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import io.deephaven.util.annotations.ScriptApi; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonTimeComponents.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonTimeComponents.java index 38474621462..702747f247f 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonTimeComponents.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonTimeComponents.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import io.deephaven.util.annotations.ScriptApi; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonTools.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonTools.java index c9a47388a13..a4030d9e5f1 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonTools.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import java.util.Map; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonUtils.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonUtils.java index 20af82b71e2..5d3d861fa21 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonUtils.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import org.jpy.PyObject; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonValueGetter.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonValueGetter.java index da2349816c2..5aa6eb5af39 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonValueGetter.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonValueGetter.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import io.deephaven.util.QueryConstants; diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/TableSnapshotReplayer.java b/Integrations/src/main/java/io/deephaven/integrations/python/TableSnapshotReplayer.java index 6c695608693..6bc163a67c7 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/TableSnapshotReplayer.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/TableSnapshotReplayer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import io.deephaven.util.annotations.ScriptApi; diff --git a/Integrations/src/test/java/io/deephaven/integrations/learn/ComputerTest.java b/Integrations/src/test/java/io/deephaven/integrations/learn/ComputerTest.java index 29839e42e31..d854fe8fc7d 100644 --- a/Integrations/src/test/java/io/deephaven/integrations/learn/ComputerTest.java +++ b/Integrations/src/test/java/io/deephaven/integrations/learn/ComputerTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.learn; import io.deephaven.engine.rowset.RowSet; diff --git a/Integrations/src/test/java/io/deephaven/integrations/learn/FutureTest.java b/Integrations/src/test/java/io/deephaven/integrations/learn/FutureTest.java index d2b7eef7081..16b350f0e6e 100644 --- a/Integrations/src/test/java/io/deephaven/integrations/learn/FutureTest.java +++ b/Integrations/src/test/java/io/deephaven/integrations/learn/FutureTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.learn; import io.deephaven.engine.rowset.RowSet; diff --git a/Integrations/src/test/java/io/deephaven/integrations/learn/InputTest.java b/Integrations/src/test/java/io/deephaven/integrations/learn/InputTest.java index 045bb5d048f..9cf45f7f352 100644 --- a/Integrations/src/test/java/io/deephaven/integrations/learn/InputTest.java +++ b/Integrations/src/test/java/io/deephaven/integrations/learn/InputTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.learn; import io.deephaven.engine.table.impl.InMemoryTable; diff --git a/Integrations/src/test/java/io/deephaven/integrations/learn/OutputTest.java b/Integrations/src/test/java/io/deephaven/integrations/learn/OutputTest.java index 7b40361aa62..4965d3af1e2 100644 --- a/Integrations/src/test/java/io/deephaven/integrations/learn/OutputTest.java +++ b/Integrations/src/test/java/io/deephaven/integrations/learn/OutputTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.learn; import io.deephaven.api.util.NameValidator; diff --git a/Integrations/src/test/java/io/deephaven/integrations/learn/ScattererTest.java b/Integrations/src/test/java/io/deephaven/integrations/learn/ScattererTest.java index 5b584aa100e..52a3621b3fe 100644 --- a/Integrations/src/test/java/io/deephaven/integrations/learn/ScattererTest.java +++ b/Integrations/src/test/java/io/deephaven/integrations/learn/ScattererTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.learn; import io.deephaven.engine.table.impl.InMemoryTable; diff --git a/Integrations/src/test/java/io/deephaven/integrations/learn/gather/NumPyTest.java b/Integrations/src/test/java/io/deephaven/integrations/learn/gather/NumPyTest.java index 18bee7e40f8..fbf17cd6c73 100644 --- a/Integrations/src/test/java/io/deephaven/integrations/learn/gather/NumPyTest.java +++ b/Integrations/src/test/java/io/deephaven/integrations/learn/gather/NumPyTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.learn.gather; import io.deephaven.engine.rowset.RowSequence; diff --git a/Integrations/src/test/java/io/deephaven/integrations/pyserver/wrapper/MyObject.java b/Integrations/src/test/java/io/deephaven/integrations/pyserver/wrapper/MyObject.java index 69fd833ea46..686784beb19 100644 --- a/Integrations/src/test/java/io/deephaven/integrations/pyserver/wrapper/MyObject.java +++ b/Integrations/src/test/java/io/deephaven/integrations/pyserver/wrapper/MyObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.pyserver.wrapper; import java.util.Objects; diff --git a/Integrations/src/test/java/io/deephaven/integrations/python/PythonTimeComponentsTest.java b/Integrations/src/test/java/io/deephaven/integrations/python/PythonTimeComponentsTest.java index 5a0be5d97e0..2c4bf6ced8e 100644 --- a/Integrations/src/test/java/io/deephaven/integrations/python/PythonTimeComponentsTest.java +++ b/Integrations/src/test/java/io/deephaven/integrations/python/PythonTimeComponentsTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.integrations.python; import org.junit.Assert; diff --git a/ModelFarm/src/main/java/io/deephaven/modelfarm/ConditionalModels.java b/ModelFarm/src/main/java/io/deephaven/modelfarm/ConditionalModels.java index f64553fd777..ebc1bdd85ac 100644 --- a/ModelFarm/src/main/java/io/deephaven/modelfarm/ConditionalModels.java +++ b/ModelFarm/src/main/java/io/deephaven/modelfarm/ConditionalModels.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm; import io.deephaven.base.verify.Require; diff --git a/ModelFarm/src/main/java/io/deephaven/modelfarm/ExecPrioritizer.java b/ModelFarm/src/main/java/io/deephaven/modelfarm/ExecPrioritizer.java index cee403518ef..7f1a427bf90 100644 --- a/ModelFarm/src/main/java/io/deephaven/modelfarm/ExecPrioritizer.java +++ b/ModelFarm/src/main/java/io/deephaven/modelfarm/ExecPrioritizer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm; /** diff --git a/ModelFarm/src/main/java/io/deephaven/modelfarm/Model.java b/ModelFarm/src/main/java/io/deephaven/modelfarm/Model.java index 81093af2d87..c7d022e6339 100644 --- a/ModelFarm/src/main/java/io/deephaven/modelfarm/Model.java +++ b/ModelFarm/src/main/java/io/deephaven/modelfarm/Model.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm; /** diff --git a/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarm.java b/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarm.java index d2308929863..037ab8b5d5c 100644 --- a/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarm.java +++ b/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarm.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm; import java.util.concurrent.TimeUnit; diff --git a/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarmBase.java b/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarmBase.java index e4f15d81457..7b3b59c0927 100644 --- a/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarmBase.java +++ b/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarmBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm; import io.deephaven.base.verify.Assert; diff --git a/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarmOnDemand.java b/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarmOnDemand.java index 5ee40931ef7..5812434d79c 100644 --- a/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarmOnDemand.java +++ b/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarmOnDemand.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm; import io.deephaven.base.verify.Assert; diff --git a/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarmRealTime.java b/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarmRealTime.java index 668b12a00d7..a17398eb799 100644 --- a/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarmRealTime.java +++ b/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarmRealTime.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm; import io.deephaven.configuration.Configuration; diff --git a/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarmTick.java b/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarmTick.java index d59990d4278..595d2416d47 100644 --- a/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarmTick.java +++ b/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelFarmTick.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm; import io.deephaven.base.verify.Assert; diff --git a/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelInputDeserializer.java b/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelInputDeserializer.java index 6f31248a6eb..fc820135868 100644 --- a/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelInputDeserializer.java +++ b/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelInputDeserializer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm; import java.io.FileInputStream; diff --git a/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelInputSerializer.java b/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelInputSerializer.java index 091e1dd8444..d90335a9269 100644 --- a/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelInputSerializer.java +++ b/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelInputSerializer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm; import java.io.FileOutputStream; diff --git a/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelMultiExec.java b/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelMultiExec.java index 0d0efba3c27..701538376db 100644 --- a/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelMultiExec.java +++ b/ModelFarm/src/main/java/io/deephaven/modelfarm/ModelMultiExec.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm; import io.deephaven.base.verify.Require; diff --git a/ModelFarm/src/main/java/io/deephaven/modelfarm/RDMModelFarm.java b/ModelFarm/src/main/java/io/deephaven/modelfarm/RDMModelFarm.java index 064349e57c5..2ac36e21b99 100644 --- a/ModelFarm/src/main/java/io/deephaven/modelfarm/RDMModelFarm.java +++ b/ModelFarm/src/main/java/io/deephaven/modelfarm/RDMModelFarm.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm; import io.deephaven.base.verify.Assert; diff --git a/ModelFarm/src/main/java/io/deephaven/modelfarm/RowDataManager.java b/ModelFarm/src/main/java/io/deephaven/modelfarm/RowDataManager.java index 9781a5c047c..d433dfde3bd 100644 --- a/ModelFarm/src/main/java/io/deephaven/modelfarm/RowDataManager.java +++ b/ModelFarm/src/main/java/io/deephaven/modelfarm/RowDataManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm; import io.deephaven.engine.table.Table; diff --git a/ModelFarm/src/main/java/io/deephaven/modelfarm/util/KeyedPriorityBlockingQueue.java b/ModelFarm/src/main/java/io/deephaven/modelfarm/util/KeyedPriorityBlockingQueue.java index 5196682205b..6e7aa4f70a5 100644 --- a/ModelFarm/src/main/java/io/deephaven/modelfarm/util/KeyedPriorityBlockingQueue.java +++ b/ModelFarm/src/main/java/io/deephaven/modelfarm/util/KeyedPriorityBlockingQueue.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm.util; import org.jetbrains.annotations.NotNull; diff --git a/ModelFarm/src/main/java/io/deephaven/modelfarm/util/ModelFarmUtils.java b/ModelFarm/src/main/java/io/deephaven/modelfarm/util/ModelFarmUtils.java index 1d19872ad23..89d5a5e71a8 100644 --- a/ModelFarm/src/main/java/io/deephaven/modelfarm/util/ModelFarmUtils.java +++ b/ModelFarm/src/main/java/io/deephaven/modelfarm/util/ModelFarmUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm.util; import io.deephaven.base.verify.Require; diff --git a/ModelFarm/src/test/java/io/deephaven/modelfarm/ConditonalModelsTest.java b/ModelFarm/src/test/java/io/deephaven/modelfarm/ConditonalModelsTest.java index ed0180f36e6..f30a6742fd8 100644 --- a/ModelFarm/src/test/java/io/deephaven/modelfarm/ConditonalModelsTest.java +++ b/ModelFarm/src/test/java/io/deephaven/modelfarm/ConditonalModelsTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/ModelFarm/src/test/java/io/deephaven/modelfarm/TestModelFarm.java b/ModelFarm/src/test/java/io/deephaven/modelfarm/TestModelFarm.java index 9b013ad84d1..eabee417639 100644 --- a/ModelFarm/src/test/java/io/deephaven/modelfarm/TestModelFarm.java +++ b/ModelFarm/src/test/java/io/deephaven/modelfarm/TestModelFarm.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm; import io.deephaven.base.verify.Require; diff --git a/ModelFarm/src/test/java/io/deephaven/modelfarm/TestModelInputSerializerDeserializer.java b/ModelFarm/src/test/java/io/deephaven/modelfarm/TestModelInputSerializerDeserializer.java index 5149f2c39ee..002aed19722 100644 --- a/ModelFarm/src/test/java/io/deephaven/modelfarm/TestModelInputSerializerDeserializer.java +++ b/ModelFarm/src/test/java/io/deephaven/modelfarm/TestModelInputSerializerDeserializer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/ModelFarm/src/test/java/io/deephaven/modelfarm/util/TestKeyedPriorityBlockingQueue.java b/ModelFarm/src/test/java/io/deephaven/modelfarm/util/TestKeyedPriorityBlockingQueue.java index a8e32366749..4091500d4a3 100644 --- a/ModelFarm/src/test/java/io/deephaven/modelfarm/util/TestKeyedPriorityBlockingQueue.java +++ b/ModelFarm/src/test/java/io/deephaven/modelfarm/util/TestKeyedPriorityBlockingQueue.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm.util; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/ModelFarm/src/test/java/io/deephaven/modelfarm/util/TestModelFarmUtils.java b/ModelFarm/src/test/java/io/deephaven/modelfarm/util/TestModelFarmUtils.java index 7e7a6cd6b6e..92c64acf168 100644 --- a/ModelFarm/src/test/java/io/deephaven/modelfarm/util/TestModelFarmUtils.java +++ b/ModelFarm/src/test/java/io/deephaven/modelfarm/util/TestModelFarmUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.modelfarm.util; import io.deephaven.base.verify.RequirementFailure; diff --git a/Numerics/src/main/java/io/deephaven/numerics/derivatives/BlackScholes.java b/Numerics/src/main/java/io/deephaven/numerics/derivatives/BlackScholes.java index 6b576fb9398..483ac14bcdc 100644 --- a/Numerics/src/main/java/io/deephaven/numerics/derivatives/BlackScholes.java +++ b/Numerics/src/main/java/io/deephaven/numerics/derivatives/BlackScholes.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.numerics.derivatives; import org.apache.commons.math3.distribution.NormalDistribution; diff --git a/Numerics/src/main/java/io/deephaven/numerics/interpolation/Interpolator.java b/Numerics/src/main/java/io/deephaven/numerics/interpolation/Interpolator.java index 18038d50323..19c47b73857 100644 --- a/Numerics/src/main/java/io/deephaven/numerics/interpolation/Interpolator.java +++ b/Numerics/src/main/java/io/deephaven/numerics/interpolation/Interpolator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.numerics.interpolation; diff --git a/Numerics/src/main/java/io/deephaven/numerics/movingaverages/AbstractMa.java b/Numerics/src/main/java/io/deephaven/numerics/movingaverages/AbstractMa.java index 6da3768fda7..62f8624f189 100644 --- a/Numerics/src/main/java/io/deephaven/numerics/movingaverages/AbstractMa.java +++ b/Numerics/src/main/java/io/deephaven/numerics/movingaverages/AbstractMa.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.numerics.movingaverages; import java.io.Serializable; diff --git a/Numerics/src/main/java/io/deephaven/numerics/movingaverages/ByEma.java b/Numerics/src/main/java/io/deephaven/numerics/movingaverages/ByEma.java index 49e50ec3c5d..f7926df175c 100644 --- a/Numerics/src/main/java/io/deephaven/numerics/movingaverages/ByEma.java +++ b/Numerics/src/main/java/io/deephaven/numerics/movingaverages/ByEma.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.numerics.movingaverages; import io.deephaven.base.verify.Require; diff --git a/Numerics/src/main/java/io/deephaven/numerics/movingaverages/ByEmaSimple.java b/Numerics/src/main/java/io/deephaven/numerics/movingaverages/ByEmaSimple.java index 22b7a50bc58..8c91382cb04 100644 --- a/Numerics/src/main/java/io/deephaven/numerics/movingaverages/ByEmaSimple.java +++ b/Numerics/src/main/java/io/deephaven/numerics/movingaverages/ByEmaSimple.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.numerics.movingaverages; import java.util.concurrent.TimeUnit; diff --git a/Numerics/src/main/java/io/deephaven/numerics/movingaverages/Ema.java b/Numerics/src/main/java/io/deephaven/numerics/movingaverages/Ema.java index cc4198f6edb..f4958a77256 100644 --- a/Numerics/src/main/java/io/deephaven/numerics/movingaverages/Ema.java +++ b/Numerics/src/main/java/io/deephaven/numerics/movingaverages/Ema.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.numerics.movingaverages; import java.io.Serializable; diff --git a/Numerics/src/main/java/io/deephaven/numerics/movingaverages/EmaArray.java b/Numerics/src/main/java/io/deephaven/numerics/movingaverages/EmaArray.java index 97fa78df1be..ac6253b3826 100644 --- a/Numerics/src/main/java/io/deephaven/numerics/movingaverages/EmaArray.java +++ b/Numerics/src/main/java/io/deephaven/numerics/movingaverages/EmaArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.numerics.movingaverages; import java.io.Serializable; diff --git a/Numerics/src/main/java/io/deephaven/numerics/movingaverages/ExponentiallyDecayedSum.java b/Numerics/src/main/java/io/deephaven/numerics/movingaverages/ExponentiallyDecayedSum.java index f711e81f118..0e20f72319c 100644 --- a/Numerics/src/main/java/io/deephaven/numerics/movingaverages/ExponentiallyDecayedSum.java +++ b/Numerics/src/main/java/io/deephaven/numerics/movingaverages/ExponentiallyDecayedSum.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.numerics.movingaverages; import java.io.Serializable; diff --git a/Numerics/src/test/java/io/deephaven/numerics/derivatives/TestBlackScholes.java b/Numerics/src/test/java/io/deephaven/numerics/derivatives/TestBlackScholes.java index 22c6b6b8f3d..af8bbca346f 100644 --- a/Numerics/src/test/java/io/deephaven/numerics/derivatives/TestBlackScholes.java +++ b/Numerics/src/test/java/io/deephaven/numerics/derivatives/TestBlackScholes.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.numerics.derivatives; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/Numerics/src/test/java/io/deephaven/numerics/interpolation/InterpolatorTest.java b/Numerics/src/test/java/io/deephaven/numerics/interpolation/InterpolatorTest.java index 79e77d4b611..39942bbc840 100644 --- a/Numerics/src/test/java/io/deephaven/numerics/interpolation/InterpolatorTest.java +++ b/Numerics/src/test/java/io/deephaven/numerics/interpolation/InterpolatorTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.numerics.interpolation; import io.deephaven.util.QueryConstants; diff --git a/Numerics/src/test/java/io/deephaven/numerics/movingaverages/ByEmaTest.java b/Numerics/src/test/java/io/deephaven/numerics/movingaverages/ByEmaTest.java index 1984d0e61da..eca29bd6b29 100644 --- a/Numerics/src/test/java/io/deephaven/numerics/movingaverages/ByEmaTest.java +++ b/Numerics/src/test/java/io/deephaven/numerics/movingaverages/ByEmaTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.numerics.movingaverages; import io.deephaven.base.testing.RecordingMockObject; diff --git a/Numerics/src/test/java/io/deephaven/numerics/movingaverages/EmaArrayTest.java b/Numerics/src/test/java/io/deephaven/numerics/movingaverages/EmaArrayTest.java index 887d300b1bf..f51aa0ee09d 100644 --- a/Numerics/src/test/java/io/deephaven/numerics/movingaverages/EmaArrayTest.java +++ b/Numerics/src/test/java/io/deephaven/numerics/movingaverages/EmaArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.numerics.movingaverages; import junit.framework.TestCase; diff --git a/Numerics/src/test/java/io/deephaven/numerics/movingaverages/EmaTest.java b/Numerics/src/test/java/io/deephaven/numerics/movingaverages/EmaTest.java index ac4af2258a7..6a1b4c48806 100644 --- a/Numerics/src/test/java/io/deephaven/numerics/movingaverages/EmaTest.java +++ b/Numerics/src/test/java/io/deephaven/numerics/movingaverages/EmaTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.numerics.movingaverages; import junit.framework.TestCase; diff --git a/Numerics/src/test/java/io/deephaven/numerics/movingaverages/ExponentiallyDecayedSumTest.java b/Numerics/src/test/java/io/deephaven/numerics/movingaverages/ExponentiallyDecayedSumTest.java index 1c49c40bd48..12851d3ff9f 100644 --- a/Numerics/src/test/java/io/deephaven/numerics/movingaverages/ExponentiallyDecayedSumTest.java +++ b/Numerics/src/test/java/io/deephaven/numerics/movingaverages/ExponentiallyDecayedSumTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.numerics.movingaverages; import junit.framework.TestCase; diff --git a/Plot/src/main/java/io/deephaven/gui/shape/JShapes.java b/Plot/src/main/java/io/deephaven/gui/shape/JShapes.java index 38cb2e18299..0cf56f87b11 100644 --- a/Plot/src/main/java/io/deephaven/gui/shape/JShapes.java +++ b/Plot/src/main/java/io/deephaven/gui/shape/JShapes.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.gui.shape; diff --git a/Plot/src/main/java/io/deephaven/gui/shape/NamedShape.java b/Plot/src/main/java/io/deephaven/gui/shape/NamedShape.java index c2d59334ae4..b0cac7b16e9 100644 --- a/Plot/src/main/java/io/deephaven/gui/shape/NamedShape.java +++ b/Plot/src/main/java/io/deephaven/gui/shape/NamedShape.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.gui.shape; import java.util.Arrays; diff --git a/Plot/src/main/java/io/deephaven/gui/shape/Shape.java b/Plot/src/main/java/io/deephaven/gui/shape/Shape.java index 292ad73fe95..d72635397f3 100644 --- a/Plot/src/main/java/io/deephaven/gui/shape/Shape.java +++ b/Plot/src/main/java/io/deephaven/gui/shape/Shape.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.gui.shape; import java.io.Serializable; diff --git a/Plot/src/main/java/io/deephaven/plot/AbstractSeriesInternal.java b/Plot/src/main/java/io/deephaven/plot/AbstractSeriesInternal.java index aed38256e3a..a8c251eda62 100644 --- a/Plot/src/main/java/io/deephaven/plot/AbstractSeriesInternal.java +++ b/Plot/src/main/java/io/deephaven/plot/AbstractSeriesInternal.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import io.deephaven.plot.util.ArgumentValidations; diff --git a/Plot/src/main/java/io/deephaven/plot/Axes.java b/Plot/src/main/java/io/deephaven/plot/Axes.java index 541b20c7303..840a2f7c476 100644 --- a/Plot/src/main/java/io/deephaven/plot/Axes.java +++ b/Plot/src/main/java/io/deephaven/plot/Axes.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import io.deephaven.plot.axisformatters.AxisFormat; @@ -1368,6 +1368,7 @@ CategoryDataSeries piePlot(final Comparable seriesName, final SelectableDataSet /** * Creates a treemap plot. Required columns are ids and parents, the rest can be null. + * * @param seriesName name of the created dataset * @param t table * @param ids column in {@code t} holding ID data @@ -1378,11 +1379,13 @@ CategoryDataSeries piePlot(final Comparable seriesName, final SelectableDataSet * @param colors column in {@code t} holding color data * @return dataset created for plot */ - CategoryDataSeries treemapPlot(Comparable seriesName, Table t, String ids, String parents, @Nullable String values, @Nullable String labels, @Nullable String hoverTexts, @Nullable String colors); + CategoryDataSeries treemapPlot(Comparable seriesName, Table t, String ids, String parents, @Nullable String values, + @Nullable String labels, @Nullable String hoverTexts, @Nullable String colors); ////////////////////////////// CODE BELOW HERE IS GENERATED -- DO NOT EDIT BY HAND ////////////////////////////// ////////////////////////////// TO REGENERATE RUN GenerateAxesPlotMethods ////////////////////////////// ////////////////////////////// AND THEN RUN GeneratePlottingConvenience ////////////////////////////// +// @formatter:off diff --git a/Plot/src/main/java/io/deephaven/plot/AxesImpl.java b/Plot/src/main/java/io/deephaven/plot/AxesImpl.java index c01869e8b51..dab4dbe75ce 100644 --- a/Plot/src/main/java/io/deephaven/plot/AxesImpl.java +++ b/Plot/src/main/java/io/deephaven/plot/AxesImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import io.deephaven.api.ColumnName; @@ -954,8 +954,9 @@ public MultiXYErrorBarSeries errorBarYBy(final Comparable seriesName, final Tabl ArgumentValidations.assertNotNullAndNotEmpty(byColumns, "byColumns", new PlotInfo(this, seriesName)); configureXYPlot(); - final TableBackedPartitionedTableHandle h = new TableBackedPartitionedTableHandle(t, Arrays.asList(x, y, yLow, yHigh), - byColumns, new PlotInfo(this, seriesName)); + final TableBackedPartitionedTableHandle h = + new TableBackedPartitionedTableHandle(t, Arrays.asList(x, y, yLow, yHigh), + byColumns, new PlotInfo(this, seriesName)); final MultiXYErrorBarSeries series = new MultiXYErrorBarSeries(this, dataSeries.nextId(), seriesName, h, x, null, null, y, yLow, yHigh, byColumns, false, true); @@ -1033,8 +1034,9 @@ public MultiXYErrorBarSeries errorBarXBy(final Comparable seriesName, final Tabl ArgumentValidations.assertNotNullAndNotEmpty(byColumns, "byColumns", new PlotInfo(this, seriesName)); configureXYPlot(); - final TableBackedPartitionedTableHandle h = new TableBackedPartitionedTableHandle(t, Arrays.asList(x, xLow, xHigh, y), - byColumns, new PlotInfo(this, seriesName)); + final TableBackedPartitionedTableHandle h = + new TableBackedPartitionedTableHandle(t, Arrays.asList(x, xLow, xHigh, y), + byColumns, new PlotInfo(this, seriesName)); final MultiXYErrorBarSeries series = new MultiXYErrorBarSeries(this, dataSeries.nextId(), seriesName, h, x, xLow, xHigh, y, null, null, byColumns, true, false); @@ -1145,20 +1147,22 @@ private XYErrorBarDataSeriesArray errorBarXY(final XYErrorBarDataSeriesArray ser @Override public CategoryDataSeries catErrorBar(final Comparable seriesName, final Table t, final String categories, - final String y, final String yLow, final String yHigh) { + final String y, final String yLow, final String yHigh) { final TableHandle h = PlotUtils.createCategoryTableHandle(t, categories, y, yLow, yHigh); if (ArgumentValidations.isTime(t, y, new PlotInfo(this, seriesName))) { axes[1].axisFormat(new NanosAxisFormat()); } - return catPlot(new CategoryErrorBarDataSeriesPartitionedTable(this, dataSeries.nextId(), seriesName, h, categories, - y, yLow, yHigh), new TableHandle[] {h}, null); + return catPlot( + new CategoryErrorBarDataSeriesPartitionedTable(this, dataSeries.nextId(), seriesName, h, categories, + y, yLow, yHigh), + new TableHandle[] {h}, null); } @Override public CategoryDataSeries catErrorBar(final Comparable seriesName, final SelectableDataSet sds, - final String categories, final String y, final String yLow, final String yHigh) { + final String categories, final String y, final String yLow, final String yHigh) { final SelectableDataSet lastBySelectableDataSet = getAggregatedSelectableDataSet(sds, () -> PlotUtils.createCategoryAggs(AggLast(y, yLow, yHigh)), Collections.singletonList(categories)); @@ -1175,7 +1179,7 @@ public CategoryDataSeries catErrorBar(final Comparable seriesName, final Selecta @Override public MultiSeries catErrorBarBy(final Comparable seriesName, final Table t, final String categories, - final String y, final String yLow, final String yHigh, final String... byColumns) { + final String y, final String yLow, final String yHigh, final String... byColumns) { ArgumentValidations.assertNotNull(t, "t", new PlotInfo(this, seriesName)); ArgumentValidations.assertNotNull(categories, "categories", new PlotInfo(this, seriesName)); ArgumentValidations.assertNotNull(y, "values", new PlotInfo(this, seriesName)); @@ -1200,7 +1204,7 @@ public MultiSeries catErrorBarBy(final Comparable seriesName, final Table t, fin @Override public MultiSeries catErrorBarBy(final Comparable seriesName, final SelectableDataSet sds, final String categories, - final String y, final String yLow, final String yHigh, final String... byColumns) { + final String y, final String yLow, final String yHigh, final String... byColumns) { ArgumentValidations.assertNotNull(sds, "sds", new PlotInfo(this, seriesName)); ArgumentValidations.assertNotNull(categories, "categories", new PlotInfo(this, seriesName)); ArgumentValidations.assertNotNull(y, "values", new PlotInfo(this, seriesName)); @@ -1329,7 +1333,8 @@ public MultiXYSeries plotBy(final Comparable seriesName, final Table t, final St configureXYPlot(); final TableBackedPartitionedTableHandle h = - new TableBackedPartitionedTableHandle(t, Arrays.asList(x, y), byColumns, new PlotInfo(this, seriesName)); + new TableBackedPartitionedTableHandle(t, Arrays.asList(x, y), byColumns, + new PlotInfo(this, seriesName)); final MultiXYSeries series = new MultiXYSeries(this, dataSeries.nextId(), seriesName, h, x, y, byColumns); @@ -1402,7 +1407,7 @@ public OHLCDataSeriesArray ohlcPlot(final Comparable seriesName, final Indexable @Override public OHLCDataSeriesTableArray ohlcPlot(final Comparable seriesName, final Table t, final String time, - final String open, final String high, final String low, final String close) { + final String open, final String high, final String low, final String close) { configureOHLCPlot(); plotStyle(PlotStyle.OHLC); final TableHandle h = new TableHandle(t, time, open, high, low, close); @@ -1419,7 +1424,7 @@ public OHLCDataSeriesTableArray ohlcPlot(final Comparable seriesName, final Tabl @Override public OHLCDataSeriesArray ohlcPlot(final Comparable seriesName, final SelectableDataSet sds, final String time, - final String open, final String high, final String low, final String close) { + final String open, final String high, final String low, final String close) { configureOHLCPlot(); plotStyle(PlotStyle.OHLC); final SwappableTable t = sds.getSwappableTable(seriesName, chart, time, open, high, low, close); @@ -1436,8 +1441,8 @@ public OHLCDataSeriesArray ohlcPlot(final Comparable seriesName, final Selectabl @Override public MultiOHLCSeries ohlcPlotBy(final Comparable seriesName, final Table t, final String time, - final String open, final String high, final String low, final String close, - final String... byColumns) { + final String open, final String high, final String low, final String close, + final String... byColumns) { ArgumentValidations.assertNotNull(t, "t", new PlotInfo(this, seriesName)); ArgumentValidations.assertNotNull(time, "timeCol", new PlotInfo(this, seriesName)); ArgumentValidations.assertNotNull(open, "openCol", new PlotInfo(this, seriesName)); @@ -1462,8 +1467,8 @@ public MultiOHLCSeries ohlcPlotBy(final Comparable seriesName, final Table t, fi @Override public MultiOHLCSeriesSwappable ohlcPlotBy(final Comparable seriesName, final SelectableDataSet sds, - final String time, final String open, final String high, final String low, - final String close, final String... byColumns) { + final String time, final String open, final String high, final String low, + final String close, final String... byColumns) { ArgumentValidations.assertNotNull(sds, "sds", new PlotInfo(this, seriesName)); ArgumentValidations.assertNotNull(time, "timeCol", new PlotInfo(this, seriesName)); ArgumentValidations.assertNotNull(open, "openCol", new PlotInfo(this, seriesName)); @@ -1561,7 +1566,7 @@ private IntervalXYDataSeriesArray histPlot(final Comparable seriesName, final Sw @Override public IntervalXYDataSeriesArray histPlot(final Comparable seriesName, final SelectableDataSet sds, - final String x, final int nbins) { + final String x, final int nbins) { final PlotInfo plotInfo = new PlotInfo(this, seriesName); ArgumentValidations.assertIsNumeric(sds, x, "Histogram can not be computed on non-numeric column: " + x, plotInfo); @@ -1584,7 +1589,7 @@ public IntervalXYDataSeriesArray histPlot(final Comparable seriesName, final Sel @Override public IntervalXYDataSeriesArray histPlot(final Comparable seriesName, final SelectableDataSet sds, - final String x, final double xmin, final double xmax, final int nbins) { + final String x, final double xmin, final double xmax, final int nbins) { final PlotInfo plotInfo = new PlotInfo(this, seriesName); ArgumentValidations.assertIsNumeric(sds, x, "Histogram can not be computed on non-numeric column: " + x, plotInfo); @@ -1611,7 +1616,8 @@ public IntervalXYDataSeriesArray histPlot(final Comparable seriesName, final Sel // region Category Histogram Plot @Override - public CategoryDataSeriesPartitionedTable catHistPlot(final Comparable seriesName, final Table t, final String categories) { + public CategoryDataSeriesPartitionedTable catHistPlot(final Comparable seriesName, final Table t, + final String categories) { configureCategoryPlot(); plotStyle(PlotStyle.HISTOGRAM); @@ -1630,8 +1636,9 @@ public CategoryDataSeriesPartitionedTable catHistPlot(final Comparable seriesNam } @Override - public CategoryDataSeriesSwappablePartitionedTable catHistPlot(final Comparable seriesName, final SelectableDataSet sds, - final String categories) { + public CategoryDataSeriesSwappablePartitionedTable catHistPlot(final Comparable seriesName, + final SelectableDataSet sds, + final String categories) { configureCategoryPlot(); plotStyle(PlotStyle.HISTOGRAM); @@ -1657,7 +1664,8 @@ public CategoryDataSeriesSwappablePartitionedTable catHistPlot(final Comparable } @Override - public CategoryDataSeriesPartitionedTable catHistPlot(final Comparable seriesName, final T[] categories) { + public CategoryDataSeriesPartitionedTable catHistPlot(final Comparable seriesName, + final T[] categories) { return catHistPlot(seriesName, PlotUtils.table(categories, "Category"), "Category"); } @@ -1682,7 +1690,8 @@ public CategoryDataSeriesPartitionedTable catHistPlot(final Comparable seriesNam } @Override - public CategoryDataSeriesPartitionedTable catHistPlot(final Comparable seriesName, final List categories) { + public CategoryDataSeriesPartitionedTable catHistPlot(final Comparable seriesName, + final List categories) { return catHistPlot(seriesName, PlotUtils.table(categories, "Category"), "Category"); } @@ -1751,22 +1760,24 @@ public CategoryDataSeriesInternal catPlot(final Comparable seriesName, final Sel final SwappableTable t = lastBySelectableDataSet.getSwappableTable(seriesName, chart, categories, y, CategoryDataSeries.CAT_SERIES_ORDER_COLUMN); return catPlot( - new CategoryDataSeriesSwappablePartitionedTable(this, dataSeries.nextId(), seriesName, t, categories, y), + new CategoryDataSeriesSwappablePartitionedTable(this, dataSeries.nextId(), seriesName, t, categories, + y), null, new SwappableTable[] {t}, ArgumentValidations.isTime(sds, y, new PlotInfo(this, seriesName))); } @Override public MultiCatSeries catPlotBy(final Comparable seriesName, final Table t, final String categories, - final String y, final String... byColumns) { + final String y, final String... byColumns) { ArgumentValidations.assertNotNull(t, "t", new PlotInfo(this, seriesName)); ArgumentValidations.assertNotNull(categories, "categories", new PlotInfo(this, seriesName)); ArgumentValidations.assertNotNull(y, "values", new PlotInfo(this, seriesName)); ArgumentValidations.assertNotNullAndNotEmpty(byColumns, "byColumns", new PlotInfo(this, seriesName)); configureCategoryPlot(); - final TableBackedPartitionedTableHandle h = PlotUtils.createCategoryPartitionedTableHandle(t, categories, new String[] {y}, - byColumns, new PlotInfo(this, seriesName)); + final TableBackedPartitionedTableHandle h = + PlotUtils.createCategoryPartitionedTableHandle(t, categories, new String[] {y}, + byColumns, new PlotInfo(this, seriesName)); final MultiCatSeries series = new MultiCatSeries(this, dataSeries.nextId(), seriesName, h, categories, y, byColumns); @@ -1782,7 +1793,7 @@ public MultiCatSeries catPlotBy(final Comparable seriesName, final Table t, fina @Override public MultiCatSeriesSwappable catPlotBy(final Comparable seriesName, final SelectableDataSet sds, - final String categories, final String y, final String... byColumns) { + final String categories, final String y, final String... byColumns) { ArgumentValidations.assertNotNull(sds, "sds", new PlotInfo(this, seriesName)); ArgumentValidations.assertNotNull(categories, "categories", new PlotInfo(this, seriesName)); ArgumentValidations.assertNotNull(y, "timeCol", new PlotInfo(this, seriesName)); @@ -1863,15 +1874,17 @@ public CategoryDataSeriesInternal piePlot(final Comparable seriesName, final Sel final SwappableTable t = lastBySelectableDataSet.getSwappableTable(seriesName, chart, categories, y, CategoryDataSeries.CAT_SERIES_ORDER_COLUMN); return piePlot( - new CategoryDataSeriesSwappablePartitionedTable(this, dataSeries.nextId(), seriesName, t, categories, y), + new CategoryDataSeriesSwappablePartitionedTable(this, dataSeries.nextId(), seriesName, t, categories, + y), null, new SwappableTable[] {t}); } // endregion // region Tree Map - private CategoryDataSeriesInternal treemapPlot(final CategoryDataSeriesInternal ds, final TableHandle[] tableHandles, - final SwappableTable[] swappableTables) { + private CategoryDataSeriesInternal treemapPlot(final CategoryDataSeriesInternal ds, + final TableHandle[] tableHandles, + final SwappableTable[] swappableTables) { configureTreemapPlot(); if (tableHandles != null) { @@ -1892,9 +1905,12 @@ private CategoryDataSeriesInternal treemapPlot(final CategoryDataSeriesInternal @Override - public CategoryDataSeries treemapPlot(Comparable seriesName, Table t, String ids, String parents, @Nullable String values, @Nullable String labels, @Nullable String hoverText, @Nullable String color) { - final TableHandle h = PlotUtils.createCategoryTableHandle(t, new String[] { ids }, parents, values, labels, hoverText, color); - return treemapPlot(new CategoryTreemapDataSeriesTableMap(this, dataSeries.nextId(), seriesName, h, ids, parents, values, labels, hoverText, color), new TableHandle[]{h}, null); + public CategoryDataSeries treemapPlot(Comparable seriesName, Table t, String ids, String parents, + @Nullable String values, @Nullable String labels, @Nullable String hoverText, @Nullable String color) { + final TableHandle h = + PlotUtils.createCategoryTableHandle(t, new String[] {ids}, parents, values, labels, hoverText, color); + return treemapPlot(new CategoryTreemapDataSeriesTableMap(this, dataSeries.nextId(), seriesName, h, ids, parents, + values, labels, hoverText, color), new TableHandle[] {h}, null); } // endregion @@ -1902,6 +1918,7 @@ public CategoryDataSeries treemapPlot(Comparable seriesName, Table t, String ids ////////////////////////////// CODE BELOW HERE IS GENERATED -- DO NOT EDIT BY HAND ////////////////////////////// ////////////////////////////// TO REGENERATE RUN GenerateAxesPlotMethods ////////////////////////////// ////////////////////////////// AND THEN RUN GeneratePlottingConvenience ////////////////////////////// +// @formatter:off diff --git a/Plot/src/main/java/io/deephaven/plot/AxesLocation.java b/Plot/src/main/java/io/deephaven/plot/AxesLocation.java index cbee09ee646..2fa2d76ed84 100644 --- a/Plot/src/main/java/io/deephaven/plot/AxesLocation.java +++ b/Plot/src/main/java/io/deephaven/plot/AxesLocation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import java.io.Serializable; diff --git a/Plot/src/main/java/io/deephaven/plot/Axis.java b/Plot/src/main/java/io/deephaven/plot/Axis.java index 089b35cf358..6230691b147 100644 --- a/Plot/src/main/java/io/deephaven/plot/Axis.java +++ b/Plot/src/main/java/io/deephaven/plot/Axis.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import io.deephaven.plot.axisformatters.AxisFormat; diff --git a/Plot/src/main/java/io/deephaven/plot/AxisImpl.java b/Plot/src/main/java/io/deephaven/plot/AxisImpl.java index 33f5c31edec..77593637db6 100644 --- a/Plot/src/main/java/io/deephaven/plot/AxisImpl.java +++ b/Plot/src/main/java/io/deephaven/plot/AxisImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import io.deephaven.plot.axisformatters.AxisFormat; diff --git a/Plot/src/main/java/io/deephaven/plot/AxisLocation.java b/Plot/src/main/java/io/deephaven/plot/AxisLocation.java index 0a69369fdc1..138cf11fa52 100644 --- a/Plot/src/main/java/io/deephaven/plot/AxisLocation.java +++ b/Plot/src/main/java/io/deephaven/plot/AxisLocation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import java.io.Serializable; diff --git a/Plot/src/main/java/io/deephaven/plot/BaseFigure.java b/Plot/src/main/java/io/deephaven/plot/BaseFigure.java index c3634e184aa..600edc4a341 100644 --- a/Plot/src/main/java/io/deephaven/plot/BaseFigure.java +++ b/Plot/src/main/java/io/deephaven/plot/BaseFigure.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import io.deephaven.gui.color.Paint; diff --git a/Plot/src/main/java/io/deephaven/plot/BaseFigureImpl.java b/Plot/src/main/java/io/deephaven/plot/BaseFigureImpl.java index 0aac4ab4fe3..28faaf0f4a7 100644 --- a/Plot/src/main/java/io/deephaven/plot/BaseFigureImpl.java +++ b/Plot/src/main/java/io/deephaven/plot/BaseFigureImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import io.deephaven.api.Selectable; diff --git a/Plot/src/main/java/io/deephaven/plot/Chart.java b/Plot/src/main/java/io/deephaven/plot/Chart.java index bc83bddb246..31f3e5bdeab 100644 --- a/Plot/src/main/java/io/deephaven/plot/Chart.java +++ b/Plot/src/main/java/io/deephaven/plot/Chart.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import io.deephaven.plot.filters.SelectableDataSet; diff --git a/Plot/src/main/java/io/deephaven/plot/ChartArray.java b/Plot/src/main/java/io/deephaven/plot/ChartArray.java index ced6bf469b2..e0cdd7292bc 100644 --- a/Plot/src/main/java/io/deephaven/plot/ChartArray.java +++ b/Plot/src/main/java/io/deephaven/plot/ChartArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import io.deephaven.plot.errors.PlotIllegalArgumentException; diff --git a/Plot/src/main/java/io/deephaven/plot/ChartImpl.java b/Plot/src/main/java/io/deephaven/plot/ChartImpl.java index 8ab66e9e2c2..1b945834b09 100644 --- a/Plot/src/main/java/io/deephaven/plot/ChartImpl.java +++ b/Plot/src/main/java/io/deephaven/plot/ChartImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import io.deephaven.configuration.Configuration; diff --git a/Plot/src/main/java/io/deephaven/plot/ChartLocation.java b/Plot/src/main/java/io/deephaven/plot/ChartLocation.java index d6116799a28..c4d125b1dc8 100644 --- a/Plot/src/main/java/io/deephaven/plot/ChartLocation.java +++ b/Plot/src/main/java/io/deephaven/plot/ChartLocation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import java.io.Serializable; diff --git a/Plot/src/main/java/io/deephaven/plot/ChartTitle.java b/Plot/src/main/java/io/deephaven/plot/ChartTitle.java index 80c00199e09..c3788d7f571 100644 --- a/Plot/src/main/java/io/deephaven/plot/ChartTitle.java +++ b/Plot/src/main/java/io/deephaven/plot/ChartTitle.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import io.deephaven.configuration.Configuration; diff --git a/Plot/src/main/java/io/deephaven/plot/ChartType.java b/Plot/src/main/java/io/deephaven/plot/ChartType.java index 9fd78b01472..067e04a3dbd 100644 --- a/Plot/src/main/java/io/deephaven/plot/ChartType.java +++ b/Plot/src/main/java/io/deephaven/plot/ChartType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; /** diff --git a/Plot/src/main/java/io/deephaven/plot/DynamicChartTitle.java b/Plot/src/main/java/io/deephaven/plot/DynamicChartTitle.java index 9e6050b6309..7a8638f8bdd 100644 --- a/Plot/src/main/java/io/deephaven/plot/DynamicChartTitle.java +++ b/Plot/src/main/java/io/deephaven/plot/DynamicChartTitle.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import io.deephaven.plot.datasets.data.IndexableData; diff --git a/Plot/src/main/java/io/deephaven/plot/Figure.java b/Plot/src/main/java/io/deephaven/plot/Figure.java index 45f921b320e..550fdfa6312 100644 --- a/Plot/src/main/java/io/deephaven/plot/Figure.java +++ b/Plot/src/main/java/io/deephaven/plot/Figure.java @@ -1,10 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/**************************************************************************************************************************** - ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - Run GenerateFigureImmutable or "./gradlew :Generators:generateFigureImmutable" to regenerate - ****************************************************************************************************************************/ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateFigureImmutable or "./gradlew :Generators:generateFigureImmutable" to regenerate +// +// @formatter:off package io.deephaven.plot; diff --git a/Plot/src/main/java/io/deephaven/plot/FigureFactory.java b/Plot/src/main/java/io/deephaven/plot/FigureFactory.java index 287d75fe1cd..2b1b9172139 100644 --- a/Plot/src/main/java/io/deephaven/plot/FigureFactory.java +++ b/Plot/src/main/java/io/deephaven/plot/FigureFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; /** diff --git a/Plot/src/main/java/io/deephaven/plot/FigureImpl.java b/Plot/src/main/java/io/deephaven/plot/FigureImpl.java index 802dfa34267..c6e8a2613f9 100644 --- a/Plot/src/main/java/io/deephaven/plot/FigureImpl.java +++ b/Plot/src/main/java/io/deephaven/plot/FigureImpl.java @@ -1,10 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/**************************************************************************************************************************** - ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - Run GenerateFigureImmutable or "./gradlew :Generators:generateFigureImmutable" to regenerate - ****************************************************************************************************************************/ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateFigureImmutable or "./gradlew :Generators:generateFigureImmutable" to regenerate +// +// @formatter:off package io.deephaven.plot; import groovy.lang.Closure; diff --git a/Plot/src/main/java/io/deephaven/plot/FigureWidget.java b/Plot/src/main/java/io/deephaven/plot/FigureWidget.java index da4bdfd4549..063d72ed507 100644 --- a/Plot/src/main/java/io/deephaven/plot/FigureWidget.java +++ b/Plot/src/main/java/io/deephaven/plot/FigureWidget.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import io.deephaven.datastructures.util.CollectionUtil; diff --git a/Plot/src/main/java/io/deephaven/plot/Font.java b/Plot/src/main/java/io/deephaven/plot/Font.java index 00248d57021..434f9195fc9 100644 --- a/Plot/src/main/java/io/deephaven/plot/Font.java +++ b/Plot/src/main/java/io/deephaven/plot/Font.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import java.io.Serializable; diff --git a/Plot/src/main/java/io/deephaven/plot/LineStyle.java b/Plot/src/main/java/io/deephaven/plot/LineStyle.java index c4a717a4afe..32d31f9621c 100644 --- a/Plot/src/main/java/io/deephaven/plot/LineStyle.java +++ b/Plot/src/main/java/io/deephaven/plot/LineStyle.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import io.deephaven.plot.util.PlotUtils; diff --git a/Plot/src/main/java/io/deephaven/plot/PlotStyle.java b/Plot/src/main/java/io/deephaven/plot/PlotStyle.java index 72e01f91b33..a9d611b12cf 100644 --- a/Plot/src/main/java/io/deephaven/plot/PlotStyle.java +++ b/Plot/src/main/java/io/deephaven/plot/PlotStyle.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import java.util.Arrays; diff --git a/Plot/src/main/java/io/deephaven/plot/PlottingConvenience.java b/Plot/src/main/java/io/deephaven/plot/PlottingConvenience.java index 40007965f35..8221c957e98 100644 --- a/Plot/src/main/java/io/deephaven/plot/PlottingConvenience.java +++ b/Plot/src/main/java/io/deephaven/plot/PlottingConvenience.java @@ -1,10 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/**************************************************************************************************************************** - ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - Run GeneratePlottingConvenience or "./gradlew :Generators:generatePlottingConvenience" to regenerate - ****************************************************************************************************************************/ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GeneratePlottingConvenience or "./gradlew :Generators:generatePlottingConvenience" to regenerate +// +// @formatter:off package io.deephaven.plot; import groovy.lang.Closure; diff --git a/Plot/src/main/java/io/deephaven/plot/PlottingScript.java b/Plot/src/main/java/io/deephaven/plot/PlottingScript.java index 8e2d72f8fb2..5431f33c175 100644 --- a/Plot/src/main/java/io/deephaven/plot/PlottingScript.java +++ b/Plot/src/main/java/io/deephaven/plot/PlottingScript.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import com.google.auto.service.AutoService; diff --git a/Plot/src/main/java/io/deephaven/plot/Series.java b/Plot/src/main/java/io/deephaven/plot/Series.java index 49735a8716d..a35957d5d48 100644 --- a/Plot/src/main/java/io/deephaven/plot/Series.java +++ b/Plot/src/main/java/io/deephaven/plot/Series.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import java.io.Serializable; diff --git a/Plot/src/main/java/io/deephaven/plot/SeriesCollection.java b/Plot/src/main/java/io/deephaven/plot/SeriesCollection.java index 0740294991e..2fdebbcce93 100644 --- a/Plot/src/main/java/io/deephaven/plot/SeriesCollection.java +++ b/Plot/src/main/java/io/deephaven/plot/SeriesCollection.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import io.deephaven.plot.errors.PlotExceptionCause; diff --git a/Plot/src/main/java/io/deephaven/plot/SeriesInternal.java b/Plot/src/main/java/io/deephaven/plot/SeriesInternal.java index 5ea1f13d249..2dcdb739d68 100644 --- a/Plot/src/main/java/io/deephaven/plot/SeriesInternal.java +++ b/Plot/src/main/java/io/deephaven/plot/SeriesInternal.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import io.deephaven.plot.util.tables.PartitionedTableHandle; diff --git a/Plot/src/main/java/io/deephaven/plot/SeriesLocation.java b/Plot/src/main/java/io/deephaven/plot/SeriesLocation.java index f1c9e2d02e0..6c8a1164656 100644 --- a/Plot/src/main/java/io/deephaven/plot/SeriesLocation.java +++ b/Plot/src/main/java/io/deephaven/plot/SeriesLocation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; import java.io.Serializable; diff --git a/Plot/src/main/java/io/deephaven/plot/TableSnapshotSeries.java b/Plot/src/main/java/io/deephaven/plot/TableSnapshotSeries.java index 70867815765..f3fc927e9fc 100644 --- a/Plot/src/main/java/io/deephaven/plot/TableSnapshotSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/TableSnapshotSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot; /** diff --git a/Plot/src/main/java/io/deephaven/plot/axisformatters/AxisFormat.java b/Plot/src/main/java/io/deephaven/plot/axisformatters/AxisFormat.java index 1bfb82b5823..412328c1040 100644 --- a/Plot/src/main/java/io/deephaven/plot/axisformatters/AxisFormat.java +++ b/Plot/src/main/java/io/deephaven/plot/axisformatters/AxisFormat.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.axisformatters; import java.text.NumberFormat; diff --git a/Plot/src/main/java/io/deephaven/plot/axisformatters/DecimalAxisFormat.java b/Plot/src/main/java/io/deephaven/plot/axisformatters/DecimalAxisFormat.java index 26bdbd7d1be..1eacdaae2a8 100644 --- a/Plot/src/main/java/io/deephaven/plot/axisformatters/DecimalAxisFormat.java +++ b/Plot/src/main/java/io/deephaven/plot/axisformatters/DecimalAxisFormat.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.axisformatters; import java.text.DecimalFormat; diff --git a/Plot/src/main/java/io/deephaven/plot/axisformatters/NanosAxisFormat.java b/Plot/src/main/java/io/deephaven/plot/axisformatters/NanosAxisFormat.java index 8dec67b9584..ba3cdad2126 100644 --- a/Plot/src/main/java/io/deephaven/plot/axisformatters/NanosAxisFormat.java +++ b/Plot/src/main/java/io/deephaven/plot/axisformatters/NanosAxisFormat.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.axisformatters; import io.deephaven.time.DateTimeUtils; diff --git a/Plot/src/main/java/io/deephaven/plot/axisformatters/ScientificNumberFormatter.java b/Plot/src/main/java/io/deephaven/plot/axisformatters/ScientificNumberFormatter.java index 6d770427d51..271a51b586a 100644 --- a/Plot/src/main/java/io/deephaven/plot/axisformatters/ScientificNumberFormatter.java +++ b/Plot/src/main/java/io/deephaven/plot/axisformatters/ScientificNumberFormatter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.axisformatters; import io.deephaven.base.verify.Require; diff --git a/Plot/src/main/java/io/deephaven/plot/axistransformations/AxisTransform.java b/Plot/src/main/java/io/deephaven/plot/axistransformations/AxisTransform.java index 87667b3dc60..b0af1330778 100644 --- a/Plot/src/main/java/io/deephaven/plot/axistransformations/AxisTransform.java +++ b/Plot/src/main/java/io/deephaven/plot/axistransformations/AxisTransform.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.axistransformations; /** diff --git a/Plot/src/main/java/io/deephaven/plot/axistransformations/AxisTransformBusinessCalendar.java b/Plot/src/main/java/io/deephaven/plot/axistransformations/AxisTransformBusinessCalendar.java index eae9a971851..6fe577a9810 100644 --- a/Plot/src/main/java/io/deephaven/plot/axistransformations/AxisTransformBusinessCalendar.java +++ b/Plot/src/main/java/io/deephaven/plot/axistransformations/AxisTransformBusinessCalendar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.axistransformations; import io.deephaven.base.verify.Require; diff --git a/Plot/src/main/java/io/deephaven/plot/axistransformations/AxisTransformLambda.java b/Plot/src/main/java/io/deephaven/plot/axistransformations/AxisTransformLambda.java index 09e3fd40580..321fdc8734e 100644 --- a/Plot/src/main/java/io/deephaven/plot/axistransformations/AxisTransformLambda.java +++ b/Plot/src/main/java/io/deephaven/plot/axistransformations/AxisTransformLambda.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.axistransformations; import io.deephaven.base.verify.Require; diff --git a/Plot/src/main/java/io/deephaven/plot/axistransformations/AxisTransforms.java b/Plot/src/main/java/io/deephaven/plot/axistransformations/AxisTransforms.java index df1d8369387..26c2e4356f8 100644 --- a/Plot/src/main/java/io/deephaven/plot/axistransformations/AxisTransforms.java +++ b/Plot/src/main/java/io/deephaven/plot/axistransformations/AxisTransforms.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.axistransformations; import io.deephaven.time.calendar.BusinessCalendar; diff --git a/Plot/src/main/java/io/deephaven/plot/chartmodifiers/OneClickChartModifier.java b/Plot/src/main/java/io/deephaven/plot/chartmodifiers/OneClickChartModifier.java index 53e4868b6c1..6762e7116d1 100644 --- a/Plot/src/main/java/io/deephaven/plot/chartmodifiers/OneClickChartModifier.java +++ b/Plot/src/main/java/io/deephaven/plot/chartmodifiers/OneClickChartModifier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.chartmodifiers; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/colors/ColorMaps.java b/Plot/src/main/java/io/deephaven/plot/colors/ColorMaps.java index 99fd2918320..27c7885a37a 100644 --- a/Plot/src/main/java/io/deephaven/plot/colors/ColorMaps.java +++ b/Plot/src/main/java/io/deephaven/plot/colors/ColorMaps.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.colors; import io.deephaven.base.verify.Require; diff --git a/Plot/src/main/java/io/deephaven/plot/composite/ScatterPlotMatrix.java b/Plot/src/main/java/io/deephaven/plot/composite/ScatterPlotMatrix.java index e01f786ee47..7a81371e68e 100644 --- a/Plot/src/main/java/io/deephaven/plot/composite/ScatterPlotMatrix.java +++ b/Plot/src/main/java/io/deephaven/plot/composite/ScatterPlotMatrix.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.composite; import io.deephaven.base.verify.Require; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/AbstractDataSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/AbstractDataSeries.java index 329c7c6607d..c15cec89461 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/AbstractDataSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/AbstractDataSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets; import io.deephaven.plot.*; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/ColumnNameConstants.java b/Plot/src/main/java/io/deephaven/plot/datasets/ColumnNameConstants.java index cc77325437a..0d86bcb9c3e 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/ColumnNameConstants.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/ColumnNameConstants.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets; public class ColumnNameConstants { diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/DataSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/DataSeries.java index 6ff24465c77..5d6f910c67f 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/DataSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/DataSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets; import io.deephaven.plot.LineStyle; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/DataSeriesInternal.java b/Plot/src/main/java/io/deephaven/plot/datasets/DataSeriesInternal.java index 31af9e6bc46..fbbde559abb 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/DataSeriesInternal.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/DataSeriesInternal.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets; import io.deephaven.plot.*; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/DynamicSeriesNamer.java b/Plot/src/main/java/io/deephaven/plot/datasets/DynamicSeriesNamer.java index 38aa0ef676e..27628cb4dd7 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/DynamicSeriesNamer.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/DynamicSeriesNamer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/LabeledDataSetCollection.java b/Plot/src/main/java/io/deephaven/plot/datasets/LabeledDataSetCollection.java index 4823ea30ba5..5a16d6c3d5a 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/LabeledDataSetCollection.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/LabeledDataSetCollection.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets; /** diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/category/AbstractCategoryDataSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/category/AbstractCategoryDataSeries.java index 9e70c36e740..c019a5867f3 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/category/AbstractCategoryDataSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/category/AbstractCategoryDataSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.category; import io.deephaven.base.verify.Require; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/category/AbstractMapBasedCategoryDataSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/category/AbstractMapBasedCategoryDataSeries.java index d94c815d777..ed750df025e 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/category/AbstractMapBasedCategoryDataSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/category/AbstractMapBasedCategoryDataSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.category; import io.deephaven.plot.AxesImpl; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/category/AbstractSwappableTableBasedCategoryDataSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/category/AbstractSwappableTableBasedCategoryDataSeries.java index f111566b446..43c504386b1 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/category/AbstractSwappableTableBasedCategoryDataSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/category/AbstractSwappableTableBasedCategoryDataSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.category; import io.deephaven.engine.context.ExecutionContext; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/category/AbstractTableBasedCategoryDataSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/category/AbstractTableBasedCategoryDataSeries.java index 5ebecf59034..44b8673ee86 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/category/AbstractTableBasedCategoryDataSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/category/AbstractTableBasedCategoryDataSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.category; import io.deephaven.engine.context.ExecutionContext; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeries.java index 5807cf65e07..301811f82ad 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.category; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesInternal.java b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesInternal.java index c1ee56d335c..0ad3de19ee3 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesInternal.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesInternal.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.category; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesKernel.java b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesKernel.java index 09f0df2d517..0c3557ab3fa 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesKernel.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.category; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesMap.java b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesMap.java index b88a46f79b8..7a72f77fd75 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesMap.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.category; import io.deephaven.plot.AxesImpl; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesPartitionedTable.java b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesPartitionedTable.java index 2dd840e00bd..ea51084a85a 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesPartitionedTable.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesPartitionedTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.category; import io.deephaven.base.verify.RequirementFailure; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesSwappablePartitionedTable.java b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesSwappablePartitionedTable.java index 97fcaaafac4..3d6c086de9f 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesSwappablePartitionedTable.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryDataSeriesSwappablePartitionedTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.category; import io.deephaven.plot.AxesImpl; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategorySwappableTableDataSeriesInternal.java b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategorySwappableTableDataSeriesInternal.java index 146fa7129d3..34db23fcb0e 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategorySwappableTableDataSeriesInternal.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategorySwappableTableDataSeriesInternal.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.category; public interface CategorySwappableTableDataSeriesInternal extends CategoryTableDataSeriesInternal { diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryTableDataSeriesInternal.java b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryTableDataSeriesInternal.java index 7a794bc1c40..093d70f0752 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryTableDataSeriesInternal.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryTableDataSeriesInternal.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.category; /** diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryTreemapDataSeriesTableMap.java b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryTreemapDataSeriesTableMap.java index 5cca89935a4..64c484d7f16 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryTreemapDataSeriesTableMap.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/category/CategoryTreemapDataSeriesTableMap.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.category; import io.deephaven.engine.table.Table; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeries.java index 84eba6613c2..0ecded3b0ca 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.categoryerrorbar; import io.deephaven.plot.datasets.category.CategoryDataSeries; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesInternal.java b/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesInternal.java index 86912bec720..33f4296bda7 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesInternal.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesInternal.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.categoryerrorbar; import io.deephaven.plot.datasets.category.CategoryDataSeriesInternal; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesKernel.java b/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesKernel.java index 5688e502a1f..38626bbd293 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesKernel.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.categoryerrorbar; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesMap.java b/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesMap.java index 79e82e4a95e..91690a2d177 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesMap.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.categoryerrorbar; import io.deephaven.plot.AxesImpl; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesPartitionedTable.java b/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesPartitionedTable.java index ccb6689ab85..c2f42685986 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesPartitionedTable.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesPartitionedTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.categoryerrorbar; import io.deephaven.plot.AxesImpl; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesSwappablePartitionedTable.java b/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesSwappablePartitionedTable.java index 7361e0a7a68..7d222b25043 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesSwappablePartitionedTable.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/categoryerrorbar/CategoryErrorBarDataSeriesSwappablePartitionedTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.categoryerrorbar; import io.deephaven.plot.AxesImpl; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeData.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeData.java index 307d686e6a0..b852ff471f9 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeData.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotExceptionCause; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeDataHashMap.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeDataHashMap.java index aa3d4c03d62..1139e82cf9a 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeDataHashMap.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeDataHashMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeDataSwappableTable.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeDataSwappableTable.java index 177615bcfb0..131050a6125 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeDataSwappableTable.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeDataSwappableTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeDataTable.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeDataTable.java index 48c2cbaea48..395fcfffa11 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeDataTable.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeDataTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeDataWithDefault.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeDataWithDefault.java index 40b421d35fc..ec4b0ac4e27 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeDataWithDefault.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/AssociativeDataWithDefault.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableData.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableData.java index 2ab65df2345..3b1d12974ef 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableData.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotExceptionCause; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataArray.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataArray.java index 0840b050189..6d1e4bb2270 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataArray.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataArrayNullCategory.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataArrayNullCategory.java index 15781b9965d..5b1101178bb 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataArrayNullCategory.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataArrayNullCategory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataByte.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataByte.java index c32768c716e..796de4b1178 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataByte.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataByte.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataCharacter.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataCharacter.java index 4eab4ff5896..f88dffac9ad 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataCharacter.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataCharacter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataDouble.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataDouble.java index d983f6328a8..2844fb0a64e 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataDouble.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataDouble.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataInfinite.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataInfinite.java index 4a7a1f5aaa2..661c762c750 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataInfinite.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataInfinite.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import org.jetbrains.annotations.NotNull; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataInstant.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataInstant.java index 6803728d03a..11dd322c926 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataInstant.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataInstant.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataInteger.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataInteger.java index b3b6ec5053c..0073e8e82c1 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataInteger.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataInteger.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataListNullCategory.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataListNullCategory.java index 326ac46f7ef..fd2b7f2a7d2 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataListNullCategory.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataListNullCategory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataSwappableTable.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataSwappableTable.java index 9ea4e33836d..4904a97e1ce 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataSwappableTable.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataSwappableTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataSwappableTableDouble.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataSwappableTableDouble.java index 395f50c4637..ca75c68f989 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataSwappableTableDouble.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataSwappableTableDouble.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataTable.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataTable.java index 68dcbadcbbc..203cc2d9242 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataTable.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataWithDefault.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataWithDefault.java index 90e14f367cb..0b780055ade 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataWithDefault.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableDataWithDefault.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericData.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericData.java index 3bdf8320746..4cf26acdec4 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericData.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotExceptionCause; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayDate.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayDate.java index 7b03b0655f8..4d89da5ed7b 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayDate.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayDate.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayDouble.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayDouble.java index c4d78366b44..0155e936460 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayDouble.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayDouble.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayFloat.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayFloat.java index 083d297f3ba..01111a34fa9 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayFloat.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayFloat.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayInstant.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayInstant.java index b66d3b2cfaf..29fc90410aa 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayInstant.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayInstant.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayInt.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayInt.java index 19dd275c1ab..111116c5684 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayInt.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayInt.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayLong.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayLong.java index 2812523f904..041435162ae 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayLong.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayLong.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayNumber.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayNumber.java index 5d19b59eda3..8bafbf578bf 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayNumber.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayNumber.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayShort.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayShort.java index 03fecc92ba1..41e4579738c 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayShort.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataArrayShort.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataListNumber.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataListNumber.java index 799315b12cb..c6e34f0959e 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataListNumber.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataListNumber.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataSwappableTable.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataSwappableTable.java index 041c1106a0f..dcb40ae2576 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataSwappableTable.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataSwappableTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataTable.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataTable.java index d21303197fe..571bd5f1886 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataTable.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/IndexableNumericDataTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/LiveAssociativeData.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/LiveAssociativeData.java index 174394d4bf0..1951a5e6ac7 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/LiveAssociativeData.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/LiveAssociativeData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/LiveIndexableData.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/LiveIndexableData.java index 7296c54c731..17bca977426 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/LiveIndexableData.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/LiveIndexableData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/data/LiveIndexableNumericData.java b/Plot/src/main/java/io/deephaven/plot/datasets/data/LiveIndexableNumericData.java index c62e1f4885b..93abbdd58df 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/data/LiveIndexableNumericData.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/data/LiveIndexableNumericData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.data; import io.deephaven.plot.errors.PlotInfo; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/histogram/DiscretizedRange.java b/Plot/src/main/java/io/deephaven/plot/datasets/histogram/DiscretizedRange.java index 8587bdc43e4..51ed2eaf7c3 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/histogram/DiscretizedRange.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/histogram/DiscretizedRange.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.histogram; /** diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/histogram/DiscretizedRangeEqual.java b/Plot/src/main/java/io/deephaven/plot/datasets/histogram/DiscretizedRangeEqual.java index 1e3b818e977..bc28cac5115 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/histogram/DiscretizedRangeEqual.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/histogram/DiscretizedRangeEqual.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.histogram; import io.deephaven.function.Numeric; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/histogram/HistogramCalculator.java b/Plot/src/main/java/io/deephaven/plot/datasets/histogram/HistogramCalculator.java index bc3d241c0f2..fc2fabf3931 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/histogram/HistogramCalculator.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/histogram/HistogramCalculator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.histogram; import io.deephaven.base.verify.Require; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/interval/IntervalXYDataSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/interval/IntervalXYDataSeries.java index a68f4d9cad0..9d7d5024586 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/interval/IntervalXYDataSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/interval/IntervalXYDataSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.interval; import io.deephaven.plot.datasets.xy.XYDataSeries; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/interval/IntervalXYDataSeriesArray.java b/Plot/src/main/java/io/deephaven/plot/datasets/interval/IntervalXYDataSeriesArray.java index 856e07741ec..710a8e88796 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/interval/IntervalXYDataSeriesArray.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/interval/IntervalXYDataSeriesArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.interval; import io.deephaven.plot.AxesImpl; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/interval/IntervalXYDataSeriesInternal.java b/Plot/src/main/java/io/deephaven/plot/datasets/interval/IntervalXYDataSeriesInternal.java index 9ca3f73d1ee..0f226bab32d 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/interval/IntervalXYDataSeriesInternal.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/interval/IntervalXYDataSeriesInternal.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.interval; import io.deephaven.plot.AxesImpl; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/AbstractMultiSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/AbstractMultiSeries.java index 3eb89d09005..b8bbbf46c80 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/AbstractMultiSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/AbstractMultiSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.multiseries; import io.deephaven.base.verify.Assert; @@ -184,7 +184,7 @@ private void applyNamingFunction(final java.util.function.Function void applyFunction(final java.util.function.Function function, - final String columnName, final String functionInput, final Class resultClass) { + final String columnName, final String functionInput, final Class resultClass) { ArgumentValidations.assertNotNull(function, "function", getPlotInfo()); final String queryFunction = columnName + "Function"; final Map params = new HashMap<>(); @@ -283,6 +283,7 @@ private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundE ////////////////////////////// CODE BELOW HERE IS GENERATED -- DO NOT EDIT BY HAND ////////////////////////////// ////////////////////////////// TO REGENERATE RUN GenerateMultiSeries ////////////////////////////// ////////////////////////////// AND THEN RUN GenerateFigureImmutable ////////////////////////////// +// @formatter:off @Override public AbstractMultiSeries pointColor(final groovy.lang.Closure pointColor, final Object... multiSeriesKey) { throw new PlotUnsupportedOperationException("DataSeries " + this.getClass() + " does not support method pointColor for arguments [groovy.lang.Closure]. If you think this method should work, try placing your multiSeriesKey into an Object array", this); diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/AbstractPartitionedTableHandleMultiSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/AbstractPartitionedTableHandleMultiSeries.java index 26212a5698b..27b90d8a8c1 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/AbstractPartitionedTableHandleMultiSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/AbstractPartitionedTableHandleMultiSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.multiseries; import io.deephaven.engine.context.ExecutionContext; @@ -34,7 +34,8 @@ public abstract class AbstractPartitionedTableHandleMultiSeries params, boolean columnTypesPreserved) { ArgumentValidations.assertNull(partitionedTable, "partitionedTable must be null", getPlotInfo()); - Arrays.stream(classesToImport).forEach(aClass -> ExecutionContext.getContext().getQueryLibrary().importClass(aClass)); + Arrays.stream(classesToImport) + .forEach(aClass -> ExecutionContext.getContext().getQueryLibrary().importClass(aClass)); params.forEach(QueryScope::addParam); partitionedTableHandle.addColumn(columnName); diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/AbstractSwappableMultiSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/AbstractSwappableMultiSeries.java index 3aba9cfb061..6488401b78e 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/AbstractSwappableMultiSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/AbstractSwappableMultiSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.multiseries; import io.deephaven.engine.context.ExecutionContext; @@ -102,7 +102,8 @@ public SwappableTable getSwappableTable() { } @Override - protected void applyFunction(final java.util.function.Function function, final String columnName, + protected void applyFunction(final java.util.function.Function function, + final String columnName, final String functionInput, final Class resultClass) { ArgumentValidations.assertNotNull(function, "function", getPlotInfo()); final String queryFunction = columnName + "Function"; @@ -121,7 +122,8 @@ public void applyTransform(final String columnName, final String update, final C ArgumentValidations.assertNull(partitionedTable, "partitionedTable must be null", getPlotInfo()); swappableTable.addColumn(columnName); final Function tableTransform = t -> { - Arrays.stream(classesToImport).forEach(aClass -> ExecutionContext.getContext().getQueryLibrary().importClass(aClass)); + Arrays.stream(classesToImport) + .forEach(aClass -> ExecutionContext.getContext().getQueryLibrary().importClass(aClass)); params.forEach(QueryScope::addParam); return t.update(update); }; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiCatErrorBarSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiCatErrorBarSeries.java index d99ded0fc31..39c7794a3ba 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiCatErrorBarSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiCatErrorBarSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.multiseries; import io.deephaven.base.verify.RequirementFailure; @@ -20,7 +20,8 @@ /** * A {@link AbstractMultiSeries} collection that holds and generates {@link CategoryErrorBarDataSeriesInternal}. */ -public class MultiCatErrorBarSeries extends AbstractPartitionedTableHandleMultiSeries { +public class MultiCatErrorBarSeries + extends AbstractPartitionedTableHandleMultiSeries { private static final long serialVersionUID = 3180012797112976859L; private final String categories; @@ -83,13 +84,14 @@ private MultiCatErrorBarSeries(final MultiCatErrorBarSeries series, final AxesIm public CategoryErrorBarDataSeriesInternal createSeries(String seriesName, final BaseTable t, final DynamicSeriesNamer seriesNamer) { seriesName = makeSeriesName(seriesName, seriesNamer); - final NonserializableCategoryDataSeriesPartitionedTable series = new NonserializableCategoryDataSeriesPartitionedTable(axes(), - seriesName, - t, - categories, - values, - yLow, - yHigh); + final NonserializableCategoryDataSeriesPartitionedTable series = + new NonserializableCategoryDataSeriesPartitionedTable(axes(), + seriesName, + t, + categories, + values, + yLow, + yHigh); return series; } @@ -204,6 +206,7 @@ private void writeObject(java.io.ObjectOutputStream stream) { ////////////////////////////// CODE BELOW HERE IS GENERATED -- DO NOT EDIT BY HAND ////////////////////////////// ////////////////////////////// TO REGENERATE RUN GenerateMultiSeries ////////////////////////////// ////////////////////////////// AND THEN RUN GenerateFigureImmutable ////////////////////////////// +// @formatter:off @Override public void initializeSeries(CategoryErrorBarDataSeriesInternal series) { $$initializeSeries$$(series); diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiCatErrorBarSeriesSwappable.java b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiCatErrorBarSeriesSwappable.java index 3a4e9ff2417..eaaecb75246 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiCatErrorBarSeriesSwappable.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiCatErrorBarSeriesSwappable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.multiseries; import io.deephaven.base.verify.RequirementFailure; @@ -84,7 +84,8 @@ public CategoryErrorBarDataSeriesInternal createSeries(String seriesName, final final DynamicSeriesNamer seriesNamer) { seriesName = makeSeriesName(seriesName, seriesNamer); final NonserializableCategoryDataSeriesPartitionedTable series = - new NonserializableCategoryDataSeriesPartitionedTable(axes(), seriesName, t, categories, values, yLow, yHigh); + new NonserializableCategoryDataSeriesPartitionedTable(axes(), seriesName, t, categories, values, yLow, + yHigh); series.addSwappableTable(getSwappableTable()); return series; } @@ -200,6 +201,7 @@ private void writeObject(java.io.ObjectOutputStream stream) { ////////////////////////////// CODE BELOW HERE IS GENERATED -- DO NOT EDIT BY HAND ////////////////////////////// ////////////////////////////// TO REGENERATE RUN GenerateMultiSeries ////////////////////////////// ////////////////////////////// AND THEN RUN GenerateFigureImmutable ////////////////////////////// +// @formatter:off @Override public void initializeSeries(CategoryErrorBarDataSeriesInternal series) { $$initializeSeries$$(series); diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiCatSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiCatSeries.java index 27be87693db..0f213d8d5fd 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiCatSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiCatSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.multiseries; import io.deephaven.base.verify.RequirementFailure; @@ -74,11 +74,12 @@ public String getNumericCol() { public CategoryDataSeriesInternal createSeries(String seriesName, final BaseTable t, final DynamicSeriesNamer seriesNamer) { seriesName = makeSeriesName(seriesName, seriesNamer); - final NonserializableCategoryDataSeriesPartitionedTable series = new NonserializableCategoryDataSeriesPartitionedTable(axes(), - seriesName, - t, - categories, - values); + final NonserializableCategoryDataSeriesPartitionedTable series = + new NonserializableCategoryDataSeriesPartitionedTable(axes(), + seriesName, + t, + categories, + values); return series; } @@ -171,6 +172,7 @@ private void writeObject(java.io.ObjectOutputStream stream) { ////////////////////////////// CODE BELOW HERE IS GENERATED -- DO NOT EDIT BY HAND ////////////////////////////// ////////////////////////////// TO REGENERATE RUN GenerateMultiSeries ////////////////////////////// ////////////////////////////// AND THEN RUN GenerateFigureImmutable ////////////////////////////// +// @formatter:off @Override public void initializeSeries(CategoryDataSeriesInternal series) { $$initializeSeries$$(series); diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiCatSeriesSwappable.java b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiCatSeriesSwappable.java index a419fdad6df..13bc12af738 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiCatSeriesSwappable.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiCatSeriesSwappable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.multiseries; import io.deephaven.base.verify.RequirementFailure; @@ -68,11 +68,12 @@ private MultiCatSeriesSwappable(final MultiCatSeriesSwappable series, final Axes public CategoryDataSeriesInternal createSeries(String seriesName, final BaseTable t, final DynamicSeriesNamer seriesNamer) { seriesName = makeSeriesName(seriesName, seriesNamer); - final NonserializableCategoryDataSeriesPartitionedTable series = new NonserializableCategoryDataSeriesPartitionedTable(axes(), - seriesName, - t, - categories, - values); + final NonserializableCategoryDataSeriesPartitionedTable series = + new NonserializableCategoryDataSeriesPartitionedTable(axes(), + seriesName, + t, + categories, + values); series.addSwappableTable(getSwappableTable()); return series; } @@ -166,6 +167,7 @@ private void writeObject(java.io.ObjectOutputStream stream) { ////////////////////////////// CODE BELOW HERE IS GENERATED -- DO NOT EDIT BY HAND ////////////////////////////// ////////////////////////////// TO REGENERATE RUN GenerateMultiSeries ////////////////////////////// ////////////////////////////// AND THEN RUN GenerateFigureImmutable ////////////////////////////// +// @formatter:off @Override public void initializeSeries(CategoryDataSeriesInternal series) { $$initializeSeries$$(series); diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiOHLCSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiOHLCSeries.java index 44b04d1b8c1..82706d2aecd 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiOHLCSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiOHLCSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.multiseries; import io.deephaven.plot.AxesImpl; @@ -106,6 +106,7 @@ public String getCloseCol() { ////////////////////////////// CODE BELOW HERE IS GENERATED -- DO NOT EDIT BY HAND ////////////////////////////// ////////////////////////////// TO REGENERATE RUN GenerateMultiSeries ////////////////////////////// ////////////////////////////// AND THEN RUN GenerateFigureImmutable ////////////////////////////// +// @formatter:off @Override public void initializeSeries(OHLCDataSeriesInternal series) { $$initializeSeries$$(series); diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiOHLCSeriesSwappable.java b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiOHLCSeriesSwappable.java index abe1b9f987a..5c71a296ebd 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiOHLCSeriesSwappable.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiOHLCSeriesSwappable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.multiseries; import io.deephaven.plot.AxesImpl; @@ -88,6 +88,7 @@ public OHLCDataSeriesInternal createSeries(String seriesName, final BaseTable t, ////////////////////////////// CODE BELOW HERE IS GENERATED -- DO NOT EDIT BY HAND ////////////////////////////// ////////////////////////////// TO REGENERATE RUN GenerateMultiSeries ////////////////////////////// ////////////////////////////// AND THEN RUN GenerateFigureImmutable ////////////////////////////// +// @formatter:off @Override public void initializeSeries(OHLCDataSeriesInternal series) { $$initializeSeries$$(series); diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiSeries.java index 736f0f1464f..ecc004378ca 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.multiseries; import io.deephaven.plot.Series; @@ -39,6 +39,7 @@ public interface MultiSeries extends Series { ////////////////////////////// CODE BELOW HERE IS GENERATED -- DO NOT EDIT BY HAND ////////////////////////////// ////////////////////////////// TO REGENERATE RUN GenerateMultiSeries ////////////////////////////// ////////////////////////////// AND THEN RUN GenerateFigureImmutable ////////////////////////////// +// @formatter:off MultiSeries pointColor(final groovy.lang.Closure pointColor, final Object... multiSeriesKey); diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiSeriesInternal.java b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiSeriesInternal.java index 6a517f1655c..4bd159ac5b6 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiSeriesInternal.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiSeriesInternal.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.multiseries; import io.deephaven.plot.AxesImpl; diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiXYErrorBarSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiXYErrorBarSeries.java index 13cf5911b5c..f1657ecfb57 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiXYErrorBarSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiXYErrorBarSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.multiseries; import io.deephaven.plot.AxesImpl; @@ -41,21 +41,24 @@ public class MultiXYErrorBarSeries extends AbstractPartitionedTableHandleMultiSe * @param byColumns column(s) in {@code t} that holds the grouping data */ public MultiXYErrorBarSeries(final AxesImpl axes, final int id, final Comparable name, - final TableBackedPartitionedTableHandle partitionedTableHandle, final String x, final String xLow, final String xHigh, - final String y, final String yLow, final String yHigh, final String[] byColumns, final boolean drawXError, - final boolean drawYError) { + final TableBackedPartitionedTableHandle partitionedTableHandle, final String x, final String xLow, + final String xHigh, + final String y, final String yLow, final String yHigh, final String[] byColumns, final boolean drawXError, + final boolean drawYError) { super(axes, id, name, partitionedTableHandle, x, y, byColumns); ArgumentValidations.assertIsNumericOrTime(partitionedTableHandle.getTableDefinition(), x, getPlotInfo()); ArgumentValidations.assertIsNumericOrTime(partitionedTableHandle.getTableDefinition(), y, getPlotInfo()); if (drawXError) { ArgumentValidations.assertIsNumericOrTime(partitionedTableHandle.getTableDefinition(), xLow, getPlotInfo()); - ArgumentValidations.assertIsNumericOrTime(partitionedTableHandle.getTableDefinition(), xHigh, getPlotInfo()); + ArgumentValidations.assertIsNumericOrTime(partitionedTableHandle.getTableDefinition(), xHigh, + getPlotInfo()); } if (drawYError) { ArgumentValidations.assertIsNumericOrTime(partitionedTableHandle.getTableDefinition(), yLow, getPlotInfo()); - ArgumentValidations.assertIsNumericOrTime(partitionedTableHandle.getTableDefinition(), yHigh, getPlotInfo()); + ArgumentValidations.assertIsNumericOrTime(partitionedTableHandle.getTableDefinition(), yHigh, + getPlotInfo()); } this.x = x; @@ -134,6 +137,7 @@ public String getYHigh() { ////////////////////////////// CODE BELOW HERE IS GENERATED -- DO NOT EDIT BY HAND ////////////////////////////// ////////////////////////////// TO REGENERATE RUN GenerateMultiSeries ////////////////////////////// ////////////////////////////// AND THEN RUN GenerateFigureImmutable ////////////////////////////// +// @formatter:off @Override public void initializeSeries(XYErrorBarDataSeriesInternal series) { $$initializeSeries$$(series); diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiXYErrorBarSeriesSwappable.java b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiXYErrorBarSeriesSwappable.java index f24459d3efc..9cc66d3a040 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiXYErrorBarSeriesSwappable.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiXYErrorBarSeriesSwappable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.multiseries; import io.deephaven.plot.AxesImpl; @@ -106,6 +106,7 @@ public XYErrorBarDataSeriesInternal createSeries(String seriesName, final BaseTa ////////////////////////////// CODE BELOW HERE IS GENERATED -- DO NOT EDIT BY HAND ////////////////////////////// ////////////////////////////// TO REGENERATE RUN GenerateMultiSeries ////////////////////////////// ////////////////////////////// AND THEN RUN GenerateFigureImmutable ////////////////////////////// +// @formatter:off @Override public void initializeSeries(XYErrorBarDataSeriesInternal series) { $$initializeSeries$$(series); diff --git a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiXYSeries.java b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiXYSeries.java index f009fa4fb55..dce110311c4 100644 --- a/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiXYSeries.java +++ b/Plot/src/main/java/io/deephaven/plot/datasets/multiseries/MultiXYSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plot.datasets.multiseries; import io.deephaven.plot.AxesImpl; @@ -34,8 +34,8 @@ public class MultiXYSeries extends AbstractPartitionedTableHandleMultiSeries diff --git a/cpp-client/deephaven/dhclient/include/private/deephaven/client/arrowutil/arrow_value_converter.h b/cpp-client/deephaven/dhclient/include/private/deephaven/client/arrowutil/arrow_value_converter.h index b0095e55669..1492a7b4677 100644 --- a/cpp-client/deephaven/dhclient/include/private/deephaven/client/arrowutil/arrow_value_converter.h +++ b/cpp-client/deephaven/dhclient/include/private/deephaven/client/arrowutil/arrow_value_converter.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/private/deephaven/client/arrowutil/arrow_visitors.h b/cpp-client/deephaven/dhclient/include/private/deephaven/client/arrowutil/arrow_visitors.h index a8503d8a0e0..1bbc76b5b62 100644 --- a/cpp-client/deephaven/dhclient/include/private/deephaven/client/arrowutil/arrow_visitors.h +++ b/cpp-client/deephaven/dhclient/include/private/deephaven/client/arrowutil/arrow_visitors.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/aggregate_impl.h b/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/aggregate_impl.h index fc87ef7368b..323f779e053 100644 --- a/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/aggregate_impl.h +++ b/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/aggregate_impl.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/client_impl.h b/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/client_impl.h index 393609f0014..d09027739f4 100644 --- a/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/client_impl.h +++ b/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/client_impl.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/table_handle_impl.h b/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/table_handle_impl.h index e72dcdb3cbb..6229befb7bd 100644 --- a/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/table_handle_impl.h +++ b/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/table_handle_impl.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/table_handle_manager_impl.h b/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/table_handle_manager_impl.h index 48571900354..5ba27c072d2 100644 --- a/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/table_handle_manager_impl.h +++ b/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/table_handle_manager_impl.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/update_by_operation_impl.h b/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/update_by_operation_impl.h index 1a9e4afbcc8..da7def59675 100644 --- a/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/update_by_operation_impl.h +++ b/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/update_by_operation_impl.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/util.h b/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/util.h index 903d2fad02f..c464791dada 100644 --- a/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/util.h +++ b/cpp-client/deephaven/dhclient/include/private/deephaven/client/impl/util.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/private/deephaven/client/server/server.h b/cpp-client/deephaven/dhclient/include/private/deephaven/client/server/server.h index 3025352774e..1e3b35f5f67 100644 --- a/cpp-client/deephaven/dhclient/include/private/deephaven/client/server/server.h +++ b/cpp-client/deephaven/dhclient/include/private/deephaven/client/server/server.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/private/deephaven/client/subscription/subscribe_thread.h b/cpp-client/deephaven/dhclient/include/private/deephaven/client/subscription/subscribe_thread.h index cfd267f4be8..2132c9e7eb0 100644 --- a/cpp-client/deephaven/dhclient/include/private/deephaven/client/subscription/subscribe_thread.h +++ b/cpp-client/deephaven/dhclient/include/private/deephaven/client/subscription/subscribe_thread.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/private/deephaven/client/subscription/subscription_handle.h b/cpp-client/deephaven/dhclient/include/private/deephaven/client/subscription/subscription_handle.h index 2199f3afb20..bfad5a5342d 100644 --- a/cpp-client/deephaven/dhclient/include/private/deephaven/client/subscription/subscription_handle.h +++ b/cpp-client/deephaven/dhclient/include/private/deephaven/client/subscription/subscription_handle.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/private/deephaven/client/utility/executor.h b/cpp-client/deephaven/dhclient/include/private/deephaven/client/utility/executor.h index a714650d267..1a642ee5cb4 100644 --- a/cpp-client/deephaven/dhclient/include/private/deephaven/client/utility/executor.h +++ b/cpp-client/deephaven/dhclient/include/private/deephaven/client/utility/executor.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/public/deephaven/client/client.h b/cpp-client/deephaven/dhclient/include/public/deephaven/client/client.h index d40d0bed805..67d1279416d 100644 --- a/cpp-client/deephaven/dhclient/include/public/deephaven/client/client.h +++ b/cpp-client/deephaven/dhclient/include/public/deephaven/client/client.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/public/deephaven/client/client_options.h b/cpp-client/deephaven/dhclient/include/public/deephaven/client/client_options.h index 3be53541786..35a486ee7f8 100644 --- a/cpp-client/deephaven/dhclient/include/public/deephaven/client/client_options.h +++ b/cpp-client/deephaven/dhclient/include/public/deephaven/client/client_options.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/public/deephaven/client/flight.h b/cpp-client/deephaven/dhclient/include/public/deephaven/client/flight.h index 2c14fa528b6..617a893c3c3 100644 --- a/cpp-client/deephaven/dhclient/include/public/deephaven/client/flight.h +++ b/cpp-client/deephaven/dhclient/include/public/deephaven/client/flight.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/public/deephaven/client/update_by.h b/cpp-client/deephaven/dhclient/include/public/deephaven/client/update_by.h index f2d722718e1..9c9b8a96d56 100644 --- a/cpp-client/deephaven/dhclient/include/public/deephaven/client/update_by.h +++ b/cpp-client/deephaven/dhclient/include/public/deephaven/client/update_by.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/public/deephaven/client/utility/arrow_util.h b/cpp-client/deephaven/dhclient/include/public/deephaven/client/utility/arrow_util.h index 7b77f0fef15..59d42df5989 100644 --- a/cpp-client/deephaven/dhclient/include/public/deephaven/client/utility/arrow_util.h +++ b/cpp-client/deephaven/dhclient/include/public/deephaven/client/utility/arrow_util.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/public/deephaven/client/utility/misc_types.h b/cpp-client/deephaven/dhclient/include/public/deephaven/client/utility/misc_types.h index 323ea19a0eb..9d15b403af1 100644 --- a/cpp-client/deephaven/dhclient/include/public/deephaven/client/utility/misc_types.h +++ b/cpp-client/deephaven/dhclient/include/public/deephaven/client/utility/misc_types.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/include/public/deephaven/client/utility/table_maker.h b/cpp-client/deephaven/dhclient/include/public/deephaven/client/utility/table_maker.h index e807a328909..ff8761be48c 100644 --- a/cpp-client/deephaven/dhclient/include/public/deephaven/client/utility/table_maker.h +++ b/cpp-client/deephaven/dhclient/include/public/deephaven/client/utility/table_maker.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhclient/src/client.cc b/cpp-client/deephaven/dhclient/src/client.cc index b31b86b8aa9..8db23705304 100644 --- a/cpp-client/deephaven/dhclient/src/client.cc +++ b/cpp-client/deephaven/dhclient/src/client.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/client/client.h" diff --git a/cpp-client/deephaven/dhclient/src/client_options.cc b/cpp-client/deephaven/dhclient/src/client_options.cc index 95a935af17d..c25ebdb60e7 100644 --- a/cpp-client/deephaven/dhclient/src/client_options.cc +++ b/cpp-client/deephaven/dhclient/src/client_options.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/client/client_options.h" #include "deephaven/dhcore/utility/utility.h" diff --git a/cpp-client/deephaven/dhclient/src/flight.cc b/cpp-client/deephaven/dhclient/src/flight.cc index 165377785f6..838a3ceb62c 100644 --- a/cpp-client/deephaven/dhclient/src/flight.cc +++ b/cpp-client/deephaven/dhclient/src/flight.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/client/flight.h" #include "deephaven/client/impl/table_handle_impl.h" diff --git a/cpp-client/deephaven/dhclient/src/impl/aggregate_impl.cc b/cpp-client/deephaven/dhclient/src/impl/aggregate_impl.cc index 5908cb4cfbe..ecd714dc2b4 100644 --- a/cpp-client/deephaven/dhclient/src/impl/aggregate_impl.cc +++ b/cpp-client/deephaven/dhclient/src/impl/aggregate_impl.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/client/impl/aggregate_impl.h" diff --git a/cpp-client/deephaven/dhclient/src/impl/client_impl.cc b/cpp-client/deephaven/dhclient/src/impl/client_impl.cc index f1c3b03806b..ece8a231404 100644 --- a/cpp-client/deephaven/dhclient/src/impl/client_impl.cc +++ b/cpp-client/deephaven/dhclient/src/impl/client_impl.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/client/impl/client_impl.h" diff --git a/cpp-client/deephaven/dhclient/src/impl/table_handle_impl.cc b/cpp-client/deephaven/dhclient/src/impl/table_handle_impl.cc index d10d4c1e8b2..c89610d4900 100644 --- a/cpp-client/deephaven/dhclient/src/impl/table_handle_impl.cc +++ b/cpp-client/deephaven/dhclient/src/impl/table_handle_impl.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/client/impl/table_handle_impl.h" diff --git a/cpp-client/deephaven/dhclient/src/impl/table_handle_manager_impl.cc b/cpp-client/deephaven/dhclient/src/impl/table_handle_manager_impl.cc index 0cc71bbc6ca..2b5babeea5f 100644 --- a/cpp-client/deephaven/dhclient/src/impl/table_handle_manager_impl.cc +++ b/cpp-client/deephaven/dhclient/src/impl/table_handle_manager_impl.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/client/impl/table_handle_manager_impl.h" diff --git a/cpp-client/deephaven/dhclient/src/impl/update_by_operation_impl.cc b/cpp-client/deephaven/dhclient/src/impl/update_by_operation_impl.cc index e900fe88d15..d93f749ce55 100644 --- a/cpp-client/deephaven/dhclient/src/impl/update_by_operation_impl.cc +++ b/cpp-client/deephaven/dhclient/src/impl/update_by_operation_impl.cc @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/client/impl/update_by_operation_impl.h" diff --git a/cpp-client/deephaven/dhclient/src/server/server.cc b/cpp-client/deephaven/dhclient/src/server/server.cc index e759cc4e796..ccd39bf6eac 100644 --- a/cpp-client/deephaven/dhclient/src/server/server.cc +++ b/cpp-client/deephaven/dhclient/src/server/server.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/client/server/server.h" diff --git a/cpp-client/deephaven/dhclient/src/subscription/subscribe_thread.cc b/cpp-client/deephaven/dhclient/src/subscription/subscribe_thread.cc index f11fd59f587..7c45533023b 100644 --- a/cpp-client/deephaven/dhclient/src/subscription/subscribe_thread.cc +++ b/cpp-client/deephaven/dhclient/src/subscription/subscribe_thread.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/client/subscription/subscribe_thread.h" diff --git a/cpp-client/deephaven/dhclient/src/update_by.cc b/cpp-client/deephaven/dhclient/src/update_by.cc index 05bd54aebd5..23e5c01787a 100644 --- a/cpp-client/deephaven/dhclient/src/update_by.cc +++ b/cpp-client/deephaven/dhclient/src/update_by.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/client/client.h" diff --git a/cpp-client/deephaven/dhclient/src/utility/arrow_util.cc b/cpp-client/deephaven/dhclient/src/utility/arrow_util.cc index 6ddc9f83925..c3061fddc47 100644 --- a/cpp-client/deephaven/dhclient/src/utility/arrow_util.cc +++ b/cpp-client/deephaven/dhclient/src/utility/arrow_util.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/client/utility/arrow_util.h" diff --git a/cpp-client/deephaven/dhclient/src/utility/executor.cc b/cpp-client/deephaven/dhclient/src/utility/executor.cc index 1cd4f812c87..4d25d0274ae 100644 --- a/cpp-client/deephaven/dhclient/src/utility/executor.cc +++ b/cpp-client/deephaven/dhclient/src/utility/executor.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/client/utility/executor.h" diff --git a/cpp-client/deephaven/dhclient/src/utility/table_maker.cc b/cpp-client/deephaven/dhclient/src/utility/table_maker.cc index ba624f520ab..fc0c41c1a1f 100644 --- a/cpp-client/deephaven/dhclient/src/utility/table_maker.cc +++ b/cpp-client/deephaven/dhclient/src/utility/table_maker.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/client/flight.h" #include "deephaven/client/utility/table_maker.h" diff --git a/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/immerutil/abstract_flex_vector.h b/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/immerutil/abstract_flex_vector.h index 978b3ef5e02..110ec765784 100644 --- a/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/immerutil/abstract_flex_vector.h +++ b/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/immerutil/abstract_flex_vector.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/immerutil/immer_column_source.h b/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/immerutil/immer_column_source.h index 04d6a944dba..9c6c316a86d 100644 --- a/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/immerutil/immer_column_source.h +++ b/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/immerutil/immer_column_source.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once #include diff --git a/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/immer_table_state.h b/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/immer_table_state.h index e706f8b0d27..7f064f171a5 100644 --- a/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/immer_table_state.h +++ b/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/immer_table_state.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once #include diff --git a/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/index_decoder.h b/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/index_decoder.h index d19ca883b8b..c2171bb082a 100644 --- a/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/index_decoder.h +++ b/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/index_decoder.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/shift_processor.h b/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/shift_processor.h index b890dc3f41c..755a7c55e9b 100644 --- a/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/shift_processor.h +++ b/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/shift_processor.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/space_mapper.h b/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/space_mapper.h index 0fbb44d3dda..58c0fcf8513 100644 --- a/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/space_mapper.h +++ b/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/space_mapper.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/subscription_handle.h b/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/subscription_handle.h index 23a88d00698..e57c3ed8b77 100644 --- a/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/subscription_handle.h +++ b/cpp-client/deephaven/dhcore/include/private/deephaven/dhcore/ticking/subscription_handle.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/chunk/chunk.h b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/chunk/chunk.h index 972bc1878c8..27e80f6536e 100644 --- a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/chunk/chunk.h +++ b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/chunk/chunk.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/chunk/chunk_maker.h b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/chunk/chunk_maker.h index 2a7db4d72ac..b1c16540ec9 100644 --- a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/chunk/chunk_maker.h +++ b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/chunk/chunk_maker.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/chunk/chunk_traits.h b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/chunk/chunk_traits.h index 616dfdcfc14..cae2c5bd053 100644 --- a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/chunk/chunk_traits.h +++ b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/chunk/chunk_traits.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/clienttable/client_table.h b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/clienttable/client_table.h index 642307eca5a..146b872ccfe 100644 --- a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/clienttable/client_table.h +++ b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/clienttable/client_table.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/clienttable/schema.h b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/clienttable/schema.h index 3f3bcfc4e62..fca7665bcbb 100644 --- a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/clienttable/schema.h +++ b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/clienttable/schema.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/array_column_source.h b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/array_column_source.h index b2c1e5b3dbf..16e5bb5947b 100644 --- a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/array_column_source.h +++ b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/array_column_source.h @@ -1,7 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ - #pragma once #include "deephaven/dhcore/chunk/chunk.h" diff --git a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/buffer_column_source.h b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/buffer_column_source.h index 9e9ce9e5007..0391b262678 100644 --- a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/buffer_column_source.h +++ b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/buffer_column_source.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/column_source.h b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/column_source.h index 7d01b99a947..6322a4587de 100644 --- a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/column_source.h +++ b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/column_source.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/column_source_helpers.h b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/column_source_helpers.h index 2f1c87a883e..7beb39dbcba 100644 --- a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/column_source_helpers.h +++ b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/column_source_helpers.h @@ -1,3 +1,6 @@ +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending + */ #pragma once #include diff --git a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/column_source_utils.h b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/column_source_utils.h index 83df89f9ecb..0ef207b78e1 100644 --- a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/column_source_utils.h +++ b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/column/column_source_utils.h @@ -1,3 +1,6 @@ +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending + */ #pragma once #include diff --git a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/container/row_sequence.h b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/container/row_sequence.h index d3cc4bcd4cb..dd68863d85c 100644 --- a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/container/row_sequence.h +++ b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/container/row_sequence.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/ticking/barrage_processor.h b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/ticking/barrage_processor.h index 149648d0863..a130daa21f5 100644 --- a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/ticking/barrage_processor.h +++ b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/ticking/barrage_processor.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/ticking/ticking.h b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/ticking/ticking.h index 63eee5661d8..c1fe22e101c 100644 --- a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/ticking/ticking.h +++ b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/ticking/ticking.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/types.h b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/types.h index 4cc8cd13373..b00dc65f807 100644 --- a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/types.h +++ b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/types.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/utility/cython_support.h b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/utility/cython_support.h index ffc21d1b84e..a2718952636 100644 --- a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/utility/cython_support.h +++ b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/utility/cython_support.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/utility/utility.h b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/utility/utility.h index b435be17869..12ac01e6f4a 100644 --- a/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/utility/utility.h +++ b/cpp-client/deephaven/dhcore/include/public/deephaven/dhcore/utility/utility.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/dhcore/src/chunk/chunk.cc b/cpp-client/deephaven/dhcore/src/chunk/chunk.cc index 444d3ad37d2..44012381dc4 100644 --- a/cpp-client/deephaven/dhcore/src/chunk/chunk.cc +++ b/cpp-client/deephaven/dhcore/src/chunk/chunk.cc @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/dhcore/chunk/chunk.h" #include "deephaven/dhcore/utility/utility.h" diff --git a/cpp-client/deephaven/dhcore/src/chunk/chunk_maker.cc b/cpp-client/deephaven/dhcore/src/chunk/chunk_maker.cc index 7ee77ebd6b0..e62cced69d8 100644 --- a/cpp-client/deephaven/dhcore/src/chunk/chunk_maker.cc +++ b/cpp-client/deephaven/dhcore/src/chunk/chunk_maker.cc @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/dhcore/chunk/chunk_maker.h" diff --git a/cpp-client/deephaven/dhcore/src/clienttable/client_table.cc b/cpp-client/deephaven/dhcore/src/clienttable/client_table.cc index e65479bb473..ffdb00f7c12 100644 --- a/cpp-client/deephaven/dhcore/src/clienttable/client_table.cc +++ b/cpp-client/deephaven/dhcore/src/clienttable/client_table.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/dhcore/clienttable/client_table.h" diff --git a/cpp-client/deephaven/dhcore/src/clienttable/schema.cc b/cpp-client/deephaven/dhcore/src/clienttable/schema.cc index 2db71b9cb8a..f50660fc967 100644 --- a/cpp-client/deephaven/dhcore/src/clienttable/schema.cc +++ b/cpp-client/deephaven/dhcore/src/clienttable/schema.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/dhcore/clienttable/schema.h" #include "deephaven/dhcore/utility/utility.h" diff --git a/cpp-client/deephaven/dhcore/src/column/array_column_source.cc b/cpp-client/deephaven/dhcore/src/column/array_column_source.cc index e33d7d8cb14..4dfb043afa8 100644 --- a/cpp-client/deephaven/dhcore/src/column/array_column_source.cc +++ b/cpp-client/deephaven/dhcore/src/column/array_column_source.cc @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include "deephaven/dhcore/column/array_column_source.h" diff --git a/cpp-client/deephaven/dhcore/src/column/column_source.cc b/cpp-client/deephaven/dhcore/src/column/column_source.cc index 12006a333fc..3a350f9baed 100644 --- a/cpp-client/deephaven/dhcore/src/column/column_source.cc +++ b/cpp-client/deephaven/dhcore/src/column/column_source.cc @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/dhcore/column/column_source.h" diff --git a/cpp-client/deephaven/dhcore/src/column/column_source_helpers.cc b/cpp-client/deephaven/dhcore/src/column/column_source_helpers.cc index d06add63316..44020a85874 100644 --- a/cpp-client/deephaven/dhcore/src/column/column_source_helpers.cc +++ b/cpp-client/deephaven/dhcore/src/column/column_source_helpers.cc @@ -1,3 +1,6 @@ +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending + */ #include "deephaven/dhcore/column/column_source_helpers.h" namespace deephaven::dhcore::column::internal { diff --git a/cpp-client/deephaven/dhcore/src/column/column_source_utils.cc b/cpp-client/deephaven/dhcore/src/column/column_source_utils.cc index 546f0c6e0f6..dec1482b5ca 100644 --- a/cpp-client/deephaven/dhcore/src/column/column_source_utils.cc +++ b/cpp-client/deephaven/dhcore/src/column/column_source_utils.cc @@ -1,7 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ - #include "deephaven/dhcore/column/column_source_utils.h" #include "deephaven/third_party/fmt/format.h" diff --git a/cpp-client/deephaven/dhcore/src/container/row_sequence.cc b/cpp-client/deephaven/dhcore/src/container/row_sequence.cc index 0eaef4647dd..ba0a35a061a 100644 --- a/cpp-client/deephaven/dhcore/src/container/row_sequence.cc +++ b/cpp-client/deephaven/dhcore/src/container/row_sequence.cc @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/dhcore/container/row_sequence.h" diff --git a/cpp-client/deephaven/dhcore/src/immerutil/abstract_flex_vector.cc b/cpp-client/deephaven/dhcore/src/immerutil/abstract_flex_vector.cc index 7d69091440c..3b2eca780ba 100644 --- a/cpp-client/deephaven/dhcore/src/immerutil/abstract_flex_vector.cc +++ b/cpp-client/deephaven/dhcore/src/immerutil/abstract_flex_vector.cc @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/dhcore/chunk/chunk.h" #include "deephaven/dhcore/chunk/chunk_maker.h" diff --git a/cpp-client/deephaven/dhcore/src/immerutil/immer_column_source.cc b/cpp-client/deephaven/dhcore/src/immerutil/immer_column_source.cc index 35dba7b30c2..cc3d50593e2 100644 --- a/cpp-client/deephaven/dhcore/src/immerutil/immer_column_source.cc +++ b/cpp-client/deephaven/dhcore/src/immerutil/immer_column_source.cc @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/dhcore/immerutil/immer_column_source.h" diff --git a/cpp-client/deephaven/dhcore/src/ticking/barrage_processor.cc b/cpp-client/deephaven/dhcore/src/ticking/barrage_processor.cc index fd44a45d190..f4f45e1b391 100644 --- a/cpp-client/deephaven/dhcore/src/ticking/barrage_processor.cc +++ b/cpp-client/deephaven/dhcore/src/ticking/barrage_processor.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/dhcore/ticking/barrage_processor.h" diff --git a/cpp-client/deephaven/dhcore/src/ticking/immer_table_state.cc b/cpp-client/deephaven/dhcore/src/ticking/immer_table_state.cc index 00291cd7f39..0dae82f474c 100644 --- a/cpp-client/deephaven/dhcore/src/ticking/immer_table_state.cc +++ b/cpp-client/deephaven/dhcore/src/ticking/immer_table_state.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/dhcore/ticking/immer_table_state.h" diff --git a/cpp-client/deephaven/dhcore/src/ticking/index_decoder.cc b/cpp-client/deephaven/dhcore/src/ticking/index_decoder.cc index 028bd689010..b967791c2f3 100644 --- a/cpp-client/deephaven/dhcore/src/ticking/index_decoder.cc +++ b/cpp-client/deephaven/dhcore/src/ticking/index_decoder.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/dhcore/ticking/index_decoder.h" diff --git a/cpp-client/deephaven/dhcore/src/ticking/shift_processor.cc b/cpp-client/deephaven/dhcore/src/ticking/shift_processor.cc index 869c51f3e81..00e54be77c1 100644 --- a/cpp-client/deephaven/dhcore/src/ticking/shift_processor.cc +++ b/cpp-client/deephaven/dhcore/src/ticking/shift_processor.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/dhcore/ticking/shift_processor.h" #include "deephaven/dhcore/utility/utility.h" diff --git a/cpp-client/deephaven/dhcore/src/ticking/space_mapper.cc b/cpp-client/deephaven/dhcore/src/ticking/space_mapper.cc index 0474f50689b..dca6078a05d 100644 --- a/cpp-client/deephaven/dhcore/src/ticking/space_mapper.cc +++ b/cpp-client/deephaven/dhcore/src/ticking/space_mapper.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/dhcore/container/row_sequence.h" #include "deephaven/dhcore/ticking/space_mapper.h" diff --git a/cpp-client/deephaven/dhcore/src/ticking/ticking.cc b/cpp-client/deephaven/dhcore/src/ticking/ticking.cc index 16c1320f9a3..e80c4c8948d 100644 --- a/cpp-client/deephaven/dhcore/src/ticking/ticking.cc +++ b/cpp-client/deephaven/dhcore/src/ticking/ticking.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/dhcore/container/row_sequence.h" #include "deephaven/dhcore/ticking/ticking.h" diff --git a/cpp-client/deephaven/dhcore/src/types.cc b/cpp-client/deephaven/dhcore/src/types.cc index f58578cbf26..3f92f7051bc 100644 --- a/cpp-client/deephaven/dhcore/src/types.cc +++ b/cpp-client/deephaven/dhcore/src/types.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/dhcore/types.h" diff --git a/cpp-client/deephaven/dhcore/src/utility/cython_support.cc b/cpp-client/deephaven/dhcore/src/utility/cython_support.cc index 97d8a34d49c..2cde6fd972d 100644 --- a/cpp-client/deephaven/dhcore/src/utility/cython_support.cc +++ b/cpp-client/deephaven/dhcore/src/utility/cython_support.cc @@ -1,3 +1,6 @@ +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending + */ #include "deephaven/dhcore/utility/cython_support.h" #include diff --git a/cpp-client/deephaven/dhcore/src/utility/utility.cc b/cpp-client/deephaven/dhcore/src/utility/utility.cc index e7fdc89b497..e01e38aac5a 100644 --- a/cpp-client/deephaven/dhcore/src/utility/utility.cc +++ b/cpp-client/deephaven/dhcore/src/utility/utility.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "deephaven/dhcore/utility/utility.h" diff --git a/cpp-client/deephaven/examples/create_table_with_arrow_flight/main.cc b/cpp-client/deephaven/examples/create_table_with_arrow_flight/main.cc index e67ea26037d..d3ac871ca6f 100644 --- a/cpp-client/deephaven/examples/create_table_with_arrow_flight/main.cc +++ b/cpp-client/deephaven/examples/create_table_with_arrow_flight/main.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include "deephaven/client/client.h" diff --git a/cpp-client/deephaven/examples/create_table_with_table_maker/main.cc b/cpp-client/deephaven/examples/create_table_with_table_maker/main.cc index 4c50be7c1b2..ed74ba53a0c 100644 --- a/cpp-client/deephaven/examples/create_table_with_table_maker/main.cc +++ b/cpp-client/deephaven/examples/create_table_with_table_maker/main.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include "deephaven/client/client.h" diff --git a/cpp-client/deephaven/examples/demos/chapter1.cc b/cpp-client/deephaven/examples/demos/chapter1.cc index aa9dfaf8f9e..51f24a3e32e 100644 --- a/cpp-client/deephaven/examples/demos/chapter1.cc +++ b/cpp-client/deephaven/examples/demos/chapter1.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include diff --git a/cpp-client/deephaven/examples/demos/chapter2.cc b/cpp-client/deephaven/examples/demos/chapter2.cc index 8d2bc9e9803..9eb62c95050 100644 --- a/cpp-client/deephaven/examples/demos/chapter2.cc +++ b/cpp-client/deephaven/examples/demos/chapter2.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include diff --git a/cpp-client/deephaven/examples/demos/chapter3.cc b/cpp-client/deephaven/examples/demos/chapter3.cc index a3efb70116b..864394b3a80 100644 --- a/cpp-client/deephaven/examples/demos/chapter3.cc +++ b/cpp-client/deephaven/examples/demos/chapter3.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include diff --git a/cpp-client/deephaven/examples/hello_world/main.cc b/cpp-client/deephaven/examples/hello_world/main.cc index c09f0639771..a069f54e398 100644 --- a/cpp-client/deephaven/examples/hello_world/main.cc +++ b/cpp-client/deephaven/examples/hello_world/main.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include diff --git a/cpp-client/deephaven/examples/read_csv/main.cc b/cpp-client/deephaven/examples/read_csv/main.cc index baad5226d82..5fd44bfc91c 100644 --- a/cpp-client/deephaven/examples/read_csv/main.cc +++ b/cpp-client/deephaven/examples/read_csv/main.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include diff --git a/cpp-client/deephaven/examples/read_table_with_arrow_flight/main.cc b/cpp-client/deephaven/examples/read_table_with_arrow_flight/main.cc index 4c74b782a52..86588a32b58 100644 --- a/cpp-client/deephaven/examples/read_table_with_arrow_flight/main.cc +++ b/cpp-client/deephaven/examples/read_table_with_arrow_flight/main.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include "deephaven/client/client.h" diff --git a/cpp-client/deephaven/examples/table_cleanup/main.cc b/cpp-client/deephaven/examples/table_cleanup/main.cc index 9f890aff754..4908da9027e 100644 --- a/cpp-client/deephaven/examples/table_cleanup/main.cc +++ b/cpp-client/deephaven/examples/table_cleanup/main.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include "deephaven/client/client.h" diff --git a/cpp-client/deephaven/tests/add_drop_test.cc b/cpp-client/deephaven/tests/add_drop_test.cc index 3d2e7c90d76..ab73fc4cdbe 100644 --- a/cpp-client/deephaven/tests/add_drop_test.cc +++ b/cpp-client/deephaven/tests/add_drop_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "tests/third_party/catch.hpp" #include "tests/test_util.h" diff --git a/cpp-client/deephaven/tests/aggregates_test.cc b/cpp-client/deephaven/tests/aggregates_test.cc index 3c7e45a0d7c..e10c281c922 100644 --- a/cpp-client/deephaven/tests/aggregates_test.cc +++ b/cpp-client/deephaven/tests/aggregates_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "tests/third_party/catch.hpp" #include "tests/test_util.h" diff --git a/cpp-client/deephaven/tests/attributes_test.cc b/cpp-client/deephaven/tests/attributes_test.cc index a58598a2135..c3056437ed9 100644 --- a/cpp-client/deephaven/tests/attributes_test.cc +++ b/cpp-client/deephaven/tests/attributes_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include "tests/third_party/catch.hpp" diff --git a/cpp-client/deephaven/tests/basic_test.cc b/cpp-client/deephaven/tests/basic_test.cc index 66a6b607baf..ffbdd3da68c 100644 --- a/cpp-client/deephaven/tests/basic_test.cc +++ b/cpp-client/deephaven/tests/basic_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include "tests/third_party/catch.hpp" diff --git a/cpp-client/deephaven/tests/buffer_column_source_test.cc b/cpp-client/deephaven/tests/buffer_column_source_test.cc index 1e82c358ee8..9160ca7955e 100644 --- a/cpp-client/deephaven/tests/buffer_column_source_test.cc +++ b/cpp-client/deephaven/tests/buffer_column_source_test.cc @@ -1,7 +1,6 @@ /* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ - #include "deephaven/dhcore/chunk/chunk.h" #include "deephaven/dhcore/column/buffer_column_source.h" #include "deephaven/dhcore/container/row_sequence.h" diff --git a/cpp-client/deephaven/tests/cython_support_test.cc b/cpp-client/deephaven/tests/cython_support_test.cc index 8393618a55d..b9dfe3b8749 100644 --- a/cpp-client/deephaven/tests/cython_support_test.cc +++ b/cpp-client/deephaven/tests/cython_support_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include diff --git a/cpp-client/deephaven/tests/date_time_test.cc b/cpp-client/deephaven/tests/date_time_test.cc index 40f315dccc0..8125fd6895d 100644 --- a/cpp-client/deephaven/tests/date_time_test.cc +++ b/cpp-client/deephaven/tests/date_time_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "tests/third_party/catch.hpp" #include "deephaven/dhcore/types.h" diff --git a/cpp-client/deephaven/tests/filter_test.cc b/cpp-client/deephaven/tests/filter_test.cc index fceb54538f6..72445462aa8 100644 --- a/cpp-client/deephaven/tests/filter_test.cc +++ b/cpp-client/deephaven/tests/filter_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include "tests/third_party/catch.hpp" diff --git a/cpp-client/deephaven/tests/head_and_tail_test.cc b/cpp-client/deephaven/tests/head_and_tail_test.cc index 1f7bb9f717c..1b0ff03d6ab 100644 --- a/cpp-client/deephaven/tests/head_and_tail_test.cc +++ b/cpp-client/deephaven/tests/head_and_tail_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "tests/third_party/catch.hpp" #include "tests/test_util.h" diff --git a/cpp-client/deephaven/tests/input_table_test.cc b/cpp-client/deephaven/tests/input_table_test.cc index c970d3f8fde..118c446c41d 100644 --- a/cpp-client/deephaven/tests/input_table_test.cc +++ b/cpp-client/deephaven/tests/input_table_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "tests/third_party/catch.hpp" #include "tests/test_util.h" diff --git a/cpp-client/deephaven/tests/join_test.cc b/cpp-client/deephaven/tests/join_test.cc index 24b0ecc07e4..dc5c7372b0d 100644 --- a/cpp-client/deephaven/tests/join_test.cc +++ b/cpp-client/deephaven/tests/join_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "tests/third_party/catch.hpp" #include "tests/test_util.h" diff --git a/cpp-client/deephaven/tests/lastby_test.cc b/cpp-client/deephaven/tests/lastby_test.cc index 26105e35a29..5e216f9cd66 100644 --- a/cpp-client/deephaven/tests/lastby_test.cc +++ b/cpp-client/deephaven/tests/lastby_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "tests/third_party/catch.hpp" #include "tests/test_util.h" diff --git a/cpp-client/deephaven/tests/main.cc b/cpp-client/deephaven/tests/main.cc index 03224795d07..9b9826a3f43 100644 --- a/cpp-client/deephaven/tests/main.cc +++ b/cpp-client/deephaven/tests/main.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #define CATCH_CONFIG_MAIN #include "tests/third_party/catch.hpp" diff --git a/cpp-client/deephaven/tests/merge_tables_test.cc b/cpp-client/deephaven/tests/merge_tables_test.cc index fbdfb6f9d27..45635e9d6e2 100644 --- a/cpp-client/deephaven/tests/merge_tables_test.cc +++ b/cpp-client/deephaven/tests/merge_tables_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "tests/third_party/catch.hpp" #include "tests/test_util.h" diff --git a/cpp-client/deephaven/tests/new_table_test.cc b/cpp-client/deephaven/tests/new_table_test.cc index dce8ed2306d..aa91aeee298 100644 --- a/cpp-client/deephaven/tests/new_table_test.cc +++ b/cpp-client/deephaven/tests/new_table_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include diff --git a/cpp-client/deephaven/tests/on_close_cb_test.cc b/cpp-client/deephaven/tests/on_close_cb_test.cc index 1e371dfc6fa..b58ac836d53 100644 --- a/cpp-client/deephaven/tests/on_close_cb_test.cc +++ b/cpp-client/deephaven/tests/on_close_cb_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include "tests/third_party/catch.hpp" diff --git a/cpp-client/deephaven/tests/script_test.cc b/cpp-client/deephaven/tests/script_test.cc index 123c29b45f9..f1c714a78ac 100644 --- a/cpp-client/deephaven/tests/script_test.cc +++ b/cpp-client/deephaven/tests/script_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include "tests/third_party/catch.hpp" diff --git a/cpp-client/deephaven/tests/select_test.cc b/cpp-client/deephaven/tests/select_test.cc index 4f094e73b46..04a4a41148a 100644 --- a/cpp-client/deephaven/tests/select_test.cc +++ b/cpp-client/deephaven/tests/select_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include "tests/third_party/catch.hpp" diff --git a/cpp-client/deephaven/tests/sort_test.cc b/cpp-client/deephaven/tests/sort_test.cc index a6c81276699..2bea9936497 100644 --- a/cpp-client/deephaven/tests/sort_test.cc +++ b/cpp-client/deephaven/tests/sort_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "tests/third_party/catch.hpp" #include "tests/test_util.h" diff --git a/cpp-client/deephaven/tests/string_filter_test.cc b/cpp-client/deephaven/tests/string_filter_test.cc index b7993b0cf77..c8dd454cc4f 100644 --- a/cpp-client/deephaven/tests/string_filter_test.cc +++ b/cpp-client/deephaven/tests/string_filter_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "tests/third_party/catch.hpp" #include "tests/test_util.h" diff --git a/cpp-client/deephaven/tests/test_util.cc b/cpp-client/deephaven/tests/test_util.cc index d1db84e4503..d772dad9c15 100644 --- a/cpp-client/deephaven/tests/test_util.cc +++ b/cpp-client/deephaven/tests/test_util.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "test_util.h" #include diff --git a/cpp-client/deephaven/tests/test_util.h b/cpp-client/deephaven/tests/test_util.h index e0e71329bec..fcf0308bf77 100644 --- a/cpp-client/deephaven/tests/test_util.h +++ b/cpp-client/deephaven/tests/test_util.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +/* + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #pragma once diff --git a/cpp-client/deephaven/tests/ticking_test.cc b/cpp-client/deephaven/tests/ticking_test.cc index ffd3ef20e95..317697c366e 100644 --- a/cpp-client/deephaven/tests/ticking_test.cc +++ b/cpp-client/deephaven/tests/ticking_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include #include diff --git a/cpp-client/deephaven/tests/ungroup_test.cc b/cpp-client/deephaven/tests/ungroup_test.cc index 285e185fb1e..a085942c3d1 100644 --- a/cpp-client/deephaven/tests/ungroup_test.cc +++ b/cpp-client/deephaven/tests/ungroup_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "tests/third_party/catch.hpp" #include "tests/test_util.h" diff --git a/cpp-client/deephaven/tests/update_by_test.cc b/cpp-client/deephaven/tests/update_by_test.cc index 31c4485fda8..69253f73698 100644 --- a/cpp-client/deephaven/tests/update_by_test.cc +++ b/cpp-client/deephaven/tests/update_by_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "tests/third_party/catch.hpp" #include "tests/test_util.h" diff --git a/cpp-client/deephaven/tests/utility_test.cc b/cpp-client/deephaven/tests/utility_test.cc index 415ac8048dc..e03ad7ce408 100644 --- a/cpp-client/deephaven/tests/utility_test.cc +++ b/cpp-client/deephaven/tests/utility_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "tests/third_party/catch.hpp" #include "deephaven/dhcore/utility/utility.h" diff --git a/cpp-client/deephaven/tests/validation_test.cc b/cpp-client/deephaven/tests/validation_test.cc index 8e8d8f32107..3f2060ebab7 100644 --- a/cpp-client/deephaven/tests/validation_test.cc +++ b/cpp-client/deephaven/tests/validation_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "tests/third_party/catch.hpp" #include "tests/test_util.h" diff --git a/cpp-client/deephaven/tests/view_test.cc b/cpp-client/deephaven/tests/view_test.cc index 9f365470bcb..84ffb029177 100644 --- a/cpp-client/deephaven/tests/view_test.cc +++ b/cpp-client/deephaven/tests/view_test.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending + * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending */ #include "tests/third_party/catch.hpp" #include "tests/test_util.h" diff --git a/engine/api/src/main/java/io/deephaven/engine/exceptions/ArgumentException.java b/engine/api/src/main/java/io/deephaven/engine/exceptions/ArgumentException.java index 3ae82424518..b201bd8b799 100644 --- a/engine/api/src/main/java/io/deephaven/engine/exceptions/ArgumentException.java +++ b/engine/api/src/main/java/io/deephaven/engine/exceptions/ArgumentException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.exceptions; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/api/src/main/java/io/deephaven/engine/exceptions/NotSortableException.java b/engine/api/src/main/java/io/deephaven/engine/exceptions/NotSortableException.java index d3c27bdb150..057aeab08c5 100644 --- a/engine/api/src/main/java/io/deephaven/engine/exceptions/NotSortableException.java +++ b/engine/api/src/main/java/io/deephaven/engine/exceptions/NotSortableException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.exceptions; import java.util.Collection; diff --git a/engine/api/src/main/java/io/deephaven/engine/exceptions/OperationException.java b/engine/api/src/main/java/io/deephaven/engine/exceptions/OperationException.java index c93ce15ba82..e2a7e2abef4 100644 --- a/engine/api/src/main/java/io/deephaven/engine/exceptions/OperationException.java +++ b/engine/api/src/main/java/io/deephaven/engine/exceptions/OperationException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.exceptions; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/api/src/main/java/io/deephaven/engine/exceptions/OutOfKeySpaceException.java b/engine/api/src/main/java/io/deephaven/engine/exceptions/OutOfKeySpaceException.java index dafabad689a..4e9f7b103f4 100644 --- a/engine/api/src/main/java/io/deephaven/engine/exceptions/OutOfKeySpaceException.java +++ b/engine/api/src/main/java/io/deephaven/engine/exceptions/OutOfKeySpaceException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.exceptions; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/api/src/main/java/io/deephaven/engine/exceptions/OutOfOrderException.java b/engine/api/src/main/java/io/deephaven/engine/exceptions/OutOfOrderException.java index 9c7299c5478..22096139044 100644 --- a/engine/api/src/main/java/io/deephaven/engine/exceptions/OutOfOrderException.java +++ b/engine/api/src/main/java/io/deephaven/engine/exceptions/OutOfOrderException.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.exceptions; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/api/src/main/java/io/deephaven/engine/exceptions/StateException.java b/engine/api/src/main/java/io/deephaven/engine/exceptions/StateException.java index 741ed8c1edd..69154907c06 100644 --- a/engine/api/src/main/java/io/deephaven/engine/exceptions/StateException.java +++ b/engine/api/src/main/java/io/deephaven/engine/exceptions/StateException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.exceptions; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/api/src/main/java/io/deephaven/engine/exceptions/TableAccessException.java b/engine/api/src/main/java/io/deephaven/engine/exceptions/TableAccessException.java index b663be0b968..a4cbad1f766 100644 --- a/engine/api/src/main/java/io/deephaven/engine/exceptions/TableAccessException.java +++ b/engine/api/src/main/java/io/deephaven/engine/exceptions/TableAccessException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.exceptions; import io.deephaven.auth.AuthContext; diff --git a/engine/api/src/main/java/io/deephaven/engine/exceptions/TableIOException.java b/engine/api/src/main/java/io/deephaven/engine/exceptions/TableIOException.java index c4c72999f2b..914e9215949 100644 --- a/engine/api/src/main/java/io/deephaven/engine/exceptions/TableIOException.java +++ b/engine/api/src/main/java/io/deephaven/engine/exceptions/TableIOException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.exceptions; import org.jetbrains.annotations.NotNull; diff --git a/engine/api/src/main/java/io/deephaven/engine/exceptions/TableInitializationException.java b/engine/api/src/main/java/io/deephaven/engine/exceptions/TableInitializationException.java index dfd9faa12ce..c57f76378ea 100644 --- a/engine/api/src/main/java/io/deephaven/engine/exceptions/TableInitializationException.java +++ b/engine/api/src/main/java/io/deephaven/engine/exceptions/TableInitializationException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.exceptions; import org.jetbrains.annotations.NotNull; diff --git a/engine/api/src/main/java/io/deephaven/engine/exceptions/UncheckedPermissionException.java b/engine/api/src/main/java/io/deephaven/engine/exceptions/UncheckedPermissionException.java index 9a503e40b9c..aa7d641a0be 100644 --- a/engine/api/src/main/java/io/deephaven/engine/exceptions/UncheckedPermissionException.java +++ b/engine/api/src/main/java/io/deephaven/engine/exceptions/UncheckedPermissionException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.exceptions; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/api/src/main/java/io/deephaven/engine/exceptions/UncheckedTableException.java b/engine/api/src/main/java/io/deephaven/engine/exceptions/UncheckedTableException.java index 967c2bc6c94..4bcb3c00420 100644 --- a/engine/api/src/main/java/io/deephaven/engine/exceptions/UncheckedTableException.java +++ b/engine/api/src/main/java/io/deephaven/engine/exceptions/UncheckedTableException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.exceptions; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/AttributeMap.java b/engine/api/src/main/java/io/deephaven/engine/table/AttributeMap.java index 7688eea00c3..439a098c529 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/AttributeMap.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/AttributeMap.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.api.util.ConcurrentMethod; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/ChunkSink.java b/engine/api/src/main/java/io/deephaven/engine/table/ChunkSink.java index e3e6a9f7aa5..65185ffb165 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/ChunkSink.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/ChunkSink.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.chunk.*; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/ChunkSource.java b/engine/api/src/main/java/io/deephaven/engine/table/ChunkSource.java index 640851da109..db82c198b93 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/ChunkSource.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/ChunkSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.chunk.Chunk; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/ColumnDefinition.java b/engine/api/src/main/java/io/deephaven/engine/table/ColumnDefinition.java index e729a627bf8..ac59ed460dd 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/ColumnDefinition.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/ColumnDefinition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.base.log.LogOutput; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/ColumnSource.java b/engine/api/src/main/java/io/deephaven/engine/table/ColumnSource.java index 9299fcfca7b..bc574cad9ce 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/ColumnSource.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/ColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.base.verify.Require; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/Context.java b/engine/api/src/main/java/io/deephaven/engine/table/Context.java index 2774e5d4d43..e115175e722 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/Context.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/Context.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.util.SafeCloseable; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/DataColumn.java b/engine/api/src/main/java/io/deephaven/engine/table/DataColumn.java index 5bad08fd8bc..2144cd79c2f 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/DataColumn.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/DataColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.util.datastructures.LongSizedDataStructure; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/ElementSource.java b/engine/api/src/main/java/io/deephaven/engine/table/ElementSource.java index b424e179eaa..f5e37625666 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/ElementSource.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/ElementSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.util.QueryConstants; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/FillContextMaker.java b/engine/api/src/main/java/io/deephaven/engine/table/FillContextMaker.java index bd2c4ef0168..ae5a37d3d28 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/FillContextMaker.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/FillContextMaker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.chunk.WritableChunk; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/GetContextMaker.java b/engine/api/src/main/java/io/deephaven/engine/table/GetContextMaker.java index 4918f2ce4f9..3a007fbf829 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/GetContextMaker.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/GetContextMaker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.chunk.WritableChunk; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/GridAttributes.java b/engine/api/src/main/java/io/deephaven/engine/table/GridAttributes.java index 3cc485698ae..d09d1e917ef 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/GridAttributes.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/GridAttributes.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.api.util.ConcurrentMethod; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/ModifiedColumnSet.java b/engine/api/src/main/java/io/deephaven/engine/table/ModifiedColumnSet.java index 0008abc602f..394c5e9bd0b 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/ModifiedColumnSet.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/ModifiedColumnSet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import com.google.common.collect.Iterators; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/MultiJoinFactory.java b/engine/api/src/main/java/io/deephaven/engine/table/MultiJoinFactory.java index 1ec80b20b8e..b26b4937e6b 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/MultiJoinFactory.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/MultiJoinFactory.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.api.JoinMatch; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/MultiJoinInput.java b/engine/api/src/main/java/io/deephaven/engine/table/MultiJoinInput.java index c116a2adc1b..ee4afeab435 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/MultiJoinInput.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/MultiJoinInput.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.annotations.SimpleStyle; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/MultiJoinTable.java b/engine/api/src/main/java/io/deephaven/engine/table/MultiJoinTable.java index 80aa89ceb3c..6ed55180796 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/MultiJoinTable.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/MultiJoinTable.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import java.util.Collection; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/PartitionedTable.java b/engine/api/src/main/java/io/deephaven/engine/table/PartitionedTable.java index 375fc291a69..d8eec7aff55 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/PartitionedTable.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/PartitionedTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.api.SortColumn; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/PartitionedTableFactory.java b/engine/api/src/main/java/io/deephaven/engine/table/PartitionedTableFactory.java index f9908a3dc87..a88e16b6fed 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/PartitionedTableFactory.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/PartitionedTableFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import org.jetbrains.annotations.NotNull; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/Releasable.java b/engine/api/src/main/java/io/deephaven/engine/table/Releasable.java index d722a4705a4..505537e64ec 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/Releasable.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/Releasable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import javax.annotation.OverridingMethodsMustInvokeSuper; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/ResettableContext.java b/engine/api/src/main/java/io/deephaven/engine/table/ResettableContext.java index 7fc720585d2..29e681d5d97 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/ResettableContext.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/ResettableContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; /** diff --git a/engine/api/src/main/java/io/deephaven/engine/table/SharedContext.java b/engine/api/src/main/java/io/deephaven/engine/table/SharedContext.java index 5b7cba86e37..875d67aa9e2 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/SharedContext.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/SharedContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.util.SafeCloseable; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/ShiftObliviousListener.java b/engine/api/src/main/java/io/deephaven/engine/table/ShiftObliviousListener.java index 488a36bd67c..0bbce3747a1 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/ShiftObliviousListener.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/ShiftObliviousListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.engine.updategraph.NotificationQueue; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/Table.java b/engine/api/src/main/java/io/deephaven/engine/table/Table.java index 94138b1dab9..2fe32eab3b7 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/Table.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/Table.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.api.*; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/TableDefinition.java b/engine/api/src/main/java/io/deephaven/engine/table/TableDefinition.java index 45fe5a33a37..1933471cfef 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/TableDefinition.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/TableDefinition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/TableFactory.java b/engine/api/src/main/java/io/deephaven/engine/table/TableFactory.java index 16c7aaaab09..8532c06552a 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/TableFactory.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/TableFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.qst.TableCreator; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/TableListener.java b/engine/api/src/main/java/io/deephaven/engine/table/TableListener.java index 6b9a0478ee7..b0f6e260692 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/TableListener.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/TableListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.base.log.LogOutputAppendable; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/TableUpdate.java b/engine/api/src/main/java/io/deephaven/engine/table/TableUpdate.java index 2248392613d..17354f2a84e 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/TableUpdate.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/TableUpdate.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.base.log.LogOutput; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/TableUpdateListener.java b/engine/api/src/main/java/io/deephaven/engine/table/TableUpdateListener.java index e0a49f4453d..61786522f97 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/TableUpdateListener.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/TableUpdateListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.engine.updategraph.NotificationQueue; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/TupleExporter.java b/engine/api/src/main/java/io/deephaven/engine/table/TupleExporter.java index 4353ecc42f6..3244c0e2d2c 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/TupleExporter.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/TupleExporter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import org.jetbrains.annotations.NotNull; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/TupleSource.java b/engine/api/src/main/java/io/deephaven/engine/table/TupleSource.java index 1a93a12a580..23b0fb387fd 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/TupleSource.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/TupleSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.chunk.attributes.Values; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/TypeHelper.java b/engine/api/src/main/java/io/deephaven/engine/table/TypeHelper.java index e1029ebd21f..6326921b1a4 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/TypeHelper.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/TypeHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; class TypeHelper { diff --git a/engine/api/src/main/java/io/deephaven/engine/table/WouldMatchPair.java b/engine/api/src/main/java/io/deephaven/engine/table/WouldMatchPair.java index ddb64db2f47..2ed9c07b302 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/WouldMatchPair.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/WouldMatchPair.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.api.RawString; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/WritableColumnSource.java b/engine/api/src/main/java/io/deephaven/engine/table/WritableColumnSource.java index 996e63c8af8..25fb16e63ea 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/WritableColumnSource.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/WritableColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.chunk.*; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/WritableSourceWithPrepareForParallelPopulation.java b/engine/api/src/main/java/io/deephaven/engine/table/WritableSourceWithPrepareForParallelPopulation.java index aa9021a5877..1806044bb8a 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/WritableSourceWithPrepareForParallelPopulation.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/WritableSourceWithPrepareForParallelPopulation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.engine.rowset.RowSequence; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/FilterOperationsRecorder.java b/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/FilterOperationsRecorder.java index cac0b34e2d2..bdf9886df6f 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/FilterOperationsRecorder.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/FilterOperationsRecorder.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.hierarchical; import io.deephaven.api.filter.Filter; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/FormatOperationsRecorder.java b/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/FormatOperationsRecorder.java index 54f2916a9e3..1f322becde4 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/FormatOperationsRecorder.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/FormatOperationsRecorder.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.hierarchical; import io.deephaven.engine.table.Table; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/HierarchicalTable.java b/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/HierarchicalTable.java index 7583438a40f..8ed36465e43 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/HierarchicalTable.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/HierarchicalTable.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.hierarchical; import io.deephaven.api.ColumnName; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/RollupTable.java b/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/RollupTable.java index aabd9a502e2..e98156c3ffd 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/RollupTable.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/RollupTable.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.hierarchical; import io.deephaven.api.ColumnName; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/SortOperationsRecorder.java b/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/SortOperationsRecorder.java index c5086b5267b..c46e9a6b0c2 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/SortOperationsRecorder.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/SortOperationsRecorder.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.hierarchical; import io.deephaven.api.SortColumn; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/TreeTable.java b/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/TreeTable.java index cce8b4209dd..9d25c6997f3 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/TreeTable.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/hierarchical/TreeTable.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.hierarchical; import io.deephaven.api.*; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/impl/NoSuchColumnException.java b/engine/api/src/main/java/io/deephaven/engine/table/impl/NoSuchColumnException.java index 2b867f191b4..b2598a9be0f 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/impl/NoSuchColumnException.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/impl/NoSuchColumnException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import java.util.Collection; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ByteColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ByteColumnIterator.java index 06d49dc84b4..f92be27f14c 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ByteColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ByteColumnIterator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; import io.deephaven.engine.primitive.function.ByteToIntFunction; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/CharacterColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/CharacterColumnIterator.java index 3e68b5b5aa2..d2a12e400aa 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/CharacterColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/CharacterColumnIterator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.iterators; import io.deephaven.engine.primitive.function.CharToIntFunction; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedByteColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedByteColumnIterator.java index af865def889..5d4f4e03f3a 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedByteColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedByteColumnIterator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ChunkedCharacterColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ChunkedCharacterColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; // region ConsumerInterface diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedCharacterColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedCharacterColumnIterator.java index 133f1697706..aa1bedf1870 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedCharacterColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedCharacterColumnIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.iterators; // region ConsumerInterface diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedColumnIterator.java index f964c427e25..71d08190b09 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedColumnIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.iterators; import io.deephaven.base.verify.Require; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedDoubleColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedDoubleColumnIterator.java index f7e1e0cb11d..2d80bd562ee 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedDoubleColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedDoubleColumnIterator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ChunkedCharacterColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ChunkedCharacterColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; // region ConsumerInterface diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedFloatColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedFloatColumnIterator.java index 219c40fe0dc..1ba6963db1f 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedFloatColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedFloatColumnIterator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ChunkedCharacterColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ChunkedCharacterColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; // region ConsumerInterface diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedIntegerColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedIntegerColumnIterator.java index 0d18d767dc7..461c0d66794 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedIntegerColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedIntegerColumnIterator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ChunkedCharacterColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ChunkedCharacterColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; // region ConsumerInterface diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedLongColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedLongColumnIterator.java index bec9d13db4d..83578be5300 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedLongColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedLongColumnIterator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ChunkedCharacterColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ChunkedCharacterColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; // region ConsumerInterface diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedObjectColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedObjectColumnIterator.java index 1024ef57cbf..6a7771a1a66 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedObjectColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedObjectColumnIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.iterators; import io.deephaven.chunk.Chunk; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedShortColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedShortColumnIterator.java index dcaf50865b6..b07cb2189f4 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedShortColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ChunkedShortColumnIterator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ChunkedCharacterColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ChunkedCharacterColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; // region ConsumerInterface diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ColumnIterator.java index 9b037d40ab8..f8de5a2eaf6 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ColumnIterator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.iterators; import io.deephaven.engine.primitive.iterator.CloseableIterator; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/DoubleColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/DoubleColumnIterator.java index 73558e70b40..ca873327cf8 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/DoubleColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/DoubleColumnIterator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit IntegerColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntegerColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; import io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfDouble; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/FloatColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/FloatColumnIterator.java index a7d34bd8639..adaadf11fb5 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/FloatColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/FloatColumnIterator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; import io.deephaven.engine.primitive.function.FloatToDoubleFunction; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/IntegerColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/IntegerColumnIterator.java index 3e1d36c5926..f99de90a8f8 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/IntegerColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/IntegerColumnIterator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.iterators; import io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfInt; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/LongColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/LongColumnIterator.java index af03160fa72..204351fde32 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/LongColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/LongColumnIterator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit IntegerColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntegerColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; import io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfLong; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ObjectColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ObjectColumnIterator.java index ef7027ec39b..609a99c7a69 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ObjectColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ObjectColumnIterator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.iterators; import io.deephaven.util.annotations.FinalDefault; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialByteColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialByteColumnIterator.java index 373c5fc2ee2..f004b53020b 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialByteColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialByteColumnIterator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SerialCharacterColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SerialCharacterColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialCharacterColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialCharacterColumnIterator.java index 28aec9ed1d5..00ea2cee247 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialCharacterColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialCharacterColumnIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.iterators; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialColumnIterator.java index 42526ebd1cc..bbae5baf1a7 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialColumnIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.iterators; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialDoubleColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialDoubleColumnIterator.java index 4c71d369b30..5a11ae97979 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialDoubleColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialDoubleColumnIterator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SerialCharacterColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SerialCharacterColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialFloatColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialFloatColumnIterator.java index 8b54cb35852..14bd8ec9cf9 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialFloatColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialFloatColumnIterator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SerialCharacterColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SerialCharacterColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialIntegerColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialIntegerColumnIterator.java index e2fdacb140a..0e5b3908f8c 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialIntegerColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialIntegerColumnIterator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SerialCharacterColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SerialCharacterColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialLongColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialLongColumnIterator.java index b93d0ea83f5..e41861fe9a7 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialLongColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialLongColumnIterator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SerialCharacterColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SerialCharacterColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialObjectColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialObjectColumnIterator.java index 9034da3a2c1..88380cfe484 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialObjectColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialObjectColumnIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.iterators; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialShortColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialShortColumnIterator.java index cd60f5c56d3..dc191ab5d3e 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialShortColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/SerialShortColumnIterator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SerialCharacterColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SerialCharacterColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ShortColumnIterator.java b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ShortColumnIterator.java index 3f43956a4a7..1d80d2cd866 100644 --- a/engine/api/src/main/java/io/deephaven/engine/table/iterators/ShortColumnIterator.java +++ b/engine/api/src/main/java/io/deephaven/engine/table/iterators/ShortColumnIterator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterColumnIterator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterColumnIterator and run "./gradlew replicateColumnIterators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.iterators; import io.deephaven.engine.primitive.function.ShortToIntFunction; diff --git a/engine/api/src/test/java/io/deephaven/engine/table/ModifiedColumnSetTest.java b/engine/api/src/test/java/io/deephaven/engine/table/ModifiedColumnSetTest.java index 54128bfa39a..4a34595908d 100644 --- a/engine/api/src/test/java/io/deephaven/engine/table/ModifiedColumnSetTest.java +++ b/engine/api/src/test/java/io/deephaven/engine/table/ModifiedColumnSetTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table; import io.deephaven.util.type.ArrayTypeUtils; diff --git a/engine/api/src/test/java/io/deephaven/engine/table/iterators/TestColumnIterators.java b/engine/api/src/test/java/io/deephaven/engine/table/iterators/TestColumnIterators.java index bd9e0fdfb2b..e883c639962 100644 --- a/engine/api/src/test/java/io/deephaven/engine/table/iterators/TestColumnIterators.java +++ b/engine/api/src/test/java/io/deephaven/engine/table/iterators/TestColumnIterators.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.iterators; import io.deephaven.chunk.*; diff --git a/engine/base/src/main/java/io/deephaven/engine/table/impl/ContextWithChunk.java b/engine/base/src/main/java/io/deephaven/engine/table/impl/ContextWithChunk.java index f76ba38cfa8..bd5f966b7a3 100644 --- a/engine/base/src/main/java/io/deephaven/engine/table/impl/ContextWithChunk.java +++ b/engine/base/src/main/java/io/deephaven/engine/table/impl/ContextWithChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.chunk.*; diff --git a/engine/base/src/main/java/io/deephaven/engine/table/impl/DefaultChunkSource.java b/engine/base/src/main/java/io/deephaven/engine/table/impl/DefaultChunkSource.java index 0c586ab25fb..6fd7d875075 100644 --- a/engine/base/src/main/java/io/deephaven/engine/table/impl/DefaultChunkSource.java +++ b/engine/base/src/main/java/io/deephaven/engine/table/impl/DefaultChunkSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.chunk.attributes.Any; diff --git a/engine/base/src/main/java/io/deephaven/engine/table/impl/DefaultGetContext.java b/engine/base/src/main/java/io/deephaven/engine/table/impl/DefaultGetContext.java index d6dc01e0c5c..875d438d0f5 100644 --- a/engine/base/src/main/java/io/deephaven/engine/table/impl/DefaultGetContext.java +++ b/engine/base/src/main/java/io/deephaven/engine/table/impl/DefaultGetContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.chunk.ChunkType; diff --git a/engine/base/src/main/java/io/deephaven/engine/table/impl/TupleSourceFactory.java b/engine/base/src/main/java/io/deephaven/engine/table/impl/TupleSourceFactory.java index acd45176494..3030d45d6de 100644 --- a/engine/base/src/main/java/io/deephaven/engine/table/impl/TupleSourceFactory.java +++ b/engine/base/src/main/java/io/deephaven/engine/table/impl/TupleSourceFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/base/src/main/java/io/deephaven/engine/table/impl/chunkboxer/ChunkBoxer.java b/engine/base/src/main/java/io/deephaven/engine/table/impl/chunkboxer/ChunkBoxer.java index ef500381eff..0f295838f73 100644 --- a/engine/base/src/main/java/io/deephaven/engine/table/impl/chunkboxer/ChunkBoxer.java +++ b/engine/base/src/main/java/io/deephaven/engine/table/impl/chunkboxer/ChunkBoxer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.chunkboxer; import io.deephaven.chunk.*; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/AjBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/AjBenchmark.java index 0b38f57c343..e0b1df4f117 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/AjBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/AjBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/ConditionFilterMultipleColumnsBench.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/ConditionFilterMultipleColumnsBench.java index f283b729977..33af468aa2d 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/ConditionFilterMultipleColumnsBench.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/ConditionFilterMultipleColumnsBench.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/ConditionFilterMultipleColumnsFillChunkBench.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/ConditionFilterMultipleColumnsFillChunkBench.java index c75537ba22f..c49d3b3444c 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/ConditionFilterMultipleColumnsFillChunkBench.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/ConditionFilterMultipleColumnsFillChunkBench.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.engine.table.Table; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/GroupByBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/GroupByBenchmark.java index d4fab6bc311..50af9c1fff5 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/GroupByBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/GroupByBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/IncrementalBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/IncrementalBenchmark.java index ef166235545..c79636cebee 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/IncrementalBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/IncrementalBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/LastByBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/LastByBenchmark.java index ca7b87b33dc..1c027af1612 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/LastByBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/LastByBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.api.agg.Aggregation; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/MatchFilterBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/MatchFilterBenchmark.java index e6d68ef7c7d..f23dc0a9fbf 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/MatchFilterBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/MatchFilterBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/MultiTableKeyedOperations.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/MultiTableKeyedOperations.java index 0964615879f..050f223a845 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/MultiTableKeyedOperations.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/MultiTableKeyedOperations.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.configuration.Configuration; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/NaturalJoinBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/NaturalJoinBenchmark.java index 31c65b0fbab..77ebb31cac5 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/NaturalJoinBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/NaturalJoinBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/NaturalJoinMultipleColumnsBench.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/NaturalJoinMultipleColumnsBench.java index 4faaa4bc2cd..da030a8379b 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/NaturalJoinMultipleColumnsBench.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/NaturalJoinMultipleColumnsBench.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/NaturalJoinMultipleColumnsFillChunkBench.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/NaturalJoinMultipleColumnsFillChunkBench.java index 9d83fed0861..e763220ecce 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/NaturalJoinMultipleColumnsFillChunkBench.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/NaturalJoinMultipleColumnsFillChunkBench.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/PercentileByBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/PercentileByBenchmark.java index ba15842ed5b..4cde9742dc0 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/PercentileByBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/PercentileByBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.api.agg.spec.AggSpec; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RangeFilterBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RangeFilterBenchmark.java index 4aa1d2f3503..c34b3b7da0a 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RangeFilterBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RangeFilterBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RedirectedColumnSourceBench.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RedirectedColumnSourceBench.java index 4c33d7552a5..03f23bb60fe 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RedirectedColumnSourceBench.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RedirectedColumnSourceBench.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.chunk.attributes.Values; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RedirectionBenchBase.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RedirectionBenchBase.java index 315ae02079a..3e1251df2ef 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RedirectionBenchBase.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RedirectionBenchBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.chunk.attributes.Values; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RegionedColumnSourceBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RegionedColumnSourceBenchmark.java index 6ab5cae1fb4..05062c73a02 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RegionedColumnSourceBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RegionedColumnSourceBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.configuration.Configuration; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/ResultHashProfiler.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/ResultHashProfiler.java index 694766550f8..7ece8e655eb 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/ResultHashProfiler.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/ResultHashProfiler.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import org.openjdk.jmh.infra.BenchmarkParams; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/ResultSizeProfiler.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/ResultSizeProfiler.java index 908f387c131..6c33182083d 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/ResultSizeProfiler.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/ResultSizeProfiler.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import org.openjdk.jmh.infra.BenchmarkParams; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RowRedirectionBench.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RowRedirectionBench.java index bac61ddaac7..4db032b1ca7 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RowRedirectionBench.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/RowRedirectionBench.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SingleTableKeyedInstantOperations.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SingleTableKeyedInstantOperations.java index 668549a9101..b6bae1c5e36 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SingleTableKeyedInstantOperations.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SingleTableKeyedInstantOperations.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.configuration.Configuration; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SingleTableKeyedOperations.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SingleTableKeyedOperations.java index 392fa33c521..f1582e7ebc6 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SingleTableKeyedOperations.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SingleTableKeyedOperations.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.configuration.Configuration; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SingleTableKeyedStringOperations.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SingleTableKeyedStringOperations.java index 73e8f636bab..e809fb837c4 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SingleTableKeyedStringOperations.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SingleTableKeyedStringOperations.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.configuration.Configuration; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SingleTableOperations.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SingleTableOperations.java index 7f9e54106c5..6df653cdd97 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SingleTableOperations.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SingleTableOperations.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.configuration.Configuration; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SortBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SortBenchmark.java index d6a94b36e9d..cdbad675b99 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SortBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SortBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.base.verify.Assert; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SortMultiBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SortMultiBenchmark.java index 0e3518c057a..8f5c39a034d 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SortMultiBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SortMultiBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.benchmarking.generator.ColumnGenerator; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SparseSelectBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SparseSelectBenchmark.java index e0119046016..f70e36b384a 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SparseSelectBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SparseSelectBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.base.verify.Assert; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SumByBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SumByBenchmark.java index 3bde7f35cf0..3e64b8398b5 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SumByBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/SumByBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.api.agg.Aggregation; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/UngroupedColumnSourceBench.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/UngroupedColumnSourceBench.java index 3b26cba5ae0..097769d31bb 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/UngroupedColumnSourceBench.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/UngroupedColumnSourceBench.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/UpdateBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/UpdateBenchmark.java index be554453d4c..9a17e83b2f9 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/UpdateBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/UpdateBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.benchmarking.generator.ColumnGenerator; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/Utils.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/Utils.java index f8366ba43cc..705ad2775f2 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/Utils.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/Utils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import java.util.Collections; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/WhereBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/WhereBenchmark.java index 15d4a4af726..b547f40fd6e 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/WhereBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/WhereBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine; import io.deephaven.benchmarking.generator.ColumnGenerator; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/BytePartitionKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/BytePartitionKernelBenchmark.java index c81da581d67..e35cfdcc3a0 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/BytePartitionKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/BytePartitionKernelBenchmark.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPartitionKernelBenchmark and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPartitionKernelBenchmark and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.partition; import io.deephaven.tuple.generated.ByteLongTuple; @@ -45,8 +44,7 @@ public class BytePartitionKernelBenchmark { private Runnable doPartition; @TearDown(Level.Trial) - public void finishTrial() { - } + public void finishTrial() {} @Setup(Level.Iteration) public void setupIteration() { @@ -83,7 +81,9 @@ public void setupIteration() { } else { numPartitionsValue = Integer.parseInt(numPartitions); } - final BaseTestByteTimSortKernel.BytePartitionKernelStuff partitionStuff = new BaseTestByteTimSortKernel.BytePartitionKernelStuff(stuffToSort, rowSet, chunkSize, numPartitionsValue, preserveEquality); + final BaseTestByteTimSortKernel.BytePartitionKernelStuff partitionStuff = + new BaseTestByteTimSortKernel.BytePartitionKernelStuff(stuffToSort, rowSet, chunkSize, + numPartitionsValue, preserveEquality); doPartition = partitionStuff::run; } @@ -91,4 +91,4 @@ public void setupIteration() { public void partition() { doPartition.run(); } -} \ No newline at end of file +} diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/CharPartitionKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/CharPartitionKernelBenchmark.java index 55a701f8d20..83a13fc20c6 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/CharPartitionKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/CharPartitionKernelBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.partition; import io.deephaven.tuple.generated.CharLongTuple; @@ -40,8 +40,7 @@ public class CharPartitionKernelBenchmark { private Runnable doPartition; @TearDown(Level.Trial) - public void finishTrial() { - } + public void finishTrial() {} @Setup(Level.Iteration) public void setupIteration() { @@ -78,7 +77,9 @@ public void setupIteration() { } else { numPartitionsValue = Integer.parseInt(numPartitions); } - final BaseTestCharTimSortKernel.CharPartitionKernelStuff partitionStuff = new BaseTestCharTimSortKernel.CharPartitionKernelStuff(stuffToSort, rowSet, chunkSize, numPartitionsValue, preserveEquality); + final BaseTestCharTimSortKernel.CharPartitionKernelStuff partitionStuff = + new BaseTestCharTimSortKernel.CharPartitionKernelStuff(stuffToSort, rowSet, chunkSize, + numPartitionsValue, preserveEquality); doPartition = partitionStuff::run; } @@ -86,4 +87,4 @@ public void setupIteration() { public void partition() { doPartition.run(); } -} \ No newline at end of file +} diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/DoublePartitionKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/DoublePartitionKernelBenchmark.java index 3442ab4c259..79d1fd97ddb 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/DoublePartitionKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/DoublePartitionKernelBenchmark.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPartitionKernelBenchmark and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPartitionKernelBenchmark and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.partition; import io.deephaven.tuple.generated.DoubleLongTuple; @@ -45,8 +44,7 @@ public class DoublePartitionKernelBenchmark { private Runnable doPartition; @TearDown(Level.Trial) - public void finishTrial() { - } + public void finishTrial() {} @Setup(Level.Iteration) public void setupIteration() { @@ -83,7 +81,9 @@ public void setupIteration() { } else { numPartitionsValue = Integer.parseInt(numPartitions); } - final BaseTestDoubleTimSortKernel.DoublePartitionKernelStuff partitionStuff = new BaseTestDoubleTimSortKernel.DoublePartitionKernelStuff(stuffToSort, rowSet, chunkSize, numPartitionsValue, preserveEquality); + final BaseTestDoubleTimSortKernel.DoublePartitionKernelStuff partitionStuff = + new BaseTestDoubleTimSortKernel.DoublePartitionKernelStuff(stuffToSort, rowSet, chunkSize, + numPartitionsValue, preserveEquality); doPartition = partitionStuff::run; } @@ -91,4 +91,4 @@ public void setupIteration() { public void partition() { doPartition.run(); } -} \ No newline at end of file +} diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/FloatPartitionKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/FloatPartitionKernelBenchmark.java index 3c45c9c8936..f10d7a1ef62 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/FloatPartitionKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/FloatPartitionKernelBenchmark.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPartitionKernelBenchmark and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPartitionKernelBenchmark and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.partition; import io.deephaven.tuple.generated.FloatLongTuple; @@ -45,8 +44,7 @@ public class FloatPartitionKernelBenchmark { private Runnable doPartition; @TearDown(Level.Trial) - public void finishTrial() { - } + public void finishTrial() {} @Setup(Level.Iteration) public void setupIteration() { @@ -83,7 +81,9 @@ public void setupIteration() { } else { numPartitionsValue = Integer.parseInt(numPartitions); } - final BaseTestFloatTimSortKernel.FloatPartitionKernelStuff partitionStuff = new BaseTestFloatTimSortKernel.FloatPartitionKernelStuff(stuffToSort, rowSet, chunkSize, numPartitionsValue, preserveEquality); + final BaseTestFloatTimSortKernel.FloatPartitionKernelStuff partitionStuff = + new BaseTestFloatTimSortKernel.FloatPartitionKernelStuff(stuffToSort, rowSet, chunkSize, + numPartitionsValue, preserveEquality); doPartition = partitionStuff::run; } @@ -91,4 +91,4 @@ public void setupIteration() { public void partition() { doPartition.run(); } -} \ No newline at end of file +} diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/IntPartitionKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/IntPartitionKernelBenchmark.java index a13389f1917..a3d23aef82e 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/IntPartitionKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/IntPartitionKernelBenchmark.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPartitionKernelBenchmark and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPartitionKernelBenchmark and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.partition; import io.deephaven.tuple.generated.IntLongTuple; @@ -45,8 +44,7 @@ public class IntPartitionKernelBenchmark { private Runnable doPartition; @TearDown(Level.Trial) - public void finishTrial() { - } + public void finishTrial() {} @Setup(Level.Iteration) public void setupIteration() { @@ -83,7 +81,9 @@ public void setupIteration() { } else { numPartitionsValue = Integer.parseInt(numPartitions); } - final BaseTestIntTimSortKernel.IntPartitionKernelStuff partitionStuff = new BaseTestIntTimSortKernel.IntPartitionKernelStuff(stuffToSort, rowSet, chunkSize, numPartitionsValue, preserveEquality); + final BaseTestIntTimSortKernel.IntPartitionKernelStuff partitionStuff = + new BaseTestIntTimSortKernel.IntPartitionKernelStuff(stuffToSort, rowSet, chunkSize, + numPartitionsValue, preserveEquality); doPartition = partitionStuff::run; } @@ -91,4 +91,4 @@ public void setupIteration() { public void partition() { doPartition.run(); } -} \ No newline at end of file +} diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/LongPartitionKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/LongPartitionKernelBenchmark.java index f9212d38bcb..8eb22ecc4e0 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/LongPartitionKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/LongPartitionKernelBenchmark.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPartitionKernelBenchmark and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPartitionKernelBenchmark and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.partition; import io.deephaven.tuple.generated.LongLongTuple; @@ -45,8 +44,7 @@ public class LongPartitionKernelBenchmark { private Runnable doPartition; @TearDown(Level.Trial) - public void finishTrial() { - } + public void finishTrial() {} @Setup(Level.Iteration) public void setupIteration() { @@ -83,7 +81,9 @@ public void setupIteration() { } else { numPartitionsValue = Integer.parseInt(numPartitions); } - final BaseTestLongTimSortKernel.LongPartitionKernelStuff partitionStuff = new BaseTestLongTimSortKernel.LongPartitionKernelStuff(stuffToSort, rowSet, chunkSize, numPartitionsValue, preserveEquality); + final BaseTestLongTimSortKernel.LongPartitionKernelStuff partitionStuff = + new BaseTestLongTimSortKernel.LongPartitionKernelStuff(stuffToSort, rowSet, chunkSize, + numPartitionsValue, preserveEquality); doPartition = partitionStuff::run; } @@ -91,4 +91,4 @@ public void setupIteration() { public void partition() { doPartition.run(); } -} \ No newline at end of file +} diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/PartitionKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/PartitionKernelBenchmark.java index d40501a355f..168149ce36c 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/PartitionKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/PartitionKernelBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.partition; import org.openjdk.jmh.results.RunResult; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/ShortPartitionKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/ShortPartitionKernelBenchmark.java index 078bb5161c6..55579b35e9d 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/ShortPartitionKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/partition/ShortPartitionKernelBenchmark.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPartitionKernelBenchmark and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPartitionKernelBenchmark and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.partition; import io.deephaven.tuple.generated.ShortLongTuple; @@ -45,8 +44,7 @@ public class ShortPartitionKernelBenchmark { private Runnable doPartition; @TearDown(Level.Trial) - public void finishTrial() { - } + public void finishTrial() {} @Setup(Level.Iteration) public void setupIteration() { @@ -83,7 +81,9 @@ public void setupIteration() { } else { numPartitionsValue = Integer.parseInt(numPartitions); } - final BaseTestShortTimSortKernel.ShortPartitionKernelStuff partitionStuff = new BaseTestShortTimSortKernel.ShortPartitionKernelStuff(stuffToSort, rowSet, chunkSize, numPartitionsValue, preserveEquality); + final BaseTestShortTimSortKernel.ShortPartitionKernelStuff partitionStuff = + new BaseTestShortTimSortKernel.ShortPartitionKernelStuff(stuffToSort, rowSet, chunkSize, + numPartitionsValue, preserveEquality); doPartition = partitionStuff::run; } @@ -91,4 +91,4 @@ public void setupIteration() { public void partition() { doPartition.run(); } -} \ No newline at end of file +} diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/ByteSortKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/ByteSortKernelBenchmark.java index f1073ed717c..8a5af768087 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/ByteSortKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/ByteSortKernelBenchmark.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortKernelBenchmark and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSortKernelBenchmark and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.sort.timsort; import io.deephaven.engine.table.impl.sort.timsort.BaseTestByteTimSortKernel; @@ -35,8 +34,7 @@ public class ByteSortKernelBenchmark { private Runnable doSort; @TearDown(Level.Trial) - public void finishTrial() { - } + public void finishTrial() {} @Setup(Level.Iteration) public void setupIteration() { @@ -70,19 +68,20 @@ public void setupIteration() { doSort = () -> stuffToSort.sort(javaComparator); break; case "javaarray": - final byte [] javaArray = new byte[stuffToSort.size()]; + final byte[] javaArray = new byte[stuffToSort.size()]; for (int ii = 0; ii < javaArray.length; ++ii) { javaArray[ii] = stuffToSort.get(ii).getFirstElement(); } doSort = () -> Arrays.sort(javaArray); break; case "timsort": - final BaseTestByteTimSortKernel.ByteLongSortKernelStuff sortStuff - = new BaseTestByteTimSortKernel.ByteLongSortKernelStuff(stuffToSort); + final BaseTestByteTimSortKernel.ByteLongSortKernelStuff sortStuff = + new BaseTestByteTimSortKernel.ByteLongSortKernelStuff(stuffToSort); doSort = sortStuff::run; break; case "mergesort": - final BaseTestByteTimSortKernel.ByteMergeStuff mergeStuff = new BaseTestByteTimSortKernel.ByteMergeStuff(stuffToSort); + final BaseTestByteTimSortKernel.ByteMergeStuff mergeStuff = + new BaseTestByteTimSortKernel.ByteMergeStuff(stuffToSort); doSort = mergeStuff::run; break; } @@ -93,4 +92,4 @@ public void setupIteration() { public void sort() { doSort.run(); } -} \ No newline at end of file +} diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/CharSortKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/CharSortKernelBenchmark.java index e637c71c73b..2578e721670 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/CharSortKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/CharSortKernelBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.sort.timsort; import io.deephaven.engine.table.impl.sort.timsort.BaseTestCharTimSortKernel; @@ -30,8 +30,7 @@ public class CharSortKernelBenchmark { private Runnable doSort; @TearDown(Level.Trial) - public void finishTrial() { - } + public void finishTrial() {} @Setup(Level.Iteration) public void setupIteration() { @@ -65,19 +64,20 @@ public void setupIteration() { doSort = () -> stuffToSort.sort(javaComparator); break; case "javaarray": - final char [] javaArray = new char[stuffToSort.size()]; + final char[] javaArray = new char[stuffToSort.size()]; for (int ii = 0; ii < javaArray.length; ++ii) { javaArray[ii] = stuffToSort.get(ii).getFirstElement(); } doSort = () -> Arrays.sort(javaArray); break; case "timsort": - final BaseTestCharTimSortKernel.CharLongSortKernelStuff sortStuff - = new BaseTestCharTimSortKernel.CharLongSortKernelStuff(stuffToSort); + final BaseTestCharTimSortKernel.CharLongSortKernelStuff sortStuff = + new BaseTestCharTimSortKernel.CharLongSortKernelStuff(stuffToSort); doSort = sortStuff::run; break; case "mergesort": - final BaseTestCharTimSortKernel.CharMergeStuff mergeStuff = new BaseTestCharTimSortKernel.CharMergeStuff(stuffToSort); + final BaseTestCharTimSortKernel.CharMergeStuff mergeStuff = + new BaseTestCharTimSortKernel.CharMergeStuff(stuffToSort); doSort = mergeStuff::run; break; } @@ -88,4 +88,4 @@ public void setupIteration() { public void sort() { doSort.run(); } -} \ No newline at end of file +} diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/DoubleSortKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/DoubleSortKernelBenchmark.java index d8229ab2b38..f51e10a5d34 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/DoubleSortKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/DoubleSortKernelBenchmark.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortKernelBenchmark and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSortKernelBenchmark and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.sort.timsort; import io.deephaven.engine.table.impl.sort.timsort.BaseTestDoubleTimSortKernel; @@ -35,8 +34,7 @@ public class DoubleSortKernelBenchmark { private Runnable doSort; @TearDown(Level.Trial) - public void finishTrial() { - } + public void finishTrial() {} @Setup(Level.Iteration) public void setupIteration() { @@ -70,19 +68,20 @@ public void setupIteration() { doSort = () -> stuffToSort.sort(javaComparator); break; case "javaarray": - final double [] javaArray = new double[stuffToSort.size()]; + final double[] javaArray = new double[stuffToSort.size()]; for (int ii = 0; ii < javaArray.length; ++ii) { javaArray[ii] = stuffToSort.get(ii).getFirstElement(); } doSort = () -> Arrays.sort(javaArray); break; case "timsort": - final BaseTestDoubleTimSortKernel.DoubleLongSortKernelStuff sortStuff - = new BaseTestDoubleTimSortKernel.DoubleLongSortKernelStuff(stuffToSort); + final BaseTestDoubleTimSortKernel.DoubleLongSortKernelStuff sortStuff = + new BaseTestDoubleTimSortKernel.DoubleLongSortKernelStuff(stuffToSort); doSort = sortStuff::run; break; case "mergesort": - final BaseTestDoubleTimSortKernel.DoubleMergeStuff mergeStuff = new BaseTestDoubleTimSortKernel.DoubleMergeStuff(stuffToSort); + final BaseTestDoubleTimSortKernel.DoubleMergeStuff mergeStuff = + new BaseTestDoubleTimSortKernel.DoubleMergeStuff(stuffToSort); doSort = mergeStuff::run; break; } @@ -93,4 +92,4 @@ public void setupIteration() { public void sort() { doSort.run(); } -} \ No newline at end of file +} diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/FloatSortKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/FloatSortKernelBenchmark.java index 1c166bbdc5a..2e7f5b69ae7 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/FloatSortKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/FloatSortKernelBenchmark.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortKernelBenchmark and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSortKernelBenchmark and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.sort.timsort; import io.deephaven.engine.table.impl.sort.timsort.BaseTestFloatTimSortKernel; @@ -35,8 +34,7 @@ public class FloatSortKernelBenchmark { private Runnable doSort; @TearDown(Level.Trial) - public void finishTrial() { - } + public void finishTrial() {} @Setup(Level.Iteration) public void setupIteration() { @@ -70,19 +68,20 @@ public void setupIteration() { doSort = () -> stuffToSort.sort(javaComparator); break; case "javaarray": - final float [] javaArray = new float[stuffToSort.size()]; + final float[] javaArray = new float[stuffToSort.size()]; for (int ii = 0; ii < javaArray.length; ++ii) { javaArray[ii] = stuffToSort.get(ii).getFirstElement(); } doSort = () -> Arrays.sort(javaArray); break; case "timsort": - final BaseTestFloatTimSortKernel.FloatLongSortKernelStuff sortStuff - = new BaseTestFloatTimSortKernel.FloatLongSortKernelStuff(stuffToSort); + final BaseTestFloatTimSortKernel.FloatLongSortKernelStuff sortStuff = + new BaseTestFloatTimSortKernel.FloatLongSortKernelStuff(stuffToSort); doSort = sortStuff::run; break; case "mergesort": - final BaseTestFloatTimSortKernel.FloatMergeStuff mergeStuff = new BaseTestFloatTimSortKernel.FloatMergeStuff(stuffToSort); + final BaseTestFloatTimSortKernel.FloatMergeStuff mergeStuff = + new BaseTestFloatTimSortKernel.FloatMergeStuff(stuffToSort); doSort = mergeStuff::run; break; } @@ -93,4 +92,4 @@ public void setupIteration() { public void sort() { doSort.run(); } -} \ No newline at end of file +} diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/IntSortKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/IntSortKernelBenchmark.java index 48245292b5c..ea18339f6fc 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/IntSortKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/IntSortKernelBenchmark.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortKernelBenchmark and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSortKernelBenchmark and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.sort.timsort; import io.deephaven.engine.table.impl.sort.timsort.BaseTestIntTimSortKernel; @@ -35,8 +34,7 @@ public class IntSortKernelBenchmark { private Runnable doSort; @TearDown(Level.Trial) - public void finishTrial() { - } + public void finishTrial() {} @Setup(Level.Iteration) public void setupIteration() { @@ -70,19 +68,20 @@ public void setupIteration() { doSort = () -> stuffToSort.sort(javaComparator); break; case "javaarray": - final int [] javaArray = new int[stuffToSort.size()]; + final int[] javaArray = new int[stuffToSort.size()]; for (int ii = 0; ii < javaArray.length; ++ii) { javaArray[ii] = stuffToSort.get(ii).getFirstElement(); } doSort = () -> Arrays.sort(javaArray); break; case "timsort": - final BaseTestIntTimSortKernel.IntLongSortKernelStuff sortStuff - = new BaseTestIntTimSortKernel.IntLongSortKernelStuff(stuffToSort); + final BaseTestIntTimSortKernel.IntLongSortKernelStuff sortStuff = + new BaseTestIntTimSortKernel.IntLongSortKernelStuff(stuffToSort); doSort = sortStuff::run; break; case "mergesort": - final BaseTestIntTimSortKernel.IntMergeStuff mergeStuff = new BaseTestIntTimSortKernel.IntMergeStuff(stuffToSort); + final BaseTestIntTimSortKernel.IntMergeStuff mergeStuff = + new BaseTestIntTimSortKernel.IntMergeStuff(stuffToSort); doSort = mergeStuff::run; break; } @@ -93,4 +92,4 @@ public void setupIteration() { public void sort() { doSort.run(); } -} \ No newline at end of file +} diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/LongSortKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/LongSortKernelBenchmark.java index 9f71c586a76..a0846f1487a 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/LongSortKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/LongSortKernelBenchmark.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortKernelBenchmark and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSortKernelBenchmark and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.sort.timsort; import io.deephaven.engine.table.impl.sort.timsort.BaseTestLongTimSortKernel; @@ -35,8 +34,7 @@ public class LongSortKernelBenchmark { private Runnable doSort; @TearDown(Level.Trial) - public void finishTrial() { - } + public void finishTrial() {} @Setup(Level.Iteration) public void setupIteration() { @@ -70,19 +68,20 @@ public void setupIteration() { doSort = () -> stuffToSort.sort(javaComparator); break; case "javaarray": - final long [] javaArray = new long[stuffToSort.size()]; + final long[] javaArray = new long[stuffToSort.size()]; for (int ii = 0; ii < javaArray.length; ++ii) { javaArray[ii] = stuffToSort.get(ii).getFirstElement(); } doSort = () -> Arrays.sort(javaArray); break; case "timsort": - final BaseTestLongTimSortKernel.LongLongSortKernelStuff sortStuff - = new BaseTestLongTimSortKernel.LongLongSortKernelStuff(stuffToSort); + final BaseTestLongTimSortKernel.LongLongSortKernelStuff sortStuff = + new BaseTestLongTimSortKernel.LongLongSortKernelStuff(stuffToSort); doSort = sortStuff::run; break; case "mergesort": - final BaseTestLongTimSortKernel.LongMergeStuff mergeStuff = new BaseTestLongTimSortKernel.LongMergeStuff(stuffToSort); + final BaseTestLongTimSortKernel.LongMergeStuff mergeStuff = + new BaseTestLongTimSortKernel.LongMergeStuff(stuffToSort); doSort = mergeStuff::run; break; } @@ -93,4 +92,4 @@ public void setupIteration() { public void sort() { doSort.run(); } -} \ No newline at end of file +} diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/ObjectSortKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/ObjectSortKernelBenchmark.java index f0b25ca3199..d3ce5c19ee8 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/ObjectSortKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/ObjectSortKernelBenchmark.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortKernelBenchmark and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSortKernelBenchmark and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.sort.timsort; import io.deephaven.engine.table.impl.sort.timsort.BaseTestObjectTimSortKernel; @@ -35,8 +34,7 @@ public class ObjectSortKernelBenchmark { private Runnable doSort; @TearDown(Level.Trial) - public void finishTrial() { - } + public void finishTrial() {} @Setup(Level.Iteration) public void setupIteration() { @@ -70,19 +68,20 @@ public void setupIteration() { doSort = () -> stuffToSort.sort(javaComparator); break; case "javaarray": - final Object [] javaArray = new Object[stuffToSort.size()]; + final Object[] javaArray = new Object[stuffToSort.size()]; for (int ii = 0; ii < javaArray.length; ++ii) { javaArray[ii] = stuffToSort.get(ii).getFirstElement(); } doSort = () -> Arrays.sort(javaArray); break; case "timsort": - final BaseTestObjectTimSortKernel.ObjectLongSortKernelStuff sortStuff - = new BaseTestObjectTimSortKernel.ObjectLongSortKernelStuff(stuffToSort); + final BaseTestObjectTimSortKernel.ObjectLongSortKernelStuff sortStuff = + new BaseTestObjectTimSortKernel.ObjectLongSortKernelStuff(stuffToSort); doSort = sortStuff::run; break; case "mergesort": - final BaseTestObjectTimSortKernel.ObjectMergeStuff mergeStuff = new BaseTestObjectTimSortKernel.ObjectMergeStuff(stuffToSort); + final BaseTestObjectTimSortKernel.ObjectMergeStuff mergeStuff = + new BaseTestObjectTimSortKernel.ObjectMergeStuff(stuffToSort); doSort = mergeStuff::run; break; } @@ -93,4 +92,4 @@ public void setupIteration() { public void sort() { doSort.run(); } -} \ No newline at end of file +} diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/ShortSortKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/ShortSortKernelBenchmark.java index 1f8ceb01f9d..ba98526878e 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/ShortSortKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/ShortSortKernelBenchmark.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortKernelBenchmark and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSortKernelBenchmark and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.sort.timsort; import io.deephaven.engine.table.impl.sort.timsort.BaseTestShortTimSortKernel; @@ -35,8 +34,7 @@ public class ShortSortKernelBenchmark { private Runnable doSort; @TearDown(Level.Trial) - public void finishTrial() { - } + public void finishTrial() {} @Setup(Level.Iteration) public void setupIteration() { @@ -70,19 +68,20 @@ public void setupIteration() { doSort = () -> stuffToSort.sort(javaComparator); break; case "javaarray": - final short [] javaArray = new short[stuffToSort.size()]; + final short[] javaArray = new short[stuffToSort.size()]; for (int ii = 0; ii < javaArray.length; ++ii) { javaArray[ii] = stuffToSort.get(ii).getFirstElement(); } doSort = () -> Arrays.sort(javaArray); break; case "timsort": - final BaseTestShortTimSortKernel.ShortLongSortKernelStuff sortStuff - = new BaseTestShortTimSortKernel.ShortLongSortKernelStuff(stuffToSort); + final BaseTestShortTimSortKernel.ShortLongSortKernelStuff sortStuff = + new BaseTestShortTimSortKernel.ShortLongSortKernelStuff(stuffToSort); doSort = sortStuff::run; break; case "mergesort": - final BaseTestShortTimSortKernel.ShortMergeStuff mergeStuff = new BaseTestShortTimSortKernel.ShortMergeStuff(stuffToSort); + final BaseTestShortTimSortKernel.ShortMergeStuff mergeStuff = + new BaseTestShortTimSortKernel.ShortMergeStuff(stuffToSort); doSort = mergeStuff::run; break; } @@ -93,4 +92,4 @@ public void setupIteration() { public void sort() { doSort.run(); } -} \ No newline at end of file +} diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/SortKernelBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/SortKernelBenchmark.java index 2839b20881c..11aa18ba10a 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/SortKernelBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sort/timsort/SortKernelBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.sort.timsort; import io.deephaven.benchmarking.CsvResultWriter; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/ByteHelper.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/ByteHelper.java index c273273c54b..b599e0179b4 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/ByteHelper.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/ByteHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharHelper and run "./gradlew replicateColumnSourceFillBenchmark" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.sources; import io.deephaven.chunk.LongChunk; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/CharHelper.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/CharHelper.java index 476c85329e3..e62ded70f1b 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/CharHelper.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/CharHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.sources; import io.deephaven.chunk.LongChunk; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/ColumnSourceFillBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/ColumnSourceFillBenchmark.java index 76391627b78..5b7e7a05a51 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/ColumnSourceFillBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/ColumnSourceFillBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.sources; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/DoubleHelper.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/DoubleHelper.java index 828a63c5630..3a9e90801ff 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/DoubleHelper.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/DoubleHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharHelper and run "./gradlew replicateColumnSourceFillBenchmark" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.sources; import io.deephaven.chunk.LongChunk; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/FillBenchmarkHelper.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/FillBenchmarkHelper.java index c82744e573d..4cd017ab3c1 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/FillBenchmarkHelper.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/FillBenchmarkHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.sources; import io.deephaven.chunk.LongChunk; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/FloatHelper.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/FloatHelper.java index c06ab11ca34..f421964a031 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/FloatHelper.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/FloatHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharHelper and run "./gradlew replicateColumnSourceFillBenchmark" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.sources; import io.deephaven.chunk.LongChunk; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/IntHelper.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/IntHelper.java index 0442f36e5ce..8139ddf8b98 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/IntHelper.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/IntHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharHelper and run "./gradlew replicateColumnSourceFillBenchmark" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.sources; import io.deephaven.chunk.LongChunk; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/LongHelper.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/LongHelper.java index cb3bfd347d8..462d61684ce 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/LongHelper.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/LongHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharHelper and run "./gradlew replicateColumnSourceFillBenchmark" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.sources; import io.deephaven.chunk.LongChunk; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/ShortHelper.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/ShortHelper.java index 7c6242a34d1..9557f7c9e53 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/ShortHelper.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/sources/ShortHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharHelper and run "./gradlew replicateColumnSourceFillBenchmark" to regenerate +// +// @formatter:off package io.deephaven.benchmark.engine.sources; import io.deephaven.chunk.LongChunk; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/BuildSmallIndicesBench.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/BuildSmallIndicesBench.java index 06e657af142..331a3f3fc64 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/BuildSmallIndicesBench.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/BuildSmallIndicesBench.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.util; import io.deephaven.engine.rowset.RowSetBuilderSequential; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/BuildSortedRangesBench.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/BuildSortedRangesBench.java index 0cf5710e1e7..a1cc1027c27 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/BuildSortedRangesBench.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/BuildSortedRangesBench.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.util; import io.deephaven.engine.rowset.impl.OrderedLongSet; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RandomRowSetBuilderBench.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RandomRowSetBuilderBench.java index 3e4bbab2dee..8eaa2310890 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RandomRowSetBuilderBench.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RandomRowSetBuilderBench.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.util; import io.deephaven.engine.rowset.RowSetBuilderRandom; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSequenceBench.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSequenceBench.java index 3a580af4db1..f905d669529 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSequenceBench.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSequenceBench.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.util; import io.deephaven.engine.rowset.RowSequence; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetBuilderBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetBuilderBenchmark.java index e49a2f1370f..162a73b8648 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetBuilderBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetBuilderBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.util; import gnu.trove.list.array.TLongArrayList; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetBuilderChunkedBench.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetBuilderChunkedBench.java index 77ac9187e40..cbd77ff5dc5 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetBuilderChunkedBench.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetBuilderChunkedBench.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.util; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetCreation.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetCreation.java index c41b680c56d..7f26ea1de02 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetCreation.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetCreation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.util; import io.deephaven.benchmarking.BenchUtil; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetGetFindBench.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetGetFindBench.java index 646823df042..9960c93117b 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetGetFindBench.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetGetFindBench.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.util; import io.deephaven.benchmarking.BenchUtil; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetIteration.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetIteration.java index 5ae20764448..849d4284d43 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetIteration.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetIteration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.util; import io.deephaven.engine.rowset.RowSequence; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetIterationBench.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetIterationBench.java index f98c8cc87bb..8656208c4d0 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetIterationBench.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetIterationBench.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.util; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetIterationRaw.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetIterationRaw.java index 055a954c9a4..2c6eaa98dda 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetIterationRaw.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/RowSetIterationRaw.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.util; import io.deephaven.base.verify.Assert; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/SequentialRowSetBuilderBench.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/SequentialRowSetBuilderBench.java index 03728a3decc..2aaa2418451 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/SequentialRowSetBuilderBench.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/SequentialRowSetBuilderBench.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.util; import io.deephaven.engine.rowset.RowSetBuilderSequential; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/ShiftAwareBench.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/ShiftAwareBench.java index 0f6e40cc0a5..6bafebc9d52 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/ShiftAwareBench.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/ShiftAwareBench.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.util; import io.deephaven.configuration.Configuration; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/SmallRowSetCreation.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/SmallRowSetCreation.java index 27927f1e95c..4715a535f6a 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/SmallRowSetCreation.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/SmallRowSetCreation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.util; diff --git a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/UnionBenchmark.java b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/UnionBenchmark.java index 7dc9ec5dffc..9c1e3a4247b 100644 --- a/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/UnionBenchmark.java +++ b/engine/benchmark/src/benchmark/java/io/deephaven/benchmark/engine/util/UnionBenchmark.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.engine.util; import io.deephaven.configuration.Configuration; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/BooleanChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/BooleanChunk.java index ed545f7a836..063ba8c8a70 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/BooleanChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/BooleanChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.util.type.ArrayTypeUtils; @@ -31,7 +30,7 @@ public class BooleanChunk extends ChunkBase { private static final BooleanChunk EMPTY = new BooleanChunk<>(ArrayTypeUtils.EMPTY_BOOLEAN_ARRAY, 0, 0); public static BooleanChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } @@ -39,7 +38,7 @@ public static BooleanChunk getEmptyChunk() { private static final BooleanChunk[] EMPTY_BOOLEAN_CHUNK_ARRAY = new BooleanChunk[0]; static BooleanChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_BOOLEAN_CHUNK_ARRAY; } @@ -89,7 +88,7 @@ public final void copyToChunk(int srcOffset, WritableChunk dest, i @Override public final void copyToArray(int srcOffset, Object dest, int destOffset, int length) { - final boolean[] realType = (boolean[])dest; + final boolean[] realType = (boolean[]) dest; copyToTypedArray(srcOffset, realType, destOffset, length); } @@ -100,13 +99,13 @@ public final void copyToTypedArray(int srcOffset, boolean[] destData, int destOf return; } if (ChunkHelpers.canCopyForward(data, sStart, destData, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { destData[destOffset + ii] = data[sStart + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { destData[destOffset + ii] = data[sStart + ii]; } @@ -136,7 +135,7 @@ public final > V walk(V visitor) { // region downcast public static BooleanChunk downcast(BooleanChunk self) { - //noinspection unchecked + // noinspection unchecked return (BooleanChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/BooleanChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/BooleanChunkChunk.java index 7955836481b..56e41f5d5a1 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/BooleanChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/BooleanChunkChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -15,12 +14,12 @@ public class BooleanChunkChunk extends ChunkChunkBase im private static final BooleanChunkChunk EMPTY = new BooleanChunkChunk<>(new BooleanChunk[0], 0, 0); public static BooleanChunkChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } public static BooleanChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new BooleanChunk[capacity]; } @@ -62,7 +61,7 @@ final void resetInnerCache(BooleanChunk[] data, int offset, int oldCapacit for (int ii = newCapacity; ii < oldCapacity; ++ii) { // Be friendly to the garbage collector innerData[ii] = null; - innerOffsets[ii] = 0; // to be nice + innerOffsets[ii] = 0; // to be nice } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ByteChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ByteChunk.java index abc5a2b1610..f4988ae2ddd 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ByteChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ByteChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.util.type.ArrayTypeUtils; @@ -35,7 +34,7 @@ public class ByteChunk extends ChunkBase { private static final ByteChunk EMPTY = new ByteChunk<>(ArrayTypeUtils.EMPTY_BYTE_ARRAY, 0, 0); public static ByteChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } @@ -43,7 +42,7 @@ public static ByteChunk getEmptyChunk() { private static final ByteChunk[] EMPTY_BYTE_CHUNK_ARRAY = new ByteChunk[0]; static ByteChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_BYTE_CHUNK_ARRAY; } @@ -93,7 +92,7 @@ public final void copyToChunk(int srcOffset, WritableChunk dest, i @Override public final void copyToArray(int srcOffset, Object dest, int destOffset, int length) { - final byte[] realType = (byte[])dest; + final byte[] realType = (byte[]) dest; copyToTypedArray(srcOffset, realType, destOffset, length); } @@ -104,13 +103,13 @@ public final void copyToTypedArray(int srcOffset, byte[] destData, int destOffse return; } if (ChunkHelpers.canCopyForward(data, sStart, destData, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { destData[destOffset + ii] = data[sStart + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { destData[destOffset + ii] = data[sStart + ii]; } @@ -144,22 +143,26 @@ public final T applyDecoder(ObjectDecoder decoder, int offsetSrc, int len // region CopyToBuffer @Override - public final void copyToBuffer(final int srcOffset, @NotNull final Buffer destBuffer, final int destOffset, final int length) { + public final void copyToBuffer(final int srcOffset, @NotNull final Buffer destBuffer, final int destOffset, + final int length) { final ByteBuffer byteDestBuffer = (ByteBuffer) destBuffer; copyToTypedBuffer(srcOffset, byteDestBuffer, destOffset, length); } /** - *

Copy a sub-range of this ByteChunk to a {@link ByteBuffer}. + *

+ * Copy a sub-range of this ByteChunk to a {@link ByteBuffer}. * - *

See {@link #copyToBuffer(int, Buffer, int, int)} for general documentation. + *

+ * See {@link #copyToBuffer(int, Buffer, int, int)} for general documentation. * - * @param srcOffset The offset into this chunk to start copying from + * @param srcOffset The offset into this chunk to start copying from * @param destBuffer The destination {@link ByteBuffer} * @param destOffset The absolute offset into {@code destBuffer} to start copying to - * @param length The number of elements to copy + * @param length The number of elements to copy */ - public final void copyToTypedBuffer(final int srcOffset, @NotNull final ByteBuffer destBuffer, final int destOffset, final int length) { + public final void copyToTypedBuffer(final int srcOffset, @NotNull final ByteBuffer destBuffer, final int destOffset, + final int length) { if (destBuffer.hasArray()) { copyToTypedArray(srcOffset, destBuffer.array(), destBuffer.arrayOffset() + destOffset, length); return; @@ -173,7 +176,7 @@ public final void copyToTypedBuffer(final int srcOffset, @NotNull final ByteBuff // region downcast public static ByteChunk downcast(ByteChunk self) { - //noinspection unchecked + // noinspection unchecked return (ByteChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ByteChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ByteChunkChunk.java index fc798c2d37e..eefa6657cf5 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ByteChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ByteChunkChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -15,12 +14,12 @@ public class ByteChunkChunk extends ChunkChunkBase imple private static final ByteChunkChunk EMPTY = new ByteChunkChunk<>(new ByteChunk[0], 0, 0); public static ByteChunkChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } public static ByteChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new ByteChunk[capacity]; } @@ -62,7 +61,7 @@ final void resetInnerCache(ByteChunk[] data, int offset, int oldCapacity, for (int ii = newCapacity; ii < oldCapacity; ++ii) { // Be friendly to the garbage collector innerData[ii] = null; - innerOffsets[ii] = 0; // to be nice + innerOffsets[ii] = 0; // to be nice } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ByteChunkToOutputStreamAdapter.java b/engine/chunk/src/main/java/io/deephaven/chunk/ByteChunkToOutputStreamAdapter.java index e84e8d6d234..38680d9d89d 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ByteChunkToOutputStreamAdapter.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ByteChunkToOutputStreamAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -9,7 +9,8 @@ import java.io.OutputStream; public class ByteChunkToOutputStreamAdapter { - public static void write(OutputStream stream, ByteChunk chunk, int srcOffset, int length) throws IOException { + public static void write(OutputStream stream, ByteChunk chunk, int srcOffset, int length) + throws IOException { stream.write(chunk.data, chunk.offset + srcOffset, length); } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/CharChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/CharChunk.java index 660dd7d79ad..3671c48a223 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/CharChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/CharChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.util.type.ArrayTypeUtils; @@ -29,7 +29,7 @@ public class CharChunk extends ChunkBase { private static final CharChunk EMPTY = new CharChunk<>(ArrayTypeUtils.EMPTY_CHAR_ARRAY, 0, 0); public static CharChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } @@ -37,7 +37,7 @@ public static CharChunk getEmptyChunk() { private static final CharChunk[] EMPTY_CHAR_CHUNK_ARRAY = new CharChunk[0]; static CharChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_CHAR_CHUNK_ARRAY; } @@ -87,7 +87,7 @@ public final void copyToChunk(int srcOffset, WritableChunk dest, i @Override public final void copyToArray(int srcOffset, Object dest, int destOffset, int length) { - final char[] realType = (char[])dest; + final char[] realType = (char[]) dest; copyToTypedArray(srcOffset, realType, destOffset, length); } @@ -98,13 +98,13 @@ public final void copyToTypedArray(int srcOffset, char[] destData, int destOffse return; } if (ChunkHelpers.canCopyForward(data, sStart, destData, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { destData[destOffset + ii] = data[sStart + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { destData[destOffset + ii] = data[sStart + ii]; } @@ -131,22 +131,26 @@ public final > V walk(V visitor) { // region CopyToBuffer @Override - public final void copyToBuffer(final int srcOffset, @NotNull final Buffer destBuffer, final int destOffset, final int length) { + public final void copyToBuffer(final int srcOffset, @NotNull final Buffer destBuffer, final int destOffset, + final int length) { final CharBuffer charDestBuffer = (CharBuffer) destBuffer; copyToTypedBuffer(srcOffset, charDestBuffer, destOffset, length); } /** - *

Copy a sub-range of this CharChunk to a {@link CharBuffer}. + *

+ * Copy a sub-range of this CharChunk to a {@link CharBuffer}. * - *

See {@link #copyToBuffer(int, Buffer, int, int)} for general documentation. + *

+ * See {@link #copyToBuffer(int, Buffer, int, int)} for general documentation. * - * @param srcOffset The offset into this chunk to start copying from + * @param srcOffset The offset into this chunk to start copying from * @param destBuffer The destination {@link CharBuffer} * @param destOffset The absolute offset into {@code destBuffer} to start copying to - * @param length The number of elements to copy + * @param length The number of elements to copy */ - public final void copyToTypedBuffer(final int srcOffset, @NotNull final CharBuffer destBuffer, final int destOffset, final int length) { + public final void copyToTypedBuffer(final int srcOffset, @NotNull final CharBuffer destBuffer, final int destOffset, + final int length) { if (destBuffer.hasArray()) { copyToTypedArray(srcOffset, destBuffer.array(), destBuffer.arrayOffset() + destOffset, length); return; @@ -160,7 +164,7 @@ public final void copyToTypedBuffer(final int srcOffset, @NotNull final CharBuff // region downcast public static CharChunk downcast(CharChunk self) { - //noinspection unchecked + // noinspection unchecked return (CharChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/CharChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/CharChunkChunk.java index 70a808ab423..df721c87e44 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/CharChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/CharChunkChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -10,12 +10,12 @@ public class CharChunkChunk extends ChunkChunkBase imple private static final CharChunkChunk EMPTY = new CharChunkChunk<>(new CharChunk[0], 0, 0); public static CharChunkChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } public static CharChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new CharChunk[capacity]; } @@ -57,7 +57,7 @@ final void resetInnerCache(CharChunk[] data, int offset, int oldCapacity, for (int ii = newCapacity; ii < oldCapacity; ++ii) { // Be friendly to the garbage collector innerData[ii] = null; - innerOffsets[ii] = 0; // to be nice + innerOffsets[ii] = 0; // to be nice } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/Chunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/Chunk.java index de855b0a240..7de68e126f9 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/Chunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/Chunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ChunkBase.java b/engine/chunk/src/main/java/io/deephaven/chunk/ChunkBase.java index 7696a9958ea..05bcfbd3b06 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ChunkBase.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ChunkBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ChunkChunk.java index 646c5ce1270..26de3e54195 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ChunkChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ChunkChunkBase.java b/engine/chunk/src/main/java/io/deephaven/chunk/ChunkChunkBase.java index f7c1e237821..ed76a173035 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ChunkChunkBase.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ChunkChunkBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ChunkHelpers.java b/engine/chunk/src/main/java/io/deephaven/chunk/ChunkHelpers.java index d2de32171b1..a212837abad 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ChunkHelpers.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ChunkHelpers.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; /** diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ChunkStream.java b/engine/chunk/src/main/java/io/deephaven/chunk/ChunkStream.java index bb41e8bfd0c..73b47908097 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ChunkStream.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ChunkStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ChunkType.java b/engine/chunk/src/main/java/io/deephaven/chunk/ChunkType.java index e413ecd72aa..5929d90efd2 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ChunkType.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ChunkType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/DoubleChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/DoubleChunk.java index 09a72b154da..640a7c0a020 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/DoubleChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/DoubleChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.util.type.ArrayTypeUtils; @@ -34,7 +33,7 @@ public class DoubleChunk extends ChunkBase { private static final DoubleChunk EMPTY = new DoubleChunk<>(ArrayTypeUtils.EMPTY_DOUBLE_ARRAY, 0, 0); public static DoubleChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } @@ -42,7 +41,7 @@ public static DoubleChunk getEmptyChunk() { private static final DoubleChunk[] EMPTY_DOUBLE_CHUNK_ARRAY = new DoubleChunk[0]; static DoubleChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_DOUBLE_CHUNK_ARRAY; } @@ -92,7 +91,7 @@ public final void copyToChunk(int srcOffset, WritableChunk dest, i @Override public final void copyToArray(int srcOffset, Object dest, int destOffset, int length) { - final double[] realType = (double[])dest; + final double[] realType = (double[]) dest; copyToTypedArray(srcOffset, realType, destOffset, length); } @@ -103,13 +102,13 @@ public final void copyToTypedArray(int srcOffset, double[] destData, int destOff return; } if (ChunkHelpers.canCopyForward(data, sStart, destData, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { destData[destOffset + ii] = data[sStart + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { destData[destOffset + ii] = data[sStart + ii]; } @@ -136,22 +135,26 @@ public final > V walk(V visitor) { // region CopyToBuffer @Override - public final void copyToBuffer(final int srcOffset, @NotNull final Buffer destBuffer, final int destOffset, final int length) { + public final void copyToBuffer(final int srcOffset, @NotNull final Buffer destBuffer, final int destOffset, + final int length) { final DoubleBuffer doubleDestBuffer = (DoubleBuffer) destBuffer; copyToTypedBuffer(srcOffset, doubleDestBuffer, destOffset, length); } /** - *

Copy a sub-range of this DoubleChunk to a {@link DoubleBuffer}. + *

+ * Copy a sub-range of this DoubleChunk to a {@link DoubleBuffer}. * - *

See {@link #copyToBuffer(int, Buffer, int, int)} for general documentation. + *

+ * See {@link #copyToBuffer(int, Buffer, int, int)} for general documentation. * - * @param srcOffset The offset into this chunk to start copying from + * @param srcOffset The offset into this chunk to start copying from * @param destBuffer The destination {@link DoubleBuffer} * @param destOffset The absolute offset into {@code destBuffer} to start copying to - * @param length The number of elements to copy + * @param length The number of elements to copy */ - public final void copyToTypedBuffer(final int srcOffset, @NotNull final DoubleBuffer destBuffer, final int destOffset, final int length) { + public final void copyToTypedBuffer(final int srcOffset, @NotNull final DoubleBuffer destBuffer, final int destOffset, + final int length) { if (destBuffer.hasArray()) { copyToTypedArray(srcOffset, destBuffer.array(), destBuffer.arrayOffset() + destOffset, length); return; @@ -165,7 +168,7 @@ public final void copyToTypedBuffer(final int srcOffset, @NotNull final DoubleBu // region downcast public static DoubleChunk downcast(DoubleChunk self) { - //noinspection unchecked + // noinspection unchecked return (DoubleChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/DoubleChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/DoubleChunkChunk.java index c2018418931..e5703b5cf4c 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/DoubleChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/DoubleChunkChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -15,12 +14,12 @@ public class DoubleChunkChunk extends ChunkChunkBase imp private static final DoubleChunkChunk EMPTY = new DoubleChunkChunk<>(new DoubleChunk[0], 0, 0); public static DoubleChunkChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } public static DoubleChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new DoubleChunk[capacity]; } @@ -62,7 +61,7 @@ final void resetInnerCache(DoubleChunk[] data, int offset, int oldCapacity for (int ii = newCapacity; ii < oldCapacity; ++ii) { // Be friendly to the garbage collector innerData[ii] = null; - innerOffsets[ii] = 0; // to be nice + innerOffsets[ii] = 0; // to be nice } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/FloatChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/FloatChunk.java index eee2a315e95..a30f212ee1b 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/FloatChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/FloatChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.util.type.ArrayTypeUtils; @@ -34,7 +33,7 @@ public class FloatChunk extends ChunkBase { private static final FloatChunk EMPTY = new FloatChunk<>(ArrayTypeUtils.EMPTY_FLOAT_ARRAY, 0, 0); public static FloatChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } @@ -42,7 +41,7 @@ public static FloatChunk getEmptyChunk() { private static final FloatChunk[] EMPTY_FLOAT_CHUNK_ARRAY = new FloatChunk[0]; static FloatChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_FLOAT_CHUNK_ARRAY; } @@ -92,7 +91,7 @@ public final void copyToChunk(int srcOffset, WritableChunk dest, i @Override public final void copyToArray(int srcOffset, Object dest, int destOffset, int length) { - final float[] realType = (float[])dest; + final float[] realType = (float[]) dest; copyToTypedArray(srcOffset, realType, destOffset, length); } @@ -103,13 +102,13 @@ public final void copyToTypedArray(int srcOffset, float[] destData, int destOffs return; } if (ChunkHelpers.canCopyForward(data, sStart, destData, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { destData[destOffset + ii] = data[sStart + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { destData[destOffset + ii] = data[sStart + ii]; } @@ -136,22 +135,26 @@ public final > V walk(V visitor) { // region CopyToBuffer @Override - public final void copyToBuffer(final int srcOffset, @NotNull final Buffer destBuffer, final int destOffset, final int length) { + public final void copyToBuffer(final int srcOffset, @NotNull final Buffer destBuffer, final int destOffset, + final int length) { final FloatBuffer floatDestBuffer = (FloatBuffer) destBuffer; copyToTypedBuffer(srcOffset, floatDestBuffer, destOffset, length); } /** - *

Copy a sub-range of this FloatChunk to a {@link FloatBuffer}. + *

+ * Copy a sub-range of this FloatChunk to a {@link FloatBuffer}. * - *

See {@link #copyToBuffer(int, Buffer, int, int)} for general documentation. + *

+ * See {@link #copyToBuffer(int, Buffer, int, int)} for general documentation. * - * @param srcOffset The offset into this chunk to start copying from + * @param srcOffset The offset into this chunk to start copying from * @param destBuffer The destination {@link FloatBuffer} * @param destOffset The absolute offset into {@code destBuffer} to start copying to - * @param length The number of elements to copy + * @param length The number of elements to copy */ - public final void copyToTypedBuffer(final int srcOffset, @NotNull final FloatBuffer destBuffer, final int destOffset, final int length) { + public final void copyToTypedBuffer(final int srcOffset, @NotNull final FloatBuffer destBuffer, final int destOffset, + final int length) { if (destBuffer.hasArray()) { copyToTypedArray(srcOffset, destBuffer.array(), destBuffer.arrayOffset() + destOffset, length); return; @@ -165,7 +168,7 @@ public final void copyToTypedBuffer(final int srcOffset, @NotNull final FloatBuf // region downcast public static FloatChunk downcast(FloatChunk self) { - //noinspection unchecked + // noinspection unchecked return (FloatChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/FloatChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/FloatChunkChunk.java index 1b879c0fae8..9919595e9e3 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/FloatChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/FloatChunkChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -15,12 +14,12 @@ public class FloatChunkChunk extends ChunkChunkBase impl private static final FloatChunkChunk EMPTY = new FloatChunkChunk<>(new FloatChunk[0], 0, 0); public static FloatChunkChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } public static FloatChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new FloatChunk[capacity]; } @@ -62,7 +61,7 @@ final void resetInnerCache(FloatChunk[] data, int offset, int oldCapacity, for (int ii = newCapacity; ii < oldCapacity; ++ii) { // Be friendly to the garbage collector innerData[ii] = null; - innerOffsets[ii] = 0; // to be nice + innerOffsets[ii] = 0; // to be nice } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/IntChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/IntChunk.java index fdb25e5d303..7f615adec8b 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/IntChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/IntChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.util.type.ArrayTypeUtils; @@ -34,7 +33,7 @@ public class IntChunk extends ChunkBase { private static final IntChunk EMPTY = new IntChunk<>(ArrayTypeUtils.EMPTY_INT_ARRAY, 0, 0); public static IntChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } @@ -42,7 +41,7 @@ public static IntChunk getEmptyChunk() { private static final IntChunk[] EMPTY_INT_CHUNK_ARRAY = new IntChunk[0]; static IntChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_INT_CHUNK_ARRAY; } @@ -92,7 +91,7 @@ public final void copyToChunk(int srcOffset, WritableChunk dest, i @Override public final void copyToArray(int srcOffset, Object dest, int destOffset, int length) { - final int[] realType = (int[])dest; + final int[] realType = (int[]) dest; copyToTypedArray(srcOffset, realType, destOffset, length); } @@ -103,13 +102,13 @@ public final void copyToTypedArray(int srcOffset, int[] destData, int destOffset return; } if (ChunkHelpers.canCopyForward(data, sStart, destData, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { destData[destOffset + ii] = data[sStart + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { destData[destOffset + ii] = data[sStart + ii]; } @@ -136,22 +135,26 @@ public final > V walk(V visitor) { // region CopyToBuffer @Override - public final void copyToBuffer(final int srcOffset, @NotNull final Buffer destBuffer, final int destOffset, final int length) { + public final void copyToBuffer(final int srcOffset, @NotNull final Buffer destBuffer, final int destOffset, + final int length) { final IntBuffer intDestBuffer = (IntBuffer) destBuffer; copyToTypedBuffer(srcOffset, intDestBuffer, destOffset, length); } /** - *

Copy a sub-range of this IntChunk to a {@link IntBuffer}. + *

+ * Copy a sub-range of this IntChunk to a {@link IntBuffer}. * - *

See {@link #copyToBuffer(int, Buffer, int, int)} for general documentation. + *

+ * See {@link #copyToBuffer(int, Buffer, int, int)} for general documentation. * - * @param srcOffset The offset into this chunk to start copying from + * @param srcOffset The offset into this chunk to start copying from * @param destBuffer The destination {@link IntBuffer} * @param destOffset The absolute offset into {@code destBuffer} to start copying to - * @param length The number of elements to copy + * @param length The number of elements to copy */ - public final void copyToTypedBuffer(final int srcOffset, @NotNull final IntBuffer destBuffer, final int destOffset, final int length) { + public final void copyToTypedBuffer(final int srcOffset, @NotNull final IntBuffer destBuffer, final int destOffset, + final int length) { if (destBuffer.hasArray()) { copyToTypedArray(srcOffset, destBuffer.array(), destBuffer.arrayOffset() + destOffset, length); return; @@ -165,7 +168,7 @@ public final void copyToTypedBuffer(final int srcOffset, @NotNull final IntBuffe // region downcast public static IntChunk downcast(IntChunk self) { - //noinspection unchecked + // noinspection unchecked return (IntChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/IntChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/IntChunkChunk.java index b289965f097..18a424c33d8 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/IntChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/IntChunkChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -15,12 +14,12 @@ public class IntChunkChunk extends ChunkChunkBase implem private static final IntChunkChunk EMPTY = new IntChunkChunk<>(new IntChunk[0], 0, 0); public static IntChunkChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } public static IntChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new IntChunk[capacity]; } @@ -62,7 +61,7 @@ final void resetInnerCache(IntChunk[] data, int offset, int oldCapacity, i for (int ii = newCapacity; ii < oldCapacity; ++ii) { // Be friendly to the garbage collector innerData[ii] = null; - innerOffsets[ii] = 0; // to be nice + innerOffsets[ii] = 0; // to be nice } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/LongChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/LongChunk.java index ac47d34ed76..1486e20bbd7 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/LongChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/LongChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.util.type.ArrayTypeUtils; @@ -34,7 +33,7 @@ public class LongChunk extends ChunkBase { private static final LongChunk EMPTY = new LongChunk<>(ArrayTypeUtils.EMPTY_LONG_ARRAY, 0, 0); public static LongChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } @@ -42,7 +41,7 @@ public static LongChunk getEmptyChunk() { private static final LongChunk[] EMPTY_LONG_CHUNK_ARRAY = new LongChunk[0]; static LongChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_LONG_CHUNK_ARRAY; } @@ -92,7 +91,7 @@ public final void copyToChunk(int srcOffset, WritableChunk dest, i @Override public final void copyToArray(int srcOffset, Object dest, int destOffset, int length) { - final long[] realType = (long[])dest; + final long[] realType = (long[]) dest; copyToTypedArray(srcOffset, realType, destOffset, length); } @@ -103,13 +102,13 @@ public final void copyToTypedArray(int srcOffset, long[] destData, int destOffse return; } if (ChunkHelpers.canCopyForward(data, sStart, destData, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { destData[destOffset + ii] = data[sStart + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { destData[destOffset + ii] = data[sStart + ii]; } @@ -136,22 +135,26 @@ public final > V walk(V visitor) { // region CopyToBuffer @Override - public final void copyToBuffer(final int srcOffset, @NotNull final Buffer destBuffer, final int destOffset, final int length) { + public final void copyToBuffer(final int srcOffset, @NotNull final Buffer destBuffer, final int destOffset, + final int length) { final LongBuffer longDestBuffer = (LongBuffer) destBuffer; copyToTypedBuffer(srcOffset, longDestBuffer, destOffset, length); } /** - *

Copy a sub-range of this LongChunk to a {@link LongBuffer}. + *

+ * Copy a sub-range of this LongChunk to a {@link LongBuffer}. * - *

See {@link #copyToBuffer(int, Buffer, int, int)} for general documentation. + *

+ * See {@link #copyToBuffer(int, Buffer, int, int)} for general documentation. * - * @param srcOffset The offset into this chunk to start copying from + * @param srcOffset The offset into this chunk to start copying from * @param destBuffer The destination {@link LongBuffer} * @param destOffset The absolute offset into {@code destBuffer} to start copying to - * @param length The number of elements to copy + * @param length The number of elements to copy */ - public final void copyToTypedBuffer(final int srcOffset, @NotNull final LongBuffer destBuffer, final int destOffset, final int length) { + public final void copyToTypedBuffer(final int srcOffset, @NotNull final LongBuffer destBuffer, final int destOffset, + final int length) { if (destBuffer.hasArray()) { copyToTypedArray(srcOffset, destBuffer.array(), destBuffer.arrayOffset() + destOffset, length); return; @@ -165,7 +168,7 @@ public final void copyToTypedBuffer(final int srcOffset, @NotNull final LongBuff // region downcast public static LongChunk downcast(LongChunk self) { - //noinspection unchecked + // noinspection unchecked return (LongChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/LongChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/LongChunkChunk.java index aaa9b71604f..0ab7b0d65f7 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/LongChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/LongChunkChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -15,12 +14,12 @@ public class LongChunkChunk extends ChunkChunkBase imple private static final LongChunkChunk EMPTY = new LongChunkChunk<>(new LongChunk[0], 0, 0); public static LongChunkChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } public static LongChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new LongChunk[capacity]; } @@ -62,7 +61,7 @@ final void resetInnerCache(LongChunk[] data, int offset, int oldCapacity, for (int ii = newCapacity; ii < oldCapacity; ++ii) { // Be friendly to the garbage collector innerData[ii] = null; - innerOffsets[ii] = 0; // to be nice + innerOffsets[ii] = 0; // to be nice } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ObjectChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ObjectChunk.java index 6c50837367a..f89c3727ae4 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ObjectChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ObjectChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.util.type.ArrayTypeUtils; @@ -32,7 +31,7 @@ public class ObjectChunk extends ChunkBase { private static final ObjectChunk EMPTY = new ObjectChunk<>(ArrayTypeUtils.EMPTY_OBJECT_ARRAY, 0, 0); public static ObjectChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } @@ -40,7 +39,7 @@ public static ObjectChunk getEmptyChunk() { private static final ObjectChunk[] EMPTY_OBJECT_CHUNK_ARRAY = new ObjectChunk[0]; static ObjectChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_OBJECT_CHUNK_ARRAY; } @@ -92,7 +91,7 @@ public final void copyToChunk(int srcOffset, WritableChunk dest, i @Override public final void copyToArray(int srcOffset, Object dest, int destOffset, int length) { - final T[] realType = (T[])dest; + final T[] realType = (T[]) dest; copyToTypedArray(srcOffset, realType, destOffset, length); } @@ -103,13 +102,13 @@ public final void copyToTypedArray(int srcOffset, T[] destData, int destOffset, return; } if (ChunkHelpers.canCopyForward(data, sStart, destData, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { destData[destOffset + ii] = data[sStart + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { destData[destOffset + ii] = data[sStart + ii]; } @@ -144,7 +143,7 @@ public ObjectChunk asTypedObjectChunk() { } public static ObjectChunk downcast(ObjectChunk self) { - //noinspection unchecked + // noinspection unchecked return (ObjectChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ObjectChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ObjectChunkChunk.java index 2b619350486..4eaf95f2b54 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ObjectChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ObjectChunkChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -15,12 +14,12 @@ public class ObjectChunkChunk extends ChunkChunkBase private static final ObjectChunkChunk EMPTY = new ObjectChunkChunk<>(new ObjectChunk[0], 0, 0); public static ObjectChunkChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } public static ObjectChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new ObjectChunk[capacity]; } @@ -63,7 +62,7 @@ final void resetInnerCache(ObjectChunk[] data, int offset, int oldCapac for (int ii = newCapacity; ii < oldCapacity; ++ii) { // Be friendly to the garbage collector innerData[ii] = null; - innerOffsets[ii] = 0; // to be nice + innerOffsets[ii] = 0; // to be nice } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/OrderedChunkUtils.java b/engine/chunk/src/main/java/io/deephaven/chunk/OrderedChunkUtils.java index 006a9934623..1d9173c21cf 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/OrderedChunkUtils.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/OrderedChunkUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableBooleanChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableBooleanChunk.java index 4d2dca7261b..c61f51cb6e5 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableBooleanChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableBooleanChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -52,7 +51,8 @@ public ResettableBooleanChunk slice(int offset, int capacity) { } @Override - public BooleanChunk resetFromChunk(Chunk other, int offset, int capacity) { + public BooleanChunk resetFromChunk(Chunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asBooleanChunk(), offset, capacity); } @@ -73,7 +73,8 @@ public BooleanChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_BOOLEAN_ARRAY, 0, 0); } - public BooleanChunk resetFromTypedChunk(BooleanChunk other, int offset, int capacity) { + public BooleanChunk resetFromTypedChunk(BooleanChunk other, int offset, + int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -88,6 +89,5 @@ public BooleanChunk resetFromTypedArray(boolean[ } @Override - public void close() { - } + public void close() {} } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableBooleanChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableBooleanChunkChunk.java index cd584a1b869..b0ba857d913 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableBooleanChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableBooleanChunkChunk.java @@ -1,15 +1,16 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableBooleanChunkChunk extends BooleanChunkChunk implements ResettableChunkChunk { +public class ResettableBooleanChunkChunk extends BooleanChunkChunk + implements ResettableChunkChunk { public static ResettableBooleanChunkChunk makeResettableChunk() { return new ResettableBooleanChunkChunk<>(); @@ -36,8 +37,8 @@ public final void resetFromChunk(ChunkChunk other, int offset, int capacit @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final BooleanChunk[] typedArray = (BooleanChunk[])array; + // noinspection unchecked + final BooleanChunk[] typedArray = (BooleanChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableByteChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableByteChunk.java index 6f99ca72416..ee6cac130fb 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableByteChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableByteChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -52,7 +51,8 @@ public ResettableByteChunk slice(int offset, int capacity) { } @Override - public ByteChunk resetFromChunk(Chunk other, int offset, int capacity) { + public ByteChunk resetFromChunk(Chunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asByteChunk(), offset, capacity); } @@ -73,7 +73,8 @@ public ByteChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_BYTE_ARRAY, 0, 0); } - public ByteChunk resetFromTypedChunk(ByteChunk other, int offset, int capacity) { + public ByteChunk resetFromTypedChunk(ByteChunk other, int offset, + int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -88,6 +89,5 @@ public ByteChunk resetFromTypedArray(byte[] data } @Override - public void close() { - } + public void close() {} } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableByteChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableByteChunkChunk.java index 77157ed4748..d681d4305be 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableByteChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableByteChunkChunk.java @@ -1,15 +1,16 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableByteChunkChunk extends ByteChunkChunk implements ResettableChunkChunk { +public class ResettableByteChunkChunk extends ByteChunkChunk + implements ResettableChunkChunk { public static ResettableByteChunkChunk makeResettableChunk() { return new ResettableByteChunkChunk<>(); @@ -36,8 +37,8 @@ public final void resetFromChunk(ChunkChunk other, int offset, int capacit @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final ByteChunk[] typedArray = (ByteChunk[])array; + // noinspection unchecked + final ByteChunk[] typedArray = (ByteChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableCharChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableCharChunk.java index f1cb81d3d5e..c18d43cd8b0 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableCharChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableCharChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -47,7 +47,8 @@ public ResettableCharChunk slice(int offset, int capacity) { } @Override - public CharChunk resetFromChunk(Chunk other, int offset, int capacity) { + public CharChunk resetFromChunk(Chunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asCharChunk(), offset, capacity); } @@ -68,7 +69,8 @@ public CharChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_CHAR_ARRAY, 0, 0); } - public CharChunk resetFromTypedChunk(CharChunk other, int offset, int capacity) { + public CharChunk resetFromTypedChunk(CharChunk other, int offset, + int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -83,6 +85,5 @@ public CharChunk resetFromTypedArray(char[] data } @Override - public void close() { - } + public void close() {} } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableCharChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableCharChunkChunk.java index c67f5416594..529ba37eb35 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableCharChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableCharChunkChunk.java @@ -1,10 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableCharChunkChunk extends CharChunkChunk implements ResettableChunkChunk { +public class ResettableCharChunkChunk extends CharChunkChunk + implements ResettableChunkChunk { public static ResettableCharChunkChunk makeResettableChunk() { return new ResettableCharChunkChunk<>(); @@ -31,8 +33,8 @@ public final void resetFromChunk(ChunkChunk other, int offset, int capacit @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final CharChunk[] typedArray = (CharChunk[])array; + // noinspection unchecked + final CharChunk[] typedArray = (CharChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableChunk.java index 076f552f5fc..4d6a73d9373 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableChunkChunk.java index 7a93ffc1e1d..771e1e0cd6e 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableChunkChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableDoubleChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableDoubleChunk.java index eb253a344f2..db9118a2e97 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableDoubleChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableDoubleChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -52,7 +51,8 @@ public ResettableDoubleChunk slice(int offset, int capacity) { } @Override - public DoubleChunk resetFromChunk(Chunk other, int offset, int capacity) { + public DoubleChunk resetFromChunk(Chunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asDoubleChunk(), offset, capacity); } @@ -73,7 +73,8 @@ public DoubleChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_DOUBLE_ARRAY, 0, 0); } - public DoubleChunk resetFromTypedChunk(DoubleChunk other, int offset, int capacity) { + public DoubleChunk resetFromTypedChunk(DoubleChunk other, int offset, + int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -88,6 +89,5 @@ public DoubleChunk resetFromTypedArray(double[] } @Override - public void close() { - } + public void close() {} } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableDoubleChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableDoubleChunkChunk.java index d5ac1dd3f0b..f18422e4b34 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableDoubleChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableDoubleChunkChunk.java @@ -1,15 +1,16 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableDoubleChunkChunk extends DoubleChunkChunk implements ResettableChunkChunk { +public class ResettableDoubleChunkChunk extends DoubleChunkChunk + implements ResettableChunkChunk { public static ResettableDoubleChunkChunk makeResettableChunk() { return new ResettableDoubleChunkChunk<>(); @@ -36,8 +37,8 @@ public final void resetFromChunk(ChunkChunk other, int offset, int capacit @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final DoubleChunk[] typedArray = (DoubleChunk[])array; + // noinspection unchecked + final DoubleChunk[] typedArray = (DoubleChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableFloatChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableFloatChunk.java index de710b7ac3a..e739e35364f 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableFloatChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableFloatChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -52,7 +51,8 @@ public ResettableFloatChunk slice(int offset, int capacity) { } @Override - public FloatChunk resetFromChunk(Chunk other, int offset, int capacity) { + public FloatChunk resetFromChunk(Chunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asFloatChunk(), offset, capacity); } @@ -73,7 +73,8 @@ public FloatChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_FLOAT_ARRAY, 0, 0); } - public FloatChunk resetFromTypedChunk(FloatChunk other, int offset, int capacity) { + public FloatChunk resetFromTypedChunk(FloatChunk other, int offset, + int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -88,6 +89,5 @@ public FloatChunk resetFromTypedArray(float[] da } @Override - public void close() { - } + public void close() {} } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableFloatChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableFloatChunkChunk.java index 654dc3238bd..9923b4577b3 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableFloatChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableFloatChunkChunk.java @@ -1,15 +1,16 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableFloatChunkChunk extends FloatChunkChunk implements ResettableChunkChunk { +public class ResettableFloatChunkChunk extends FloatChunkChunk + implements ResettableChunkChunk { public static ResettableFloatChunkChunk makeResettableChunk() { return new ResettableFloatChunkChunk<>(); @@ -36,8 +37,8 @@ public final void resetFromChunk(ChunkChunk other, int offset, int capacit @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final FloatChunk[] typedArray = (FloatChunk[])array; + // noinspection unchecked + final FloatChunk[] typedArray = (FloatChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableIntChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableIntChunk.java index d01f56b7f0b..06af943913b 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableIntChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableIntChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -52,7 +51,8 @@ public ResettableIntChunk slice(int offset, int capacity) { } @Override - public IntChunk resetFromChunk(Chunk other, int offset, int capacity) { + public IntChunk resetFromChunk(Chunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asIntChunk(), offset, capacity); } @@ -73,7 +73,8 @@ public IntChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_INT_ARRAY, 0, 0); } - public IntChunk resetFromTypedChunk(IntChunk other, int offset, int capacity) { + public IntChunk resetFromTypedChunk(IntChunk other, int offset, + int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -88,6 +89,5 @@ public IntChunk resetFromTypedArray(int[] data, } @Override - public void close() { - } + public void close() {} } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableIntChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableIntChunkChunk.java index a68774a6b4e..77fbb64189d 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableIntChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableIntChunkChunk.java @@ -1,15 +1,16 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableIntChunkChunk extends IntChunkChunk implements ResettableChunkChunk { +public class ResettableIntChunkChunk extends IntChunkChunk + implements ResettableChunkChunk { public static ResettableIntChunkChunk makeResettableChunk() { return new ResettableIntChunkChunk<>(); @@ -36,8 +37,8 @@ public final void resetFromChunk(ChunkChunk other, int offset, int capacit @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final IntChunk[] typedArray = (IntChunk[])array; + // noinspection unchecked + final IntChunk[] typedArray = (IntChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableLongChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableLongChunk.java index 2c7761d2b6b..20967a341d7 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableLongChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableLongChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -52,7 +51,8 @@ public ResettableLongChunk slice(int offset, int capacity) { } @Override - public LongChunk resetFromChunk(Chunk other, int offset, int capacity) { + public LongChunk resetFromChunk(Chunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asLongChunk(), offset, capacity); } @@ -73,7 +73,8 @@ public LongChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_LONG_ARRAY, 0, 0); } - public LongChunk resetFromTypedChunk(LongChunk other, int offset, int capacity) { + public LongChunk resetFromTypedChunk(LongChunk other, int offset, + int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -88,6 +89,5 @@ public LongChunk resetFromTypedArray(long[] data } @Override - public void close() { - } + public void close() {} } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableLongChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableLongChunkChunk.java index 44dbd8c31a6..7782a442ec4 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableLongChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableLongChunkChunk.java @@ -1,15 +1,16 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableLongChunkChunk extends LongChunkChunk implements ResettableChunkChunk { +public class ResettableLongChunkChunk extends LongChunkChunk + implements ResettableChunkChunk { public static ResettableLongChunkChunk makeResettableChunk() { return new ResettableLongChunkChunk<>(); @@ -36,8 +37,8 @@ public final void resetFromChunk(ChunkChunk other, int offset, int capacit @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final LongChunk[] typedArray = (LongChunk[])array; + // noinspection unchecked + final LongChunk[] typedArray = (LongChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableObjectChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableObjectChunk.java index 23982b1cbd2..94988281898 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableObjectChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableObjectChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -53,7 +52,8 @@ public ResettableObjectChunk slice(int offset, int capacity) { } @Override - public ObjectChunk resetFromChunk(Chunk other, int offset, int capacity) { + public ObjectChunk resetFromChunk(Chunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asObjectChunk(), offset, capacity); } @@ -76,7 +76,8 @@ public ObjectChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_OBJECT_ARRAY, 0, 0); } - public ObjectChunk resetFromTypedChunk(ObjectChunk other, int offset, int capacity) { + public ObjectChunk resetFromTypedChunk(ObjectChunk other, int offset, + int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -91,6 +92,5 @@ public ObjectChunk resetFromTypedArray(T[] da } @Override - public void close() { - } + public void close() {} } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableObjectChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableObjectChunkChunk.java index fc781905405..606400a8262 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableObjectChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableObjectChunkChunk.java @@ -1,15 +1,16 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableObjectChunkChunk extends ObjectChunkChunk implements ResettableChunkChunk { +public class ResettableObjectChunkChunk extends ObjectChunkChunk + implements ResettableChunkChunk { public static ResettableObjectChunkChunk makeResettableChunk() { return new ResettableObjectChunkChunk<>(); @@ -36,8 +37,8 @@ public final void resetFromChunk(ChunkChunk other, int offset, int capacit @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final ObjectChunk[] typedArray = (ObjectChunk[])array; + // noinspection unchecked + final ObjectChunk[] typedArray = (ObjectChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableReadOnlyChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableReadOnlyChunk.java index 1b1f9d035b3..71bb522b9ad 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableReadOnlyChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableReadOnlyChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableShortChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableShortChunk.java index 9924622d26f..3d15e10884a 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableShortChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableShortChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -52,7 +51,8 @@ public ResettableShortChunk slice(int offset, int capacity) { } @Override - public ShortChunk resetFromChunk(Chunk other, int offset, int capacity) { + public ShortChunk resetFromChunk(Chunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asShortChunk(), offset, capacity); } @@ -73,7 +73,8 @@ public ShortChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_SHORT_ARRAY, 0, 0); } - public ShortChunk resetFromTypedChunk(ShortChunk other, int offset, int capacity) { + public ShortChunk resetFromTypedChunk(ShortChunk other, int offset, + int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -88,6 +89,5 @@ public ShortChunk resetFromTypedArray(short[] da } @Override - public void close() { - } + public void close() {} } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableShortChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableShortChunkChunk.java index fd2b8dbc704..8a712b40b58 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableShortChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableShortChunkChunk.java @@ -1,15 +1,16 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableShortChunkChunk extends ShortChunkChunk implements ResettableChunkChunk { +public class ResettableShortChunkChunk extends ShortChunkChunk + implements ResettableChunkChunk { public static ResettableShortChunkChunk makeResettableChunk() { return new ResettableShortChunkChunk<>(); @@ -36,8 +37,8 @@ public final void resetFromChunk(ChunkChunk other, int offset, int capacit @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final ShortChunk[] typedArray = (ShortChunk[])array; + // noinspection unchecked + final ShortChunk[] typedArray = (ShortChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableBooleanChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableBooleanChunk.java index df62be71ff2..f895aed46fa 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableBooleanChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableBooleanChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableWritableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableWritableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -52,18 +51,19 @@ public ResettableWritableBooleanChunk slice(int offset, int capacity) } @Override - public WritableBooleanChunk resetFromChunk(WritableChunk other, int offset, int capacity) { + public WritableBooleanChunk resetFromChunk(WritableChunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asWritableBooleanChunk(), offset, capacity); } @Override public WritableBooleanChunk resetFromArray(Object array, int offset, int capacity) { - final boolean[] typedArray = (boolean[])array; + final boolean[] typedArray = (boolean[]) array; return resetFromTypedArray(typedArray, offset, capacity); } public WritableBooleanChunk resetFromArray(Object array) { - final boolean[] typedArray = (boolean[])array; + final boolean[] typedArray = (boolean[]) array; return resetFromTypedArray(typedArray, 0, typedArray.length); } @@ -72,7 +72,8 @@ public WritableBooleanChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_BOOLEAN_ARRAY, 0, 0); } - public WritableBooleanChunk resetFromTypedChunk(WritableBooleanChunk other, int offset, int capacity) { + public WritableBooleanChunk resetFromTypedChunk(WritableBooleanChunk other, + int offset, int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -83,7 +84,7 @@ public WritableBooleanChunk resetFromTypedArray(b this.offset = offset; this.capacity = capacity; this.size = capacity; - //noinspection unchecked + // noinspection unchecked return (WritableBooleanChunk) this; } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableBooleanChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableBooleanChunkChunk.java index 36e3d55a9c3..0e75f72045b 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableBooleanChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableBooleanChunkChunk.java @@ -1,16 +1,17 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableWritableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableWritableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableWritableBooleanChunkChunk extends WritableBooleanChunkChunk implements ResettableWritableChunkChunk { +public class ResettableWritableBooleanChunkChunk extends WritableBooleanChunkChunk + implements ResettableWritableChunkChunk { public static ResettableWritableBooleanChunkChunk makeResettableChunk() { return new ResettableWritableBooleanChunkChunk<>(); @@ -37,8 +38,8 @@ public final void resetFromChunk(WritableChunkChunk other, int offset, int @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final WritableBooleanChunk[] typedArray = (WritableBooleanChunk[])array; + // noinspection unchecked + final WritableBooleanChunk[] typedArray = (WritableBooleanChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableByteChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableByteChunk.java index 65b4b70724a..3636270fb79 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableByteChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableByteChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableWritableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableWritableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -52,18 +51,19 @@ public ResettableWritableByteChunk slice(int offset, int capacity) { } @Override - public WritableByteChunk resetFromChunk(WritableChunk other, int offset, int capacity) { + public WritableByteChunk resetFromChunk(WritableChunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asWritableByteChunk(), offset, capacity); } @Override public WritableByteChunk resetFromArray(Object array, int offset, int capacity) { - final byte[] typedArray = (byte[])array; + final byte[] typedArray = (byte[]) array; return resetFromTypedArray(typedArray, offset, capacity); } public WritableByteChunk resetFromArray(Object array) { - final byte[] typedArray = (byte[])array; + final byte[] typedArray = (byte[]) array; return resetFromTypedArray(typedArray, 0, typedArray.length); } @@ -72,7 +72,8 @@ public WritableByteChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_BYTE_ARRAY, 0, 0); } - public WritableByteChunk resetFromTypedChunk(WritableByteChunk other, int offset, int capacity) { + public WritableByteChunk resetFromTypedChunk(WritableByteChunk other, + int offset, int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -83,7 +84,7 @@ public WritableByteChunk resetFromTypedArray(byte this.offset = offset; this.capacity = capacity; this.size = capacity; - //noinspection unchecked + // noinspection unchecked return (WritableByteChunk) this; } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableByteChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableByteChunkChunk.java index 5b32a2ad235..f73c38becf5 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableByteChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableByteChunkChunk.java @@ -1,16 +1,17 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableWritableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableWritableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableWritableByteChunkChunk extends WritableByteChunkChunk implements ResettableWritableChunkChunk { +public class ResettableWritableByteChunkChunk extends WritableByteChunkChunk + implements ResettableWritableChunkChunk { public static ResettableWritableByteChunkChunk makeResettableChunk() { return new ResettableWritableByteChunkChunk<>(); @@ -37,8 +38,8 @@ public final void resetFromChunk(WritableChunkChunk other, int offset, int @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final WritableByteChunk[] typedArray = (WritableByteChunk[])array; + // noinspection unchecked + final WritableByteChunk[] typedArray = (WritableByteChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableCharChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableCharChunk.java index 2c880695080..dd47b435998 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableCharChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableCharChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -47,18 +47,19 @@ public ResettableWritableCharChunk slice(int offset, int capacity) { } @Override - public WritableCharChunk resetFromChunk(WritableChunk other, int offset, int capacity) { + public WritableCharChunk resetFromChunk(WritableChunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asWritableCharChunk(), offset, capacity); } @Override public WritableCharChunk resetFromArray(Object array, int offset, int capacity) { - final char[] typedArray = (char[])array; + final char[] typedArray = (char[]) array; return resetFromTypedArray(typedArray, offset, capacity); } public WritableCharChunk resetFromArray(Object array) { - final char[] typedArray = (char[])array; + final char[] typedArray = (char[]) array; return resetFromTypedArray(typedArray, 0, typedArray.length); } @@ -67,7 +68,8 @@ public WritableCharChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_CHAR_ARRAY, 0, 0); } - public WritableCharChunk resetFromTypedChunk(WritableCharChunk other, int offset, int capacity) { + public WritableCharChunk resetFromTypedChunk(WritableCharChunk other, + int offset, int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -78,7 +80,7 @@ public WritableCharChunk resetFromTypedArray(char this.offset = offset; this.capacity = capacity; this.size = capacity; - //noinspection unchecked + // noinspection unchecked return (WritableCharChunk) this; } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableCharChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableCharChunkChunk.java index 3c88bf267c9..59e077c0f8e 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableCharChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableCharChunkChunk.java @@ -1,11 +1,13 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableWritableCharChunkChunk extends WritableCharChunkChunk implements ResettableWritableChunkChunk { +public class ResettableWritableCharChunkChunk extends WritableCharChunkChunk + implements ResettableWritableChunkChunk { public static ResettableWritableCharChunkChunk makeResettableChunk() { return new ResettableWritableCharChunkChunk<>(); @@ -32,8 +34,8 @@ public final void resetFromChunk(WritableChunkChunk other, int offset, int @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final WritableCharChunk[] typedArray = (WritableCharChunk[])array; + // noinspection unchecked + final WritableCharChunk[] typedArray = (WritableCharChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableChunk.java index ac69b6935f2..0c24d2cafe4 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableChunkChunk.java index 351e48a2a1f..26fb14d01f1 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableChunkChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableDoubleChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableDoubleChunk.java index 26e2f822ba3..00f7a879c75 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableDoubleChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableDoubleChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableWritableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableWritableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -52,18 +51,19 @@ public ResettableWritableDoubleChunk slice(int offset, int capacity) } @Override - public WritableDoubleChunk resetFromChunk(WritableChunk other, int offset, int capacity) { + public WritableDoubleChunk resetFromChunk(WritableChunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asWritableDoubleChunk(), offset, capacity); } @Override public WritableDoubleChunk resetFromArray(Object array, int offset, int capacity) { - final double[] typedArray = (double[])array; + final double[] typedArray = (double[]) array; return resetFromTypedArray(typedArray, offset, capacity); } public WritableDoubleChunk resetFromArray(Object array) { - final double[] typedArray = (double[])array; + final double[] typedArray = (double[]) array; return resetFromTypedArray(typedArray, 0, typedArray.length); } @@ -72,7 +72,8 @@ public WritableDoubleChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_DOUBLE_ARRAY, 0, 0); } - public WritableDoubleChunk resetFromTypedChunk(WritableDoubleChunk other, int offset, int capacity) { + public WritableDoubleChunk resetFromTypedChunk(WritableDoubleChunk other, + int offset, int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -83,7 +84,7 @@ public WritableDoubleChunk resetFromTypedArray(do this.offset = offset; this.capacity = capacity; this.size = capacity; - //noinspection unchecked + // noinspection unchecked return (WritableDoubleChunk) this; } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableDoubleChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableDoubleChunkChunk.java index b6bc0cc39c0..ebf521c4639 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableDoubleChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableDoubleChunkChunk.java @@ -1,16 +1,17 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableWritableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableWritableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableWritableDoubleChunkChunk extends WritableDoubleChunkChunk implements ResettableWritableChunkChunk { +public class ResettableWritableDoubleChunkChunk extends WritableDoubleChunkChunk + implements ResettableWritableChunkChunk { public static ResettableWritableDoubleChunkChunk makeResettableChunk() { return new ResettableWritableDoubleChunkChunk<>(); @@ -37,8 +38,8 @@ public final void resetFromChunk(WritableChunkChunk other, int offset, int @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final WritableDoubleChunk[] typedArray = (WritableDoubleChunk[])array; + // noinspection unchecked + final WritableDoubleChunk[] typedArray = (WritableDoubleChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableFloatChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableFloatChunk.java index 5f812b45e04..003165f905c 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableFloatChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableFloatChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableWritableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableWritableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -52,18 +51,19 @@ public ResettableWritableFloatChunk slice(int offset, int capacity) { } @Override - public WritableFloatChunk resetFromChunk(WritableChunk other, int offset, int capacity) { + public WritableFloatChunk resetFromChunk(WritableChunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asWritableFloatChunk(), offset, capacity); } @Override public WritableFloatChunk resetFromArray(Object array, int offset, int capacity) { - final float[] typedArray = (float[])array; + final float[] typedArray = (float[]) array; return resetFromTypedArray(typedArray, offset, capacity); } public WritableFloatChunk resetFromArray(Object array) { - final float[] typedArray = (float[])array; + final float[] typedArray = (float[]) array; return resetFromTypedArray(typedArray, 0, typedArray.length); } @@ -72,7 +72,8 @@ public WritableFloatChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_FLOAT_ARRAY, 0, 0); } - public WritableFloatChunk resetFromTypedChunk(WritableFloatChunk other, int offset, int capacity) { + public WritableFloatChunk resetFromTypedChunk(WritableFloatChunk other, + int offset, int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -83,7 +84,7 @@ public WritableFloatChunk resetFromTypedArray(flo this.offset = offset; this.capacity = capacity; this.size = capacity; - //noinspection unchecked + // noinspection unchecked return (WritableFloatChunk) this; } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableFloatChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableFloatChunkChunk.java index 029c45c1f9f..5234cd70817 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableFloatChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableFloatChunkChunk.java @@ -1,16 +1,17 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableWritableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableWritableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableWritableFloatChunkChunk extends WritableFloatChunkChunk implements ResettableWritableChunkChunk { +public class ResettableWritableFloatChunkChunk extends WritableFloatChunkChunk + implements ResettableWritableChunkChunk { public static ResettableWritableFloatChunkChunk makeResettableChunk() { return new ResettableWritableFloatChunkChunk<>(); @@ -37,8 +38,8 @@ public final void resetFromChunk(WritableChunkChunk other, int offset, int @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final WritableFloatChunk[] typedArray = (WritableFloatChunk[])array; + // noinspection unchecked + final WritableFloatChunk[] typedArray = (WritableFloatChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableIntChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableIntChunk.java index 4ceba0ddf9d..170cf47e4df 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableIntChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableIntChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableWritableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableWritableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -52,18 +51,19 @@ public ResettableWritableIntChunk slice(int offset, int capacity) { } @Override - public WritableIntChunk resetFromChunk(WritableChunk other, int offset, int capacity) { + public WritableIntChunk resetFromChunk(WritableChunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asWritableIntChunk(), offset, capacity); } @Override public WritableIntChunk resetFromArray(Object array, int offset, int capacity) { - final int[] typedArray = (int[])array; + final int[] typedArray = (int[]) array; return resetFromTypedArray(typedArray, offset, capacity); } public WritableIntChunk resetFromArray(Object array) { - final int[] typedArray = (int[])array; + final int[] typedArray = (int[]) array; return resetFromTypedArray(typedArray, 0, typedArray.length); } @@ -72,7 +72,8 @@ public WritableIntChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_INT_ARRAY, 0, 0); } - public WritableIntChunk resetFromTypedChunk(WritableIntChunk other, int offset, int capacity) { + public WritableIntChunk resetFromTypedChunk(WritableIntChunk other, + int offset, int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -83,7 +84,7 @@ public WritableIntChunk resetFromTypedArray(int[] this.offset = offset; this.capacity = capacity; this.size = capacity; - //noinspection unchecked + // noinspection unchecked return (WritableIntChunk) this; } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableIntChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableIntChunkChunk.java index 4080041ae95..0b95beeba72 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableIntChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableIntChunkChunk.java @@ -1,16 +1,17 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableWritableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableWritableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableWritableIntChunkChunk extends WritableIntChunkChunk implements ResettableWritableChunkChunk { +public class ResettableWritableIntChunkChunk extends WritableIntChunkChunk + implements ResettableWritableChunkChunk { public static ResettableWritableIntChunkChunk makeResettableChunk() { return new ResettableWritableIntChunkChunk<>(); @@ -37,8 +38,8 @@ public final void resetFromChunk(WritableChunkChunk other, int offset, int @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final WritableIntChunk[] typedArray = (WritableIntChunk[])array; + // noinspection unchecked + final WritableIntChunk[] typedArray = (WritableIntChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableLongChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableLongChunk.java index 40eec8f04b6..7635704ce27 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableLongChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableLongChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableWritableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableWritableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -52,18 +51,19 @@ public ResettableWritableLongChunk slice(int offset, int capacity) { } @Override - public WritableLongChunk resetFromChunk(WritableChunk other, int offset, int capacity) { + public WritableLongChunk resetFromChunk(WritableChunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asWritableLongChunk(), offset, capacity); } @Override public WritableLongChunk resetFromArray(Object array, int offset, int capacity) { - final long[] typedArray = (long[])array; + final long[] typedArray = (long[]) array; return resetFromTypedArray(typedArray, offset, capacity); } public WritableLongChunk resetFromArray(Object array) { - final long[] typedArray = (long[])array; + final long[] typedArray = (long[]) array; return resetFromTypedArray(typedArray, 0, typedArray.length); } @@ -72,7 +72,8 @@ public WritableLongChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_LONG_ARRAY, 0, 0); } - public WritableLongChunk resetFromTypedChunk(WritableLongChunk other, int offset, int capacity) { + public WritableLongChunk resetFromTypedChunk(WritableLongChunk other, + int offset, int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -83,7 +84,7 @@ public WritableLongChunk resetFromTypedArray(long this.offset = offset; this.capacity = capacity; this.size = capacity; - //noinspection unchecked + // noinspection unchecked return (WritableLongChunk) this; } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableLongChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableLongChunkChunk.java index e074d24dacd..8e1b2d60f40 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableLongChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableLongChunkChunk.java @@ -1,16 +1,17 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableWritableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableWritableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableWritableLongChunkChunk extends WritableLongChunkChunk implements ResettableWritableChunkChunk { +public class ResettableWritableLongChunkChunk extends WritableLongChunkChunk + implements ResettableWritableChunkChunk { public static ResettableWritableLongChunkChunk makeResettableChunk() { return new ResettableWritableLongChunkChunk<>(); @@ -37,8 +38,8 @@ public final void resetFromChunk(WritableChunkChunk other, int offset, int @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final WritableLongChunk[] typedArray = (WritableLongChunk[])array; + // noinspection unchecked + final WritableLongChunk[] typedArray = (WritableLongChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableObjectChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableObjectChunk.java index 6fd5149b31c..9062ac29e15 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableObjectChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableObjectChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableWritableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableWritableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -53,20 +52,21 @@ public ResettableWritableObjectChunk slice(int offset, int capacit } @Override - public WritableObjectChunk resetFromChunk(WritableChunk other, int offset, int capacity) { + public WritableObjectChunk resetFromChunk(WritableChunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asWritableObjectChunk(), offset, capacity); } @Override public WritableObjectChunk resetFromArray(Object array, int offset, int capacity) { //noinspection unchecked - final T[] typedArray = (T[])array; + final T[] typedArray = (T[]) array; return resetFromTypedArray(typedArray, offset, capacity); } public WritableObjectChunk resetFromArray(Object array) { //noinspection unchecked - final T[] typedArray = (T[])array; + final T[] typedArray = (T[]) array; return resetFromTypedArray(typedArray, 0, typedArray.length); } @@ -75,7 +75,8 @@ public WritableObjectChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_OBJECT_ARRAY, 0, 0); } - public WritableObjectChunk resetFromTypedChunk(WritableObjectChunk other, int offset, int capacity) { + public WritableObjectChunk resetFromTypedChunk(WritableObjectChunk other, + int offset, int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -86,7 +87,7 @@ public WritableObjectChunk resetFromTypedArray this.offset = offset; this.capacity = capacity; this.size = capacity; - //noinspection unchecked + // noinspection unchecked return (WritableObjectChunk) this; } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableObjectChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableObjectChunkChunk.java index ef4eb244a0e..f7b536085e0 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableObjectChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableObjectChunkChunk.java @@ -1,16 +1,17 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableWritableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableWritableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableWritableObjectChunkChunk extends WritableObjectChunkChunk implements ResettableWritableChunkChunk { +public class ResettableWritableObjectChunkChunk extends WritableObjectChunkChunk + implements ResettableWritableChunkChunk { public static ResettableWritableObjectChunkChunk makeResettableChunk() { return new ResettableWritableObjectChunkChunk<>(); @@ -37,8 +38,8 @@ public final void resetFromChunk(WritableChunkChunk other, int offset, int @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final WritableObjectChunk[] typedArray = (WritableObjectChunk[])array; + // noinspection unchecked + final WritableObjectChunk[] typedArray = (WritableObjectChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableShortChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableShortChunk.java index 48c52b9c744..af93738f02e 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableShortChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableShortChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableWritableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableWritableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -52,18 +51,19 @@ public ResettableWritableShortChunk slice(int offset, int capacity) { } @Override - public WritableShortChunk resetFromChunk(WritableChunk other, int offset, int capacity) { + public WritableShortChunk resetFromChunk(WritableChunk other, int offset, + int capacity) { return resetFromTypedChunk(other.asWritableShortChunk(), offset, capacity); } @Override public WritableShortChunk resetFromArray(Object array, int offset, int capacity) { - final short[] typedArray = (short[])array; + final short[] typedArray = (short[]) array; return resetFromTypedArray(typedArray, offset, capacity); } public WritableShortChunk resetFromArray(Object array) { - final short[] typedArray = (short[])array; + final short[] typedArray = (short[]) array; return resetFromTypedArray(typedArray, 0, typedArray.length); } @@ -72,7 +72,8 @@ public WritableShortChunk clear() { return resetFromArray(ArrayTypeUtils.EMPTY_SHORT_ARRAY, 0, 0); } - public WritableShortChunk resetFromTypedChunk(WritableShortChunk other, int offset, int capacity) { + public WritableShortChunk resetFromTypedChunk(WritableShortChunk other, + int offset, int capacity) { ChunkHelpers.checkSliceArgs(other.size, offset, capacity); return resetFromTypedArray(other.data, other.offset + offset, capacity); } @@ -83,7 +84,7 @@ public WritableShortChunk resetFromTypedArray(sho this.offset = offset; this.capacity = capacity; this.size = capacity; - //noinspection unchecked + // noinspection unchecked return (WritableShortChunk) this; } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableShortChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableShortChunkChunk.java index b9e73eb8617..ca4b423d7c4 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableShortChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ResettableWritableShortChunkChunk.java @@ -1,16 +1,17 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ResettableWritableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ResettableWritableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; + import io.deephaven.chunk.attributes.Any; -public class ResettableWritableShortChunkChunk extends WritableShortChunkChunk implements ResettableWritableChunkChunk { +public class ResettableWritableShortChunkChunk extends WritableShortChunkChunk + implements ResettableWritableChunkChunk { public static ResettableWritableShortChunkChunk makeResettableChunk() { return new ResettableWritableShortChunkChunk<>(); @@ -37,8 +38,8 @@ public final void resetFromChunk(WritableChunkChunk other, int offset, int @Override public final void resetFromArray(Object array, int offset, int capacity) { - //noinspection unchecked - final WritableShortChunk[] typedArray = (WritableShortChunk[])array; + // noinspection unchecked + final WritableShortChunk[] typedArray = (WritableShortChunk[]) array; resetFromTypedArray(typedArray, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ShortChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ShortChunk.java index 7e18cdd15fd..7d99a61b546 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ShortChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ShortChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.util.type.ArrayTypeUtils; @@ -34,7 +33,7 @@ public class ShortChunk extends ChunkBase { private static final ShortChunk EMPTY = new ShortChunk<>(ArrayTypeUtils.EMPTY_SHORT_ARRAY, 0, 0); public static ShortChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } @@ -42,7 +41,7 @@ public static ShortChunk getEmptyChunk() { private static final ShortChunk[] EMPTY_SHORT_CHUNK_ARRAY = new ShortChunk[0]; static ShortChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_SHORT_CHUNK_ARRAY; } @@ -92,7 +91,7 @@ public final void copyToChunk(int srcOffset, WritableChunk dest, i @Override public final void copyToArray(int srcOffset, Object dest, int destOffset, int length) { - final short[] realType = (short[])dest; + final short[] realType = (short[]) dest; copyToTypedArray(srcOffset, realType, destOffset, length); } @@ -103,13 +102,13 @@ public final void copyToTypedArray(int srcOffset, short[] destData, int destOffs return; } if (ChunkHelpers.canCopyForward(data, sStart, destData, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { destData[destOffset + ii] = data[sStart + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { destData[destOffset + ii] = data[sStart + ii]; } @@ -136,22 +135,26 @@ public final > V walk(V visitor) { // region CopyToBuffer @Override - public final void copyToBuffer(final int srcOffset, @NotNull final Buffer destBuffer, final int destOffset, final int length) { + public final void copyToBuffer(final int srcOffset, @NotNull final Buffer destBuffer, final int destOffset, + final int length) { final ShortBuffer shortDestBuffer = (ShortBuffer) destBuffer; copyToTypedBuffer(srcOffset, shortDestBuffer, destOffset, length); } /** - *

Copy a sub-range of this ShortChunk to a {@link ShortBuffer}. + *

+ * Copy a sub-range of this ShortChunk to a {@link ShortBuffer}. * - *

See {@link #copyToBuffer(int, Buffer, int, int)} for general documentation. + *

+ * See {@link #copyToBuffer(int, Buffer, int, int)} for general documentation. * - * @param srcOffset The offset into this chunk to start copying from + * @param srcOffset The offset into this chunk to start copying from * @param destBuffer The destination {@link ShortBuffer} * @param destOffset The absolute offset into {@code destBuffer} to start copying to - * @param length The number of elements to copy + * @param length The number of elements to copy */ - public final void copyToTypedBuffer(final int srcOffset, @NotNull final ShortBuffer destBuffer, final int destOffset, final int length) { + public final void copyToTypedBuffer(final int srcOffset, @NotNull final ShortBuffer destBuffer, final int destOffset, + final int length) { if (destBuffer.hasArray()) { copyToTypedArray(srcOffset, destBuffer.array(), destBuffer.arrayOffset() + destOffset, length); return; @@ -165,7 +168,7 @@ public final void copyToTypedBuffer(final int srcOffset, @NotNull final ShortBuf // region downcast public static ShortChunk downcast(ShortChunk self) { - //noinspection unchecked + // noinspection unchecked return (ShortChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/ShortChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/ShortChunkChunk.java index 153ae224d75..98bdd17ff04 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/ShortChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/ShortChunkChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -15,12 +14,12 @@ public class ShortChunkChunk extends ChunkChunkBase impl private static final ShortChunkChunk EMPTY = new ShortChunkChunk<>(new ShortChunk[0], 0, 0); public static ShortChunkChunk getEmptyChunk() { - //noinspection unchecked + // noinspection unchecked return EMPTY; } public static ShortChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new ShortChunk[capacity]; } @@ -62,7 +61,7 @@ final void resetInnerCache(ShortChunk[] data, int offset, int oldCapacity, for (int ii = newCapacity; ii < oldCapacity; ++ii) { // Be friendly to the garbage collector innerData[ii] = null; - innerOffsets[ii] = 0; // to be nice + innerOffsets[ii] = 0; // to be nice } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableBooleanChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableBooleanChunk.java index 668f8de2d93..7f20a9f61ae 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableBooleanChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableBooleanChunk.java @@ -1,14 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit WritableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -package io.deephaven.chunk; - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit WritableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// // @formatter:off +package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; import io.deephaven.chunk.util.pools.MultiChunkPool; @@ -25,8 +22,6 @@ import static io.deephaven.chunk.util.pools.ChunkPoolConstants.POOL_WRITABLE_CHUNKS; -// @formatter:on - /** * {@link WritableChunk} implementation for boolean data. */ @@ -36,7 +31,7 @@ public class WritableBooleanChunk extends BooleanChunk i private static final WritableBooleanChunk[] EMPTY_WRITABLE_BOOLEAN_CHUNK_ARRAY = new WritableBooleanChunk[0]; static WritableBooleanChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_WRITABLE_BOOLEAN_CHUNK_ARRAY; } @@ -72,7 +67,9 @@ public final void set(int index, boolean value) { data[offset + index] = value; } - public final void add(boolean value) { data[offset + size++] = value; } + public final void add(boolean value) { + data[offset + size++] = value; + } @Override public WritableBooleanChunk slice(int offset, int capacity) { @@ -111,7 +108,7 @@ public final int arrayOffset() { // region fillWithBoxedValue @Override public final void fillWithBoxedValue(int offset, int size, Object value) { - fillWithValue(offset,size, TypeUtils.unbox((Boolean) value)); + fillWithValue(offset, size, TypeUtils.unbox((Boolean) value)); } // endregion fillWithBoxedValue @@ -143,7 +140,7 @@ public final void copyFromTypedChunk(BooleanChunk src, int srcOf @Override public final void copyFromArray(Object srcArray, int srcOffset, int destOffset, int length) { - final boolean[] typedArray = (boolean[])srcArray; + final boolean[] typedArray = (boolean[]) srcArray; copyFromTypedArray(typedArray, srcOffset, destOffset, length); } @@ -155,13 +152,13 @@ public final void copyFromTypedArray(boolean[] src, int srcOffset, int destOffse return; } if (ChunkHelpers.canCopyForward(src, srcOffset, data, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } @@ -179,12 +176,12 @@ public final void sort() { // endregion sort @Override - public void close() { - } + public void close() {} // region downcast - public static WritableBooleanChunk upcast(WritableBooleanChunk self) { - //noinspection unchecked + public static WritableBooleanChunk upcast( + WritableBooleanChunk self) { + // noinspection unchecked return (WritableBooleanChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableBooleanChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableBooleanChunkChunk.java index 7d1d08b9b83..8029cf4ab4d 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableBooleanChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableBooleanChunkChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit WritableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit WritableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -14,7 +13,7 @@ public class WritableBooleanChunkChunk extends BooleanChunkChunk implements WritableChunkChunk { public static WritableBooleanChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new WritableBooleanChunk[capacity]; } @@ -26,7 +25,8 @@ public static WritableBooleanChunkChunk writableChunkWr return new WritableBooleanChunkChunk<>(data, 0, data.length); } - public static WritableBooleanChunkChunk writableChunkWrap(WritableBooleanChunk[] data, int offset, int size) { + public static WritableBooleanChunkChunk writableChunkWrap(WritableBooleanChunk[] data, + int offset, int size) { return new WritableBooleanChunkChunk<>(data, offset, size); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableByteChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableByteChunk.java index 5a646eec3ac..417d9356cb8 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableByteChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableByteChunk.java @@ -1,14 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit WritableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -package io.deephaven.chunk; - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit WritableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// // @formatter:off +package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; import io.deephaven.chunk.util.pools.MultiChunkPool; @@ -28,8 +25,6 @@ import static io.deephaven.chunk.util.pools.ChunkPoolConstants.POOL_WRITABLE_CHUNKS; -// @formatter:on - /** * {@link WritableChunk} implementation for byte data. */ @@ -39,7 +34,7 @@ public class WritableByteChunk extends ByteChunk impleme private static final WritableByteChunk[] EMPTY_WRITABLE_BYTE_CHUNK_ARRAY = new WritableByteChunk[0]; static WritableByteChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_WRITABLE_BYTE_CHUNK_ARRAY; } @@ -75,7 +70,9 @@ public final void set(int index, byte value) { data[offset + index] = value; } - public final void add(byte value) { data[offset + size++] = value; } + public final void add(byte value) { + data[offset + size++] = value; + } @Override public WritableByteChunk slice(int offset, int capacity) { @@ -118,7 +115,7 @@ public final void fillWithNullValue(final int offset, final int length) { // region fillWithBoxedValue @Override public final void fillWithBoxedValue(int offset, int size, Object value) { - fillWithValue(offset,size, TypeUtils.unbox((Byte) value)); + fillWithValue(offset, size, TypeUtils.unbox((Byte) value)); } // endregion fillWithBoxedValue @@ -150,7 +147,7 @@ public final void copyFromTypedChunk(ByteChunk src, int srcOffse @Override public final void copyFromArray(Object srcArray, int srcOffset, int destOffset, int length) { - final byte[] typedArray = (byte[])srcArray; + final byte[] typedArray = (byte[]) srcArray; copyFromTypedArray(typedArray, srcOffset, destOffset, length); } @@ -162,13 +159,13 @@ public final void copyFromTypedArray(byte[] src, int srcOffset, int destOffset, return; } if (ChunkHelpers.canCopyForward(src, srcOffset, data, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } @@ -176,22 +173,26 @@ public final void copyFromTypedArray(byte[] src, int srcOffset, int destOffset, // region CopyFromBuffer @Override - public final void copyFromBuffer(@NotNull final Buffer srcBuffer, final int srcOffset, final int destOffset, final int length) { + public final void copyFromBuffer(@NotNull final Buffer srcBuffer, final int srcOffset, final int destOffset, + final int length) { final ByteBuffer byteSrcBuffer = (ByteBuffer) srcBuffer; copyFromTypedBuffer(byteSrcBuffer, srcOffset, destOffset, length); } /** - *

Fill a sub-range of this WritableByteChunk with values from a {@link ByteBuffer}. + *

+ * Fill a sub-range of this WritableByteChunk with values from a {@link ByteBuffer}. * - *

See {@link #copyFromBuffer(Buffer, int, int, int)} for general documentation. + *

+ * See {@link #copyFromBuffer(Buffer, int, int, int)} for general documentation. * - * @param srcBuffer The source {@link ByteBuffer} - * @param srcOffset The absolute offset into {@code srcBuffer} to start copying from + * @param srcBuffer The source {@link ByteBuffer} + * @param srcOffset The absolute offset into {@code srcBuffer} to start copying from * @param destOffset The offset into this chunk to start copying to - * @param length The number of elements to copy + * @param length The number of elements to copy */ - public final void copyFromTypedBuffer(@NotNull final ByteBuffer srcBuffer, final int srcOffset, final int destOffset, final int length) { + public final void copyFromTypedBuffer(@NotNull final ByteBuffer srcBuffer, final int srcOffset, + final int destOffset, final int length) { if (srcBuffer.hasArray()) { copyFromTypedArray(srcBuffer.array(), srcBuffer.arrayOffset() + srcOffset, destOffset, length); } else { @@ -219,12 +220,12 @@ public final void sort(int start, int length) { // endregion sort @Override - public void close() { - } + public void close() {} // region downcast - public static WritableByteChunk upcast(WritableByteChunk self) { - //noinspection unchecked + public static WritableByteChunk upcast( + WritableByteChunk self) { + // noinspection unchecked return (WritableByteChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableByteChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableByteChunkChunk.java index 34b9495b93c..3ca92d0b774 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableByteChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableByteChunkChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit WritableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit WritableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -14,7 +13,7 @@ public class WritableByteChunkChunk extends ByteChunkChunk implements WritableChunkChunk { public static WritableByteChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new WritableByteChunk[capacity]; } @@ -26,7 +25,8 @@ public static WritableByteChunkChunk writableChunkWrap( return new WritableByteChunkChunk<>(data, 0, data.length); } - public static WritableByteChunkChunk writableChunkWrap(WritableByteChunk[] data, int offset, int size) { + public static WritableByteChunkChunk writableChunkWrap(WritableByteChunk[] data, + int offset, int size) { return new WritableByteChunkChunk<>(data, offset, size); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableCharChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableCharChunk.java index b3b9c2adcba..070c4ce4d10 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableCharChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableCharChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -30,7 +30,7 @@ public class WritableCharChunk extends CharChunk impleme private static final WritableCharChunk[] EMPTY_WRITABLE_CHAR_CHUNK_ARRAY = new WritableCharChunk[0]; static WritableCharChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_WRITABLE_CHAR_CHUNK_ARRAY; } @@ -66,7 +66,9 @@ public final void set(int index, char value) { data[offset + index] = value; } - public final void add(char value) { data[offset + size++] = value; } + public final void add(char value) { + data[offset + size++] = value; + } @Override public WritableCharChunk slice(int offset, int capacity) { @@ -109,7 +111,7 @@ public final void fillWithNullValue(final int offset, final int length) { // region fillWithBoxedValue @Override public final void fillWithBoxedValue(int offset, int size, Object value) { - fillWithValue(offset,size, TypeUtils.unbox((Character) value)); + fillWithValue(offset, size, TypeUtils.unbox((Character) value)); } // endregion fillWithBoxedValue @@ -141,7 +143,7 @@ public final void copyFromTypedChunk(CharChunk src, int srcOffse @Override public final void copyFromArray(Object srcArray, int srcOffset, int destOffset, int length) { - final char[] typedArray = (char[])srcArray; + final char[] typedArray = (char[]) srcArray; copyFromTypedArray(typedArray, srcOffset, destOffset, length); } @@ -153,13 +155,13 @@ public final void copyFromTypedArray(char[] src, int srcOffset, int destOffset, return; } if (ChunkHelpers.canCopyForward(src, srcOffset, data, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } @@ -167,22 +169,26 @@ public final void copyFromTypedArray(char[] src, int srcOffset, int destOffset, // region CopyFromBuffer @Override - public final void copyFromBuffer(@NotNull final Buffer srcBuffer, final int srcOffset, final int destOffset, final int length) { + public final void copyFromBuffer(@NotNull final Buffer srcBuffer, final int srcOffset, final int destOffset, + final int length) { final CharBuffer charSrcBuffer = (CharBuffer) srcBuffer; copyFromTypedBuffer(charSrcBuffer, srcOffset, destOffset, length); } /** - *

Fill a sub-range of this WritableCharChunk with values from a {@link CharBuffer}. + *

+ * Fill a sub-range of this WritableCharChunk with values from a {@link CharBuffer}. * - *

See {@link #copyFromBuffer(Buffer, int, int, int)} for general documentation. + *

+ * See {@link #copyFromBuffer(Buffer, int, int, int)} for general documentation. * - * @param srcBuffer The source {@link CharBuffer} - * @param srcOffset The absolute offset into {@code srcBuffer} to start copying from + * @param srcBuffer The source {@link CharBuffer} + * @param srcOffset The absolute offset into {@code srcBuffer} to start copying from * @param destOffset The offset into this chunk to start copying to - * @param length The number of elements to copy + * @param length The number of elements to copy */ - public final void copyFromTypedBuffer(@NotNull final CharBuffer srcBuffer, final int srcOffset, final int destOffset, final int length) { + public final void copyFromTypedBuffer(@NotNull final CharBuffer srcBuffer, final int srcOffset, + final int destOffset, final int length) { if (srcBuffer.hasArray()) { copyFromTypedArray(srcBuffer.array(), srcBuffer.arrayOffset() + srcOffset, destOffset, length); } else { @@ -205,22 +211,22 @@ public final void sort(int start, int length) { Arrays.sort(data, offset + start, offset + start + length); // region SortFixup - if(length <= 1) { + if (length <= 1) { return; } int foundLeft = Arrays.binarySearch(data, start, start + length, NULL_CHAR); - if(foundLeft < 0) { + if (foundLeft < 0) { return; } int foundRight = foundLeft; - while(foundLeft > start && data[foundLeft - 1] == NULL_CHAR) { + while (foundLeft > start && data[foundLeft - 1] == NULL_CHAR) { foundLeft--; } // If the nulls are already the leftmost thing, we are done. - if(foundLeft > 0) { + if (foundLeft > 0) { while (foundRight < start + length - 1 && data[foundRight + 1] == NULL_CHAR) { foundRight++; } @@ -234,12 +240,12 @@ public final void sort(int start, int length) { // endregion sort @Override - public void close() { - } + public void close() {} // region downcast - public static WritableCharChunk upcast(WritableCharChunk self) { - //noinspection unchecked + public static WritableCharChunk upcast( + WritableCharChunk self) { + // noinspection unchecked return (WritableCharChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableCharChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableCharChunkChunk.java index 7bcba70e0ec..49e57bba4a2 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableCharChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableCharChunkChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -9,7 +9,7 @@ public class WritableCharChunkChunk extends CharChunkChunk implements WritableChunkChunk { public static WritableCharChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new WritableCharChunk[capacity]; } @@ -21,7 +21,8 @@ public static WritableCharChunkChunk writableChunkWrap( return new WritableCharChunkChunk<>(data, 0, data.length); } - public static WritableCharChunkChunk writableChunkWrap(WritableCharChunk[] data, int offset, int size) { + public static WritableCharChunkChunk writableChunkWrap(WritableCharChunk[] data, + int offset, int size) { return new WritableCharChunkChunk<>(data, offset, size); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableChunk.java index 130a7393f4f..43da8c2c351 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableChunkChunk.java index eac181913f1..bda0f8354e9 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableChunkChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableDoubleChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableDoubleChunk.java index c06ffdfbe48..a49617095ec 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableDoubleChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableDoubleChunk.java @@ -1,14 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit WritableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -package io.deephaven.chunk; - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit WritableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// // @formatter:off +package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; import io.deephaven.chunk.util.pools.MultiChunkPool; @@ -28,8 +25,6 @@ import static io.deephaven.chunk.util.pools.ChunkPoolConstants.POOL_WRITABLE_CHUNKS; -// @formatter:on - /** * {@link WritableChunk} implementation for double data. */ @@ -39,7 +34,7 @@ public class WritableDoubleChunk extends DoubleChunk imp private static final WritableDoubleChunk[] EMPTY_WRITABLE_DOUBLE_CHUNK_ARRAY = new WritableDoubleChunk[0]; static WritableDoubleChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_WRITABLE_DOUBLE_CHUNK_ARRAY; } @@ -75,7 +70,9 @@ public final void set(int index, double value) { data[offset + index] = value; } - public final void add(double value) { data[offset + size++] = value; } + public final void add(double value) { + data[offset + size++] = value; + } @Override public WritableDoubleChunk slice(int offset, int capacity) { @@ -118,7 +115,7 @@ public final void fillWithNullValue(final int offset, final int length) { // region fillWithBoxedValue @Override public final void fillWithBoxedValue(int offset, int size, Object value) { - fillWithValue(offset,size, TypeUtils.unbox((Double) value)); + fillWithValue(offset, size, TypeUtils.unbox((Double) value)); } // endregion fillWithBoxedValue @@ -150,7 +147,7 @@ public final void copyFromTypedChunk(DoubleChunk src, int srcOff @Override public final void copyFromArray(Object srcArray, int srcOffset, int destOffset, int length) { - final double[] typedArray = (double[])srcArray; + final double[] typedArray = (double[]) srcArray; copyFromTypedArray(typedArray, srcOffset, destOffset, length); } @@ -162,13 +159,13 @@ public final void copyFromTypedArray(double[] src, int srcOffset, int destOffset return; } if (ChunkHelpers.canCopyForward(src, srcOffset, data, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } @@ -176,22 +173,26 @@ public final void copyFromTypedArray(double[] src, int srcOffset, int destOffset // region CopyFromBuffer @Override - public final void copyFromBuffer(@NotNull final Buffer srcBuffer, final int srcOffset, final int destOffset, final int length) { + public final void copyFromBuffer(@NotNull final Buffer srcBuffer, final int srcOffset, final int destOffset, + final int length) { final DoubleBuffer doubleSrcBuffer = (DoubleBuffer) srcBuffer; copyFromTypedBuffer(doubleSrcBuffer, srcOffset, destOffset, length); } /** - *

Fill a sub-range of this WritableDoubleChunk with values from a {@link DoubleBuffer}. + *

+ * Fill a sub-range of this WritableDoubleChunk with values from a {@link DoubleBuffer}. * - *

See {@link #copyFromBuffer(Buffer, int, int, int)} for general documentation. + *

+ * See {@link #copyFromBuffer(Buffer, int, int, int)} for general documentation. * - * @param srcBuffer The source {@link DoubleBuffer} - * @param srcOffset The absolute offset into {@code srcBuffer} to start copying from + * @param srcBuffer The source {@link DoubleBuffer} + * @param srcOffset The absolute offset into {@code srcBuffer} to start copying from * @param destOffset The offset into this chunk to start copying to - * @param length The number of elements to copy + * @param length The number of elements to copy */ - public final void copyFromTypedBuffer(@NotNull final DoubleBuffer srcBuffer, final int srcOffset, final int destOffset, final int length) { + public final void copyFromTypedBuffer(@NotNull final DoubleBuffer srcBuffer, final int srcOffset, + final int destOffset, final int length) { if (srcBuffer.hasArray()) { copyFromTypedArray(srcBuffer.array(), srcBuffer.arrayOffset() + srcOffset, destOffset, length); } else { @@ -219,12 +220,12 @@ public final void sort(int start, int length) { // endregion sort @Override - public void close() { - } + public void close() {} // region downcast - public static WritableDoubleChunk upcast(WritableDoubleChunk self) { - //noinspection unchecked + public static WritableDoubleChunk upcast( + WritableDoubleChunk self) { + // noinspection unchecked return (WritableDoubleChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableDoubleChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableDoubleChunkChunk.java index d8069c32e2f..6e2951f2890 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableDoubleChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableDoubleChunkChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit WritableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit WritableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -14,7 +13,7 @@ public class WritableDoubleChunkChunk extends DoubleChunkChunk implements WritableChunkChunk { public static WritableDoubleChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new WritableDoubleChunk[capacity]; } @@ -26,7 +25,8 @@ public static WritableDoubleChunkChunk writableChunkWra return new WritableDoubleChunkChunk<>(data, 0, data.length); } - public static WritableDoubleChunkChunk writableChunkWrap(WritableDoubleChunk[] data, int offset, int size) { + public static WritableDoubleChunkChunk writableChunkWrap(WritableDoubleChunk[] data, + int offset, int size) { return new WritableDoubleChunkChunk<>(data, offset, size); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableFloatChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableFloatChunk.java index a69b2d7019c..3db619510ed 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableFloatChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableFloatChunk.java @@ -1,14 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit WritableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -package io.deephaven.chunk; - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit WritableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// // @formatter:off +package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; import io.deephaven.chunk.util.pools.MultiChunkPool; @@ -28,8 +25,6 @@ import static io.deephaven.chunk.util.pools.ChunkPoolConstants.POOL_WRITABLE_CHUNKS; -// @formatter:on - /** * {@link WritableChunk} implementation for float data. */ @@ -39,7 +34,7 @@ public class WritableFloatChunk extends FloatChunk imple private static final WritableFloatChunk[] EMPTY_WRITABLE_FLOAT_CHUNK_ARRAY = new WritableFloatChunk[0]; static WritableFloatChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_WRITABLE_FLOAT_CHUNK_ARRAY; } @@ -75,7 +70,9 @@ public final void set(int index, float value) { data[offset + index] = value; } - public final void add(float value) { data[offset + size++] = value; } + public final void add(float value) { + data[offset + size++] = value; + } @Override public WritableFloatChunk slice(int offset, int capacity) { @@ -118,7 +115,7 @@ public final void fillWithNullValue(final int offset, final int length) { // region fillWithBoxedValue @Override public final void fillWithBoxedValue(int offset, int size, Object value) { - fillWithValue(offset,size, TypeUtils.unbox((Float) value)); + fillWithValue(offset, size, TypeUtils.unbox((Float) value)); } // endregion fillWithBoxedValue @@ -150,7 +147,7 @@ public final void copyFromTypedChunk(FloatChunk src, int srcOffs @Override public final void copyFromArray(Object srcArray, int srcOffset, int destOffset, int length) { - final float[] typedArray = (float[])srcArray; + final float[] typedArray = (float[]) srcArray; copyFromTypedArray(typedArray, srcOffset, destOffset, length); } @@ -162,13 +159,13 @@ public final void copyFromTypedArray(float[] src, int srcOffset, int destOffset, return; } if (ChunkHelpers.canCopyForward(src, srcOffset, data, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } @@ -176,22 +173,26 @@ public final void copyFromTypedArray(float[] src, int srcOffset, int destOffset, // region CopyFromBuffer @Override - public final void copyFromBuffer(@NotNull final Buffer srcBuffer, final int srcOffset, final int destOffset, final int length) { + public final void copyFromBuffer(@NotNull final Buffer srcBuffer, final int srcOffset, final int destOffset, + final int length) { final FloatBuffer floatSrcBuffer = (FloatBuffer) srcBuffer; copyFromTypedBuffer(floatSrcBuffer, srcOffset, destOffset, length); } /** - *

Fill a sub-range of this WritableFloatChunk with values from a {@link FloatBuffer}. + *

+ * Fill a sub-range of this WritableFloatChunk with values from a {@link FloatBuffer}. * - *

See {@link #copyFromBuffer(Buffer, int, int, int)} for general documentation. + *

+ * See {@link #copyFromBuffer(Buffer, int, int, int)} for general documentation. * - * @param srcBuffer The source {@link FloatBuffer} - * @param srcOffset The absolute offset into {@code srcBuffer} to start copying from + * @param srcBuffer The source {@link FloatBuffer} + * @param srcOffset The absolute offset into {@code srcBuffer} to start copying from * @param destOffset The offset into this chunk to start copying to - * @param length The number of elements to copy + * @param length The number of elements to copy */ - public final void copyFromTypedBuffer(@NotNull final FloatBuffer srcBuffer, final int srcOffset, final int destOffset, final int length) { + public final void copyFromTypedBuffer(@NotNull final FloatBuffer srcBuffer, final int srcOffset, + final int destOffset, final int length) { if (srcBuffer.hasArray()) { copyFromTypedArray(srcBuffer.array(), srcBuffer.arrayOffset() + srcOffset, destOffset, length); } else { @@ -219,12 +220,12 @@ public final void sort(int start, int length) { // endregion sort @Override - public void close() { - } + public void close() {} // region downcast - public static WritableFloatChunk upcast(WritableFloatChunk self) { - //noinspection unchecked + public static WritableFloatChunk upcast( + WritableFloatChunk self) { + // noinspection unchecked return (WritableFloatChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableFloatChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableFloatChunkChunk.java index 7737578ea4e..ed9af0c0260 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableFloatChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableFloatChunkChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit WritableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit WritableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -14,7 +13,7 @@ public class WritableFloatChunkChunk extends FloatChunkChunk implements WritableChunkChunk { public static WritableFloatChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new WritableFloatChunk[capacity]; } @@ -26,7 +25,8 @@ public static WritableFloatChunkChunk writableChunkWrap return new WritableFloatChunkChunk<>(data, 0, data.length); } - public static WritableFloatChunkChunk writableChunkWrap(WritableFloatChunk[] data, int offset, int size) { + public static WritableFloatChunkChunk writableChunkWrap(WritableFloatChunk[] data, + int offset, int size) { return new WritableFloatChunkChunk<>(data, offset, size); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableIntChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableIntChunk.java index 48c3ea4e1c3..db1d2ff282c 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableIntChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableIntChunk.java @@ -1,14 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit WritableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -package io.deephaven.chunk; - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit WritableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// // @formatter:off +package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; import io.deephaven.chunk.util.pools.MultiChunkPool; @@ -28,8 +25,6 @@ import static io.deephaven.chunk.util.pools.ChunkPoolConstants.POOL_WRITABLE_CHUNKS; -// @formatter:on - /** * {@link WritableChunk} implementation for int data. */ @@ -39,7 +34,7 @@ public class WritableIntChunk extends IntChunk implement private static final WritableIntChunk[] EMPTY_WRITABLE_INT_CHUNK_ARRAY = new WritableIntChunk[0]; static WritableIntChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_WRITABLE_INT_CHUNK_ARRAY; } @@ -75,7 +70,9 @@ public final void set(int index, int value) { data[offset + index] = value; } - public final void add(int value) { data[offset + size++] = value; } + public final void add(int value) { + data[offset + size++] = value; + } @Override public WritableIntChunk slice(int offset, int capacity) { @@ -118,7 +115,7 @@ public final void fillWithNullValue(final int offset, final int length) { // region fillWithBoxedValue @Override public final void fillWithBoxedValue(int offset, int size, Object value) { - fillWithValue(offset,size, TypeUtils.unbox((Integer) value)); + fillWithValue(offset, size, TypeUtils.unbox((Integer) value)); } // endregion fillWithBoxedValue @@ -150,7 +147,7 @@ public final void copyFromTypedChunk(IntChunk src, int srcOffset @Override public final void copyFromArray(Object srcArray, int srcOffset, int destOffset, int length) { - final int[] typedArray = (int[])srcArray; + final int[] typedArray = (int[]) srcArray; copyFromTypedArray(typedArray, srcOffset, destOffset, length); } @@ -162,13 +159,13 @@ public final void copyFromTypedArray(int[] src, int srcOffset, int destOffset, i return; } if (ChunkHelpers.canCopyForward(src, srcOffset, data, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } @@ -176,22 +173,26 @@ public final void copyFromTypedArray(int[] src, int srcOffset, int destOffset, i // region CopyFromBuffer @Override - public final void copyFromBuffer(@NotNull final Buffer srcBuffer, final int srcOffset, final int destOffset, final int length) { + public final void copyFromBuffer(@NotNull final Buffer srcBuffer, final int srcOffset, final int destOffset, + final int length) { final IntBuffer intSrcBuffer = (IntBuffer) srcBuffer; copyFromTypedBuffer(intSrcBuffer, srcOffset, destOffset, length); } /** - *

Fill a sub-range of this WritableIntChunk with values from a {@link IntBuffer}. + *

+ * Fill a sub-range of this WritableIntChunk with values from a {@link IntBuffer}. * - *

See {@link #copyFromBuffer(Buffer, int, int, int)} for general documentation. + *

+ * See {@link #copyFromBuffer(Buffer, int, int, int)} for general documentation. * - * @param srcBuffer The source {@link IntBuffer} - * @param srcOffset The absolute offset into {@code srcBuffer} to start copying from + * @param srcBuffer The source {@link IntBuffer} + * @param srcOffset The absolute offset into {@code srcBuffer} to start copying from * @param destOffset The offset into this chunk to start copying to - * @param length The number of elements to copy + * @param length The number of elements to copy */ - public final void copyFromTypedBuffer(@NotNull final IntBuffer srcBuffer, final int srcOffset, final int destOffset, final int length) { + public final void copyFromTypedBuffer(@NotNull final IntBuffer srcBuffer, final int srcOffset, + final int destOffset, final int length) { if (srcBuffer.hasArray()) { copyFromTypedArray(srcBuffer.array(), srcBuffer.arrayOffset() + srcOffset, destOffset, length); } else { @@ -219,12 +220,12 @@ public final void sort(int start, int length) { // endregion sort @Override - public void close() { - } + public void close() {} // region downcast - public static WritableIntChunk upcast(WritableIntChunk self) { - //noinspection unchecked + public static WritableIntChunk upcast( + WritableIntChunk self) { + // noinspection unchecked return (WritableIntChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableIntChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableIntChunkChunk.java index 6e62082916b..f5568879ca7 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableIntChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableIntChunkChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit WritableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit WritableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -14,7 +13,7 @@ public class WritableIntChunkChunk extends IntChunkChunk implements WritableChunkChunk { public static WritableIntChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new WritableIntChunk[capacity]; } @@ -26,7 +25,8 @@ public static WritableIntChunkChunk writableChunkWrap(W return new WritableIntChunkChunk<>(data, 0, data.length); } - public static WritableIntChunkChunk writableChunkWrap(WritableIntChunk[] data, int offset, int size) { + public static WritableIntChunkChunk writableChunkWrap(WritableIntChunk[] data, + int offset, int size) { return new WritableIntChunkChunk<>(data, offset, size); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableLongChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableLongChunk.java index 7b6ec56717f..274890422f5 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableLongChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableLongChunk.java @@ -1,14 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit WritableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -package io.deephaven.chunk; - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit WritableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// // @formatter:off +package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; import io.deephaven.chunk.util.pools.MultiChunkPool; @@ -28,8 +25,6 @@ import static io.deephaven.chunk.util.pools.ChunkPoolConstants.POOL_WRITABLE_CHUNKS; -// @formatter:on - /** * {@link WritableChunk} implementation for long data. */ @@ -39,7 +34,7 @@ public class WritableLongChunk extends LongChunk impleme private static final WritableLongChunk[] EMPTY_WRITABLE_LONG_CHUNK_ARRAY = new WritableLongChunk[0]; static WritableLongChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_WRITABLE_LONG_CHUNK_ARRAY; } @@ -75,7 +70,9 @@ public final void set(int index, long value) { data[offset + index] = value; } - public final void add(long value) { data[offset + size++] = value; } + public final void add(long value) { + data[offset + size++] = value; + } @Override public WritableLongChunk slice(int offset, int capacity) { @@ -118,7 +115,7 @@ public final void fillWithNullValue(final int offset, final int length) { // region fillWithBoxedValue @Override public final void fillWithBoxedValue(int offset, int size, Object value) { - fillWithValue(offset,size, TypeUtils.unbox((Long) value)); + fillWithValue(offset, size, TypeUtils.unbox((Long) value)); } // endregion fillWithBoxedValue @@ -150,7 +147,7 @@ public final void copyFromTypedChunk(LongChunk src, int srcOffse @Override public final void copyFromArray(Object srcArray, int srcOffset, int destOffset, int length) { - final long[] typedArray = (long[])srcArray; + final long[] typedArray = (long[]) srcArray; copyFromTypedArray(typedArray, srcOffset, destOffset, length); } @@ -162,13 +159,13 @@ public final void copyFromTypedArray(long[] src, int srcOffset, int destOffset, return; } if (ChunkHelpers.canCopyForward(src, srcOffset, data, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } @@ -176,22 +173,26 @@ public final void copyFromTypedArray(long[] src, int srcOffset, int destOffset, // region CopyFromBuffer @Override - public final void copyFromBuffer(@NotNull final Buffer srcBuffer, final int srcOffset, final int destOffset, final int length) { + public final void copyFromBuffer(@NotNull final Buffer srcBuffer, final int srcOffset, final int destOffset, + final int length) { final LongBuffer longSrcBuffer = (LongBuffer) srcBuffer; copyFromTypedBuffer(longSrcBuffer, srcOffset, destOffset, length); } /** - *

Fill a sub-range of this WritableLongChunk with values from a {@link LongBuffer}. + *

+ * Fill a sub-range of this WritableLongChunk with values from a {@link LongBuffer}. * - *

See {@link #copyFromBuffer(Buffer, int, int, int)} for general documentation. + *

+ * See {@link #copyFromBuffer(Buffer, int, int, int)} for general documentation. * - * @param srcBuffer The source {@link LongBuffer} - * @param srcOffset The absolute offset into {@code srcBuffer} to start copying from + * @param srcBuffer The source {@link LongBuffer} + * @param srcOffset The absolute offset into {@code srcBuffer} to start copying from * @param destOffset The offset into this chunk to start copying to - * @param length The number of elements to copy + * @param length The number of elements to copy */ - public final void copyFromTypedBuffer(@NotNull final LongBuffer srcBuffer, final int srcOffset, final int destOffset, final int length) { + public final void copyFromTypedBuffer(@NotNull final LongBuffer srcBuffer, final int srcOffset, + final int destOffset, final int length) { if (srcBuffer.hasArray()) { copyFromTypedArray(srcBuffer.array(), srcBuffer.arrayOffset() + srcOffset, destOffset, length); } else { @@ -219,12 +220,12 @@ public final void sort(int start, int length) { // endregion sort @Override - public void close() { - } + public void close() {} // region downcast - public static WritableLongChunk upcast(WritableLongChunk self) { - //noinspection unchecked + public static WritableLongChunk upcast( + WritableLongChunk self) { + // noinspection unchecked return (WritableLongChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableLongChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableLongChunkChunk.java index 32aafb2237a..afcb3893dd1 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableLongChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableLongChunkChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit WritableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit WritableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -14,7 +13,7 @@ public class WritableLongChunkChunk extends LongChunkChunk implements WritableChunkChunk { public static WritableLongChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new WritableLongChunk[capacity]; } @@ -26,7 +25,8 @@ public static WritableLongChunkChunk writableChunkWrap( return new WritableLongChunkChunk<>(data, 0, data.length); } - public static WritableLongChunkChunk writableChunkWrap(WritableLongChunk[] data, int offset, int size) { + public static WritableLongChunkChunk writableChunkWrap(WritableLongChunk[] data, + int offset, int size) { return new WritableLongChunkChunk<>(data, offset, size); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableObjectChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableObjectChunk.java index 2d8f9f948d7..5822befb8f4 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableObjectChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableObjectChunk.java @@ -1,18 +1,15 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit WritableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit WritableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.util.compare.ObjectComparisons; import java.util.Comparator; -// @formatter:off - import io.deephaven.chunk.attributes.Any; import io.deephaven.chunk.util.pools.MultiChunkPool; @@ -28,8 +25,6 @@ import static io.deephaven.chunk.util.pools.ChunkPoolConstants.POOL_WRITABLE_CHUNKS; -// @formatter:on - /** * {@link WritableChunk} implementation for Object data. */ @@ -39,7 +34,7 @@ public class WritableObjectChunk extends ObjectChunk WritableObjectChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_WRITABLE_OBJECT_CHUNK_ARRAY; } @@ -75,7 +70,9 @@ public final void set(int index, T value) { data[offset + index] = value; } - public final void add(T value) { data[offset + size++] = value; } + public final void add(T value) { + data[offset + size++] = value; + } @Override public WritableObjectChunk slice(int offset, int capacity) { @@ -151,7 +148,7 @@ public final void copyFromTypedChunk(ObjectChunk src, int src @Override public final void copyFromArray(Object srcArray, int srcOffset, int destOffset, int length) { //noinspection unchecked - final T[] typedArray = (T[])srcArray; + final T[] typedArray = (T[]) srcArray; copyFromTypedArray(typedArray, srcOffset, destOffset, length); } @@ -163,13 +160,13 @@ public final void copyFromTypedArray(T[] src, int srcOffset, int destOffset, int return; } if (ChunkHelpers.canCopyForward(src, srcOffset, data, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } @@ -194,8 +191,7 @@ public final void sort(int start, int length) { // endregion sort @Override - public void close() { - } + public void close() {} // region downcast public WritableObjectChunk asTypedWritableObjectChunk() { @@ -203,8 +199,9 @@ public WritableObjectChunk asTypedWritableObj return (WritableObjectChunk) this; } - public static WritableObjectChunk upcast(WritableObjectChunk self) { - //noinspection unchecked + public static WritableObjectChunk upcast( + WritableObjectChunk self) { + // noinspection unchecked return (WritableObjectChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableObjectChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableObjectChunkChunk.java index b182e19c761..8a6757a7af7 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableObjectChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableObjectChunkChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit WritableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit WritableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -14,7 +13,7 @@ public class WritableObjectChunkChunk extends ObjectChunkChunk implements WritableChunkChunk { public static WritableObjectChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new WritableObjectChunk[capacity]; } @@ -26,7 +25,8 @@ public static WritableObjectChunkChunk writableCh return new WritableObjectChunkChunk<>(data, 0, data.length); } - public static WritableObjectChunkChunk writableChunkWrap(WritableObjectChunk[] data, int offset, int size) { + public static WritableObjectChunkChunk writableChunkWrap(WritableObjectChunk[] data, + int offset, int size) { return new WritableObjectChunkChunk<>(data, offset, size); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableShortChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableShortChunk.java index 1231be95e7b..f98f2361f93 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableShortChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableShortChunk.java @@ -1,14 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit WritableCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -package io.deephaven.chunk; - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit WritableCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// // @formatter:off +package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; import io.deephaven.chunk.util.pools.MultiChunkPool; @@ -28,8 +25,6 @@ import static io.deephaven.chunk.util.pools.ChunkPoolConstants.POOL_WRITABLE_CHUNKS; -// @formatter:on - /** * {@link WritableChunk} implementation for short data. */ @@ -39,7 +34,7 @@ public class WritableShortChunk extends ShortChunk imple private static final WritableShortChunk[] EMPTY_WRITABLE_SHORT_CHUNK_ARRAY = new WritableShortChunk[0]; static WritableShortChunk[] getEmptyChunkArray() { - //noinspection unchecked + // noinspection unchecked return EMPTY_WRITABLE_SHORT_CHUNK_ARRAY; } @@ -75,7 +70,9 @@ public final void set(int index, short value) { data[offset + index] = value; } - public final void add(short value) { data[offset + size++] = value; } + public final void add(short value) { + data[offset + size++] = value; + } @Override public WritableShortChunk slice(int offset, int capacity) { @@ -118,7 +115,7 @@ public final void fillWithNullValue(final int offset, final int length) { // region fillWithBoxedValue @Override public final void fillWithBoxedValue(int offset, int size, Object value) { - fillWithValue(offset,size, TypeUtils.unbox((Short) value)); + fillWithValue(offset, size, TypeUtils.unbox((Short) value)); } // endregion fillWithBoxedValue @@ -150,7 +147,7 @@ public final void copyFromTypedChunk(ShortChunk src, int srcOffs @Override public final void copyFromArray(Object srcArray, int srcOffset, int destOffset, int length) { - final short[] typedArray = (short[])srcArray; + final short[] typedArray = (short[]) srcArray; copyFromTypedArray(typedArray, srcOffset, destOffset, length); } @@ -162,13 +159,13 @@ public final void copyFromTypedArray(short[] src, int srcOffset, int destOffset, return; } if (ChunkHelpers.canCopyForward(src, srcOffset, data, destOffset, length)) { - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = 0; ii < length; ++ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } return; } - //noinspection ManualArrayCopy + // noinspection ManualArrayCopy for (int ii = length - 1; ii >= 0; --ii) { data[netDestOffset + ii] = src[srcOffset + ii]; } @@ -176,22 +173,26 @@ public final void copyFromTypedArray(short[] src, int srcOffset, int destOffset, // region CopyFromBuffer @Override - public final void copyFromBuffer(@NotNull final Buffer srcBuffer, final int srcOffset, final int destOffset, final int length) { + public final void copyFromBuffer(@NotNull final Buffer srcBuffer, final int srcOffset, final int destOffset, + final int length) { final ShortBuffer shortSrcBuffer = (ShortBuffer) srcBuffer; copyFromTypedBuffer(shortSrcBuffer, srcOffset, destOffset, length); } /** - *

Fill a sub-range of this WritableShortChunk with values from a {@link ShortBuffer}. + *

+ * Fill a sub-range of this WritableShortChunk with values from a {@link ShortBuffer}. * - *

See {@link #copyFromBuffer(Buffer, int, int, int)} for general documentation. + *

+ * See {@link #copyFromBuffer(Buffer, int, int, int)} for general documentation. * - * @param srcBuffer The source {@link ShortBuffer} - * @param srcOffset The absolute offset into {@code srcBuffer} to start copying from + * @param srcBuffer The source {@link ShortBuffer} + * @param srcOffset The absolute offset into {@code srcBuffer} to start copying from * @param destOffset The offset into this chunk to start copying to - * @param length The number of elements to copy + * @param length The number of elements to copy */ - public final void copyFromTypedBuffer(@NotNull final ShortBuffer srcBuffer, final int srcOffset, final int destOffset, final int length) { + public final void copyFromTypedBuffer(@NotNull final ShortBuffer srcBuffer, final int srcOffset, + final int destOffset, final int length) { if (srcBuffer.hasArray()) { copyFromTypedArray(srcBuffer.array(), srcBuffer.arrayOffset() + srcOffset, destOffset, length); } else { @@ -219,12 +220,12 @@ public final void sort(int start, int length) { // endregion sort @Override - public void close() { - } + public void close() {} // region downcast - public static WritableShortChunk upcast(WritableShortChunk self) { - //noinspection unchecked + public static WritableShortChunk upcast( + WritableShortChunk self) { + // noinspection unchecked return (WritableShortChunk) self; } // endregion downcast diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/WritableShortChunkChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/WritableShortChunkChunk.java index 616ef445021..394963290fe 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/WritableShortChunkChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/WritableShortChunkChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit WritableCharChunkChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit WritableCharChunkChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.attributes.Any; @@ -14,7 +13,7 @@ public class WritableShortChunkChunk extends ShortChunkChunk implements WritableChunkChunk { public static WritableShortChunk[] makeArray(int capacity) { - //noinspection unchecked + // noinspection unchecked return new WritableShortChunk[capacity]; } @@ -26,7 +25,8 @@ public static WritableShortChunkChunk writableChunkWrap return new WritableShortChunkChunk<>(data, 0, data.length); } - public static WritableShortChunkChunk writableChunkWrap(WritableShortChunk[] data, int offset, int size) { + public static WritableShortChunkChunk writableChunkWrap(WritableShortChunk[] data, + int offset, int size) { return new WritableShortChunkChunk<>(data, offset, size); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/attributes/Any.java b/engine/chunk/src/main/java/io/deephaven/chunk/attributes/Any.java index c0dced428de..46fc5f87b34 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/attributes/Any.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/attributes/Any.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.attributes; import io.deephaven.chunk.Chunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/attributes/ChunkLengths.java b/engine/chunk/src/main/java/io/deephaven/chunk/attributes/ChunkLengths.java index e53fe266e67..0bd54dcfe17 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/attributes/ChunkLengths.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/attributes/ChunkLengths.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.attributes; import io.deephaven.chunk.Chunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/attributes/ChunkPositions.java b/engine/chunk/src/main/java/io/deephaven/chunk/attributes/ChunkPositions.java index a7904732706..52d85deb21e 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/attributes/ChunkPositions.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/attributes/ChunkPositions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.attributes; import io.deephaven.chunk.Chunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/attributes/HashCodes.java b/engine/chunk/src/main/java/io/deephaven/chunk/attributes/HashCodes.java index 0d61972bb78..f0c1eafa0d7 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/attributes/HashCodes.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/attributes/HashCodes.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.attributes; import io.deephaven.chunk.Chunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/attributes/Indices.java b/engine/chunk/src/main/java/io/deephaven/chunk/attributes/Indices.java index 9e70ba6117d..2e3138687b7 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/attributes/Indices.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/attributes/Indices.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.attributes; import io.deephaven.chunk.Chunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/attributes/Values.java b/engine/chunk/src/main/java/io/deephaven/chunk/attributes/Values.java index c7ff48c9926..5ed557f9dda 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/attributes/Values.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/attributes/Values.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.attributes; import io.deephaven.chunk.Chunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedBooleanChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedBooleanChunk.java index 166a37e7c91..017a1067e6a 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedBooleanChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedBooleanChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SizedCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SizedCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.sized; import io.deephaven.chunk.WritableBooleanChunk; @@ -20,7 +19,7 @@ public final class SizedBooleanChunk implements SafeCloseable { private WritableBooleanChunk chunk; - public SizedBooleanChunk(){} + public SizedBooleanChunk() {} public SizedBooleanChunk(final int initialSize) { chunk = WritableBooleanChunk.makeWritableChunk(initialSize); @@ -38,7 +37,7 @@ public WritableBooleanChunk get() { /** * Ensure the underlying chunk has a capacity of at least {@code capacity}, preserving data. * - * The data and size of the returned chunk are undefined. If you must maintain the data, then use + * The data and size of the returned chunk are undefined. If you must maintain the data, then use * {@link #ensureCapacityPreserve(int)}. * * @param capacity the minimum capacity for the chunk. @@ -60,7 +59,7 @@ public WritableBooleanChunk ensureCapacity(int capacity) { * * If the chunk has existing data, then it is copied to the new chunk. * - * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not + * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not * exist, then the size of the returned chunk is zero. * * @param capacity the minimum capacity for the chunk. diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedByteChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedByteChunk.java index e5dbdb9521b..3b7f13d418d 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedByteChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedByteChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SizedCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SizedCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.sized; import io.deephaven.chunk.WritableByteChunk; @@ -20,7 +19,7 @@ public final class SizedByteChunk implements SafeCloseable { private WritableByteChunk chunk; - public SizedByteChunk(){} + public SizedByteChunk() {} public SizedByteChunk(final int initialSize) { chunk = WritableByteChunk.makeWritableChunk(initialSize); @@ -38,7 +37,7 @@ public WritableByteChunk get() { /** * Ensure the underlying chunk has a capacity of at least {@code capacity}, preserving data. * - * The data and size of the returned chunk are undefined. If you must maintain the data, then use + * The data and size of the returned chunk are undefined. If you must maintain the data, then use * {@link #ensureCapacityPreserve(int)}. * * @param capacity the minimum capacity for the chunk. @@ -60,7 +59,7 @@ public WritableByteChunk ensureCapacity(int capacity) { * * If the chunk has existing data, then it is copied to the new chunk. * - * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not + * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not * exist, then the size of the returned chunk is zero. * * @param capacity the minimum capacity for the chunk. diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedCharChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedCharChunk.java index 38649a2e719..561c0fe751e 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedCharChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedCharChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.sized; import io.deephaven.chunk.WritableCharChunk; @@ -15,7 +15,7 @@ public final class SizedCharChunk implements SafeCloseable { private WritableCharChunk chunk; - public SizedCharChunk(){} + public SizedCharChunk() {} public SizedCharChunk(final int initialSize) { chunk = WritableCharChunk.makeWritableChunk(initialSize); @@ -33,7 +33,7 @@ public WritableCharChunk get() { /** * Ensure the underlying chunk has a capacity of at least {@code capacity}, preserving data. * - * The data and size of the returned chunk are undefined. If you must maintain the data, then use + * The data and size of the returned chunk are undefined. If you must maintain the data, then use * {@link #ensureCapacityPreserve(int)}. * * @param capacity the minimum capacity for the chunk. @@ -55,7 +55,7 @@ public WritableCharChunk ensureCapacity(int capacity) { * * If the chunk has existing data, then it is copied to the new chunk. * - * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not + * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not * exist, then the size of the returned chunk is zero. * * @param capacity the minimum capacity for the chunk. diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedChunk.java index d3a8ea7ed6e..ea2f177a259 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.sized; import io.deephaven.chunk.ChunkType; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedDoubleChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedDoubleChunk.java index 29d282d5f83..0e7dd168df3 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedDoubleChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedDoubleChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SizedCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SizedCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.sized; import io.deephaven.chunk.WritableDoubleChunk; @@ -20,7 +19,7 @@ public final class SizedDoubleChunk implements SafeCloseable { private WritableDoubleChunk chunk; - public SizedDoubleChunk(){} + public SizedDoubleChunk() {} public SizedDoubleChunk(final int initialSize) { chunk = WritableDoubleChunk.makeWritableChunk(initialSize); @@ -38,7 +37,7 @@ public WritableDoubleChunk get() { /** * Ensure the underlying chunk has a capacity of at least {@code capacity}, preserving data. * - * The data and size of the returned chunk are undefined. If you must maintain the data, then use + * The data and size of the returned chunk are undefined. If you must maintain the data, then use * {@link #ensureCapacityPreserve(int)}. * * @param capacity the minimum capacity for the chunk. @@ -60,7 +59,7 @@ public WritableDoubleChunk ensureCapacity(int capacity) { * * If the chunk has existing data, then it is copied to the new chunk. * - * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not + * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not * exist, then the size of the returned chunk is zero. * * @param capacity the minimum capacity for the chunk. diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedFloatChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedFloatChunk.java index 6c7c2a7426d..6608a71e7fe 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedFloatChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedFloatChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SizedCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SizedCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.sized; import io.deephaven.chunk.WritableFloatChunk; @@ -20,7 +19,7 @@ public final class SizedFloatChunk implements SafeCloseable { private WritableFloatChunk chunk; - public SizedFloatChunk(){} + public SizedFloatChunk() {} public SizedFloatChunk(final int initialSize) { chunk = WritableFloatChunk.makeWritableChunk(initialSize); @@ -38,7 +37,7 @@ public WritableFloatChunk get() { /** * Ensure the underlying chunk has a capacity of at least {@code capacity}, preserving data. * - * The data and size of the returned chunk are undefined. If you must maintain the data, then use + * The data and size of the returned chunk are undefined. If you must maintain the data, then use * {@link #ensureCapacityPreserve(int)}. * * @param capacity the minimum capacity for the chunk. @@ -60,7 +59,7 @@ public WritableFloatChunk ensureCapacity(int capacity) { * * If the chunk has existing data, then it is copied to the new chunk. * - * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not + * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not * exist, then the size of the returned chunk is zero. * * @param capacity the minimum capacity for the chunk. diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedIntChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedIntChunk.java index 62b633807f7..676fb93456d 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedIntChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedIntChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SizedCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SizedCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.sized; import io.deephaven.chunk.WritableIntChunk; @@ -20,7 +19,7 @@ public final class SizedIntChunk implements SafeCloseable { private WritableIntChunk chunk; - public SizedIntChunk(){} + public SizedIntChunk() {} public SizedIntChunk(final int initialSize) { chunk = WritableIntChunk.makeWritableChunk(initialSize); @@ -38,7 +37,7 @@ public WritableIntChunk get() { /** * Ensure the underlying chunk has a capacity of at least {@code capacity}, preserving data. * - * The data and size of the returned chunk are undefined. If you must maintain the data, then use + * The data and size of the returned chunk are undefined. If you must maintain the data, then use * {@link #ensureCapacityPreserve(int)}. * * @param capacity the minimum capacity for the chunk. @@ -60,7 +59,7 @@ public WritableIntChunk ensureCapacity(int capacity) { * * If the chunk has existing data, then it is copied to the new chunk. * - * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not + * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not * exist, then the size of the returned chunk is zero. * * @param capacity the minimum capacity for the chunk. diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedLongChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedLongChunk.java index 53471686996..68bcf288040 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedLongChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedLongChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SizedCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SizedCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.sized; import io.deephaven.chunk.WritableLongChunk; @@ -20,7 +19,7 @@ public final class SizedLongChunk implements SafeCloseable { private WritableLongChunk chunk; - public SizedLongChunk(){} + public SizedLongChunk() {} public SizedLongChunk(final int initialSize) { chunk = WritableLongChunk.makeWritableChunk(initialSize); @@ -38,7 +37,7 @@ public WritableLongChunk get() { /** * Ensure the underlying chunk has a capacity of at least {@code capacity}, preserving data. * - * The data and size of the returned chunk are undefined. If you must maintain the data, then use + * The data and size of the returned chunk are undefined. If you must maintain the data, then use * {@link #ensureCapacityPreserve(int)}. * * @param capacity the minimum capacity for the chunk. @@ -60,7 +59,7 @@ public WritableLongChunk ensureCapacity(int capacity) { * * If the chunk has existing data, then it is copied to the new chunk. * - * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not + * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not * exist, then the size of the returned chunk is zero. * * @param capacity the minimum capacity for the chunk. diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedObjectChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedObjectChunk.java index 5db8c445e50..c5cd5e54b4b 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedObjectChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedObjectChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SizedCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SizedCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.sized; import io.deephaven.chunk.WritableObjectChunk; @@ -20,7 +19,7 @@ public final class SizedObjectChunk implements SafeCloseable { private WritableObjectChunk chunk; - public SizedObjectChunk(){} + public SizedObjectChunk() {} public SizedObjectChunk(final int initialSize) { chunk = WritableObjectChunk.makeWritableChunk(initialSize); @@ -38,7 +37,7 @@ public WritableObjectChunk get() { /** * Ensure the underlying chunk has a capacity of at least {@code capacity}, preserving data. * - * The data and size of the returned chunk are undefined. If you must maintain the data, then use + * The data and size of the returned chunk are undefined. If you must maintain the data, then use * {@link #ensureCapacityPreserve(int)}. * * @param capacity the minimum capacity for the chunk. @@ -60,7 +59,7 @@ public WritableObjectChunk ensureCapacity(int capacity) { * * If the chunk has existing data, then it is copied to the new chunk. * - * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not + * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not * exist, then the size of the returned chunk is zero. * * @param capacity the minimum capacity for the chunk. diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedShortChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedShortChunk.java index 8be115db0c1..2c112f4f0f7 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedShortChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/sized/SizedShortChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SizedCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SizedCharChunk and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.sized; import io.deephaven.chunk.WritableShortChunk; @@ -20,7 +19,7 @@ public final class SizedShortChunk implements SafeCloseable { private WritableShortChunk chunk; - public SizedShortChunk(){} + public SizedShortChunk() {} public SizedShortChunk(final int initialSize) { chunk = WritableShortChunk.makeWritableChunk(initialSize); @@ -38,7 +37,7 @@ public WritableShortChunk get() { /** * Ensure the underlying chunk has a capacity of at least {@code capacity}, preserving data. * - * The data and size of the returned chunk are undefined. If you must maintain the data, then use + * The data and size of the returned chunk are undefined. If you must maintain the data, then use * {@link #ensureCapacityPreserve(int)}. * * @param capacity the minimum capacity for the chunk. @@ -60,7 +59,7 @@ public WritableShortChunk ensureCapacity(int capacity) { * * If the chunk has existing data, then it is copied to the new chunk. * - * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not + * If the underlying chunk already exists, then the size of the chunk is the original size. If the chunk did not * exist, then the size of the returned chunk is zero. * * @param capacity the minimum capacity for the chunk. diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/IntChunkLongIterator.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/IntChunkLongIterator.java index ab6ce3673b2..644663ef9dd 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/IntChunkLongIterator.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/IntChunkLongIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util; import io.deephaven.chunk.IntChunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/LongChunkAppender.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/LongChunkAppender.java index 45523d1769f..7fc3b0f4faa 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/LongChunkAppender.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/LongChunkAppender.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util; import io.deephaven.chunk.attributes.Any; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/LongChunkIterator.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/LongChunkIterator.java index eb1415d906f..980a6d7815e 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/LongChunkIterator.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/LongChunkIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util; import io.deephaven.chunk.LongChunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/LongChunkRangeIterator.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/LongChunkRangeIterator.java index 3abd0e866e5..79a596bde63 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/LongChunkRangeIterator.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/LongChunkRangeIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util; import io.deephaven.chunk.LongChunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/ObjectChunkIterator.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/ObjectChunkIterator.java index 4c3ccbe5e7c..c1324fb7b78 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/ObjectChunkIterator.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/ObjectChunkIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util; import io.deephaven.chunk.ObjectChunk; @@ -20,7 +20,8 @@ public ObjectChunkIterator(@NotNull final ObjectChunk chunk this(chunk, 0, chunk.size()); } - public ObjectChunkIterator(@NotNull final ObjectChunk chunk, final int offset, final int length) { + public ObjectChunkIterator(@NotNull final ObjectChunk chunk, final int offset, + final int length) { this.chunk = chunk; this.next = offset; this.limit = offset + length; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/BooleanChunkFactory.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/BooleanChunkFactory.java index cdd730e551c..17397048826 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/BooleanChunkFactory.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/BooleanChunkFactory.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkFactory and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkFactory and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.factories; import io.deephaven.chunk.*; @@ -42,28 +41,28 @@ public final BooleanChunkChunk getEmptyChunkChunk() { @NotNull @Override public final BooleanChunk chunkWrap(Object array) { - final boolean[] typedArray = (boolean[])array; + final boolean[] typedArray = (boolean[]) array; return BooleanChunk.chunkWrap(typedArray); } @NotNull @Override public final BooleanChunk chunkWrap(Object array, int offset, int capacity) { - final boolean[] typedArray = (boolean[])array; + final boolean[] typedArray = (boolean[]) array; return BooleanChunk.chunkWrap(typedArray, offset, capacity); } @NotNull @Override public final BooleanChunkChunk chunkChunkWrap(Chunk[] array) { - BooleanChunk[] typedArray = (BooleanChunk[])array; + BooleanChunk[] typedArray = (BooleanChunk[]) array; return BooleanChunkChunk.chunkWrap(typedArray); } @NotNull @Override public final BooleanChunkChunk chunkChunkWrap(Chunk[] array, int offset, int capacity) { - BooleanChunk[] typedArray = (BooleanChunk[])array; + BooleanChunk[] typedArray = (BooleanChunk[]) array; return BooleanChunkChunk.chunkWrap(typedArray, offset, capacity); } @@ -95,14 +94,15 @@ public final WritableBooleanChunkChunk makeWritableChun @NotNull @Override public final WritableBooleanChunk writableChunkWrap(Object array, int offset, int capacity) { - final boolean[] realType = (boolean[])array; + final boolean[] realType = (boolean[]) array; return WritableBooleanChunk.writableChunkWrap(realType, offset, capacity); } @NotNull @Override - public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, int offset, int capacity) { - WritableBooleanChunk[] actual = (WritableBooleanChunk[])array; + public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, + int offset, int capacity) { + WritableBooleanChunk[] actual = (WritableBooleanChunk[]) array; return WritableBooleanChunkChunk.writableChunkWrap(actual, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/ByteChunkFactory.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/ByteChunkFactory.java index 369fa31d6bc..492a2b972b0 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/ByteChunkFactory.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/ByteChunkFactory.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkFactory and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkFactory and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.factories; import io.deephaven.chunk.*; @@ -42,28 +41,28 @@ public final ByteChunkChunk getEmptyChunkChunk() { @NotNull @Override public final ByteChunk chunkWrap(Object array) { - final byte[] typedArray = (byte[])array; + final byte[] typedArray = (byte[]) array; return ByteChunk.chunkWrap(typedArray); } @NotNull @Override public final ByteChunk chunkWrap(Object array, int offset, int capacity) { - final byte[] typedArray = (byte[])array; + final byte[] typedArray = (byte[]) array; return ByteChunk.chunkWrap(typedArray, offset, capacity); } @NotNull @Override public final ByteChunkChunk chunkChunkWrap(Chunk[] array) { - ByteChunk[] typedArray = (ByteChunk[])array; + ByteChunk[] typedArray = (ByteChunk[]) array; return ByteChunkChunk.chunkWrap(typedArray); } @NotNull @Override public final ByteChunkChunk chunkChunkWrap(Chunk[] array, int offset, int capacity) { - ByteChunk[] typedArray = (ByteChunk[])array; + ByteChunk[] typedArray = (ByteChunk[]) array; return ByteChunkChunk.chunkWrap(typedArray, offset, capacity); } @@ -95,14 +94,15 @@ public final WritableByteChunkChunk makeWritableChunkCh @NotNull @Override public final WritableByteChunk writableChunkWrap(Object array, int offset, int capacity) { - final byte[] realType = (byte[])array; + final byte[] realType = (byte[]) array; return WritableByteChunk.writableChunkWrap(realType, offset, capacity); } @NotNull @Override - public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, int offset, int capacity) { - WritableByteChunk[] actual = (WritableByteChunk[])array; + public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, + int offset, int capacity) { + WritableByteChunk[] actual = (WritableByteChunk[]) array; return WritableByteChunkChunk.writableChunkWrap(actual, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/CharChunkFactory.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/CharChunkFactory.java index f21314e0a90..c15fa93e610 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/CharChunkFactory.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/CharChunkFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.factories; import io.deephaven.chunk.*; @@ -37,28 +37,28 @@ public final CharChunkChunk getEmptyChunkChunk() { @NotNull @Override public final CharChunk chunkWrap(Object array) { - final char[] typedArray = (char[])array; + final char[] typedArray = (char[]) array; return CharChunk.chunkWrap(typedArray); } @NotNull @Override public final CharChunk chunkWrap(Object array, int offset, int capacity) { - final char[] typedArray = (char[])array; + final char[] typedArray = (char[]) array; return CharChunk.chunkWrap(typedArray, offset, capacity); } @NotNull @Override public final CharChunkChunk chunkChunkWrap(Chunk[] array) { - CharChunk[] typedArray = (CharChunk[])array; + CharChunk[] typedArray = (CharChunk[]) array; return CharChunkChunk.chunkWrap(typedArray); } @NotNull @Override public final CharChunkChunk chunkChunkWrap(Chunk[] array, int offset, int capacity) { - CharChunk[] typedArray = (CharChunk[])array; + CharChunk[] typedArray = (CharChunk[]) array; return CharChunkChunk.chunkWrap(typedArray, offset, capacity); } @@ -90,14 +90,15 @@ public final WritableCharChunkChunk makeWritableChunkCh @NotNull @Override public final WritableCharChunk writableChunkWrap(Object array, int offset, int capacity) { - final char[] realType = (char[])array; + final char[] realType = (char[]) array; return WritableCharChunk.writableChunkWrap(realType, offset, capacity); } @NotNull @Override - public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, int offset, int capacity) { - WritableCharChunk[] actual = (WritableCharChunk[])array; + public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, + int offset, int capacity) { + WritableCharChunk[] actual = (WritableCharChunk[]) array; return WritableCharChunkChunk.writableChunkWrap(actual, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/ChunkFactory.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/ChunkFactory.java index 4a265a48a5f..b6b8c70ccc9 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/ChunkFactory.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/ChunkFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.factories; import io.deephaven.chunk.*; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/DoubleChunkFactory.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/DoubleChunkFactory.java index 38bb655253b..fe9dfd5929e 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/DoubleChunkFactory.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/DoubleChunkFactory.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkFactory and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkFactory and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.factories; import io.deephaven.chunk.*; @@ -42,28 +41,28 @@ public final DoubleChunkChunk getEmptyChunkChunk() { @NotNull @Override public final DoubleChunk chunkWrap(Object array) { - final double[] typedArray = (double[])array; + final double[] typedArray = (double[]) array; return DoubleChunk.chunkWrap(typedArray); } @NotNull @Override public final DoubleChunk chunkWrap(Object array, int offset, int capacity) { - final double[] typedArray = (double[])array; + final double[] typedArray = (double[]) array; return DoubleChunk.chunkWrap(typedArray, offset, capacity); } @NotNull @Override public final DoubleChunkChunk chunkChunkWrap(Chunk[] array) { - DoubleChunk[] typedArray = (DoubleChunk[])array; + DoubleChunk[] typedArray = (DoubleChunk[]) array; return DoubleChunkChunk.chunkWrap(typedArray); } @NotNull @Override public final DoubleChunkChunk chunkChunkWrap(Chunk[] array, int offset, int capacity) { - DoubleChunk[] typedArray = (DoubleChunk[])array; + DoubleChunk[] typedArray = (DoubleChunk[]) array; return DoubleChunkChunk.chunkWrap(typedArray, offset, capacity); } @@ -95,14 +94,15 @@ public final WritableDoubleChunkChunk makeWritableChunk @NotNull @Override public final WritableDoubleChunk writableChunkWrap(Object array, int offset, int capacity) { - final double[] realType = (double[])array; + final double[] realType = (double[]) array; return WritableDoubleChunk.writableChunkWrap(realType, offset, capacity); } @NotNull @Override - public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, int offset, int capacity) { - WritableDoubleChunk[] actual = (WritableDoubleChunk[])array; + public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, + int offset, int capacity) { + WritableDoubleChunk[] actual = (WritableDoubleChunk[]) array; return WritableDoubleChunkChunk.writableChunkWrap(actual, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/FloatChunkFactory.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/FloatChunkFactory.java index a8b693b051b..7906f880fb1 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/FloatChunkFactory.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/FloatChunkFactory.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkFactory and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkFactory and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.factories; import io.deephaven.chunk.*; @@ -42,28 +41,28 @@ public final FloatChunkChunk getEmptyChunkChunk() { @NotNull @Override public final FloatChunk chunkWrap(Object array) { - final float[] typedArray = (float[])array; + final float[] typedArray = (float[]) array; return FloatChunk.chunkWrap(typedArray); } @NotNull @Override public final FloatChunk chunkWrap(Object array, int offset, int capacity) { - final float[] typedArray = (float[])array; + final float[] typedArray = (float[]) array; return FloatChunk.chunkWrap(typedArray, offset, capacity); } @NotNull @Override public final FloatChunkChunk chunkChunkWrap(Chunk[] array) { - FloatChunk[] typedArray = (FloatChunk[])array; + FloatChunk[] typedArray = (FloatChunk[]) array; return FloatChunkChunk.chunkWrap(typedArray); } @NotNull @Override public final FloatChunkChunk chunkChunkWrap(Chunk[] array, int offset, int capacity) { - FloatChunk[] typedArray = (FloatChunk[])array; + FloatChunk[] typedArray = (FloatChunk[]) array; return FloatChunkChunk.chunkWrap(typedArray, offset, capacity); } @@ -95,14 +94,15 @@ public final WritableFloatChunkChunk makeWritableChunkC @NotNull @Override public final WritableFloatChunk writableChunkWrap(Object array, int offset, int capacity) { - final float[] realType = (float[])array; + final float[] realType = (float[]) array; return WritableFloatChunk.writableChunkWrap(realType, offset, capacity); } @NotNull @Override - public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, int offset, int capacity) { - WritableFloatChunk[] actual = (WritableFloatChunk[])array; + public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, + int offset, int capacity) { + WritableFloatChunk[] actual = (WritableFloatChunk[]) array; return WritableFloatChunkChunk.writableChunkWrap(actual, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/IntChunkFactory.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/IntChunkFactory.java index 17a41114701..1ceb306324a 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/IntChunkFactory.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/IntChunkFactory.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkFactory and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkFactory and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.factories; import io.deephaven.chunk.*; @@ -42,28 +41,28 @@ public final IntChunkChunk getEmptyChunkChunk() { @NotNull @Override public final IntChunk chunkWrap(Object array) { - final int[] typedArray = (int[])array; + final int[] typedArray = (int[]) array; return IntChunk.chunkWrap(typedArray); } @NotNull @Override public final IntChunk chunkWrap(Object array, int offset, int capacity) { - final int[] typedArray = (int[])array; + final int[] typedArray = (int[]) array; return IntChunk.chunkWrap(typedArray, offset, capacity); } @NotNull @Override public final IntChunkChunk chunkChunkWrap(Chunk[] array) { - IntChunk[] typedArray = (IntChunk[])array; + IntChunk[] typedArray = (IntChunk[]) array; return IntChunkChunk.chunkWrap(typedArray); } @NotNull @Override public final IntChunkChunk chunkChunkWrap(Chunk[] array, int offset, int capacity) { - IntChunk[] typedArray = (IntChunk[])array; + IntChunk[] typedArray = (IntChunk[]) array; return IntChunkChunk.chunkWrap(typedArray, offset, capacity); } @@ -95,14 +94,15 @@ public final WritableIntChunkChunk makeWritableChunkChu @NotNull @Override public final WritableIntChunk writableChunkWrap(Object array, int offset, int capacity) { - final int[] realType = (int[])array; + final int[] realType = (int[]) array; return WritableIntChunk.writableChunkWrap(realType, offset, capacity); } @NotNull @Override - public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, int offset, int capacity) { - WritableIntChunk[] actual = (WritableIntChunk[])array; + public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, + int offset, int capacity) { + WritableIntChunk[] actual = (WritableIntChunk[]) array; return WritableIntChunkChunk.writableChunkWrap(actual, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/LongChunkFactory.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/LongChunkFactory.java index 6588c6d165a..8c1a8c91cd4 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/LongChunkFactory.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/LongChunkFactory.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkFactory and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkFactory and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.factories; import io.deephaven.chunk.*; @@ -42,28 +41,28 @@ public final LongChunkChunk getEmptyChunkChunk() { @NotNull @Override public final LongChunk chunkWrap(Object array) { - final long[] typedArray = (long[])array; + final long[] typedArray = (long[]) array; return LongChunk.chunkWrap(typedArray); } @NotNull @Override public final LongChunk chunkWrap(Object array, int offset, int capacity) { - final long[] typedArray = (long[])array; + final long[] typedArray = (long[]) array; return LongChunk.chunkWrap(typedArray, offset, capacity); } @NotNull @Override public final LongChunkChunk chunkChunkWrap(Chunk[] array) { - LongChunk[] typedArray = (LongChunk[])array; + LongChunk[] typedArray = (LongChunk[]) array; return LongChunkChunk.chunkWrap(typedArray); } @NotNull @Override public final LongChunkChunk chunkChunkWrap(Chunk[] array, int offset, int capacity) { - LongChunk[] typedArray = (LongChunk[])array; + LongChunk[] typedArray = (LongChunk[]) array; return LongChunkChunk.chunkWrap(typedArray, offset, capacity); } @@ -95,14 +94,15 @@ public final WritableLongChunkChunk makeWritableChunkCh @NotNull @Override public final WritableLongChunk writableChunkWrap(Object array, int offset, int capacity) { - final long[] realType = (long[])array; + final long[] realType = (long[]) array; return WritableLongChunk.writableChunkWrap(realType, offset, capacity); } @NotNull @Override - public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, int offset, int capacity) { - WritableLongChunk[] actual = (WritableLongChunk[])array; + public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, + int offset, int capacity) { + WritableLongChunk[] actual = (WritableLongChunk[]) array; return WritableLongChunkChunk.writableChunkWrap(actual, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/ObjectChunkFactory.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/ObjectChunkFactory.java index 0e26b88cbbc..a81d88216cc 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/ObjectChunkFactory.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/ObjectChunkFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.factories; import io.deephaven.chunk.*; @@ -37,30 +37,31 @@ public final ObjectChunkChunk getEmptyChunkChunk() { @NotNull @Override public final ObjectChunk chunkWrap(Object array) { - //noinspection unchecked - final T[] typedArray = (T[])array; + // noinspection unchecked + final T[] typedArray = (T[]) array; return ObjectChunk.chunkWrap(typedArray); } @NotNull @Override public final ObjectChunk chunkWrap(Object array, int offset, int capacity) { - //noinspection unchecked - final T[] typedArray = (T[])array; + // noinspection unchecked + final T[] typedArray = (T[]) array; return ObjectChunk.chunkWrap(typedArray, offset, capacity); } @NotNull @Override public final ObjectChunkChunk chunkChunkWrap(Chunk[] array) { - ObjectChunk[] typedArray = (ObjectChunk[])array; + ObjectChunk[] typedArray = (ObjectChunk[]) array; return ObjectChunkChunk.chunkWrap(typedArray); } @NotNull @Override - public final ObjectChunkChunk chunkChunkWrap(Chunk[] array, int offset, int capacity) { - ObjectChunk[] typedArray = (ObjectChunk[])array; + public final ObjectChunkChunk chunkChunkWrap(Chunk[] array, int offset, + int capacity) { + ObjectChunk[] typedArray = (ObjectChunk[]) array; return ObjectChunkChunk.chunkWrap(typedArray, offset, capacity); } @@ -90,16 +91,18 @@ public final WritableObjectChunkChunk makeWritableCh @NotNull @Override - public final WritableObjectChunk writableChunkWrap(Object array, int offset, int capacity) { - //noinspection unchecked - final T[] realType = (T[])array; + public final WritableObjectChunk writableChunkWrap(Object array, int offset, + int capacity) { + // noinspection unchecked + final T[] realType = (T[]) array; return WritableObjectChunk.writableChunkWrap(realType, offset, capacity); } @NotNull @Override - public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, int offset, int capacity) { - WritableObjectChunk[] actual = (WritableObjectChunk[])array; + public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, + int offset, int capacity) { + WritableObjectChunk[] actual = (WritableObjectChunk[]) array; return WritableObjectChunkChunk.writableChunkWrap(actual, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/ShortChunkFactory.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/ShortChunkFactory.java index 852006cd614..d8b17174424 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/ShortChunkFactory.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/factories/ShortChunkFactory.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkFactory and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkFactory and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.factories; import io.deephaven.chunk.*; @@ -42,28 +41,28 @@ public final ShortChunkChunk getEmptyChunkChunk() { @NotNull @Override public final ShortChunk chunkWrap(Object array) { - final short[] typedArray = (short[])array; + final short[] typedArray = (short[]) array; return ShortChunk.chunkWrap(typedArray); } @NotNull @Override public final ShortChunk chunkWrap(Object array, int offset, int capacity) { - final short[] typedArray = (short[])array; + final short[] typedArray = (short[]) array; return ShortChunk.chunkWrap(typedArray, offset, capacity); } @NotNull @Override public final ShortChunkChunk chunkChunkWrap(Chunk[] array) { - ShortChunk[] typedArray = (ShortChunk[])array; + ShortChunk[] typedArray = (ShortChunk[]) array; return ShortChunkChunk.chunkWrap(typedArray); } @NotNull @Override public final ShortChunkChunk chunkChunkWrap(Chunk[] array, int offset, int capacity) { - ShortChunk[] typedArray = (ShortChunk[])array; + ShortChunk[] typedArray = (ShortChunk[]) array; return ShortChunkChunk.chunkWrap(typedArray, offset, capacity); } @@ -95,14 +94,15 @@ public final WritableShortChunkChunk makeWritableChunkC @NotNull @Override public final WritableShortChunk writableChunkWrap(Object array, int offset, int capacity) { - final short[] realType = (short[])array; + final short[] realType = (short[]) array; return WritableShortChunk.writableChunkWrap(realType, offset, capacity); } @NotNull @Override - public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, int offset, int capacity) { - WritableShortChunk[] actual = (WritableShortChunk[])array; + public final WritableChunkChunk writableChunkChunkWrap(WritableChunk[] array, + int offset, int capacity) { + WritableShortChunk[] actual = (WritableShortChunk[]) array; return WritableShortChunkChunk.writableChunkWrap(actual, offset, capacity); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/BooleanChunkEquals.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/BooleanChunkEquals.java index c76ce97a0e7..72d93282f9e 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/BooleanChunkEquals.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/BooleanChunkEquals.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkEquals and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkEquals and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -15,7 +14,7 @@ // region name public class BooleanChunkEquals implements ChunkEquals { public static BooleanChunkEquals INSTANCE = new BooleanChunkEquals(); -// endregion name + // endregion name public static boolean equalReduce(BooleanChunk lhs, BooleanChunk rhs) { if (lhs.size() != rhs.size()) { @@ -39,7 +38,8 @@ public static int firstDifference(BooleanChunk lhs, BooleanChunk< return ii; } - private static void equal(BooleanChunk lhs, BooleanChunk rhs, WritableBooleanChunk destination) { + private static void equal(BooleanChunk lhs, BooleanChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, eq(lhs.get(ii), rhs.get(ii))); } @@ -60,7 +60,8 @@ private static void equal(BooleanChunk lhs, boolean rhs, Writable destination.setSize(lhs.size()); } - public static void notEqual(BooleanChunk lhs, BooleanChunk rhs, WritableBooleanChunk destination) { + public static void notEqual(BooleanChunk lhs, BooleanChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, neq(lhs.get(ii), rhs.get(ii))); } @@ -74,14 +75,16 @@ public static void notEqual(BooleanChunk lhs, boolean rhs, Writab destination.setSize(lhs.size()); } - private static void andEqual(BooleanChunk lhs, BooleanChunk rhs, WritableBooleanChunk destination) { + private static void andEqual(BooleanChunk lhs, BooleanChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && eq(lhs.get(ii), rhs.get(ii))); } destination.setSize(lhs.size()); } - private static void andNotEqual(BooleanChunk lhs, BooleanChunk rhs, WritableBooleanChunk destination) { + private static void andNotEqual(BooleanChunk lhs, BooleanChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && neq(lhs.get(ii), rhs.get(ii))); } @@ -95,7 +98,8 @@ private static void andEqualNext(BooleanChunk chunk, WritableBool destination.setSize(chunk.size() - 1); } - private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, BooleanChunk valuesChunk, WritableBooleanChunk destinations) { + private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, + BooleanChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { final int firstPosition = chunkPositionsToCheckForEquality.get(ii * 2); @@ -106,7 +110,8 @@ private static void equalPairs(IntChunk chunkPositionsToCheckFor destinations.setSize(pairCount); } - private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, BooleanChunk valuesChunk, WritableBooleanChunk destinations) { + private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + BooleanChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { if (destinations.get(ii)) { @@ -118,7 +123,8 @@ private static void andEqualPairs(IntChunk chunkPositionsToCheck } } - private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, BooleanChunk lhs, BooleanChunk rhs, WritableBooleanChunk destinations) { + private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + BooleanChunk lhs, BooleanChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final int rhsPosition = rhsPositions.get(ii); @@ -128,7 +134,8 @@ private static void equalPermuted(IntChunk lhsPositions, IntChun destinations.setSize(lhsPositions.size()); } - private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, BooleanChunk lhs, BooleanChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + BooleanChunk lhs, BooleanChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -140,7 +147,8 @@ private static void andEqualPermuted(IntChunk lhsPositions, IntC destinations.setSize(lhsPositions.size()); } - private static void equalLhsPermuted(IntChunk lhsPositions, BooleanChunk lhs, BooleanChunk rhs, WritableBooleanChunk destinations) { + private static void equalLhsPermuted(IntChunk lhsPositions, BooleanChunk lhs, + BooleanChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final boolean equals = eq(lhs.get(lhsPosition), rhs.get(ii)); @@ -149,7 +157,8 @@ private static void equalLhsPermuted(IntChunk lhsPositions, Bool destinations.setSize(lhsPositions.size()); } - private static void andEqualLhsPermuted(IntChunk lhsPositions, BooleanChunk lhs, BooleanChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualLhsPermuted(IntChunk lhsPositions, BooleanChunk lhs, + BooleanChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -190,22 +199,26 @@ public void andEqualNext(Chunk chunk, WritableBooleanChunk destin } @Override - public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { equalPermuted(lhsPositions, rhsPositions, lhs.asBooleanChunk(), rhs.asBooleanChunk(), destination); } @Override - public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { equalLhsPermuted(lhsPositions, lhs.asBooleanChunk(), rhs.asBooleanChunk(), destination); } @Override - public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { andEqualPermuted(lhsPositions, rhsPositions, lhs.asBooleanChunk(), rhs.asBooleanChunk(), destination); } @Override - public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { andEqualLhsPermuted(lhsPositions, lhs.asBooleanChunk(), rhs.asBooleanChunk(), destination); } @@ -224,12 +237,14 @@ public void andNotEqual(Chunk lhs, Chunk rhs, Writ } @Override - public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, + WritableBooleanChunk destinations) { equalPairs(chunkPositionsToCheckForEquality, valuesChunk.asBooleanChunk(), destinations); } @Override - public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + Chunk valuesChunk, WritableBooleanChunk destinations) { andEqualPairs(chunkPositionsToCheckForEquality, valuesChunk.asBooleanChunk(), destinations); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/BooleanChunkHasher.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/BooleanChunkHasher.java index 86cf439c1ed..99355911208 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/BooleanChunkHasher.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/BooleanChunkHasher.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkHasher and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkHasher and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.BooleanChunk; @@ -45,12 +44,12 @@ public static int hashUpdateSingle(int existing, boolean newValue) { @Override public int hashInitial(Object value) { - return hashInitialSingle(TypeUtils.unbox((Boolean)value)); + return hashInitialSingle(TypeUtils.unbox((Boolean) value)); } @Override public int hashUpdate(int existing, Object value) { - return hashUpdateSingle(existing, TypeUtils.unbox((Boolean)value)); + return hashUpdateSingle(existing, TypeUtils.unbox((Boolean) value)); } @Override diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteChunkEquals.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteChunkEquals.java index a2e2df01fd6..07061189ca3 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteChunkEquals.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteChunkEquals.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkEquals and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkEquals and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -15,7 +14,7 @@ // region name public class ByteChunkEquals implements ChunkEquals { public static ByteChunkEquals INSTANCE = new ByteChunkEquals(); -// endregion name + // endregion name public static boolean equalReduce(ByteChunk lhs, ByteChunk rhs) { if (lhs.size() != rhs.size()) { @@ -39,7 +38,8 @@ public static int firstDifference(ByteChunk lhs, ByteChunk lhs, ByteChunk rhs, WritableBooleanChunk destination) { + private static void equal(ByteChunk lhs, ByteChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, eq(lhs.get(ii), rhs.get(ii))); } @@ -60,7 +60,8 @@ private static void equal(ByteChunk lhs, byte rhs, WritableBoolea destination.setSize(lhs.size()); } - public static void notEqual(ByteChunk lhs, ByteChunk rhs, WritableBooleanChunk destination) { + public static void notEqual(ByteChunk lhs, ByteChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, neq(lhs.get(ii), rhs.get(ii))); } @@ -74,14 +75,16 @@ public static void notEqual(ByteChunk lhs, byte rhs, WritableBool destination.setSize(lhs.size()); } - private static void andEqual(ByteChunk lhs, ByteChunk rhs, WritableBooleanChunk destination) { + private static void andEqual(ByteChunk lhs, ByteChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && eq(lhs.get(ii), rhs.get(ii))); } destination.setSize(lhs.size()); } - private static void andNotEqual(ByteChunk lhs, ByteChunk rhs, WritableBooleanChunk destination) { + private static void andNotEqual(ByteChunk lhs, ByteChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && neq(lhs.get(ii), rhs.get(ii))); } @@ -95,7 +98,8 @@ private static void andEqualNext(ByteChunk chunk, WritableBoolean destination.setSize(chunk.size() - 1); } - private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, ByteChunk valuesChunk, WritableBooleanChunk destinations) { + private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, + ByteChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { final int firstPosition = chunkPositionsToCheckForEquality.get(ii * 2); @@ -106,7 +110,8 @@ private static void equalPairs(IntChunk chunkPositionsToCheckFor destinations.setSize(pairCount); } - private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, ByteChunk valuesChunk, WritableBooleanChunk destinations) { + private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + ByteChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { if (destinations.get(ii)) { @@ -118,7 +123,8 @@ private static void andEqualPairs(IntChunk chunkPositionsToCheck } } - private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, ByteChunk lhs, ByteChunk rhs, WritableBooleanChunk destinations) { + private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + ByteChunk lhs, ByteChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final int rhsPosition = rhsPositions.get(ii); @@ -128,7 +134,8 @@ private static void equalPermuted(IntChunk lhsPositions, IntChun destinations.setSize(lhsPositions.size()); } - private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, ByteChunk lhs, ByteChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + ByteChunk lhs, ByteChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -140,7 +147,8 @@ private static void andEqualPermuted(IntChunk lhsPositions, IntC destinations.setSize(lhsPositions.size()); } - private static void equalLhsPermuted(IntChunk lhsPositions, ByteChunk lhs, ByteChunk rhs, WritableBooleanChunk destinations) { + private static void equalLhsPermuted(IntChunk lhsPositions, ByteChunk lhs, + ByteChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final boolean equals = eq(lhs.get(lhsPosition), rhs.get(ii)); @@ -149,7 +157,8 @@ private static void equalLhsPermuted(IntChunk lhsPositions, Byte destinations.setSize(lhsPositions.size()); } - private static void andEqualLhsPermuted(IntChunk lhsPositions, ByteChunk lhs, ByteChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualLhsPermuted(IntChunk lhsPositions, ByteChunk lhs, + ByteChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -190,22 +199,26 @@ public void andEqualNext(Chunk chunk, WritableBooleanChunk destin } @Override - public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { equalPermuted(lhsPositions, rhsPositions, lhs.asByteChunk(), rhs.asByteChunk(), destination); } @Override - public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { equalLhsPermuted(lhsPositions, lhs.asByteChunk(), rhs.asByteChunk(), destination); } @Override - public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { andEqualPermuted(lhsPositions, rhsPositions, lhs.asByteChunk(), rhs.asByteChunk(), destination); } @Override - public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { andEqualLhsPermuted(lhsPositions, lhs.asByteChunk(), rhs.asByteChunk(), destination); } @@ -224,12 +237,14 @@ public void andNotEqual(Chunk lhs, Chunk rhs, Writ } @Override - public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, + WritableBooleanChunk destinations) { equalPairs(chunkPositionsToCheckForEquality, valuesChunk.asByteChunk(), destinations); } @Override - public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + Chunk valuesChunk, WritableBooleanChunk destinations) { andEqualPairs(chunkPositionsToCheckForEquality, valuesChunk.asByteChunk(), destinations); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteChunkHasher.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteChunkHasher.java index 2e2f840d5f2..b0a402acec9 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteChunkHasher.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteChunkHasher.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkHasher and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkHasher and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.ByteChunk; @@ -45,12 +44,12 @@ public static int hashUpdateSingle(int existing, byte newValue) { @Override public int hashInitial(Object value) { - return hashInitialSingle(TypeUtils.unbox((Byte)value)); + return hashInitialSingle(TypeUtils.unbox((Byte) value)); } @Override public int hashUpdate(int existing, Object value) { - return hashUpdateSingle(existing, TypeUtils.unbox((Byte)value)); + return hashUpdateSingle(existing, TypeUtils.unbox((Byte) value)); } @Override diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteToIntegerCast.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteToIntegerCast.java index 87622c6ff46..b85b4ac6b3c 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteToIntegerCast.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteToIntegerCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToIntegerCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToIntegerCast and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -35,7 +34,7 @@ private IntChunk cast(ByteChunk input) { public static void castInto(ByteChunk input, WritableIntChunk result) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (int)input.get(ii)); + result.set(ii, (int) input.get(ii)); } result.setSize(input.size()); } @@ -44,4 +43,4 @@ public static void castInto(ByteChunk input, Writ public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteToIntegerCastWithOffset.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteToIntegerCastWithOffset.java index 0d0ce04b956..91285298a9c 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteToIntegerCastWithOffset.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteToIntegerCastWithOffset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToIntegerCastWithOffset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToIntegerCastWithOffset and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.attributes.Any; @@ -35,7 +34,7 @@ public IntChunk apply(Chunk input) { private IntChunk castWithOffset(ByteChunk input) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (int)input.get(ii) + offset); + result.set(ii, (int) input.get(ii) + offset); } result.setSize(input.size()); return result; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteToLongCast.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteToLongCast.java index 689790dba7e..23044cafda1 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteToLongCast.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteToLongCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToLongCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToLongCast and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -33,9 +32,9 @@ private LongChunk cast(ByteChunk input) { return result; } - public static void castInto(ByteChunk input, WritableLongChunk result) { + public static void castInto(ByteChunk input, WritableLongChunk result) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (long)input.get(ii)); + result.set(ii, (long) input.get(ii)); } result.setSize(input.size()); } @@ -44,4 +43,4 @@ public static void castInto(ByteChunk input, Wri public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteToLongCastWithOffset.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteToLongCastWithOffset.java index 6fa81fb0abc..991818171a1 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteToLongCastWithOffset.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ByteToLongCastWithOffset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToLongCastWithOffset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToLongCastWithOffset and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.attributes.Any; @@ -38,9 +37,9 @@ private LongChunk castWithOffset(ByteChunk input) { return result; } - public static void castInto(ByteChunk input, WritableLongChunk result, long offset) { + public static void castInto(ByteChunk input, WritableLongChunk result, long offset) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (long)input.get(ii) + offset); + result.set(ii, (long) input.get(ii) + offset); } result.setSize(input.size()); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharChunkEquals.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharChunkEquals.java index c0f14627ab4..83ff524a3f0 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharChunkEquals.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharChunkEquals.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -10,7 +10,7 @@ // region name public class CharChunkEquals implements ChunkEquals { public static CharChunkEquals INSTANCE = new CharChunkEquals(); -// endregion name + // endregion name public static boolean equalReduce(CharChunk lhs, CharChunk rhs) { if (lhs.size() != rhs.size()) { @@ -34,7 +34,8 @@ public static int firstDifference(CharChunk lhs, CharChunk lhs, CharChunk rhs, WritableBooleanChunk destination) { + private static void equal(CharChunk lhs, CharChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, eq(lhs.get(ii), rhs.get(ii))); } @@ -55,7 +56,8 @@ private static void equal(CharChunk lhs, char rhs, WritableBoolea destination.setSize(lhs.size()); } - public static void notEqual(CharChunk lhs, CharChunk rhs, WritableBooleanChunk destination) { + public static void notEqual(CharChunk lhs, CharChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, neq(lhs.get(ii), rhs.get(ii))); } @@ -69,14 +71,16 @@ public static void notEqual(CharChunk lhs, char rhs, WritableBool destination.setSize(lhs.size()); } - private static void andEqual(CharChunk lhs, CharChunk rhs, WritableBooleanChunk destination) { + private static void andEqual(CharChunk lhs, CharChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && eq(lhs.get(ii), rhs.get(ii))); } destination.setSize(lhs.size()); } - private static void andNotEqual(CharChunk lhs, CharChunk rhs, WritableBooleanChunk destination) { + private static void andNotEqual(CharChunk lhs, CharChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && neq(lhs.get(ii), rhs.get(ii))); } @@ -90,7 +94,8 @@ private static void andEqualNext(CharChunk chunk, WritableBoolean destination.setSize(chunk.size() - 1); } - private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, CharChunk valuesChunk, WritableBooleanChunk destinations) { + private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, + CharChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { final int firstPosition = chunkPositionsToCheckForEquality.get(ii * 2); @@ -101,7 +106,8 @@ private static void equalPairs(IntChunk chunkPositionsToCheckFor destinations.setSize(pairCount); } - private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, CharChunk valuesChunk, WritableBooleanChunk destinations) { + private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + CharChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { if (destinations.get(ii)) { @@ -113,7 +119,8 @@ private static void andEqualPairs(IntChunk chunkPositionsToCheck } } - private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, CharChunk lhs, CharChunk rhs, WritableBooleanChunk destinations) { + private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + CharChunk lhs, CharChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final int rhsPosition = rhsPositions.get(ii); @@ -123,7 +130,8 @@ private static void equalPermuted(IntChunk lhsPositions, IntChun destinations.setSize(lhsPositions.size()); } - private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, CharChunk lhs, CharChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + CharChunk lhs, CharChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -135,7 +143,8 @@ private static void andEqualPermuted(IntChunk lhsPositions, IntC destinations.setSize(lhsPositions.size()); } - private static void equalLhsPermuted(IntChunk lhsPositions, CharChunk lhs, CharChunk rhs, WritableBooleanChunk destinations) { + private static void equalLhsPermuted(IntChunk lhsPositions, CharChunk lhs, + CharChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final boolean equals = eq(lhs.get(lhsPosition), rhs.get(ii)); @@ -144,7 +153,8 @@ private static void equalLhsPermuted(IntChunk lhsPositions, Char destinations.setSize(lhsPositions.size()); } - private static void andEqualLhsPermuted(IntChunk lhsPositions, CharChunk lhs, CharChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualLhsPermuted(IntChunk lhsPositions, CharChunk lhs, + CharChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -185,22 +195,26 @@ public void andEqualNext(Chunk chunk, WritableBooleanChunk destin } @Override - public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { equalPermuted(lhsPositions, rhsPositions, lhs.asCharChunk(), rhs.asCharChunk(), destination); } @Override - public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { equalLhsPermuted(lhsPositions, lhs.asCharChunk(), rhs.asCharChunk(), destination); } @Override - public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { andEqualPermuted(lhsPositions, rhsPositions, lhs.asCharChunk(), rhs.asCharChunk(), destination); } @Override - public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { andEqualLhsPermuted(lhsPositions, lhs.asCharChunk(), rhs.asCharChunk(), destination); } @@ -219,12 +233,14 @@ public void andNotEqual(Chunk lhs, Chunk rhs, Writ } @Override - public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, + WritableBooleanChunk destinations) { equalPairs(chunkPositionsToCheckForEquality, valuesChunk.asCharChunk(), destinations); } @Override - public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + Chunk valuesChunk, WritableBooleanChunk destinations) { andEqualPairs(chunkPositionsToCheckForEquality, valuesChunk.asCharChunk(), destinations); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharChunkHasher.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharChunkHasher.java index 5b233e47203..63f37712039 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharChunkHasher.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharChunkHasher.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.CharChunk; @@ -40,12 +40,12 @@ public static int hashUpdateSingle(int existing, char newValue) { @Override public int hashInitial(Object value) { - return hashInitialSingle(TypeUtils.unbox((Character)value)); + return hashInitialSingle(TypeUtils.unbox((Character) value)); } @Override public int hashUpdate(int existing, Object value) { - return hashUpdateSingle(existing, TypeUtils.unbox((Character)value)); + return hashUpdateSingle(existing, TypeUtils.unbox((Character) value)); } @Override diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharToIntegerCast.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharToIntegerCast.java index 32edfb79a01..1355b434ba7 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharToIntegerCast.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharToIntegerCast.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -30,7 +30,7 @@ private IntChunk cast(CharChunk input) { public static void castInto(CharChunk input, WritableIntChunk result) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (int)input.get(ii)); + result.set(ii, (int) input.get(ii)); } result.setSize(input.size()); } @@ -39,4 +39,4 @@ public static void castInto(CharChunk input, Writ public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharToIntegerCastWithOffset.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharToIntegerCastWithOffset.java index b500691679e..17f4f5514ed 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharToIntegerCastWithOffset.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharToIntegerCastWithOffset.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.attributes.Any; @@ -30,7 +30,7 @@ public IntChunk apply(Chunk input) { private IntChunk castWithOffset(CharChunk input) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (int)input.get(ii) + offset); + result.set(ii, (int) input.get(ii) + offset); } result.setSize(input.size()); return result; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharToLongCast.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharToLongCast.java index 5bed91ca58f..c66f629f96c 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharToLongCast.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharToLongCast.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -28,9 +28,9 @@ private LongChunk cast(CharChunk input) { return result; } - public static void castInto(CharChunk input, WritableLongChunk result) { + public static void castInto(CharChunk input, WritableLongChunk result) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (long)input.get(ii)); + result.set(ii, (long) input.get(ii)); } result.setSize(input.size()); } @@ -39,4 +39,4 @@ public static void castInto(CharChunk input, Wri public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharToLongCastWithOffset.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharToLongCastWithOffset.java index 3e50d32f53c..0c843cfc05e 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharToLongCastWithOffset.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/CharToLongCastWithOffset.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.attributes.Any; @@ -33,9 +33,9 @@ private LongChunk castWithOffset(CharChunk input) { return result; } - public static void castInto(CharChunk input, WritableLongChunk result, long offset) { + public static void castInto(CharChunk input, WritableLongChunk result, long offset) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (long)input.get(ii) + offset); + result.set(ii, (long) input.get(ii) + offset); } result.setSize(input.size()); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ChunkEquals.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ChunkEquals.java index 30799a08e6c..ae1d31e2ab9 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ChunkEquals.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ChunkEquals.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ChunkHasher.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ChunkHasher.java index 0a24570e617..ff822ddb69a 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ChunkHasher.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ChunkHasher.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.attributes.HashCodes; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/DoubleChunkEquals.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/DoubleChunkEquals.java index 98b45b303af..5ebfeb66a5f 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/DoubleChunkEquals.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/DoubleChunkEquals.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkEquals and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkEquals and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -15,7 +14,7 @@ // region name public class DoubleChunkEquals implements ChunkEquals { public static DoubleChunkEquals INSTANCE = new DoubleChunkEquals(); -// endregion name + // endregion name public static boolean equalReduce(DoubleChunk lhs, DoubleChunk rhs) { if (lhs.size() != rhs.size()) { @@ -39,7 +38,8 @@ public static int firstDifference(DoubleChunk lhs, DoubleChunk lhs, DoubleChunk rhs, WritableBooleanChunk destination) { + private static void equal(DoubleChunk lhs, DoubleChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, eq(lhs.get(ii), rhs.get(ii))); } @@ -60,7 +60,8 @@ private static void equal(DoubleChunk lhs, double rhs, WritableBo destination.setSize(lhs.size()); } - public static void notEqual(DoubleChunk lhs, DoubleChunk rhs, WritableBooleanChunk destination) { + public static void notEqual(DoubleChunk lhs, DoubleChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, neq(lhs.get(ii), rhs.get(ii))); } @@ -74,14 +75,16 @@ public static void notEqual(DoubleChunk lhs, double rhs, Writable destination.setSize(lhs.size()); } - private static void andEqual(DoubleChunk lhs, DoubleChunk rhs, WritableBooleanChunk destination) { + private static void andEqual(DoubleChunk lhs, DoubleChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && eq(lhs.get(ii), rhs.get(ii))); } destination.setSize(lhs.size()); } - private static void andNotEqual(DoubleChunk lhs, DoubleChunk rhs, WritableBooleanChunk destination) { + private static void andNotEqual(DoubleChunk lhs, DoubleChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && neq(lhs.get(ii), rhs.get(ii))); } @@ -95,7 +98,8 @@ private static void andEqualNext(DoubleChunk chunk, WritableBoole destination.setSize(chunk.size() - 1); } - private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, DoubleChunk valuesChunk, WritableBooleanChunk destinations) { + private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, + DoubleChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { final int firstPosition = chunkPositionsToCheckForEquality.get(ii * 2); @@ -106,7 +110,8 @@ private static void equalPairs(IntChunk chunkPositionsToCheckFor destinations.setSize(pairCount); } - private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, DoubleChunk valuesChunk, WritableBooleanChunk destinations) { + private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + DoubleChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { if (destinations.get(ii)) { @@ -118,7 +123,8 @@ private static void andEqualPairs(IntChunk chunkPositionsToCheck } } - private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, DoubleChunk lhs, DoubleChunk rhs, WritableBooleanChunk destinations) { + private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + DoubleChunk lhs, DoubleChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final int rhsPosition = rhsPositions.get(ii); @@ -128,7 +134,8 @@ private static void equalPermuted(IntChunk lhsPositions, IntChun destinations.setSize(lhsPositions.size()); } - private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, DoubleChunk lhs, DoubleChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + DoubleChunk lhs, DoubleChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -140,7 +147,8 @@ private static void andEqualPermuted(IntChunk lhsPositions, IntC destinations.setSize(lhsPositions.size()); } - private static void equalLhsPermuted(IntChunk lhsPositions, DoubleChunk lhs, DoubleChunk rhs, WritableBooleanChunk destinations) { + private static void equalLhsPermuted(IntChunk lhsPositions, DoubleChunk lhs, + DoubleChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final boolean equals = eq(lhs.get(lhsPosition), rhs.get(ii)); @@ -149,7 +157,8 @@ private static void equalLhsPermuted(IntChunk lhsPositions, Doub destinations.setSize(lhsPositions.size()); } - private static void andEqualLhsPermuted(IntChunk lhsPositions, DoubleChunk lhs, DoubleChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualLhsPermuted(IntChunk lhsPositions, DoubleChunk lhs, + DoubleChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -190,22 +199,26 @@ public void andEqualNext(Chunk chunk, WritableBooleanChunk destin } @Override - public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { equalPermuted(lhsPositions, rhsPositions, lhs.asDoubleChunk(), rhs.asDoubleChunk(), destination); } @Override - public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { equalLhsPermuted(lhsPositions, lhs.asDoubleChunk(), rhs.asDoubleChunk(), destination); } @Override - public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { andEqualPermuted(lhsPositions, rhsPositions, lhs.asDoubleChunk(), rhs.asDoubleChunk(), destination); } @Override - public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { andEqualLhsPermuted(lhsPositions, lhs.asDoubleChunk(), rhs.asDoubleChunk(), destination); } @@ -224,12 +237,14 @@ public void andNotEqual(Chunk lhs, Chunk rhs, Writ } @Override - public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, + WritableBooleanChunk destinations) { equalPairs(chunkPositionsToCheckForEquality, valuesChunk.asDoubleChunk(), destinations); } @Override - public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + Chunk valuesChunk, WritableBooleanChunk destinations) { andEqualPairs(chunkPositionsToCheckForEquality, valuesChunk.asDoubleChunk(), destinations); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/DoubleChunkHasher.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/DoubleChunkHasher.java index 1a4a28dbba5..1f95d7fef57 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/DoubleChunkHasher.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/DoubleChunkHasher.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkHasher and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkHasher and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.DoubleChunk; @@ -45,12 +44,12 @@ public static int hashUpdateSingle(int existing, double newValue) { @Override public int hashInitial(Object value) { - return hashInitialSingle(TypeUtils.unbox((Double)value)); + return hashInitialSingle(TypeUtils.unbox((Double) value)); } @Override public int hashUpdate(int existing, Object value) { - return hashUpdateSingle(existing, TypeUtils.unbox((Double)value)); + return hashUpdateSingle(existing, TypeUtils.unbox((Double) value)); } @Override diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/FloatChunkEquals.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/FloatChunkEquals.java index 2a327bfc5b8..86f72f83a1c 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/FloatChunkEquals.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/FloatChunkEquals.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkEquals and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkEquals and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -15,7 +14,7 @@ // region name public class FloatChunkEquals implements ChunkEquals { public static FloatChunkEquals INSTANCE = new FloatChunkEquals(); -// endregion name + // endregion name public static boolean equalReduce(FloatChunk lhs, FloatChunk rhs) { if (lhs.size() != rhs.size()) { @@ -39,7 +38,8 @@ public static int firstDifference(FloatChunk lhs, FloatChunk lhs, FloatChunk rhs, WritableBooleanChunk destination) { + private static void equal(FloatChunk lhs, FloatChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, eq(lhs.get(ii), rhs.get(ii))); } @@ -60,7 +60,8 @@ private static void equal(FloatChunk lhs, float rhs, WritableBool destination.setSize(lhs.size()); } - public static void notEqual(FloatChunk lhs, FloatChunk rhs, WritableBooleanChunk destination) { + public static void notEqual(FloatChunk lhs, FloatChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, neq(lhs.get(ii), rhs.get(ii))); } @@ -74,14 +75,16 @@ public static void notEqual(FloatChunk lhs, float rhs, WritableBo destination.setSize(lhs.size()); } - private static void andEqual(FloatChunk lhs, FloatChunk rhs, WritableBooleanChunk destination) { + private static void andEqual(FloatChunk lhs, FloatChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && eq(lhs.get(ii), rhs.get(ii))); } destination.setSize(lhs.size()); } - private static void andNotEqual(FloatChunk lhs, FloatChunk rhs, WritableBooleanChunk destination) { + private static void andNotEqual(FloatChunk lhs, FloatChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && neq(lhs.get(ii), rhs.get(ii))); } @@ -95,7 +98,8 @@ private static void andEqualNext(FloatChunk chunk, WritableBoolea destination.setSize(chunk.size() - 1); } - private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, FloatChunk valuesChunk, WritableBooleanChunk destinations) { + private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, + FloatChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { final int firstPosition = chunkPositionsToCheckForEquality.get(ii * 2); @@ -106,7 +110,8 @@ private static void equalPairs(IntChunk chunkPositionsToCheckFor destinations.setSize(pairCount); } - private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, FloatChunk valuesChunk, WritableBooleanChunk destinations) { + private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + FloatChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { if (destinations.get(ii)) { @@ -118,7 +123,8 @@ private static void andEqualPairs(IntChunk chunkPositionsToCheck } } - private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, FloatChunk lhs, FloatChunk rhs, WritableBooleanChunk destinations) { + private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + FloatChunk lhs, FloatChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final int rhsPosition = rhsPositions.get(ii); @@ -128,7 +134,8 @@ private static void equalPermuted(IntChunk lhsPositions, IntChun destinations.setSize(lhsPositions.size()); } - private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, FloatChunk lhs, FloatChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + FloatChunk lhs, FloatChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -140,7 +147,8 @@ private static void andEqualPermuted(IntChunk lhsPositions, IntC destinations.setSize(lhsPositions.size()); } - private static void equalLhsPermuted(IntChunk lhsPositions, FloatChunk lhs, FloatChunk rhs, WritableBooleanChunk destinations) { + private static void equalLhsPermuted(IntChunk lhsPositions, FloatChunk lhs, + FloatChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final boolean equals = eq(lhs.get(lhsPosition), rhs.get(ii)); @@ -149,7 +157,8 @@ private static void equalLhsPermuted(IntChunk lhsPositions, Floa destinations.setSize(lhsPositions.size()); } - private static void andEqualLhsPermuted(IntChunk lhsPositions, FloatChunk lhs, FloatChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualLhsPermuted(IntChunk lhsPositions, FloatChunk lhs, + FloatChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -190,22 +199,26 @@ public void andEqualNext(Chunk chunk, WritableBooleanChunk destin } @Override - public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { equalPermuted(lhsPositions, rhsPositions, lhs.asFloatChunk(), rhs.asFloatChunk(), destination); } @Override - public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { equalLhsPermuted(lhsPositions, lhs.asFloatChunk(), rhs.asFloatChunk(), destination); } @Override - public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { andEqualPermuted(lhsPositions, rhsPositions, lhs.asFloatChunk(), rhs.asFloatChunk(), destination); } @Override - public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { andEqualLhsPermuted(lhsPositions, lhs.asFloatChunk(), rhs.asFloatChunk(), destination); } @@ -224,12 +237,14 @@ public void andNotEqual(Chunk lhs, Chunk rhs, Writ } @Override - public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, + WritableBooleanChunk destinations) { equalPairs(chunkPositionsToCheckForEquality, valuesChunk.asFloatChunk(), destinations); } @Override - public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + Chunk valuesChunk, WritableBooleanChunk destinations) { andEqualPairs(chunkPositionsToCheckForEquality, valuesChunk.asFloatChunk(), destinations); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/FloatChunkHasher.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/FloatChunkHasher.java index 4e64256d5d1..79cb8826827 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/FloatChunkHasher.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/FloatChunkHasher.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkHasher and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkHasher and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.FloatChunk; @@ -45,12 +44,12 @@ public static int hashUpdateSingle(int existing, float newValue) { @Override public int hashInitial(Object value) { - return hashInitialSingle(TypeUtils.unbox((Float)value)); + return hashInitialSingle(TypeUtils.unbox((Float) value)); } @Override public int hashUpdate(int existing, Object value) { - return hashUpdateSingle(existing, TypeUtils.unbox((Float)value)); + return hashUpdateSingle(existing, TypeUtils.unbox((Float) value)); } @Override diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntChunkEquals.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntChunkEquals.java index 595f3e4b56b..d07e9bdbe26 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntChunkEquals.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntChunkEquals.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkEquals and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkEquals and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -15,7 +14,7 @@ // region name public class IntChunkEquals implements ChunkEquals { public static IntChunkEquals INSTANCE = new IntChunkEquals(); -// endregion name + // endregion name public static boolean equalReduce(IntChunk lhs, IntChunk rhs) { if (lhs.size() != rhs.size()) { @@ -39,7 +38,8 @@ public static int firstDifference(IntChunk lhs, IntChunk lhs, IntChunk rhs, WritableBooleanChunk destination) { + private static void equal(IntChunk lhs, IntChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, eq(lhs.get(ii), rhs.get(ii))); } @@ -60,7 +60,8 @@ private static void equal(IntChunk lhs, int rhs, WritableBooleanC destination.setSize(lhs.size()); } - public static void notEqual(IntChunk lhs, IntChunk rhs, WritableBooleanChunk destination) { + public static void notEqual(IntChunk lhs, IntChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, neq(lhs.get(ii), rhs.get(ii))); } @@ -74,14 +75,16 @@ public static void notEqual(IntChunk lhs, int rhs, WritableBoolea destination.setSize(lhs.size()); } - private static void andEqual(IntChunk lhs, IntChunk rhs, WritableBooleanChunk destination) { + private static void andEqual(IntChunk lhs, IntChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && eq(lhs.get(ii), rhs.get(ii))); } destination.setSize(lhs.size()); } - private static void andNotEqual(IntChunk lhs, IntChunk rhs, WritableBooleanChunk destination) { + private static void andNotEqual(IntChunk lhs, IntChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && neq(lhs.get(ii), rhs.get(ii))); } @@ -95,7 +98,8 @@ private static void andEqualNext(IntChunk chunk, WritableBooleanC destination.setSize(chunk.size() - 1); } - private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, IntChunk valuesChunk, WritableBooleanChunk destinations) { + private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, + IntChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { final int firstPosition = chunkPositionsToCheckForEquality.get(ii * 2); @@ -106,7 +110,8 @@ private static void equalPairs(IntChunk chunkPositionsToCheckFor destinations.setSize(pairCount); } - private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, IntChunk valuesChunk, WritableBooleanChunk destinations) { + private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + IntChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { if (destinations.get(ii)) { @@ -118,7 +123,8 @@ private static void andEqualPairs(IntChunk chunkPositionsToCheck } } - private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, IntChunk lhs, IntChunk rhs, WritableBooleanChunk destinations) { + private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + IntChunk lhs, IntChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final int rhsPosition = rhsPositions.get(ii); @@ -128,7 +134,8 @@ private static void equalPermuted(IntChunk lhsPositions, IntChun destinations.setSize(lhsPositions.size()); } - private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, IntChunk lhs, IntChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + IntChunk lhs, IntChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -140,7 +147,8 @@ private static void andEqualPermuted(IntChunk lhsPositions, IntC destinations.setSize(lhsPositions.size()); } - private static void equalLhsPermuted(IntChunk lhsPositions, IntChunk lhs, IntChunk rhs, WritableBooleanChunk destinations) { + private static void equalLhsPermuted(IntChunk lhsPositions, IntChunk lhs, + IntChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final boolean equals = eq(lhs.get(lhsPosition), rhs.get(ii)); @@ -149,7 +157,8 @@ private static void equalLhsPermuted(IntChunk lhsPositions, IntC destinations.setSize(lhsPositions.size()); } - private static void andEqualLhsPermuted(IntChunk lhsPositions, IntChunk lhs, IntChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualLhsPermuted(IntChunk lhsPositions, IntChunk lhs, + IntChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -190,22 +199,26 @@ public void andEqualNext(Chunk chunk, WritableBooleanChunk destin } @Override - public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { equalPermuted(lhsPositions, rhsPositions, lhs.asIntChunk(), rhs.asIntChunk(), destination); } @Override - public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { equalLhsPermuted(lhsPositions, lhs.asIntChunk(), rhs.asIntChunk(), destination); } @Override - public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { andEqualPermuted(lhsPositions, rhsPositions, lhs.asIntChunk(), rhs.asIntChunk(), destination); } @Override - public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { andEqualLhsPermuted(lhsPositions, lhs.asIntChunk(), rhs.asIntChunk(), destination); } @@ -224,12 +237,14 @@ public void andNotEqual(Chunk lhs, Chunk rhs, Writ } @Override - public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, + WritableBooleanChunk destinations) { equalPairs(chunkPositionsToCheckForEquality, valuesChunk.asIntChunk(), destinations); } @Override - public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + Chunk valuesChunk, WritableBooleanChunk destinations) { andEqualPairs(chunkPositionsToCheckForEquality, valuesChunk.asIntChunk(), destinations); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntChunkHasher.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntChunkHasher.java index aa2b2d4436a..ea42f8993d6 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntChunkHasher.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntChunkHasher.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkHasher and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkHasher and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.IntChunk; @@ -45,12 +44,12 @@ public static int hashUpdateSingle(int existing, int newValue) { @Override public int hashInitial(Object value) { - return hashInitialSingle(TypeUtils.unbox((Integer)value)); + return hashInitialSingle(TypeUtils.unbox((Integer) value)); } @Override public int hashUpdate(int existing, Object value) { - return hashUpdateSingle(existing, TypeUtils.unbox((Integer)value)); + return hashUpdateSingle(existing, TypeUtils.unbox((Integer) value)); } @Override diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntToIntegerCast.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntToIntegerCast.java index 708ed066f1a..4ff17ac68ce 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntToIntegerCast.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntToIntegerCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToIntegerCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToIntegerCast and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -35,7 +34,7 @@ private IntChunk cast(IntChunk input) { public static void castInto(IntChunk input, WritableIntChunk result) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (int)input.get(ii)); + result.set(ii, (int) input.get(ii)); } result.setSize(input.size()); } @@ -44,4 +43,4 @@ public static void castInto(IntChunk input, Writa public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntToIntegerCastWithOffset.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntToIntegerCastWithOffset.java index 7746c89b2b4..2c1022878ef 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntToIntegerCastWithOffset.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntToIntegerCastWithOffset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToIntegerCastWithOffset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToIntegerCastWithOffset and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.attributes.Any; @@ -35,7 +34,7 @@ public IntChunk apply(Chunk input) { private IntChunk castWithOffset(IntChunk input) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (int)input.get(ii) + offset); + result.set(ii, (int) input.get(ii) + offset); } result.setSize(input.size()); return result; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntToLongCast.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntToLongCast.java index 8667f2476b6..cfe2ce0258e 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntToLongCast.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntToLongCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToLongCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToLongCast and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -33,9 +32,9 @@ private LongChunk cast(IntChunk input) { return result; } - public static void castInto(IntChunk input, WritableLongChunk result) { + public static void castInto(IntChunk input, WritableLongChunk result) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (long)input.get(ii)); + result.set(ii, (long) input.get(ii)); } result.setSize(input.size()); } @@ -44,4 +43,4 @@ public static void castInto(IntChunk input, Writ public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntToLongCastWithOffset.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntToLongCastWithOffset.java index 8ec721eb6a3..96af770de88 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntToLongCastWithOffset.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/IntToLongCastWithOffset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToLongCastWithOffset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToLongCastWithOffset and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.attributes.Any; @@ -38,9 +37,9 @@ private LongChunk castWithOffset(IntChunk input) { return result; } - public static void castInto(IntChunk input, WritableLongChunk result, long offset) { + public static void castInto(IntChunk input, WritableLongChunk result, long offset) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (long)input.get(ii) + offset); + result.set(ii, (long) input.get(ii) + offset); } result.setSize(input.size()); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongChunkEquals.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongChunkEquals.java index 0a5dc48470d..3ecb7643b04 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongChunkEquals.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongChunkEquals.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkEquals and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkEquals and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -15,7 +14,7 @@ // region name public class LongChunkEquals implements ChunkEquals { public static LongChunkEquals INSTANCE = new LongChunkEquals(); -// endregion name + // endregion name public static boolean equalReduce(LongChunk lhs, LongChunk rhs) { if (lhs.size() != rhs.size()) { @@ -39,7 +38,8 @@ public static int firstDifference(LongChunk lhs, LongChunk lhs, LongChunk rhs, WritableBooleanChunk destination) { + private static void equal(LongChunk lhs, LongChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, eq(lhs.get(ii), rhs.get(ii))); } @@ -60,7 +60,8 @@ private static void equal(LongChunk lhs, long rhs, WritableBoolea destination.setSize(lhs.size()); } - public static void notEqual(LongChunk lhs, LongChunk rhs, WritableBooleanChunk destination) { + public static void notEqual(LongChunk lhs, LongChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, neq(lhs.get(ii), rhs.get(ii))); } @@ -74,14 +75,16 @@ public static void notEqual(LongChunk lhs, long rhs, WritableBool destination.setSize(lhs.size()); } - private static void andEqual(LongChunk lhs, LongChunk rhs, WritableBooleanChunk destination) { + private static void andEqual(LongChunk lhs, LongChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && eq(lhs.get(ii), rhs.get(ii))); } destination.setSize(lhs.size()); } - private static void andNotEqual(LongChunk lhs, LongChunk rhs, WritableBooleanChunk destination) { + private static void andNotEqual(LongChunk lhs, LongChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && neq(lhs.get(ii), rhs.get(ii))); } @@ -95,7 +98,8 @@ private static void andEqualNext(LongChunk chunk, WritableBoolean destination.setSize(chunk.size() - 1); } - private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, LongChunk valuesChunk, WritableBooleanChunk destinations) { + private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, + LongChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { final int firstPosition = chunkPositionsToCheckForEquality.get(ii * 2); @@ -106,7 +110,8 @@ private static void equalPairs(IntChunk chunkPositionsToCheckFor destinations.setSize(pairCount); } - private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, LongChunk valuesChunk, WritableBooleanChunk destinations) { + private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + LongChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { if (destinations.get(ii)) { @@ -118,7 +123,8 @@ private static void andEqualPairs(IntChunk chunkPositionsToCheck } } - private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, LongChunk lhs, LongChunk rhs, WritableBooleanChunk destinations) { + private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + LongChunk lhs, LongChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final int rhsPosition = rhsPositions.get(ii); @@ -128,7 +134,8 @@ private static void equalPermuted(IntChunk lhsPositions, IntChun destinations.setSize(lhsPositions.size()); } - private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, LongChunk lhs, LongChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + LongChunk lhs, LongChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -140,7 +147,8 @@ private static void andEqualPermuted(IntChunk lhsPositions, IntC destinations.setSize(lhsPositions.size()); } - private static void equalLhsPermuted(IntChunk lhsPositions, LongChunk lhs, LongChunk rhs, WritableBooleanChunk destinations) { + private static void equalLhsPermuted(IntChunk lhsPositions, LongChunk lhs, + LongChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final boolean equals = eq(lhs.get(lhsPosition), rhs.get(ii)); @@ -149,7 +157,8 @@ private static void equalLhsPermuted(IntChunk lhsPositions, Long destinations.setSize(lhsPositions.size()); } - private static void andEqualLhsPermuted(IntChunk lhsPositions, LongChunk lhs, LongChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualLhsPermuted(IntChunk lhsPositions, LongChunk lhs, + LongChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -190,22 +199,26 @@ public void andEqualNext(Chunk chunk, WritableBooleanChunk destin } @Override - public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { equalPermuted(lhsPositions, rhsPositions, lhs.asLongChunk(), rhs.asLongChunk(), destination); } @Override - public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { equalLhsPermuted(lhsPositions, lhs.asLongChunk(), rhs.asLongChunk(), destination); } @Override - public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { andEqualPermuted(lhsPositions, rhsPositions, lhs.asLongChunk(), rhs.asLongChunk(), destination); } @Override - public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { andEqualLhsPermuted(lhsPositions, lhs.asLongChunk(), rhs.asLongChunk(), destination); } @@ -224,12 +237,14 @@ public void andNotEqual(Chunk lhs, Chunk rhs, Writ } @Override - public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, + WritableBooleanChunk destinations) { equalPairs(chunkPositionsToCheckForEquality, valuesChunk.asLongChunk(), destinations); } @Override - public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + Chunk valuesChunk, WritableBooleanChunk destinations) { andEqualPairs(chunkPositionsToCheckForEquality, valuesChunk.asLongChunk(), destinations); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongChunkHasher.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongChunkHasher.java index 694681e3907..fd652596f08 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongChunkHasher.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongChunkHasher.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkHasher and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkHasher and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.LongChunk; @@ -45,12 +44,12 @@ public static int hashUpdateSingle(int existing, long newValue) { @Override public int hashInitial(Object value) { - return hashInitialSingle(TypeUtils.unbox((Long)value)); + return hashInitialSingle(TypeUtils.unbox((Long) value)); } @Override public int hashUpdate(int existing, Object value) { - return hashUpdateSingle(existing, TypeUtils.unbox((Long)value)); + return hashUpdateSingle(existing, TypeUtils.unbox((Long) value)); } @Override diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongToIntegerCast.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongToIntegerCast.java index 92d8c224da2..315f6d7f387 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongToIntegerCast.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongToIntegerCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToIntegerCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToIntegerCast and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -35,7 +34,7 @@ private IntChunk cast(LongChunk input) { public static void castInto(LongChunk input, WritableIntChunk result) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (int)input.get(ii)); + result.set(ii, (int) input.get(ii)); } result.setSize(input.size()); } @@ -44,4 +43,4 @@ public static void castInto(LongChunk input, Writ public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongToIntegerCastWithOffset.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongToIntegerCastWithOffset.java index d081c1d4435..4e22e68b887 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongToIntegerCastWithOffset.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongToIntegerCastWithOffset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToIntegerCastWithOffset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToIntegerCastWithOffset and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.attributes.Any; @@ -35,7 +34,7 @@ public IntChunk apply(Chunk input) { private IntChunk castWithOffset(LongChunk input) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (int)input.get(ii) + offset); + result.set(ii, (int) input.get(ii) + offset); } result.setSize(input.size()); return result; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongToLongCast.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongToLongCast.java index 4df98777027..8d2f33aa5cc 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongToLongCast.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongToLongCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToLongCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToLongCast and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -33,9 +32,9 @@ private LongChunk cast(LongChunk input) { return result; } - public static void castInto(LongChunk input, WritableLongChunk result) { + public static void castInto(LongChunk input, WritableLongChunk result) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (long)input.get(ii)); + result.set(ii, (long) input.get(ii)); } result.setSize(input.size()); } @@ -44,4 +43,4 @@ public static void castInto(LongChunk input, Wri public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongToLongCastWithOffset.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongToLongCastWithOffset.java index a6f93ab877b..456f5ad8ea5 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongToLongCastWithOffset.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/LongToLongCastWithOffset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToLongCastWithOffset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToLongCastWithOffset and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.attributes.Any; @@ -38,9 +37,9 @@ private LongChunk castWithOffset(LongChunk input) { return result; } - public static void castInto(LongChunk input, WritableLongChunk result, long offset) { + public static void castInto(LongChunk input, WritableLongChunk result, long offset) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (long)input.get(ii) + offset); + result.set(ii, (long) input.get(ii) + offset); } result.setSize(input.size()); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ObjectChunkEquals.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ObjectChunkEquals.java index 17e5468a40b..fe2ae7964ae 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ObjectChunkEquals.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ObjectChunkEquals.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkEquals and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkEquals and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import java.util.Objects; @@ -17,7 +16,7 @@ // region name public class ObjectChunkEquals implements ChunkEquals { public static ObjectChunkEquals INSTANCE = new ObjectChunkEquals(); -// endregion name + // endregion name public static boolean equalReduce(ObjectChunk lhs, ObjectChunk rhs) { if (lhs.size() != rhs.size()) { @@ -41,7 +40,8 @@ public static int firstDifference(ObjectChunk lhs, Object return ii; } - private static void equal(ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destination) { + private static void equal(ObjectChunk lhs, ObjectChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, eq(lhs.get(ii), rhs.get(ii))); } @@ -62,7 +62,8 @@ private static void equal(ObjectChunk lhs, Object rhs, Wr destination.setSize(lhs.size()); } - public static void notEqual(ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destination) { + public static void notEqual(ObjectChunk lhs, ObjectChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, neq(lhs.get(ii), rhs.get(ii))); } @@ -76,14 +77,16 @@ public static void notEqual(ObjectChunk lhs, Object rhs, destination.setSize(lhs.size()); } - private static void andEqual(ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destination) { + private static void andEqual(ObjectChunk lhs, ObjectChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && eq(lhs.get(ii), rhs.get(ii))); } destination.setSize(lhs.size()); } - private static void andNotEqual(ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destination) { + private static void andNotEqual(ObjectChunk lhs, ObjectChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && neq(lhs.get(ii), rhs.get(ii))); } @@ -97,7 +100,8 @@ private static void andEqualNext(ObjectChunk chunk, Writa destination.setSize(chunk.size() - 1); } - private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, ObjectChunk valuesChunk, WritableBooleanChunk destinations) { + private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, + ObjectChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { final int firstPosition = chunkPositionsToCheckForEquality.get(ii * 2); @@ -108,7 +112,8 @@ private static void equalPairs(IntChunk chunkPositionsToCheckFor destinations.setSize(pairCount); } - private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, ObjectChunk valuesChunk, WritableBooleanChunk destinations) { + private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + ObjectChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { if (destinations.get(ii)) { @@ -120,7 +125,8 @@ private static void andEqualPairs(IntChunk chunkPositionsToCheck } } - private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destinations) { + private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final int rhsPosition = rhsPositions.get(ii); @@ -130,7 +136,8 @@ private static void equalPermuted(IntChunk lhsPositions, IntChun destinations.setSize(lhsPositions.size()); } - private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -142,7 +149,8 @@ private static void andEqualPermuted(IntChunk lhsPositions, IntC destinations.setSize(lhsPositions.size()); } - private static void equalLhsPermuted(IntChunk lhsPositions, ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destinations) { + private static void equalLhsPermuted(IntChunk lhsPositions, ObjectChunk lhs, + ObjectChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final boolean equals = eq(lhs.get(lhsPosition), rhs.get(ii)); @@ -151,7 +159,8 @@ private static void equalLhsPermuted(IntChunk lhsPositions, Obje destinations.setSize(lhsPositions.size()); } - private static void andEqualLhsPermuted(IntChunk lhsPositions, ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualLhsPermuted(IntChunk lhsPositions, ObjectChunk lhs, + ObjectChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -192,22 +201,26 @@ public void andEqualNext(Chunk chunk, WritableBooleanChunk destin } @Override - public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { equalPermuted(lhsPositions, rhsPositions, lhs.asObjectChunk(), rhs.asObjectChunk(), destination); } @Override - public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { equalLhsPermuted(lhsPositions, lhs.asObjectChunk(), rhs.asObjectChunk(), destination); } @Override - public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { andEqualPermuted(lhsPositions, rhsPositions, lhs.asObjectChunk(), rhs.asObjectChunk(), destination); } @Override - public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { andEqualLhsPermuted(lhsPositions, lhs.asObjectChunk(), rhs.asObjectChunk(), destination); } @@ -226,12 +239,14 @@ public void andNotEqual(Chunk lhs, Chunk rhs, Writ } @Override - public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, + WritableBooleanChunk destinations) { equalPairs(chunkPositionsToCheckForEquality, valuesChunk.asObjectChunk(), destinations); } @Override - public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + Chunk valuesChunk, WritableBooleanChunk destinations) { andEqualPairs(chunkPositionsToCheckForEquality, valuesChunk.asObjectChunk(), destinations); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ObjectChunkHasher.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ObjectChunkHasher.java index 846a2d21a9a..b9c3f968cd7 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ObjectChunkHasher.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ObjectChunkHasher.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkHasher and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkHasher and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import java.util.Objects; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ObjectChunkIdentityEquals.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ObjectChunkIdentityEquals.java index f71a066572a..50e7c81433d 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ObjectChunkIdentityEquals.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ObjectChunkIdentityEquals.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkEquals and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkEquals and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -15,7 +14,7 @@ // region name public class ObjectChunkIdentityEquals implements ChunkEquals { public static ObjectChunkIdentityEquals INSTANCE = new ObjectChunkIdentityEquals(); -// endregion name + // endregion name public static boolean equalReduce(ObjectChunk lhs, ObjectChunk rhs) { if (lhs.size() != rhs.size()) { @@ -39,7 +38,8 @@ public static int firstDifference(ObjectChunk lhs, Object return ii; } - private static void equal(ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destination) { + private static void equal(ObjectChunk lhs, ObjectChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, eq(lhs.get(ii), rhs.get(ii))); } @@ -60,7 +60,8 @@ private static void equal(ObjectChunk lhs, Object rhs, Wr destination.setSize(lhs.size()); } - public static void notEqual(ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destination) { + public static void notEqual(ObjectChunk lhs, ObjectChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, neq(lhs.get(ii), rhs.get(ii))); } @@ -74,14 +75,16 @@ public static void notEqual(ObjectChunk lhs, Object rhs, destination.setSize(lhs.size()); } - private static void andEqual(ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destination) { + private static void andEqual(ObjectChunk lhs, ObjectChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && eq(lhs.get(ii), rhs.get(ii))); } destination.setSize(lhs.size()); } - private static void andNotEqual(ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destination) { + private static void andNotEqual(ObjectChunk lhs, ObjectChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && neq(lhs.get(ii), rhs.get(ii))); } @@ -95,7 +98,8 @@ private static void andEqualNext(ObjectChunk chunk, Writa destination.setSize(chunk.size() - 1); } - private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, ObjectChunk valuesChunk, WritableBooleanChunk destinations) { + private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, + ObjectChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { final int firstPosition = chunkPositionsToCheckForEquality.get(ii * 2); @@ -106,7 +110,8 @@ private static void equalPairs(IntChunk chunkPositionsToCheckFor destinations.setSize(pairCount); } - private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, ObjectChunk valuesChunk, WritableBooleanChunk destinations) { + private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + ObjectChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { if (destinations.get(ii)) { @@ -118,7 +123,8 @@ private static void andEqualPairs(IntChunk chunkPositionsToCheck } } - private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destinations) { + private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final int rhsPosition = rhsPositions.get(ii); @@ -128,7 +134,8 @@ private static void equalPermuted(IntChunk lhsPositions, IntChun destinations.setSize(lhsPositions.size()); } - private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -140,7 +147,8 @@ private static void andEqualPermuted(IntChunk lhsPositions, IntC destinations.setSize(lhsPositions.size()); } - private static void equalLhsPermuted(IntChunk lhsPositions, ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destinations) { + private static void equalLhsPermuted(IntChunk lhsPositions, ObjectChunk lhs, + ObjectChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final boolean equals = eq(lhs.get(lhsPosition), rhs.get(ii)); @@ -149,7 +157,8 @@ private static void equalLhsPermuted(IntChunk lhsPositions, Obje destinations.setSize(lhsPositions.size()); } - private static void andEqualLhsPermuted(IntChunk lhsPositions, ObjectChunk lhs, ObjectChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualLhsPermuted(IntChunk lhsPositions, ObjectChunk lhs, + ObjectChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -190,22 +199,26 @@ public void andEqualNext(Chunk chunk, WritableBooleanChunk destin } @Override - public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { equalPermuted(lhsPositions, rhsPositions, lhs.asObjectChunk(), rhs.asObjectChunk(), destination); } @Override - public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { equalLhsPermuted(lhsPositions, lhs.asObjectChunk(), rhs.asObjectChunk(), destination); } @Override - public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { andEqualPermuted(lhsPositions, rhsPositions, lhs.asObjectChunk(), rhs.asObjectChunk(), destination); } @Override - public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { andEqualLhsPermuted(lhsPositions, lhs.asObjectChunk(), rhs.asObjectChunk(), destination); } @@ -224,12 +237,14 @@ public void andNotEqual(Chunk lhs, Chunk rhs, Writ } @Override - public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, + WritableBooleanChunk destinations) { equalPairs(chunkPositionsToCheckForEquality, valuesChunk.asObjectChunk(), destinations); } @Override - public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + Chunk valuesChunk, WritableBooleanChunk destinations) { andEqualPairs(chunkPositionsToCheckForEquality, valuesChunk.asObjectChunk(), destinations); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortChunkEquals.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortChunkEquals.java index 1e2e02cdb66..a7f9fbe0895 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortChunkEquals.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortChunkEquals.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkEquals and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkEquals and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -15,7 +14,7 @@ // region name public class ShortChunkEquals implements ChunkEquals { public static ShortChunkEquals INSTANCE = new ShortChunkEquals(); -// endregion name + // endregion name public static boolean equalReduce(ShortChunk lhs, ShortChunk rhs) { if (lhs.size() != rhs.size()) { @@ -39,7 +38,8 @@ public static int firstDifference(ShortChunk lhs, ShortChunk lhs, ShortChunk rhs, WritableBooleanChunk destination) { + private static void equal(ShortChunk lhs, ShortChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, eq(lhs.get(ii), rhs.get(ii))); } @@ -60,7 +60,8 @@ private static void equal(ShortChunk lhs, short rhs, WritableBool destination.setSize(lhs.size()); } - public static void notEqual(ShortChunk lhs, ShortChunk rhs, WritableBooleanChunk destination) { + public static void notEqual(ShortChunk lhs, ShortChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, neq(lhs.get(ii), rhs.get(ii))); } @@ -74,14 +75,16 @@ public static void notEqual(ShortChunk lhs, short rhs, WritableBo destination.setSize(lhs.size()); } - private static void andEqual(ShortChunk lhs, ShortChunk rhs, WritableBooleanChunk destination) { + private static void andEqual(ShortChunk lhs, ShortChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && eq(lhs.get(ii), rhs.get(ii))); } destination.setSize(lhs.size()); } - private static void andNotEqual(ShortChunk lhs, ShortChunk rhs, WritableBooleanChunk destination) { + private static void andNotEqual(ShortChunk lhs, ShortChunk rhs, + WritableBooleanChunk destination) { for (int ii = 0; ii < lhs.size(); ++ii) { destination.set(ii, destination.get(ii) && neq(lhs.get(ii), rhs.get(ii))); } @@ -95,7 +98,8 @@ private static void andEqualNext(ShortChunk chunk, WritableBoolea destination.setSize(chunk.size() - 1); } - private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, ShortChunk valuesChunk, WritableBooleanChunk destinations) { + private static void equalPairs(IntChunk chunkPositionsToCheckForEquality, + ShortChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { final int firstPosition = chunkPositionsToCheckForEquality.get(ii * 2); @@ -106,7 +110,8 @@ private static void equalPairs(IntChunk chunkPositionsToCheckFor destinations.setSize(pairCount); } - private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, ShortChunk valuesChunk, WritableBooleanChunk destinations) { + private static void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + ShortChunk valuesChunk, WritableBooleanChunk destinations) { final int pairCount = chunkPositionsToCheckForEquality.size() / 2; for (int ii = 0; ii < pairCount; ++ii) { if (destinations.get(ii)) { @@ -118,7 +123,8 @@ private static void andEqualPairs(IntChunk chunkPositionsToCheck } } - private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, ShortChunk lhs, ShortChunk rhs, WritableBooleanChunk destinations) { + private static void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + ShortChunk lhs, ShortChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final int rhsPosition = rhsPositions.get(ii); @@ -128,7 +134,8 @@ private static void equalPermuted(IntChunk lhsPositions, IntChun destinations.setSize(lhsPositions.size()); } - private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, ShortChunk lhs, ShortChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + ShortChunk lhs, ShortChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -140,7 +147,8 @@ private static void andEqualPermuted(IntChunk lhsPositions, IntC destinations.setSize(lhsPositions.size()); } - private static void equalLhsPermuted(IntChunk lhsPositions, ShortChunk lhs, ShortChunk rhs, WritableBooleanChunk destinations) { + private static void equalLhsPermuted(IntChunk lhsPositions, ShortChunk lhs, + ShortChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { final int lhsPosition = lhsPositions.get(ii); final boolean equals = eq(lhs.get(lhsPosition), rhs.get(ii)); @@ -149,7 +157,8 @@ private static void equalLhsPermuted(IntChunk lhsPositions, Shor destinations.setSize(lhsPositions.size()); } - private static void andEqualLhsPermuted(IntChunk lhsPositions, ShortChunk lhs, ShortChunk rhs, WritableBooleanChunk destinations) { + private static void andEqualLhsPermuted(IntChunk lhsPositions, ShortChunk lhs, + ShortChunk rhs, WritableBooleanChunk destinations) { for (int ii = 0; ii < lhsPositions.size(); ++ii) { if (destinations.get(ii)) { final int lhsPosition = lhsPositions.get(ii); @@ -190,22 +199,26 @@ public void andEqualNext(Chunk chunk, WritableBooleanChunk destin } @Override - public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { equalPermuted(lhsPositions, rhsPositions, lhs.asShortChunk(), rhs.asShortChunk(), destination); } @Override - public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void equalLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { equalLhsPermuted(lhsPositions, lhs.asShortChunk(), rhs.asShortChunk(), destination); } @Override - public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualPermuted(IntChunk lhsPositions, IntChunk rhsPositions, + Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { andEqualPermuted(lhsPositions, rhsPositions, lhs.asShortChunk(), rhs.asShortChunk(), destination); } @Override - public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, Chunk rhs, WritableBooleanChunk destination) { + public void andEqualLhsPermuted(IntChunk lhsPositions, Chunk lhs, + Chunk rhs, WritableBooleanChunk destination) { andEqualLhsPermuted(lhsPositions, lhs.asShortChunk(), rhs.asShortChunk(), destination); } @@ -224,12 +237,14 @@ public void andNotEqual(Chunk lhs, Chunk rhs, Writ } @Override - public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void equalPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, + WritableBooleanChunk destinations) { equalPairs(chunkPositionsToCheckForEquality, valuesChunk.asShortChunk(), destinations); } @Override - public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, Chunk valuesChunk, WritableBooleanChunk destinations) { + public void andEqualPairs(IntChunk chunkPositionsToCheckForEquality, + Chunk valuesChunk, WritableBooleanChunk destinations) { andEqualPairs(chunkPositionsToCheckForEquality, valuesChunk.asShortChunk(), destinations); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortChunkHasher.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortChunkHasher.java index dba01de88bd..3dd8dedd00a 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortChunkHasher.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortChunkHasher.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkHasher and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkHasher and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.ShortChunk; @@ -45,12 +44,12 @@ public static int hashUpdateSingle(int existing, short newValue) { @Override public int hashInitial(Object value) { - return hashInitialSingle(TypeUtils.unbox((Short)value)); + return hashInitialSingle(TypeUtils.unbox((Short) value)); } @Override public int hashUpdate(int existing, Object value) { - return hashUpdateSingle(existing, TypeUtils.unbox((Short)value)); + return hashUpdateSingle(existing, TypeUtils.unbox((Short) value)); } @Override diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortToIntegerCast.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortToIntegerCast.java index c8be68e88ad..4e4745d3108 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortToIntegerCast.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortToIntegerCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToIntegerCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToIntegerCast and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -35,7 +34,7 @@ private IntChunk cast(ShortChunk input) { public static void castInto(ShortChunk input, WritableIntChunk result) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (int)input.get(ii)); + result.set(ii, (int) input.get(ii)); } result.setSize(input.size()); } @@ -44,4 +43,4 @@ public static void castInto(ShortChunk input, Wri public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortToIntegerCastWithOffset.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortToIntegerCastWithOffset.java index 276c94ba6ee..0c3d8f622b9 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortToIntegerCastWithOffset.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortToIntegerCastWithOffset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToIntegerCastWithOffset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToIntegerCastWithOffset and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.attributes.Any; @@ -35,7 +34,7 @@ public IntChunk apply(Chunk input) { private IntChunk castWithOffset(ShortChunk input) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (int)input.get(ii) + offset); + result.set(ii, (int) input.get(ii) + offset); } result.setSize(input.size()); return result; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortToLongCast.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortToLongCast.java index 5045e6319a6..454abc36d8b 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortToLongCast.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortToLongCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToLongCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToLongCast and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.*; @@ -33,9 +32,9 @@ private LongChunk cast(ShortChunk input) { return result; } - public static void castInto(ShortChunk input, WritableLongChunk result) { + public static void castInto(ShortChunk input, WritableLongChunk result) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (long)input.get(ii)); + result.set(ii, (long) input.get(ii)); } result.setSize(input.size()); } @@ -44,4 +43,4 @@ public static void castInto(ShortChunk input, Wr public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortToLongCastWithOffset.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortToLongCastWithOffset.java index 1134a5166c6..7f049c24317 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortToLongCastWithOffset.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ShortToLongCastWithOffset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToLongCastWithOffset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToLongCastWithOffset and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.attributes.Any; @@ -38,9 +37,9 @@ private LongChunk castWithOffset(ShortChunk input) { return result; } - public static void castInto(ShortChunk input, WritableLongChunk result, long offset) { + public static void castInto(ShortChunk input, WritableLongChunk result, long offset) { for (int ii = 0; ii < input.size(); ++ii) { - result.set(ii, (long)input.get(ii) + offset); + result.set(ii, (long) input.get(ii) + offset); } result.setSize(input.size()); } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ToIntFunctor.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ToIntFunctor.java index 8c77637c98d..fa47dfe4866 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ToIntFunctor.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ToIntFunctor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.attributes.Any; @@ -28,7 +28,7 @@ public interface ToIntFunctor extends SafeCloseable { default void close() {} static Identity makeIdentity() { - //noinspection unchecked + // noinspection unchecked return Identity.INSTANCE; } @@ -40,4 +40,4 @@ public IntChunk apply(Chunk input) { return input.asIntChunk(); } } -} \ No newline at end of file +} diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ToIntegerCast.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ToIntegerCast.java index 21a67ae6f92..fc2a9437643 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ToIntegerCast.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ToIntegerCast.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.attributes.Any; @@ -8,11 +8,11 @@ import io.deephaven.chunk.ChunkType; import io.deephaven.chunk.IntChunk; -public interface ToIntegerCast extends ToIntFunctor { +public interface ToIntegerCast extends ToIntFunctor { IntChunk apply(Chunk input); /** - * Create an IntFunctor that casts the values in an input chunk to an int. An optional offset is applied to each + * Create an IntFunctor that casts the values in an input chunk to an int. An optional offset is applied to each * value after the cast. * * @param type the type of chunk, must be an integral primitive type diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ToLongCast.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ToLongCast.java index b76637d92f1..a4d4756f21a 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ToLongCast.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ToLongCast.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.attributes.Any; @@ -12,7 +12,7 @@ public interface ToLongCast extends ToLongFunctor { LongChunk apply(Chunk input); /** - * Create an LongFunctor that casts the values in an input chunk to an long. An optional offset is applied to each + * Create an LongFunctor that casts the values in an input chunk to an long. An optional offset is applied to each * value after the cast. * * @param type the type of chunk, must be an integral primitive type diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ToLongFunctor.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ToLongFunctor.java index 337b8960eae..b2e2c93cd49 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ToLongFunctor.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/hashing/ToLongFunctor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.hashing; import io.deephaven.chunk.attributes.Any; @@ -28,7 +28,7 @@ public interface ToLongFunctor extends SafeCloseable { default void close() {} static Identity makeIdentity() { - //noinspection unchecked + // noinspection unchecked return Identity.INSTANCE; } @@ -40,4 +40,4 @@ public LongChunk apply(Chunk input) { return input.asLongChunk(); } } -} \ No newline at end of file +} diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/BooleanChunkPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/BooleanChunkPool.java index 8f948ec45ec..41142b92cf9 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/BooleanChunkPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/BooleanChunkPool.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkPool and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkPool and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.pools; import io.deephaven.chunk.ResettableBooleanChunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/BooleanChunkSoftPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/BooleanChunkSoftPool.java index adf6bc12f8b..5abc6b31ed1 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/BooleanChunkSoftPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/BooleanChunkSoftPool.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSoftPool and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkSoftPool and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.pools; import io.deephaven.util.type.ArrayTypeUtils; @@ -40,27 +39,25 @@ public final class BooleanChunkSoftPool implements BooleanChunkPool { private final SegmentedSoftPool resettableWritableBooleanChunks; BooleanChunkSoftPool() { - //noinspection unchecked + // noinspection unchecked writableBooleanChunks = new SegmentedSoftPool[NUM_POOLED_CHUNK_CAPACITIES]; for (int pcci = 0; pcci < NUM_POOLED_CHUNK_CAPACITIES; ++pcci) { final int chunkLog2Capacity = pcci + SMALLEST_POOLED_CHUNK_LOG2_CAPACITY; final int chunkCapacity = 1 << chunkLog2Capacity; writableBooleanChunks[pcci] = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, - () -> ChunkPoolInstrumentation.getAndRecord(() -> WritableBooleanChunk.makeWritableChunkForPool(chunkCapacity)), - (final WritableBooleanChunk chunk) -> chunk.setSize(chunkCapacity) - ); + () -> ChunkPoolInstrumentation + .getAndRecord(() -> WritableBooleanChunk.makeWritableChunkForPool(chunkCapacity)), + (final WritableBooleanChunk chunk) -> chunk.setSize(chunkCapacity)); } resettableBooleanChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableBooleanChunk::makeResettableChunkForPool), - ResettableBooleanChunk::clear - ); + ResettableBooleanChunk::clear); resettableWritableBooleanChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableWritableBooleanChunk::makeResettableChunkForPool), - ResettableWritableBooleanChunk::clear - ); + ResettableWritableBooleanChunk::clear); } @Override @@ -82,7 +79,8 @@ public ResettableReadOnlyChunk takeResettableChunk() { } @Override - public void giveResettableChunk(@NotNull final ResettableReadOnlyChunk resettableChunk) { + public void giveResettableChunk( + @NotNull final ResettableReadOnlyChunk resettableChunk) { giveResettableBooleanChunk(resettableChunk.asResettableBooleanChunk()); } @@ -92,7 +90,8 @@ public ResettableWritableChunk takeResettableWritableCh } @Override - public void giveResettableWritableChunk(@NotNull final ResettableWritableChunk resettableWritableChunk) { + public void giveResettableWritableChunk( + @NotNull final ResettableWritableChunk resettableWritableChunk) { giveResettableWritableBooleanChunk(resettableWritableChunk.asResettableWritableBooleanChunk()); } }; @@ -101,18 +100,18 @@ public void giveResettableWritableChunk(@NotNull final Resett @Override public WritableBooleanChunk takeWritableBooleanChunk(final int capacity) { if (capacity == 0) { - //noinspection unchecked + // noinspection unchecked return (WritableBooleanChunk) EMPTY; } final int poolIndexForTake = getPoolIndexForTake(checkCapacityBounds(capacity)); if (poolIndexForTake >= 0) { - //noinspection resource + // noinspection resource final WritableBooleanChunk result = writableBooleanChunks[poolIndexForTake].take(); result.setSize(capacity); - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(result); } - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(WritableBooleanChunk.makeWritableChunkForPool(capacity)); } @@ -131,7 +130,7 @@ public void giveWritableBooleanChunk(@NotNull final WritableBooleanChunk writ @Override public ResettableBooleanChunk takeResettableBooleanChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableBooleanChunks.take()); } @@ -142,12 +141,13 @@ public void giveResettableBooleanChunk(@NotNull final ResettableBooleanChunk res @Override public ResettableWritableBooleanChunk takeResettableWritableBooleanChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableWritableBooleanChunks.take()); } @Override - public void giveResettableWritableBooleanChunk(@NotNull final ResettableWritableBooleanChunk resettableWritableBooleanChunk) { + public void giveResettableWritableBooleanChunk( + @NotNull final ResettableWritableBooleanChunk resettableWritableBooleanChunk) { resettableWritableBooleanChunks.give(ChunkPoolReleaseTracking.onGive(resettableWritableBooleanChunk)); } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ByteChunkPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ByteChunkPool.java index 4addbfc64fb..1c06d002f95 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ByteChunkPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ByteChunkPool.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkPool and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkPool and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.pools; import io.deephaven.chunk.ResettableByteChunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ByteChunkSoftPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ByteChunkSoftPool.java index fbea90bd8be..727758718c7 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ByteChunkSoftPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ByteChunkSoftPool.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSoftPool and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkSoftPool and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.pools; import io.deephaven.util.type.ArrayTypeUtils; @@ -40,27 +39,25 @@ public final class ByteChunkSoftPool implements ByteChunkPool { private final SegmentedSoftPool resettableWritableByteChunks; ByteChunkSoftPool() { - //noinspection unchecked + // noinspection unchecked writableByteChunks = new SegmentedSoftPool[NUM_POOLED_CHUNK_CAPACITIES]; for (int pcci = 0; pcci < NUM_POOLED_CHUNK_CAPACITIES; ++pcci) { final int chunkLog2Capacity = pcci + SMALLEST_POOLED_CHUNK_LOG2_CAPACITY; final int chunkCapacity = 1 << chunkLog2Capacity; writableByteChunks[pcci] = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, - () -> ChunkPoolInstrumentation.getAndRecord(() -> WritableByteChunk.makeWritableChunkForPool(chunkCapacity)), - (final WritableByteChunk chunk) -> chunk.setSize(chunkCapacity) - ); + () -> ChunkPoolInstrumentation + .getAndRecord(() -> WritableByteChunk.makeWritableChunkForPool(chunkCapacity)), + (final WritableByteChunk chunk) -> chunk.setSize(chunkCapacity)); } resettableByteChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableByteChunk::makeResettableChunkForPool), - ResettableByteChunk::clear - ); + ResettableByteChunk::clear); resettableWritableByteChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableWritableByteChunk::makeResettableChunkForPool), - ResettableWritableByteChunk::clear - ); + ResettableWritableByteChunk::clear); } @Override @@ -82,7 +79,8 @@ public ResettableReadOnlyChunk takeResettableChunk() { } @Override - public void giveResettableChunk(@NotNull final ResettableReadOnlyChunk resettableChunk) { + public void giveResettableChunk( + @NotNull final ResettableReadOnlyChunk resettableChunk) { giveResettableByteChunk(resettableChunk.asResettableByteChunk()); } @@ -92,7 +90,8 @@ public ResettableWritableChunk takeResettableWritableCh } @Override - public void giveResettableWritableChunk(@NotNull final ResettableWritableChunk resettableWritableChunk) { + public void giveResettableWritableChunk( + @NotNull final ResettableWritableChunk resettableWritableChunk) { giveResettableWritableByteChunk(resettableWritableChunk.asResettableWritableByteChunk()); } }; @@ -101,18 +100,18 @@ public void giveResettableWritableChunk(@NotNull final Resett @Override public WritableByteChunk takeWritableByteChunk(final int capacity) { if (capacity == 0) { - //noinspection unchecked + // noinspection unchecked return (WritableByteChunk) EMPTY; } final int poolIndexForTake = getPoolIndexForTake(checkCapacityBounds(capacity)); if (poolIndexForTake >= 0) { - //noinspection resource + // noinspection resource final WritableByteChunk result = writableByteChunks[poolIndexForTake].take(); result.setSize(capacity); - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(result); } - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(WritableByteChunk.makeWritableChunkForPool(capacity)); } @@ -131,7 +130,7 @@ public void giveWritableByteChunk(@NotNull final WritableByteChunk writableBy @Override public ResettableByteChunk takeResettableByteChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableByteChunks.take()); } @@ -142,12 +141,13 @@ public void giveResettableByteChunk(@NotNull final ResettableByteChunk resettabl @Override public ResettableWritableByteChunk takeResettableWritableByteChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableWritableByteChunks.take()); } @Override - public void giveResettableWritableByteChunk(@NotNull final ResettableWritableByteChunk resettableWritableByteChunk) { + public void giveResettableWritableByteChunk( + @NotNull final ResettableWritableByteChunk resettableWritableByteChunk) { resettableWritableByteChunks.give(ChunkPoolReleaseTracking.onGive(resettableWritableByteChunk)); } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/CharChunkPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/CharChunkPool.java index 293f993a30c..f8ff81af004 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/CharChunkPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/CharChunkPool.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.pools; import io.deephaven.chunk.ResettableCharChunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/CharChunkSoftPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/CharChunkSoftPool.java index 455793296f7..1648d0b38e0 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/CharChunkSoftPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/CharChunkSoftPool.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.pools; import io.deephaven.util.type.ArrayTypeUtils; @@ -35,27 +35,25 @@ public final class CharChunkSoftPool implements CharChunkPool { private final SegmentedSoftPool resettableWritableCharChunks; CharChunkSoftPool() { - //noinspection unchecked + // noinspection unchecked writableCharChunks = new SegmentedSoftPool[NUM_POOLED_CHUNK_CAPACITIES]; for (int pcci = 0; pcci < NUM_POOLED_CHUNK_CAPACITIES; ++pcci) { final int chunkLog2Capacity = pcci + SMALLEST_POOLED_CHUNK_LOG2_CAPACITY; final int chunkCapacity = 1 << chunkLog2Capacity; writableCharChunks[pcci] = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, - () -> ChunkPoolInstrumentation.getAndRecord(() -> WritableCharChunk.makeWritableChunkForPool(chunkCapacity)), - (final WritableCharChunk chunk) -> chunk.setSize(chunkCapacity) - ); + () -> ChunkPoolInstrumentation + .getAndRecord(() -> WritableCharChunk.makeWritableChunkForPool(chunkCapacity)), + (final WritableCharChunk chunk) -> chunk.setSize(chunkCapacity)); } resettableCharChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableCharChunk::makeResettableChunkForPool), - ResettableCharChunk::clear - ); + ResettableCharChunk::clear); resettableWritableCharChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableWritableCharChunk::makeResettableChunkForPool), - ResettableWritableCharChunk::clear - ); + ResettableWritableCharChunk::clear); } @Override @@ -77,7 +75,8 @@ public ResettableReadOnlyChunk takeResettableChunk() { } @Override - public void giveResettableChunk(@NotNull final ResettableReadOnlyChunk resettableChunk) { + public void giveResettableChunk( + @NotNull final ResettableReadOnlyChunk resettableChunk) { giveResettableCharChunk(resettableChunk.asResettableCharChunk()); } @@ -87,7 +86,8 @@ public ResettableWritableChunk takeResettableWritableCh } @Override - public void giveResettableWritableChunk(@NotNull final ResettableWritableChunk resettableWritableChunk) { + public void giveResettableWritableChunk( + @NotNull final ResettableWritableChunk resettableWritableChunk) { giveResettableWritableCharChunk(resettableWritableChunk.asResettableWritableCharChunk()); } }; @@ -96,18 +96,18 @@ public void giveResettableWritableChunk(@NotNull final Resett @Override public WritableCharChunk takeWritableCharChunk(final int capacity) { if (capacity == 0) { - //noinspection unchecked + // noinspection unchecked return (WritableCharChunk) EMPTY; } final int poolIndexForTake = getPoolIndexForTake(checkCapacityBounds(capacity)); if (poolIndexForTake >= 0) { - //noinspection resource + // noinspection resource final WritableCharChunk result = writableCharChunks[poolIndexForTake].take(); result.setSize(capacity); - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(result); } - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(WritableCharChunk.makeWritableChunkForPool(capacity)); } @@ -126,7 +126,7 @@ public void giveWritableCharChunk(@NotNull final WritableCharChunk writableCh @Override public ResettableCharChunk takeResettableCharChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableCharChunks.take()); } @@ -137,12 +137,13 @@ public void giveResettableCharChunk(@NotNull final ResettableCharChunk resettabl @Override public ResettableWritableCharChunk takeResettableWritableCharChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableWritableCharChunks.take()); } @Override - public void giveResettableWritableCharChunk(@NotNull final ResettableWritableCharChunk resettableWritableCharChunk) { + public void giveResettableWritableCharChunk( + @NotNull final ResettableWritableCharChunk resettableWritableCharChunk) { resettableWritableCharChunks.give(ChunkPoolReleaseTracking.onGive(resettableWritableCharChunk)); } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ChunkPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ChunkPool.java index 5e128cf782a..d0311533fe5 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ChunkPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ChunkPool.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.pools; import io.deephaven.chunk.attributes.Any; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ChunkPoolConstants.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ChunkPoolConstants.java index 95f4b6fb5ac..01e634fb445 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ChunkPoolConstants.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ChunkPoolConstants.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.pools; import io.deephaven.base.MathUtil; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ChunkPoolInstrumentation.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ChunkPoolInstrumentation.java index 176a9989bf2..9106e0699c2 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ChunkPoolInstrumentation.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ChunkPoolInstrumentation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.pools; import org.jetbrains.annotations.NotNull; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ChunkPoolReleaseTracking.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ChunkPoolReleaseTracking.java index f565d893ecf..915c6fb4dfe 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ChunkPoolReleaseTracking.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ChunkPoolReleaseTracking.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.pools; import io.deephaven.util.datastructures.ReleaseTracker; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/DoubleChunkPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/DoubleChunkPool.java index d3b7e510542..31aec110e0e 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/DoubleChunkPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/DoubleChunkPool.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkPool and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkPool and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.pools; import io.deephaven.chunk.ResettableDoubleChunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/DoubleChunkSoftPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/DoubleChunkSoftPool.java index 6b4dd4bfb66..0215f7eda6d 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/DoubleChunkSoftPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/DoubleChunkSoftPool.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSoftPool and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkSoftPool and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.pools; import io.deephaven.util.type.ArrayTypeUtils; @@ -40,27 +39,25 @@ public final class DoubleChunkSoftPool implements DoubleChunkPool { private final SegmentedSoftPool resettableWritableDoubleChunks; DoubleChunkSoftPool() { - //noinspection unchecked + // noinspection unchecked writableDoubleChunks = new SegmentedSoftPool[NUM_POOLED_CHUNK_CAPACITIES]; for (int pcci = 0; pcci < NUM_POOLED_CHUNK_CAPACITIES; ++pcci) { final int chunkLog2Capacity = pcci + SMALLEST_POOLED_CHUNK_LOG2_CAPACITY; final int chunkCapacity = 1 << chunkLog2Capacity; writableDoubleChunks[pcci] = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, - () -> ChunkPoolInstrumentation.getAndRecord(() -> WritableDoubleChunk.makeWritableChunkForPool(chunkCapacity)), - (final WritableDoubleChunk chunk) -> chunk.setSize(chunkCapacity) - ); + () -> ChunkPoolInstrumentation + .getAndRecord(() -> WritableDoubleChunk.makeWritableChunkForPool(chunkCapacity)), + (final WritableDoubleChunk chunk) -> chunk.setSize(chunkCapacity)); } resettableDoubleChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableDoubleChunk::makeResettableChunkForPool), - ResettableDoubleChunk::clear - ); + ResettableDoubleChunk::clear); resettableWritableDoubleChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableWritableDoubleChunk::makeResettableChunkForPool), - ResettableWritableDoubleChunk::clear - ); + ResettableWritableDoubleChunk::clear); } @Override @@ -82,7 +79,8 @@ public ResettableReadOnlyChunk takeResettableChunk() { } @Override - public void giveResettableChunk(@NotNull final ResettableReadOnlyChunk resettableChunk) { + public void giveResettableChunk( + @NotNull final ResettableReadOnlyChunk resettableChunk) { giveResettableDoubleChunk(resettableChunk.asResettableDoubleChunk()); } @@ -92,7 +90,8 @@ public ResettableWritableChunk takeResettableWritableCh } @Override - public void giveResettableWritableChunk(@NotNull final ResettableWritableChunk resettableWritableChunk) { + public void giveResettableWritableChunk( + @NotNull final ResettableWritableChunk resettableWritableChunk) { giveResettableWritableDoubleChunk(resettableWritableChunk.asResettableWritableDoubleChunk()); } }; @@ -101,18 +100,18 @@ public void giveResettableWritableChunk(@NotNull final Resett @Override public WritableDoubleChunk takeWritableDoubleChunk(final int capacity) { if (capacity == 0) { - //noinspection unchecked + // noinspection unchecked return (WritableDoubleChunk) EMPTY; } final int poolIndexForTake = getPoolIndexForTake(checkCapacityBounds(capacity)); if (poolIndexForTake >= 0) { - //noinspection resource + // noinspection resource final WritableDoubleChunk result = writableDoubleChunks[poolIndexForTake].take(); result.setSize(capacity); - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(result); } - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(WritableDoubleChunk.makeWritableChunkForPool(capacity)); } @@ -131,7 +130,7 @@ public void giveWritableDoubleChunk(@NotNull final WritableDoubleChunk writab @Override public ResettableDoubleChunk takeResettableDoubleChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableDoubleChunks.take()); } @@ -142,12 +141,13 @@ public void giveResettableDoubleChunk(@NotNull final ResettableDoubleChunk reset @Override public ResettableWritableDoubleChunk takeResettableWritableDoubleChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableWritableDoubleChunks.take()); } @Override - public void giveResettableWritableDoubleChunk(@NotNull final ResettableWritableDoubleChunk resettableWritableDoubleChunk) { + public void giveResettableWritableDoubleChunk( + @NotNull final ResettableWritableDoubleChunk resettableWritableDoubleChunk) { resettableWritableDoubleChunks.give(ChunkPoolReleaseTracking.onGive(resettableWritableDoubleChunk)); } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/FloatChunkPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/FloatChunkPool.java index c8fdd868788..1042e45bd07 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/FloatChunkPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/FloatChunkPool.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkPool and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkPool and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.pools; import io.deephaven.chunk.ResettableFloatChunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/FloatChunkSoftPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/FloatChunkSoftPool.java index 043ba6e446e..34e0cd3f749 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/FloatChunkSoftPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/FloatChunkSoftPool.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSoftPool and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkSoftPool and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.pools; import io.deephaven.util.type.ArrayTypeUtils; @@ -40,27 +39,25 @@ public final class FloatChunkSoftPool implements FloatChunkPool { private final SegmentedSoftPool resettableWritableFloatChunks; FloatChunkSoftPool() { - //noinspection unchecked + // noinspection unchecked writableFloatChunks = new SegmentedSoftPool[NUM_POOLED_CHUNK_CAPACITIES]; for (int pcci = 0; pcci < NUM_POOLED_CHUNK_CAPACITIES; ++pcci) { final int chunkLog2Capacity = pcci + SMALLEST_POOLED_CHUNK_LOG2_CAPACITY; final int chunkCapacity = 1 << chunkLog2Capacity; writableFloatChunks[pcci] = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, - () -> ChunkPoolInstrumentation.getAndRecord(() -> WritableFloatChunk.makeWritableChunkForPool(chunkCapacity)), - (final WritableFloatChunk chunk) -> chunk.setSize(chunkCapacity) - ); + () -> ChunkPoolInstrumentation + .getAndRecord(() -> WritableFloatChunk.makeWritableChunkForPool(chunkCapacity)), + (final WritableFloatChunk chunk) -> chunk.setSize(chunkCapacity)); } resettableFloatChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableFloatChunk::makeResettableChunkForPool), - ResettableFloatChunk::clear - ); + ResettableFloatChunk::clear); resettableWritableFloatChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableWritableFloatChunk::makeResettableChunkForPool), - ResettableWritableFloatChunk::clear - ); + ResettableWritableFloatChunk::clear); } @Override @@ -82,7 +79,8 @@ public ResettableReadOnlyChunk takeResettableChunk() { } @Override - public void giveResettableChunk(@NotNull final ResettableReadOnlyChunk resettableChunk) { + public void giveResettableChunk( + @NotNull final ResettableReadOnlyChunk resettableChunk) { giveResettableFloatChunk(resettableChunk.asResettableFloatChunk()); } @@ -92,7 +90,8 @@ public ResettableWritableChunk takeResettableWritableCh } @Override - public void giveResettableWritableChunk(@NotNull final ResettableWritableChunk resettableWritableChunk) { + public void giveResettableWritableChunk( + @NotNull final ResettableWritableChunk resettableWritableChunk) { giveResettableWritableFloatChunk(resettableWritableChunk.asResettableWritableFloatChunk()); } }; @@ -101,18 +100,18 @@ public void giveResettableWritableChunk(@NotNull final Resett @Override public WritableFloatChunk takeWritableFloatChunk(final int capacity) { if (capacity == 0) { - //noinspection unchecked + // noinspection unchecked return (WritableFloatChunk) EMPTY; } final int poolIndexForTake = getPoolIndexForTake(checkCapacityBounds(capacity)); if (poolIndexForTake >= 0) { - //noinspection resource + // noinspection resource final WritableFloatChunk result = writableFloatChunks[poolIndexForTake].take(); result.setSize(capacity); - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(result); } - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(WritableFloatChunk.makeWritableChunkForPool(capacity)); } @@ -131,7 +130,7 @@ public void giveWritableFloatChunk(@NotNull final WritableFloatChunk writable @Override public ResettableFloatChunk takeResettableFloatChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableFloatChunks.take()); } @@ -142,12 +141,13 @@ public void giveResettableFloatChunk(@NotNull final ResettableFloatChunk resetta @Override public ResettableWritableFloatChunk takeResettableWritableFloatChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableWritableFloatChunks.take()); } @Override - public void giveResettableWritableFloatChunk(@NotNull final ResettableWritableFloatChunk resettableWritableFloatChunk) { + public void giveResettableWritableFloatChunk( + @NotNull final ResettableWritableFloatChunk resettableWritableFloatChunk) { resettableWritableFloatChunks.give(ChunkPoolReleaseTracking.onGive(resettableWritableFloatChunk)); } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/IntChunkPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/IntChunkPool.java index ea99ca14d54..0a347d06f40 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/IntChunkPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/IntChunkPool.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkPool and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkPool and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.pools; import io.deephaven.chunk.ResettableIntChunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/IntChunkSoftPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/IntChunkSoftPool.java index ec20ec9560b..8c0d150a4c7 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/IntChunkSoftPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/IntChunkSoftPool.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSoftPool and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkSoftPool and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.pools; import io.deephaven.util.type.ArrayTypeUtils; @@ -40,27 +39,25 @@ public final class IntChunkSoftPool implements IntChunkPool { private final SegmentedSoftPool resettableWritableIntChunks; IntChunkSoftPool() { - //noinspection unchecked + // noinspection unchecked writableIntChunks = new SegmentedSoftPool[NUM_POOLED_CHUNK_CAPACITIES]; for (int pcci = 0; pcci < NUM_POOLED_CHUNK_CAPACITIES; ++pcci) { final int chunkLog2Capacity = pcci + SMALLEST_POOLED_CHUNK_LOG2_CAPACITY; final int chunkCapacity = 1 << chunkLog2Capacity; writableIntChunks[pcci] = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, - () -> ChunkPoolInstrumentation.getAndRecord(() -> WritableIntChunk.makeWritableChunkForPool(chunkCapacity)), - (final WritableIntChunk chunk) -> chunk.setSize(chunkCapacity) - ); + () -> ChunkPoolInstrumentation + .getAndRecord(() -> WritableIntChunk.makeWritableChunkForPool(chunkCapacity)), + (final WritableIntChunk chunk) -> chunk.setSize(chunkCapacity)); } resettableIntChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableIntChunk::makeResettableChunkForPool), - ResettableIntChunk::clear - ); + ResettableIntChunk::clear); resettableWritableIntChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableWritableIntChunk::makeResettableChunkForPool), - ResettableWritableIntChunk::clear - ); + ResettableWritableIntChunk::clear); } @Override @@ -82,7 +79,8 @@ public ResettableReadOnlyChunk takeResettableChunk() { } @Override - public void giveResettableChunk(@NotNull final ResettableReadOnlyChunk resettableChunk) { + public void giveResettableChunk( + @NotNull final ResettableReadOnlyChunk resettableChunk) { giveResettableIntChunk(resettableChunk.asResettableIntChunk()); } @@ -92,7 +90,8 @@ public ResettableWritableChunk takeResettableWritableCh } @Override - public void giveResettableWritableChunk(@NotNull final ResettableWritableChunk resettableWritableChunk) { + public void giveResettableWritableChunk( + @NotNull final ResettableWritableChunk resettableWritableChunk) { giveResettableWritableIntChunk(resettableWritableChunk.asResettableWritableIntChunk()); } }; @@ -101,18 +100,18 @@ public void giveResettableWritableChunk(@NotNull final Resett @Override public WritableIntChunk takeWritableIntChunk(final int capacity) { if (capacity == 0) { - //noinspection unchecked + // noinspection unchecked return (WritableIntChunk) EMPTY; } final int poolIndexForTake = getPoolIndexForTake(checkCapacityBounds(capacity)); if (poolIndexForTake >= 0) { - //noinspection resource + // noinspection resource final WritableIntChunk result = writableIntChunks[poolIndexForTake].take(); result.setSize(capacity); - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(result); } - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(WritableIntChunk.makeWritableChunkForPool(capacity)); } @@ -131,7 +130,7 @@ public void giveWritableIntChunk(@NotNull final WritableIntChunk writableIntC @Override public ResettableIntChunk takeResettableIntChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableIntChunks.take()); } @@ -142,12 +141,13 @@ public void giveResettableIntChunk(@NotNull final ResettableIntChunk resettableI @Override public ResettableWritableIntChunk takeResettableWritableIntChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableWritableIntChunks.take()); } @Override - public void giveResettableWritableIntChunk(@NotNull final ResettableWritableIntChunk resettableWritableIntChunk) { + public void giveResettableWritableIntChunk( + @NotNull final ResettableWritableIntChunk resettableWritableIntChunk) { resettableWritableIntChunks.give(ChunkPoolReleaseTracking.onGive(resettableWritableIntChunk)); } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/LongChunkPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/LongChunkPool.java index 4739694f1ef..9023c4444e7 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/LongChunkPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/LongChunkPool.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkPool and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkPool and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.pools; import io.deephaven.chunk.ResettableLongChunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/LongChunkSoftPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/LongChunkSoftPool.java index 83e5217eca0..1cdb5df7606 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/LongChunkSoftPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/LongChunkSoftPool.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSoftPool and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkSoftPool and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.pools; import io.deephaven.util.type.ArrayTypeUtils; @@ -40,27 +39,25 @@ public final class LongChunkSoftPool implements LongChunkPool { private final SegmentedSoftPool resettableWritableLongChunks; LongChunkSoftPool() { - //noinspection unchecked + // noinspection unchecked writableLongChunks = new SegmentedSoftPool[NUM_POOLED_CHUNK_CAPACITIES]; for (int pcci = 0; pcci < NUM_POOLED_CHUNK_CAPACITIES; ++pcci) { final int chunkLog2Capacity = pcci + SMALLEST_POOLED_CHUNK_LOG2_CAPACITY; final int chunkCapacity = 1 << chunkLog2Capacity; writableLongChunks[pcci] = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, - () -> ChunkPoolInstrumentation.getAndRecord(() -> WritableLongChunk.makeWritableChunkForPool(chunkCapacity)), - (final WritableLongChunk chunk) -> chunk.setSize(chunkCapacity) - ); + () -> ChunkPoolInstrumentation + .getAndRecord(() -> WritableLongChunk.makeWritableChunkForPool(chunkCapacity)), + (final WritableLongChunk chunk) -> chunk.setSize(chunkCapacity)); } resettableLongChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableLongChunk::makeResettableChunkForPool), - ResettableLongChunk::clear - ); + ResettableLongChunk::clear); resettableWritableLongChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableWritableLongChunk::makeResettableChunkForPool), - ResettableWritableLongChunk::clear - ); + ResettableWritableLongChunk::clear); } @Override @@ -82,7 +79,8 @@ public ResettableReadOnlyChunk takeResettableChunk() { } @Override - public void giveResettableChunk(@NotNull final ResettableReadOnlyChunk resettableChunk) { + public void giveResettableChunk( + @NotNull final ResettableReadOnlyChunk resettableChunk) { giveResettableLongChunk(resettableChunk.asResettableLongChunk()); } @@ -92,7 +90,8 @@ public ResettableWritableChunk takeResettableWritableCh } @Override - public void giveResettableWritableChunk(@NotNull final ResettableWritableChunk resettableWritableChunk) { + public void giveResettableWritableChunk( + @NotNull final ResettableWritableChunk resettableWritableChunk) { giveResettableWritableLongChunk(resettableWritableChunk.asResettableWritableLongChunk()); } }; @@ -101,18 +100,18 @@ public void giveResettableWritableChunk(@NotNull final Resett @Override public WritableLongChunk takeWritableLongChunk(final int capacity) { if (capacity == 0) { - //noinspection unchecked + // noinspection unchecked return (WritableLongChunk) EMPTY; } final int poolIndexForTake = getPoolIndexForTake(checkCapacityBounds(capacity)); if (poolIndexForTake >= 0) { - //noinspection resource + // noinspection resource final WritableLongChunk result = writableLongChunks[poolIndexForTake].take(); result.setSize(capacity); - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(result); } - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(WritableLongChunk.makeWritableChunkForPool(capacity)); } @@ -131,7 +130,7 @@ public void giveWritableLongChunk(@NotNull final WritableLongChunk writableLo @Override public ResettableLongChunk takeResettableLongChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableLongChunks.take()); } @@ -142,12 +141,13 @@ public void giveResettableLongChunk(@NotNull final ResettableLongChunk resettabl @Override public ResettableWritableLongChunk takeResettableWritableLongChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableWritableLongChunks.take()); } @Override - public void giveResettableWritableLongChunk(@NotNull final ResettableWritableLongChunk resettableWritableLongChunk) { + public void giveResettableWritableLongChunk( + @NotNull final ResettableWritableLongChunk resettableWritableLongChunk) { resettableWritableLongChunks.give(ChunkPoolReleaseTracking.onGive(resettableWritableLongChunk)); } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/MultiChunkPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/MultiChunkPool.java index bf53469e2bd..490e9f07888 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/MultiChunkPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/MultiChunkPool.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.pools; import io.deephaven.chunk.ChunkType; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ObjectChunkPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ObjectChunkPool.java index ed281fb7c8f..c3b9d35ed94 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ObjectChunkPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ObjectChunkPool.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.pools; import io.deephaven.chunk.ResettableObjectChunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ObjectChunkSoftPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ObjectChunkSoftPool.java index 41d34687f8f..09926de92fb 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ObjectChunkSoftPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ObjectChunkSoftPool.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.pools; import io.deephaven.util.type.ArrayTypeUtils; @@ -17,7 +17,8 @@ @SuppressWarnings("rawtypes") public final class ObjectChunkSoftPool implements ChunkPool, ObjectChunkPool { - private final WritableObjectChunk EMPTY = WritableObjectChunk.writableChunkWrap(ArrayTypeUtils.EMPTY_OBJECT_ARRAY); + private final WritableObjectChunk EMPTY = + WritableObjectChunk.writableChunkWrap(ArrayTypeUtils.EMPTY_OBJECT_ARRAY); /** * Sub-pools by power-of-two sizes for {@link WritableObjectChunk}s. @@ -35,30 +36,29 @@ public final class ObjectChunkSoftPool implements ChunkPool, ObjectChunkPool { private final SegmentedSoftPool resettableWritableObjectChunks; ObjectChunkSoftPool() { - //noinspection unchecked - writableObjectChunks = (SegmentedSoftPool[]) new SegmentedSoftPool[NUM_POOLED_CHUNK_CAPACITIES]; + // noinspection unchecked + writableObjectChunks = + (SegmentedSoftPool[]) new SegmentedSoftPool[NUM_POOLED_CHUNK_CAPACITIES]; for (int pcci = 0; pcci < NUM_POOLED_CHUNK_CAPACITIES; ++pcci) { final int chunkLog2Capacity = pcci + SMALLEST_POOLED_CHUNK_LOG2_CAPACITY; final int chunkCapacity = 1 << chunkLog2Capacity; writableObjectChunks[pcci] = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, - () -> ChunkPoolInstrumentation.getAndRecord(() -> WritableObjectChunk.makeWritableChunkForPool(chunkCapacity)), + () -> ChunkPoolInstrumentation + .getAndRecord(() -> WritableObjectChunk.makeWritableChunkForPool(chunkCapacity)), (final WritableObjectChunk chunk) -> { chunk.fillWithNullValue(0, chunkCapacity); chunk.setSize(chunkCapacity); - } - ); + }); } resettableObjectChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableObjectChunk::makeResettableChunkForPool), - ResettableObjectChunk::clear - ); + ResettableObjectChunk::clear); resettableWritableObjectChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableWritableObjectChunk::makeResettableChunkForPool), - ResettableWritableObjectChunk::clear - ); + ResettableWritableObjectChunk::clear); } @Override @@ -80,7 +80,8 @@ public ResettableReadOnlyChunk takeResettableChunk() { } @Override - public void giveResettableChunk(@NotNull final ResettableReadOnlyChunk resettableChunk) { + public void giveResettableChunk( + @NotNull final ResettableReadOnlyChunk resettableChunk) { giveResettableObjectChunk(resettableChunk.asResettableObjectChunk()); } @@ -90,7 +91,8 @@ public ResettableWritableChunk takeResettableWritableCh } @Override - public void giveResettableWritableChunk(@NotNull final ResettableWritableChunk resettableWritableChunk) { + public void giveResettableWritableChunk( + @NotNull final ResettableWritableChunk resettableWritableChunk) { giveResettableWritableObjectChunk(resettableWritableChunk.asResettableWritableObjectChunk()); } }; @@ -122,25 +124,26 @@ public ResettableWritableChunk takeResettableWritableCh } @Override - public void giveResettableWritableChunk(@NotNull final ResettableWritableChunk resettableWritableChunk) { + public void giveResettableWritableChunk( + @NotNull final ResettableWritableChunk resettableWritableChunk) { giveResettableWritableObjectChunk(resettableWritableChunk.asResettableWritableObjectChunk()); } @Override public WritableObjectChunk takeWritableObjectChunk(final int capacity) { if (capacity == 0) { - //noinspection unchecked + // noinspection unchecked return (WritableObjectChunk) EMPTY; } final int poolIndexForTake = getPoolIndexForTake(checkCapacityBounds(capacity)); if (poolIndexForTake >= 0) { - //noinspection resource + // noinspection resource final WritableObjectChunk result = writableObjectChunks[poolIndexForTake].take(); result.setSize(capacity); - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(result); } - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(WritableObjectChunk.makeWritableChunkForPool(capacity)); } @@ -159,7 +162,7 @@ public void giveWritableObjectChunk(@NotNull final WritableObjectChunk wri @Override public ResettableObjectChunk takeResettableObjectChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableObjectChunks.take()); } @@ -170,12 +173,13 @@ public void giveResettableObjectChunk(@NotNull final ResettableObjectChunk reset @Override public ResettableWritableObjectChunk takeResettableWritableObjectChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableWritableObjectChunks.take()); } @Override - public void giveResettableWritableObjectChunk(@NotNull final ResettableWritableObjectChunk resettableWritableObjectChunk) { + public void giveResettableWritableObjectChunk( + @NotNull final ResettableWritableObjectChunk resettableWritableObjectChunk) { resettableWritableObjectChunks.give(ChunkPoolReleaseTracking.onGive(resettableWritableObjectChunk)); } } diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/PoolableChunk.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/PoolableChunk.java index f5450fe9aec..9d4545df4de 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/PoolableChunk.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/PoolableChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.pools; import io.deephaven.chunk.Chunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ShortChunkPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ShortChunkPool.java index 13c23f9346e..5a80608dfce 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ShortChunkPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ShortChunkPool.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkPool and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkPool and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.pools; import io.deephaven.chunk.ResettableShortChunk; diff --git a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ShortChunkSoftPool.java b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ShortChunkSoftPool.java index 09dd7beb3d3..7ac69c8c36c 100644 --- a/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ShortChunkSoftPool.java +++ b/engine/chunk/src/main/java/io/deephaven/chunk/util/pools/ShortChunkSoftPool.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSoftPool and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkSoftPool and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.chunk.util.pools; import io.deephaven.util.type.ArrayTypeUtils; @@ -40,27 +39,25 @@ public final class ShortChunkSoftPool implements ShortChunkPool { private final SegmentedSoftPool resettableWritableShortChunks; ShortChunkSoftPool() { - //noinspection unchecked + // noinspection unchecked writableShortChunks = new SegmentedSoftPool[NUM_POOLED_CHUNK_CAPACITIES]; for (int pcci = 0; pcci < NUM_POOLED_CHUNK_CAPACITIES; ++pcci) { final int chunkLog2Capacity = pcci + SMALLEST_POOLED_CHUNK_LOG2_CAPACITY; final int chunkCapacity = 1 << chunkLog2Capacity; writableShortChunks[pcci] = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, - () -> ChunkPoolInstrumentation.getAndRecord(() -> WritableShortChunk.makeWritableChunkForPool(chunkCapacity)), - (final WritableShortChunk chunk) -> chunk.setSize(chunkCapacity) - ); + () -> ChunkPoolInstrumentation + .getAndRecord(() -> WritableShortChunk.makeWritableChunkForPool(chunkCapacity)), + (final WritableShortChunk chunk) -> chunk.setSize(chunkCapacity)); } resettableShortChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableShortChunk::makeResettableChunkForPool), - ResettableShortChunk::clear - ); + ResettableShortChunk::clear); resettableWritableShortChunks = new SegmentedSoftPool<>( SUB_POOL_SEGMENT_CAPACITY, () -> ChunkPoolInstrumentation.getAndRecord(ResettableWritableShortChunk::makeResettableChunkForPool), - ResettableWritableShortChunk::clear - ); + ResettableWritableShortChunk::clear); } @Override @@ -82,7 +79,8 @@ public ResettableReadOnlyChunk takeResettableChunk() { } @Override - public void giveResettableChunk(@NotNull final ResettableReadOnlyChunk resettableChunk) { + public void giveResettableChunk( + @NotNull final ResettableReadOnlyChunk resettableChunk) { giveResettableShortChunk(resettableChunk.asResettableShortChunk()); } @@ -92,7 +90,8 @@ public ResettableWritableChunk takeResettableWritableCh } @Override - public void giveResettableWritableChunk(@NotNull final ResettableWritableChunk resettableWritableChunk) { + public void giveResettableWritableChunk( + @NotNull final ResettableWritableChunk resettableWritableChunk) { giveResettableWritableShortChunk(resettableWritableChunk.asResettableWritableShortChunk()); } }; @@ -101,18 +100,18 @@ public void giveResettableWritableChunk(@NotNull final Resett @Override public WritableShortChunk takeWritableShortChunk(final int capacity) { if (capacity == 0) { - //noinspection unchecked + // noinspection unchecked return (WritableShortChunk) EMPTY; } final int poolIndexForTake = getPoolIndexForTake(checkCapacityBounds(capacity)); if (poolIndexForTake >= 0) { - //noinspection resource + // noinspection resource final WritableShortChunk result = writableShortChunks[poolIndexForTake].take(); result.setSize(capacity); - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(result); } - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(WritableShortChunk.makeWritableChunkForPool(capacity)); } @@ -131,7 +130,7 @@ public void giveWritableShortChunk(@NotNull final WritableShortChunk writable @Override public ResettableShortChunk takeResettableShortChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableShortChunks.take()); } @@ -142,12 +141,13 @@ public void giveResettableShortChunk(@NotNull final ResettableShortChunk resetta @Override public ResettableWritableShortChunk takeResettableWritableShortChunk() { - //noinspection unchecked + // noinspection unchecked return ChunkPoolReleaseTracking.onTake(resettableWritableShortChunks.take()); } @Override - public void giveResettableWritableShortChunk(@NotNull final ResettableWritableShortChunk resettableWritableShortChunk) { + public void giveResettableWritableShortChunk( + @NotNull final ResettableWritableShortChunk resettableWritableShortChunk) { resettableWritableShortChunks.give(ChunkPoolReleaseTracking.onGive(resettableWritableShortChunk)); } } diff --git a/engine/chunk/src/test/java/io/deephaven/chunk/ArrayGenerator.java b/engine/chunk/src/test/java/io/deephaven/chunk/ArrayGenerator.java index 47945389b11..55d1c94fea1 100644 --- a/engine/chunk/src/test/java/io/deephaven/chunk/ArrayGenerator.java +++ b/engine/chunk/src/test/java/io/deephaven/chunk/ArrayGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import java.util.Arrays; diff --git a/engine/chunk/src/test/java/io/deephaven/chunk/RandomResetter.java b/engine/chunk/src/test/java/io/deephaven/chunk/RandomResetter.java index a296689d4b2..326ffafaef8 100644 --- a/engine/chunk/src/test/java/io/deephaven/chunk/RandomResetter.java +++ b/engine/chunk/src/test/java/io/deephaven/chunk/RandomResetter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.attributes.Values; diff --git a/engine/chunk/src/test/java/io/deephaven/chunk/ReplicatorHelpers.java b/engine/chunk/src/test/java/io/deephaven/chunk/ReplicatorHelpers.java index 677abb46ba9..7c9655b6012 100644 --- a/engine/chunk/src/test/java/io/deephaven/chunk/ReplicatorHelpers.java +++ b/engine/chunk/src/test/java/io/deephaven/chunk/ReplicatorHelpers.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import java.util.Random; diff --git a/engine/chunk/src/test/java/io/deephaven/chunk/TestBooleanChunk.java b/engine/chunk/src/test/java/io/deephaven/chunk/TestBooleanChunk.java index c4dc34b2d1e..ca722a8f2c7 100644 --- a/engine/chunk/src/test/java/io/deephaven/chunk/TestBooleanChunk.java +++ b/engine/chunk/src/test/java/io/deephaven/chunk/TestBooleanChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharChunk and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.util.hashing.BooleanChunkEquals; @@ -92,7 +91,7 @@ public void dynamicEntryPoints() { final ChunkType ct = ChunkType.Boolean; // array - boolean[] ca = (boolean[])ct.makeArray(12); + boolean[] ca = (boolean[]) ct.makeArray(12); Chunk[] cca = ct.makeChunkArray(12); Chunk c; @@ -174,8 +173,8 @@ public void emptyChunk() { TestCase.assertEquals(0, c.size()); TestCase.assertEquals(0, cc.size()); - TestCase.assertEquals(0, c.capacity); // internal state - TestCase.assertEquals(0, cc.capacity); // internal state + TestCase.assertEquals(0, c.capacity); // internal state + TestCase.assertEquals(0, cc.capacity); // internal state } @Test @@ -186,12 +185,12 @@ public void chunkWrap() { final BooleanChunk c0 = BooleanChunk.chunkWrap(data0); TestCase.assertEquals(data0.length, c0.size()); - TestCase.assertEquals(data0.length, c0.capacity); // internal state + TestCase.assertEquals(data0.length, c0.capacity); // internal state verifyChunkEqualsArray(c0, data0, 0, data0.length); final BooleanChunk c0Slice = BooleanChunk.chunkWrap(data0, 6, 3); TestCase.assertEquals(3, c0Slice.size()); - TestCase.assertEquals(3, c0Slice.capacity); // internal state + TestCase.assertEquals(3, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 6, 3); final BooleanChunk c1 = BooleanChunk.chunkWrap(data1); @@ -199,14 +198,14 @@ public void chunkWrap() { final BooleanChunkChunk cc = BooleanChunkChunk.chunkWrap(ccData); TestCase.assertEquals(ccData.length, cc.size()); - TestCase.assertEquals(ccData.length, cc.capacity); // internal state + TestCase.assertEquals(ccData.length, cc.capacity); // internal state TestCase.assertSame(cc.get(0), c0); TestCase.assertSame(cc.get(1), c1); final BooleanChunkChunk ccSlice = BooleanChunkChunk.chunkWrap(ccData, 1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); @@ -221,12 +220,12 @@ public void slice() { final BooleanChunk c0 = BooleanChunk.chunkWrap(data0); final BooleanChunk c0Slice = c0.slice(5, 4); TestCase.assertEquals(4, c0Slice.size()); - TestCase.assertEquals(4, c0Slice.capacity); // internal state + TestCase.assertEquals(4, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 5, 4); final BooleanChunk c0SliceSlice = c0Slice.slice(2, 2); TestCase.assertEquals(2, c0SliceSlice.size()); - TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state + TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state verifyChunkEqualsArray(c0SliceSlice, data0, 7, 2); final BooleanChunk c1 = BooleanChunk.chunkWrap(data1); @@ -235,13 +234,13 @@ public void slice() { final BooleanChunkChunk ccSlice = cc.slice(1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); final BooleanChunkChunk ccSliceSlice = ccSlice.slice(1, 1); TestCase.assertEquals(1, ccSliceSlice.size()); - TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state + TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state TestCase.assertSame(ccSliceSlice.get(0), c0); } @@ -296,11 +295,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rc1.get(0)); TestCase.assertEquals(2, rc1.size()); - TestCase.assertEquals(2, rc1.capacity); // internal state + TestCase.assertEquals(2, rc1.capacity); // internal state - rc1.resetFromChunk(rc1, 1, 1); // Reset from itself + rc1.resetFromChunk(rc1, 1, 1); // Reset from itself TestCase.assertEquals(1, rc1.size()); - TestCase.assertEquals(1, rc1.capacity); // internal state + TestCase.assertEquals(1, rc1.capacity); // internal state TestCase.assertEquals(data0[4], rc1.get(0)); // WritableChunks are inherently resettable @@ -313,11 +312,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rwc1.get(0)); TestCase.assertEquals(2, rwc1.size()); - TestCase.assertEquals(2, rwc1.capacity); // internal state + TestCase.assertEquals(2, rwc1.capacity); // internal state - rwc1.resetFromChunk(wc0, 1, 1); // Reset from self + rwc1.resetFromChunk(wc0, 1, 1); // Reset from self TestCase.assertEquals(1, rwc1.size()); - TestCase.assertEquals(1, rwc1.capacity); // internal state + TestCase.assertEquals(1, rwc1.capacity); // internal state TestCase.assertEquals(data0[1], rwc1.get(0)); } @@ -333,14 +332,14 @@ public void resettableChunkChunk() { rcc1.resetFromArray(ccData, 0, ccData.length); TestCase.assertSame(ccData[0], rcc1.get(0)); - rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self + rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self TestCase.assertSame(ccData[1], rcc1.get(0)); TestCase.assertEquals(2, rcc1.size()); - TestCase.assertEquals(2, rcc1.capacity); // internal state + TestCase.assertEquals(2, rcc1.capacity); // internal state - rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again + rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again TestCase.assertEquals(1, rcc1.size()); - TestCase.assertEquals(1, rcc1.capacity); // internal state + TestCase.assertEquals(1, rcc1.capacity); // internal state TestCase.assertSame(ccData[2], rcc1.get(0)); // WritableChunks are inherently resettable @@ -351,14 +350,14 @@ public void resettableChunkChunk() { rwcc.resetFromArray(wccData, 0, wccData.length); TestCase.assertSame(wccData[0], rwcc.get(0)); - rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self + rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self TestCase.assertSame(wccData[1], rwcc.get(0)); TestCase.assertEquals(2, rwcc.size()); - TestCase.assertEquals(2, rwcc.capacity); // internal state + TestCase.assertEquals(2, rwcc.capacity); // internal state - rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again + rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again TestCase.assertEquals(1, rwcc.size()); - TestCase.assertEquals(1, rwcc.capacity); // internal state + TestCase.assertEquals(1, rwcc.capacity); // internal state TestCase.assertSame(wccData[2], rwcc.get(0)); } @@ -370,27 +369,33 @@ public void chunkWrapBounds() { expectException(IllegalArgumentException.class, () -> BooleanChunk.chunkWrap(data0, 0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> BooleanChunk.chunkWrap(data0, data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> BooleanChunk.chunkWrap(data0, data0.length, 1)); - BooleanChunk.chunkWrap(data0, data0.length, 0); // Should succeed + BooleanChunk.chunkWrap(data0, data0.length, 0); // Should succeed expectException(IllegalArgumentException.class, () -> WritableBooleanChunk.writableChunkWrap(data0, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableBooleanChunk.writableChunkWrap(data0, 0, data0.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableBooleanChunk.writableChunkWrap(data0, data0.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableBooleanChunk.writableChunkWrap(data0, data0.length, 1)); - WritableBooleanChunk.chunkWrap(data0, data0.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableBooleanChunk.writableChunkWrap(data0, 0, data0.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableBooleanChunk.writableChunkWrap(data0, data0.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableBooleanChunk.writableChunkWrap(data0, data0.length, 1)); + WritableBooleanChunk.chunkWrap(data0, data0.length, 0); // Should succeed final BooleanChunk[] ccData = new BooleanChunk[4]; expectException(IllegalArgumentException.class, () -> BooleanChunkChunk.chunkWrap(ccData, -1, 2)); expectException(IllegalArgumentException.class, () -> BooleanChunkChunk.chunkWrap(ccData, 0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> BooleanChunkChunk.chunkWrap(ccData, ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> BooleanChunkChunk.chunkWrap(ccData, ccData.length, 1)); - BooleanChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed + BooleanChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed final WritableBooleanChunk[] wccData = new WritableBooleanChunk[4]; expectException(IllegalArgumentException.class, () -> WritableBooleanChunkChunk.writableChunkWrap(wccData, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableBooleanChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableBooleanChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableBooleanChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); - WritableBooleanChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableBooleanChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableBooleanChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableBooleanChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); + WritableBooleanChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed } @Test @@ -402,14 +407,14 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> c0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length, 1)); - c0.slice(data0.length, 0); // Should succeed + c0.slice(data0.length, 0); // Should succeed final WritableBooleanChunk wc0 = WritableBooleanChunk.writableChunkWrap(data0); expectException(IllegalArgumentException.class, () -> wc0.slice(-1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length, 1)); - wc0.slice(data0.length, 0); // Should succeed + wc0.slice(data0.length, 0); // Should succeed final BooleanChunk[] ccData = new BooleanChunk[4]; final BooleanChunkChunk cc0 = BooleanChunkChunk.chunkWrap(ccData); @@ -417,7 +422,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed final WritableBooleanChunk[] wccData = new WritableBooleanChunk[4]; final WritableBooleanChunkChunk wcc0 = WritableBooleanChunkChunk.writableChunkWrap(wccData); @@ -425,7 +430,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed } @Test @@ -443,16 +448,16 @@ public void copyFromChunk() { // This is the test we are trying to do (imagine a-z and A-Z being variables holding random values) // destChunk is at offset 9, length 10 // srcChunk is at offset 2 length 5 - // destData: abcdefghijklmnopqrstuvwxyz - // destChunk: ^^^^^^^^^^ + // destData: abcdefghijklmnopqrstuvwxyz + // destChunk: ^^^^^^^^^^ - // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ - // srcChunk: ^^^^^^ + // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ + // srcChunk: ^^^^^^ // Copy 3 elements from srcChunk offset 1 to destChunk offset 3 // // That would be....DEFG goes on top of mnop, so - // destData: abcdefghijklDEFGqrstuvwxyz + // destData: abcdefghijklDEFGqrstuvwxyz final Random rng = new Random(124374349); final boolean[] destData = ReplicatorHelpers.randomBooleans(rng, 26); @@ -469,10 +474,12 @@ public void copyFromChunk() { final int srcCopyOffset = 3; final int copyLength = 4; - final WritableBooleanChunk destChunk = WritableBooleanChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); + final WritableBooleanChunk destChunk = + WritableBooleanChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); final BooleanChunk srcChunk = BooleanChunk.chunkWrap(srcData, srcChunkOffset, srcChunkCapacity); destChunk.copyFromChunk(srcChunk, srcCopyOffset, destCopyOffset, copyLength); - System.arraycopy(srcData,srcChunkOffset + srcCopyOffset, manualData,destChunkOffset + destCopyOffset, copyLength); + System.arraycopy(srcData, srcChunkOffset + srcCopyOffset, manualData, destChunkOffset + destCopyOffset, + copyLength); final BooleanChunk manualChunk = BooleanChunk.chunkWrap(manualData, destChunkOffset, destChunkCapacity); final boolean same = BooleanChunkEquals.equalReduce(destChunk, manualChunk); TestCase.assertTrue("Chunks are not the same", same); @@ -495,7 +502,7 @@ public void testChunkChunk() { // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked BooleanChunk[] chunks = new BooleanChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = BooleanChunk.chunkWrap(data[ii], ii, SIZE - ii); @@ -521,13 +528,13 @@ public void testWritableChunkChunk() { final boolean value1 = valueData[1]; final int SIZE = 100; - final int CHOFF = 10; // chunk offset + final int CHOFF = 10; // chunk offset boolean[][] data = new boolean[SIZE][SIZE]; // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked WritableBooleanChunk[] chunks = new WritableBooleanChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = WritableBooleanChunk.writableChunkWrap(data[ii], ii, SIZE - ii); @@ -568,7 +575,8 @@ public void testWritableChunkChunk() { // replace a chunk somewhere in the middle final int MIDCHOFF = 12; boolean[] replacementData = new boolean[SIZE]; - WritableBooleanChunk replacementChunk = WritableBooleanChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); + WritableBooleanChunk replacementChunk = + WritableBooleanChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); cc.setWritableChunk(3, replacementChunk); // set the array, check that the values appear in the chunk, using both the 1D and 2D APIs @@ -603,7 +611,8 @@ public void testWritableChunkChunk() { // region testArray // endregion testArray - private static void verifyChunkEqualsArray(BooleanChunk chunk, boolean[] data, int offset, int size) { + private static void verifyChunkEqualsArray(BooleanChunk chunk, boolean[] data, int offset, + int size) { for (int ii = 0; ii < size; ++ii) { TestCase.assertEquals(String.format("At rowSet %d", ii), data[ii + offset], chunk.get(ii)); } diff --git a/engine/chunk/src/test/java/io/deephaven/chunk/TestByteChunk.java b/engine/chunk/src/test/java/io/deephaven/chunk/TestByteChunk.java index c58bef9739b..68b94d1bf63 100644 --- a/engine/chunk/src/test/java/io/deephaven/chunk/TestByteChunk.java +++ b/engine/chunk/src/test/java/io/deephaven/chunk/TestByteChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharChunk and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.util.hashing.ByteChunkEquals; @@ -92,7 +91,7 @@ public void dynamicEntryPoints() { final ChunkType ct = ChunkType.Byte; // array - byte[] ca = (byte[])ct.makeArray(12); + byte[] ca = (byte[]) ct.makeArray(12); Chunk[] cca = ct.makeChunkArray(12); Chunk c; @@ -174,8 +173,8 @@ public void emptyChunk() { TestCase.assertEquals(0, c.size()); TestCase.assertEquals(0, cc.size()); - TestCase.assertEquals(0, c.capacity); // internal state - TestCase.assertEquals(0, cc.capacity); // internal state + TestCase.assertEquals(0, c.capacity); // internal state + TestCase.assertEquals(0, cc.capacity); // internal state } @Test @@ -186,12 +185,12 @@ public void chunkWrap() { final ByteChunk c0 = ByteChunk.chunkWrap(data0); TestCase.assertEquals(data0.length, c0.size()); - TestCase.assertEquals(data0.length, c0.capacity); // internal state + TestCase.assertEquals(data0.length, c0.capacity); // internal state verifyChunkEqualsArray(c0, data0, 0, data0.length); final ByteChunk c0Slice = ByteChunk.chunkWrap(data0, 6, 3); TestCase.assertEquals(3, c0Slice.size()); - TestCase.assertEquals(3, c0Slice.capacity); // internal state + TestCase.assertEquals(3, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 6, 3); final ByteChunk c1 = ByteChunk.chunkWrap(data1); @@ -199,14 +198,14 @@ public void chunkWrap() { final ByteChunkChunk cc = ByteChunkChunk.chunkWrap(ccData); TestCase.assertEquals(ccData.length, cc.size()); - TestCase.assertEquals(ccData.length, cc.capacity); // internal state + TestCase.assertEquals(ccData.length, cc.capacity); // internal state TestCase.assertSame(cc.get(0), c0); TestCase.assertSame(cc.get(1), c1); final ByteChunkChunk ccSlice = ByteChunkChunk.chunkWrap(ccData, 1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); @@ -221,12 +220,12 @@ public void slice() { final ByteChunk c0 = ByteChunk.chunkWrap(data0); final ByteChunk c0Slice = c0.slice(5, 4); TestCase.assertEquals(4, c0Slice.size()); - TestCase.assertEquals(4, c0Slice.capacity); // internal state + TestCase.assertEquals(4, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 5, 4); final ByteChunk c0SliceSlice = c0Slice.slice(2, 2); TestCase.assertEquals(2, c0SliceSlice.size()); - TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state + TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state verifyChunkEqualsArray(c0SliceSlice, data0, 7, 2); final ByteChunk c1 = ByteChunk.chunkWrap(data1); @@ -235,13 +234,13 @@ public void slice() { final ByteChunkChunk ccSlice = cc.slice(1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); final ByteChunkChunk ccSliceSlice = ccSlice.slice(1, 1); TestCase.assertEquals(1, ccSliceSlice.size()); - TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state + TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state TestCase.assertSame(ccSliceSlice.get(0), c0); } @@ -296,11 +295,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rc1.get(0)); TestCase.assertEquals(2, rc1.size()); - TestCase.assertEquals(2, rc1.capacity); // internal state + TestCase.assertEquals(2, rc1.capacity); // internal state - rc1.resetFromChunk(rc1, 1, 1); // Reset from itself + rc1.resetFromChunk(rc1, 1, 1); // Reset from itself TestCase.assertEquals(1, rc1.size()); - TestCase.assertEquals(1, rc1.capacity); // internal state + TestCase.assertEquals(1, rc1.capacity); // internal state TestCase.assertEquals(data0[4], rc1.get(0)); // WritableChunks are inherently resettable @@ -313,11 +312,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rwc1.get(0)); TestCase.assertEquals(2, rwc1.size()); - TestCase.assertEquals(2, rwc1.capacity); // internal state + TestCase.assertEquals(2, rwc1.capacity); // internal state - rwc1.resetFromChunk(wc0, 1, 1); // Reset from self + rwc1.resetFromChunk(wc0, 1, 1); // Reset from self TestCase.assertEquals(1, rwc1.size()); - TestCase.assertEquals(1, rwc1.capacity); // internal state + TestCase.assertEquals(1, rwc1.capacity); // internal state TestCase.assertEquals(data0[1], rwc1.get(0)); } @@ -333,14 +332,14 @@ public void resettableChunkChunk() { rcc1.resetFromArray(ccData, 0, ccData.length); TestCase.assertSame(ccData[0], rcc1.get(0)); - rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self + rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self TestCase.assertSame(ccData[1], rcc1.get(0)); TestCase.assertEquals(2, rcc1.size()); - TestCase.assertEquals(2, rcc1.capacity); // internal state + TestCase.assertEquals(2, rcc1.capacity); // internal state - rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again + rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again TestCase.assertEquals(1, rcc1.size()); - TestCase.assertEquals(1, rcc1.capacity); // internal state + TestCase.assertEquals(1, rcc1.capacity); // internal state TestCase.assertSame(ccData[2], rcc1.get(0)); // WritableChunks are inherently resettable @@ -351,14 +350,14 @@ public void resettableChunkChunk() { rwcc.resetFromArray(wccData, 0, wccData.length); TestCase.assertSame(wccData[0], rwcc.get(0)); - rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self + rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self TestCase.assertSame(wccData[1], rwcc.get(0)); TestCase.assertEquals(2, rwcc.size()); - TestCase.assertEquals(2, rwcc.capacity); // internal state + TestCase.assertEquals(2, rwcc.capacity); // internal state - rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again + rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again TestCase.assertEquals(1, rwcc.size()); - TestCase.assertEquals(1, rwcc.capacity); // internal state + TestCase.assertEquals(1, rwcc.capacity); // internal state TestCase.assertSame(wccData[2], rwcc.get(0)); } @@ -370,27 +369,33 @@ public void chunkWrapBounds() { expectException(IllegalArgumentException.class, () -> ByteChunk.chunkWrap(data0, 0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> ByteChunk.chunkWrap(data0, data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> ByteChunk.chunkWrap(data0, data0.length, 1)); - ByteChunk.chunkWrap(data0, data0.length, 0); // Should succeed + ByteChunk.chunkWrap(data0, data0.length, 0); // Should succeed expectException(IllegalArgumentException.class, () -> WritableByteChunk.writableChunkWrap(data0, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableByteChunk.writableChunkWrap(data0, 0, data0.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableByteChunk.writableChunkWrap(data0, data0.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableByteChunk.writableChunkWrap(data0, data0.length, 1)); - WritableByteChunk.chunkWrap(data0, data0.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableByteChunk.writableChunkWrap(data0, 0, data0.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableByteChunk.writableChunkWrap(data0, data0.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableByteChunk.writableChunkWrap(data0, data0.length, 1)); + WritableByteChunk.chunkWrap(data0, data0.length, 0); // Should succeed final ByteChunk[] ccData = new ByteChunk[4]; expectException(IllegalArgumentException.class, () -> ByteChunkChunk.chunkWrap(ccData, -1, 2)); expectException(IllegalArgumentException.class, () -> ByteChunkChunk.chunkWrap(ccData, 0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> ByteChunkChunk.chunkWrap(ccData, ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> ByteChunkChunk.chunkWrap(ccData, ccData.length, 1)); - ByteChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed + ByteChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed final WritableByteChunk[] wccData = new WritableByteChunk[4]; expectException(IllegalArgumentException.class, () -> WritableByteChunkChunk.writableChunkWrap(wccData, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableByteChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableByteChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableByteChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); - WritableByteChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableByteChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableByteChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableByteChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); + WritableByteChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed } @Test @@ -402,14 +407,14 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> c0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length, 1)); - c0.slice(data0.length, 0); // Should succeed + c0.slice(data0.length, 0); // Should succeed final WritableByteChunk wc0 = WritableByteChunk.writableChunkWrap(data0); expectException(IllegalArgumentException.class, () -> wc0.slice(-1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length, 1)); - wc0.slice(data0.length, 0); // Should succeed + wc0.slice(data0.length, 0); // Should succeed final ByteChunk[] ccData = new ByteChunk[4]; final ByteChunkChunk cc0 = ByteChunkChunk.chunkWrap(ccData); @@ -417,7 +422,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed final WritableByteChunk[] wccData = new WritableByteChunk[4]; final WritableByteChunkChunk wcc0 = WritableByteChunkChunk.writableChunkWrap(wccData); @@ -425,7 +430,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed } @Test @@ -443,16 +448,16 @@ public void copyFromChunk() { // This is the test we are trying to do (imagine a-z and A-Z being variables holding random values) // destChunk is at offset 9, length 10 // srcChunk is at offset 2 length 5 - // destData: abcdefghijklmnopqrstuvwxyz - // destChunk: ^^^^^^^^^^ + // destData: abcdefghijklmnopqrstuvwxyz + // destChunk: ^^^^^^^^^^ - // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ - // srcChunk: ^^^^^^ + // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ + // srcChunk: ^^^^^^ // Copy 3 elements from srcChunk offset 1 to destChunk offset 3 // // That would be....DEFG goes on top of mnop, so - // destData: abcdefghijklDEFGqrstuvwxyz + // destData: abcdefghijklDEFGqrstuvwxyz final Random rng = new Random(124374349); final byte[] destData = ReplicatorHelpers.randomBytes(rng, 26); @@ -469,10 +474,12 @@ public void copyFromChunk() { final int srcCopyOffset = 3; final int copyLength = 4; - final WritableByteChunk destChunk = WritableByteChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); + final WritableByteChunk destChunk = + WritableByteChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); final ByteChunk srcChunk = ByteChunk.chunkWrap(srcData, srcChunkOffset, srcChunkCapacity); destChunk.copyFromChunk(srcChunk, srcCopyOffset, destCopyOffset, copyLength); - System.arraycopy(srcData,srcChunkOffset + srcCopyOffset, manualData,destChunkOffset + destCopyOffset, copyLength); + System.arraycopy(srcData, srcChunkOffset + srcCopyOffset, manualData, destChunkOffset + destCopyOffset, + copyLength); final ByteChunk manualChunk = ByteChunk.chunkWrap(manualData, destChunkOffset, destChunkCapacity); final boolean same = ByteChunkEquals.equalReduce(destChunk, manualChunk); TestCase.assertTrue("Chunks are not the same", same); @@ -495,7 +502,7 @@ public void testChunkChunk() { // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked ByteChunk[] chunks = new ByteChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = ByteChunk.chunkWrap(data[ii], ii, SIZE - ii); @@ -521,13 +528,13 @@ public void testWritableChunkChunk() { final byte value1 = valueData[1]; final int SIZE = 100; - final int CHOFF = 10; // chunk offset + final int CHOFF = 10; // chunk offset byte[][] data = new byte[SIZE][SIZE]; // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked WritableByteChunk[] chunks = new WritableByteChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = WritableByteChunk.writableChunkWrap(data[ii], ii, SIZE - ii); @@ -568,7 +575,8 @@ public void testWritableChunkChunk() { // replace a chunk somewhere in the middle final int MIDCHOFF = 12; byte[] replacementData = new byte[SIZE]; - WritableByteChunk replacementChunk = WritableByteChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); + WritableByteChunk replacementChunk = + WritableByteChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); cc.setWritableChunk(3, replacementChunk); // set the array, check that the values appear in the chunk, using both the 1D and 2D APIs @@ -629,7 +637,8 @@ public void testArray() { } // endregion testArray - private static void verifyChunkEqualsArray(ByteChunk chunk, byte[] data, int offset, int size) { + private static void verifyChunkEqualsArray(ByteChunk chunk, byte[] data, int offset, + int size) { for (int ii = 0; ii < size; ++ii) { TestCase.assertEquals(String.format("At rowSet %d", ii), data[ii + offset], chunk.get(ii)); } diff --git a/engine/chunk/src/test/java/io/deephaven/chunk/TestCharChunk.java b/engine/chunk/src/test/java/io/deephaven/chunk/TestCharChunk.java index ed78e60681a..58f7ce3ceb3 100644 --- a/engine/chunk/src/test/java/io/deephaven/chunk/TestCharChunk.java +++ b/engine/chunk/src/test/java/io/deephaven/chunk/TestCharChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk; import io.deephaven.chunk.util.hashing.CharChunkEquals; @@ -87,7 +87,7 @@ public void dynamicEntryPoints() { final ChunkType ct = ChunkType.Char; // array - char[] ca = (char[])ct.makeArray(12); + char[] ca = (char[]) ct.makeArray(12); Chunk[] cca = ct.makeChunkArray(12); Chunk c; @@ -169,8 +169,8 @@ public void emptyChunk() { TestCase.assertEquals(0, c.size()); TestCase.assertEquals(0, cc.size()); - TestCase.assertEquals(0, c.capacity); // internal state - TestCase.assertEquals(0, cc.capacity); // internal state + TestCase.assertEquals(0, c.capacity); // internal state + TestCase.assertEquals(0, cc.capacity); // internal state } @Test @@ -181,12 +181,12 @@ public void chunkWrap() { final CharChunk c0 = CharChunk.chunkWrap(data0); TestCase.assertEquals(data0.length, c0.size()); - TestCase.assertEquals(data0.length, c0.capacity); // internal state + TestCase.assertEquals(data0.length, c0.capacity); // internal state verifyChunkEqualsArray(c0, data0, 0, data0.length); final CharChunk c0Slice = CharChunk.chunkWrap(data0, 6, 3); TestCase.assertEquals(3, c0Slice.size()); - TestCase.assertEquals(3, c0Slice.capacity); // internal state + TestCase.assertEquals(3, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 6, 3); final CharChunk c1 = CharChunk.chunkWrap(data1); @@ -194,14 +194,14 @@ public void chunkWrap() { final CharChunkChunk cc = CharChunkChunk.chunkWrap(ccData); TestCase.assertEquals(ccData.length, cc.size()); - TestCase.assertEquals(ccData.length, cc.capacity); // internal state + TestCase.assertEquals(ccData.length, cc.capacity); // internal state TestCase.assertSame(cc.get(0), c0); TestCase.assertSame(cc.get(1), c1); final CharChunkChunk ccSlice = CharChunkChunk.chunkWrap(ccData, 1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); @@ -216,12 +216,12 @@ public void slice() { final CharChunk c0 = CharChunk.chunkWrap(data0); final CharChunk c0Slice = c0.slice(5, 4); TestCase.assertEquals(4, c0Slice.size()); - TestCase.assertEquals(4, c0Slice.capacity); // internal state + TestCase.assertEquals(4, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 5, 4); final CharChunk c0SliceSlice = c0Slice.slice(2, 2); TestCase.assertEquals(2, c0SliceSlice.size()); - TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state + TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state verifyChunkEqualsArray(c0SliceSlice, data0, 7, 2); final CharChunk c1 = CharChunk.chunkWrap(data1); @@ -230,13 +230,13 @@ public void slice() { final CharChunkChunk ccSlice = cc.slice(1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); final CharChunkChunk ccSliceSlice = ccSlice.slice(1, 1); TestCase.assertEquals(1, ccSliceSlice.size()); - TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state + TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state TestCase.assertSame(ccSliceSlice.get(0), c0); } @@ -291,11 +291,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rc1.get(0)); TestCase.assertEquals(2, rc1.size()); - TestCase.assertEquals(2, rc1.capacity); // internal state + TestCase.assertEquals(2, rc1.capacity); // internal state - rc1.resetFromChunk(rc1, 1, 1); // Reset from itself + rc1.resetFromChunk(rc1, 1, 1); // Reset from itself TestCase.assertEquals(1, rc1.size()); - TestCase.assertEquals(1, rc1.capacity); // internal state + TestCase.assertEquals(1, rc1.capacity); // internal state TestCase.assertEquals(data0[4], rc1.get(0)); // WritableChunks are inherently resettable @@ -308,11 +308,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rwc1.get(0)); TestCase.assertEquals(2, rwc1.size()); - TestCase.assertEquals(2, rwc1.capacity); // internal state + TestCase.assertEquals(2, rwc1.capacity); // internal state - rwc1.resetFromChunk(wc0, 1, 1); // Reset from self + rwc1.resetFromChunk(wc0, 1, 1); // Reset from self TestCase.assertEquals(1, rwc1.size()); - TestCase.assertEquals(1, rwc1.capacity); // internal state + TestCase.assertEquals(1, rwc1.capacity); // internal state TestCase.assertEquals(data0[1], rwc1.get(0)); } @@ -328,14 +328,14 @@ public void resettableChunkChunk() { rcc1.resetFromArray(ccData, 0, ccData.length); TestCase.assertSame(ccData[0], rcc1.get(0)); - rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self + rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self TestCase.assertSame(ccData[1], rcc1.get(0)); TestCase.assertEquals(2, rcc1.size()); - TestCase.assertEquals(2, rcc1.capacity); // internal state + TestCase.assertEquals(2, rcc1.capacity); // internal state - rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again + rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again TestCase.assertEquals(1, rcc1.size()); - TestCase.assertEquals(1, rcc1.capacity); // internal state + TestCase.assertEquals(1, rcc1.capacity); // internal state TestCase.assertSame(ccData[2], rcc1.get(0)); // WritableChunks are inherently resettable @@ -346,14 +346,14 @@ public void resettableChunkChunk() { rwcc.resetFromArray(wccData, 0, wccData.length); TestCase.assertSame(wccData[0], rwcc.get(0)); - rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self + rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self TestCase.assertSame(wccData[1], rwcc.get(0)); TestCase.assertEquals(2, rwcc.size()); - TestCase.assertEquals(2, rwcc.capacity); // internal state + TestCase.assertEquals(2, rwcc.capacity); // internal state - rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again + rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again TestCase.assertEquals(1, rwcc.size()); - TestCase.assertEquals(1, rwcc.capacity); // internal state + TestCase.assertEquals(1, rwcc.capacity); // internal state TestCase.assertSame(wccData[2], rwcc.get(0)); } @@ -365,27 +365,33 @@ public void chunkWrapBounds() { expectException(IllegalArgumentException.class, () -> CharChunk.chunkWrap(data0, 0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> CharChunk.chunkWrap(data0, data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> CharChunk.chunkWrap(data0, data0.length, 1)); - CharChunk.chunkWrap(data0, data0.length, 0); // Should succeed + CharChunk.chunkWrap(data0, data0.length, 0); // Should succeed expectException(IllegalArgumentException.class, () -> WritableCharChunk.writableChunkWrap(data0, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableCharChunk.writableChunkWrap(data0, 0, data0.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableCharChunk.writableChunkWrap(data0, data0.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableCharChunk.writableChunkWrap(data0, data0.length, 1)); - WritableCharChunk.chunkWrap(data0, data0.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableCharChunk.writableChunkWrap(data0, 0, data0.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableCharChunk.writableChunkWrap(data0, data0.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableCharChunk.writableChunkWrap(data0, data0.length, 1)); + WritableCharChunk.chunkWrap(data0, data0.length, 0); // Should succeed final CharChunk[] ccData = new CharChunk[4]; expectException(IllegalArgumentException.class, () -> CharChunkChunk.chunkWrap(ccData, -1, 2)); expectException(IllegalArgumentException.class, () -> CharChunkChunk.chunkWrap(ccData, 0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> CharChunkChunk.chunkWrap(ccData, ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> CharChunkChunk.chunkWrap(ccData, ccData.length, 1)); - CharChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed + CharChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed final WritableCharChunk[] wccData = new WritableCharChunk[4]; expectException(IllegalArgumentException.class, () -> WritableCharChunkChunk.writableChunkWrap(wccData, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableCharChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableCharChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableCharChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); - WritableCharChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableCharChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableCharChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableCharChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); + WritableCharChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed } @Test @@ -397,14 +403,14 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> c0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length, 1)); - c0.slice(data0.length, 0); // Should succeed + c0.slice(data0.length, 0); // Should succeed final WritableCharChunk wc0 = WritableCharChunk.writableChunkWrap(data0); expectException(IllegalArgumentException.class, () -> wc0.slice(-1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length, 1)); - wc0.slice(data0.length, 0); // Should succeed + wc0.slice(data0.length, 0); // Should succeed final CharChunk[] ccData = new CharChunk[4]; final CharChunkChunk cc0 = CharChunkChunk.chunkWrap(ccData); @@ -412,7 +418,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed final WritableCharChunk[] wccData = new WritableCharChunk[4]; final WritableCharChunkChunk wcc0 = WritableCharChunkChunk.writableChunkWrap(wccData); @@ -420,7 +426,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed } @Test @@ -438,16 +444,16 @@ public void copyFromChunk() { // This is the test we are trying to do (imagine a-z and A-Z being variables holding random values) // destChunk is at offset 9, length 10 // srcChunk is at offset 2 length 5 - // destData: abcdefghijklmnopqrstuvwxyz - // destChunk: ^^^^^^^^^^ + // destData: abcdefghijklmnopqrstuvwxyz + // destChunk: ^^^^^^^^^^ - // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ - // srcChunk: ^^^^^^ + // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ + // srcChunk: ^^^^^^ // Copy 3 elements from srcChunk offset 1 to destChunk offset 3 // // That would be....DEFG goes on top of mnop, so - // destData: abcdefghijklDEFGqrstuvwxyz + // destData: abcdefghijklDEFGqrstuvwxyz final Random rng = new Random(124374349); final char[] destData = ReplicatorHelpers.randomChars(rng, 26); @@ -464,10 +470,12 @@ public void copyFromChunk() { final int srcCopyOffset = 3; final int copyLength = 4; - final WritableCharChunk destChunk = WritableCharChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); + final WritableCharChunk destChunk = + WritableCharChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); final CharChunk srcChunk = CharChunk.chunkWrap(srcData, srcChunkOffset, srcChunkCapacity); destChunk.copyFromChunk(srcChunk, srcCopyOffset, destCopyOffset, copyLength); - System.arraycopy(srcData,srcChunkOffset + srcCopyOffset, manualData,destChunkOffset + destCopyOffset, copyLength); + System.arraycopy(srcData, srcChunkOffset + srcCopyOffset, manualData, destChunkOffset + destCopyOffset, + copyLength); final CharChunk manualChunk = CharChunk.chunkWrap(manualData, destChunkOffset, destChunkCapacity); final boolean same = CharChunkEquals.equalReduce(destChunk, manualChunk); TestCase.assertTrue("Chunks are not the same", same); @@ -490,7 +498,7 @@ public void testChunkChunk() { // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked CharChunk[] chunks = new CharChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = CharChunk.chunkWrap(data[ii], ii, SIZE - ii); @@ -516,13 +524,13 @@ public void testWritableChunkChunk() { final char value1 = valueData[1]; final int SIZE = 100; - final int CHOFF = 10; // chunk offset + final int CHOFF = 10; // chunk offset char[][] data = new char[SIZE][SIZE]; // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked WritableCharChunk[] chunks = new WritableCharChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = WritableCharChunk.writableChunkWrap(data[ii], ii, SIZE - ii); @@ -563,7 +571,8 @@ public void testWritableChunkChunk() { // replace a chunk somewhere in the middle final int MIDCHOFF = 12; char[] replacementData = new char[SIZE]; - WritableCharChunk replacementChunk = WritableCharChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); + WritableCharChunk replacementChunk = + WritableCharChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); cc.setWritableChunk(3, replacementChunk); // set the array, check that the values appear in the chunk, using both the 1D and 2D APIs @@ -624,7 +633,8 @@ public void testArray() { } // endregion testArray - private static void verifyChunkEqualsArray(CharChunk chunk, char[] data, int offset, int size) { + private static void verifyChunkEqualsArray(CharChunk chunk, char[] data, int offset, + int size) { for (int ii = 0; ii < size; ++ii) { TestCase.assertEquals(String.format("At rowSet %d", ii), data[ii + offset], chunk.get(ii)); } diff --git a/engine/chunk/src/test/java/io/deephaven/chunk/TestDoubleChunk.java b/engine/chunk/src/test/java/io/deephaven/chunk/TestDoubleChunk.java index ad4491e89bd..86b50756ca9 100644 --- a/engine/chunk/src/test/java/io/deephaven/chunk/TestDoubleChunk.java +++ b/engine/chunk/src/test/java/io/deephaven/chunk/TestDoubleChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharChunk and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.util.hashing.DoubleChunkEquals; @@ -92,7 +91,7 @@ public void dynamicEntryPoints() { final ChunkType ct = ChunkType.Double; // array - double[] ca = (double[])ct.makeArray(12); + double[] ca = (double[]) ct.makeArray(12); Chunk[] cca = ct.makeChunkArray(12); Chunk c; @@ -174,8 +173,8 @@ public void emptyChunk() { TestCase.assertEquals(0, c.size()); TestCase.assertEquals(0, cc.size()); - TestCase.assertEquals(0, c.capacity); // internal state - TestCase.assertEquals(0, cc.capacity); // internal state + TestCase.assertEquals(0, c.capacity); // internal state + TestCase.assertEquals(0, cc.capacity); // internal state } @Test @@ -186,12 +185,12 @@ public void chunkWrap() { final DoubleChunk c0 = DoubleChunk.chunkWrap(data0); TestCase.assertEquals(data0.length, c0.size()); - TestCase.assertEquals(data0.length, c0.capacity); // internal state + TestCase.assertEquals(data0.length, c0.capacity); // internal state verifyChunkEqualsArray(c0, data0, 0, data0.length); final DoubleChunk c0Slice = DoubleChunk.chunkWrap(data0, 6, 3); TestCase.assertEquals(3, c0Slice.size()); - TestCase.assertEquals(3, c0Slice.capacity); // internal state + TestCase.assertEquals(3, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 6, 3); final DoubleChunk c1 = DoubleChunk.chunkWrap(data1); @@ -199,14 +198,14 @@ public void chunkWrap() { final DoubleChunkChunk cc = DoubleChunkChunk.chunkWrap(ccData); TestCase.assertEquals(ccData.length, cc.size()); - TestCase.assertEquals(ccData.length, cc.capacity); // internal state + TestCase.assertEquals(ccData.length, cc.capacity); // internal state TestCase.assertSame(cc.get(0), c0); TestCase.assertSame(cc.get(1), c1); final DoubleChunkChunk ccSlice = DoubleChunkChunk.chunkWrap(ccData, 1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); @@ -221,12 +220,12 @@ public void slice() { final DoubleChunk c0 = DoubleChunk.chunkWrap(data0); final DoubleChunk c0Slice = c0.slice(5, 4); TestCase.assertEquals(4, c0Slice.size()); - TestCase.assertEquals(4, c0Slice.capacity); // internal state + TestCase.assertEquals(4, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 5, 4); final DoubleChunk c0SliceSlice = c0Slice.slice(2, 2); TestCase.assertEquals(2, c0SliceSlice.size()); - TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state + TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state verifyChunkEqualsArray(c0SliceSlice, data0, 7, 2); final DoubleChunk c1 = DoubleChunk.chunkWrap(data1); @@ -235,13 +234,13 @@ public void slice() { final DoubleChunkChunk ccSlice = cc.slice(1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); final DoubleChunkChunk ccSliceSlice = ccSlice.slice(1, 1); TestCase.assertEquals(1, ccSliceSlice.size()); - TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state + TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state TestCase.assertSame(ccSliceSlice.get(0), c0); } @@ -296,11 +295,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rc1.get(0)); TestCase.assertEquals(2, rc1.size()); - TestCase.assertEquals(2, rc1.capacity); // internal state + TestCase.assertEquals(2, rc1.capacity); // internal state - rc1.resetFromChunk(rc1, 1, 1); // Reset from itself + rc1.resetFromChunk(rc1, 1, 1); // Reset from itself TestCase.assertEquals(1, rc1.size()); - TestCase.assertEquals(1, rc1.capacity); // internal state + TestCase.assertEquals(1, rc1.capacity); // internal state TestCase.assertEquals(data0[4], rc1.get(0)); // WritableChunks are inherently resettable @@ -313,11 +312,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rwc1.get(0)); TestCase.assertEquals(2, rwc1.size()); - TestCase.assertEquals(2, rwc1.capacity); // internal state + TestCase.assertEquals(2, rwc1.capacity); // internal state - rwc1.resetFromChunk(wc0, 1, 1); // Reset from self + rwc1.resetFromChunk(wc0, 1, 1); // Reset from self TestCase.assertEquals(1, rwc1.size()); - TestCase.assertEquals(1, rwc1.capacity); // internal state + TestCase.assertEquals(1, rwc1.capacity); // internal state TestCase.assertEquals(data0[1], rwc1.get(0)); } @@ -333,14 +332,14 @@ public void resettableChunkChunk() { rcc1.resetFromArray(ccData, 0, ccData.length); TestCase.assertSame(ccData[0], rcc1.get(0)); - rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self + rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self TestCase.assertSame(ccData[1], rcc1.get(0)); TestCase.assertEquals(2, rcc1.size()); - TestCase.assertEquals(2, rcc1.capacity); // internal state + TestCase.assertEquals(2, rcc1.capacity); // internal state - rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again + rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again TestCase.assertEquals(1, rcc1.size()); - TestCase.assertEquals(1, rcc1.capacity); // internal state + TestCase.assertEquals(1, rcc1.capacity); // internal state TestCase.assertSame(ccData[2], rcc1.get(0)); // WritableChunks are inherently resettable @@ -351,14 +350,14 @@ public void resettableChunkChunk() { rwcc.resetFromArray(wccData, 0, wccData.length); TestCase.assertSame(wccData[0], rwcc.get(0)); - rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self + rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self TestCase.assertSame(wccData[1], rwcc.get(0)); TestCase.assertEquals(2, rwcc.size()); - TestCase.assertEquals(2, rwcc.capacity); // internal state + TestCase.assertEquals(2, rwcc.capacity); // internal state - rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again + rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again TestCase.assertEquals(1, rwcc.size()); - TestCase.assertEquals(1, rwcc.capacity); // internal state + TestCase.assertEquals(1, rwcc.capacity); // internal state TestCase.assertSame(wccData[2], rwcc.get(0)); } @@ -370,27 +369,33 @@ public void chunkWrapBounds() { expectException(IllegalArgumentException.class, () -> DoubleChunk.chunkWrap(data0, 0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> DoubleChunk.chunkWrap(data0, data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> DoubleChunk.chunkWrap(data0, data0.length, 1)); - DoubleChunk.chunkWrap(data0, data0.length, 0); // Should succeed + DoubleChunk.chunkWrap(data0, data0.length, 0); // Should succeed expectException(IllegalArgumentException.class, () -> WritableDoubleChunk.writableChunkWrap(data0, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableDoubleChunk.writableChunkWrap(data0, 0, data0.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableDoubleChunk.writableChunkWrap(data0, data0.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableDoubleChunk.writableChunkWrap(data0, data0.length, 1)); - WritableDoubleChunk.chunkWrap(data0, data0.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableDoubleChunk.writableChunkWrap(data0, 0, data0.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableDoubleChunk.writableChunkWrap(data0, data0.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableDoubleChunk.writableChunkWrap(data0, data0.length, 1)); + WritableDoubleChunk.chunkWrap(data0, data0.length, 0); // Should succeed final DoubleChunk[] ccData = new DoubleChunk[4]; expectException(IllegalArgumentException.class, () -> DoubleChunkChunk.chunkWrap(ccData, -1, 2)); expectException(IllegalArgumentException.class, () -> DoubleChunkChunk.chunkWrap(ccData, 0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> DoubleChunkChunk.chunkWrap(ccData, ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> DoubleChunkChunk.chunkWrap(ccData, ccData.length, 1)); - DoubleChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed + DoubleChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed final WritableDoubleChunk[] wccData = new WritableDoubleChunk[4]; expectException(IllegalArgumentException.class, () -> WritableDoubleChunkChunk.writableChunkWrap(wccData, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableDoubleChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableDoubleChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableDoubleChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); - WritableDoubleChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableDoubleChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableDoubleChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableDoubleChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); + WritableDoubleChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed } @Test @@ -402,14 +407,14 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> c0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length, 1)); - c0.slice(data0.length, 0); // Should succeed + c0.slice(data0.length, 0); // Should succeed final WritableDoubleChunk wc0 = WritableDoubleChunk.writableChunkWrap(data0); expectException(IllegalArgumentException.class, () -> wc0.slice(-1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length, 1)); - wc0.slice(data0.length, 0); // Should succeed + wc0.slice(data0.length, 0); // Should succeed final DoubleChunk[] ccData = new DoubleChunk[4]; final DoubleChunkChunk cc0 = DoubleChunkChunk.chunkWrap(ccData); @@ -417,7 +422,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed final WritableDoubleChunk[] wccData = new WritableDoubleChunk[4]; final WritableDoubleChunkChunk wcc0 = WritableDoubleChunkChunk.writableChunkWrap(wccData); @@ -425,7 +430,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed } @Test @@ -443,16 +448,16 @@ public void copyFromChunk() { // This is the test we are trying to do (imagine a-z and A-Z being variables holding random values) // destChunk is at offset 9, length 10 // srcChunk is at offset 2 length 5 - // destData: abcdefghijklmnopqrstuvwxyz - // destChunk: ^^^^^^^^^^ + // destData: abcdefghijklmnopqrstuvwxyz + // destChunk: ^^^^^^^^^^ - // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ - // srcChunk: ^^^^^^ + // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ + // srcChunk: ^^^^^^ // Copy 3 elements from srcChunk offset 1 to destChunk offset 3 // // That would be....DEFG goes on top of mnop, so - // destData: abcdefghijklDEFGqrstuvwxyz + // destData: abcdefghijklDEFGqrstuvwxyz final Random rng = new Random(124374349); final double[] destData = ReplicatorHelpers.randomDoubles(rng, 26); @@ -469,10 +474,12 @@ public void copyFromChunk() { final int srcCopyOffset = 3; final int copyLength = 4; - final WritableDoubleChunk destChunk = WritableDoubleChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); + final WritableDoubleChunk destChunk = + WritableDoubleChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); final DoubleChunk srcChunk = DoubleChunk.chunkWrap(srcData, srcChunkOffset, srcChunkCapacity); destChunk.copyFromChunk(srcChunk, srcCopyOffset, destCopyOffset, copyLength); - System.arraycopy(srcData,srcChunkOffset + srcCopyOffset, manualData,destChunkOffset + destCopyOffset, copyLength); + System.arraycopy(srcData, srcChunkOffset + srcCopyOffset, manualData, destChunkOffset + destCopyOffset, + copyLength); final DoubleChunk manualChunk = DoubleChunk.chunkWrap(manualData, destChunkOffset, destChunkCapacity); final boolean same = DoubleChunkEquals.equalReduce(destChunk, manualChunk); TestCase.assertTrue("Chunks are not the same", same); @@ -495,7 +502,7 @@ public void testChunkChunk() { // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked DoubleChunk[] chunks = new DoubleChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = DoubleChunk.chunkWrap(data[ii], ii, SIZE - ii); @@ -521,13 +528,13 @@ public void testWritableChunkChunk() { final double value1 = valueData[1]; final int SIZE = 100; - final int CHOFF = 10; // chunk offset + final int CHOFF = 10; // chunk offset double[][] data = new double[SIZE][SIZE]; // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked WritableDoubleChunk[] chunks = new WritableDoubleChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = WritableDoubleChunk.writableChunkWrap(data[ii], ii, SIZE - ii); @@ -568,7 +575,8 @@ public void testWritableChunkChunk() { // replace a chunk somewhere in the middle final int MIDCHOFF = 12; double[] replacementData = new double[SIZE]; - WritableDoubleChunk replacementChunk = WritableDoubleChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); + WritableDoubleChunk replacementChunk = + WritableDoubleChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); cc.setWritableChunk(3, replacementChunk); // set the array, check that the values appear in the chunk, using both the 1D and 2D APIs @@ -629,7 +637,8 @@ public void testArray() { } // endregion testArray - private static void verifyChunkEqualsArray(DoubleChunk chunk, double[] data, int offset, int size) { + private static void verifyChunkEqualsArray(DoubleChunk chunk, double[] data, int offset, + int size) { for (int ii = 0; ii < size; ++ii) { TestCase.assertEquals(String.format("At rowSet %d", ii), data[ii + offset], chunk.get(ii)); } diff --git a/engine/chunk/src/test/java/io/deephaven/chunk/TestFloatChunk.java b/engine/chunk/src/test/java/io/deephaven/chunk/TestFloatChunk.java index 73e6db7a15f..19648278a4d 100644 --- a/engine/chunk/src/test/java/io/deephaven/chunk/TestFloatChunk.java +++ b/engine/chunk/src/test/java/io/deephaven/chunk/TestFloatChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharChunk and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.util.hashing.FloatChunkEquals; @@ -92,7 +91,7 @@ public void dynamicEntryPoints() { final ChunkType ct = ChunkType.Float; // array - float[] ca = (float[])ct.makeArray(12); + float[] ca = (float[]) ct.makeArray(12); Chunk[] cca = ct.makeChunkArray(12); Chunk c; @@ -174,8 +173,8 @@ public void emptyChunk() { TestCase.assertEquals(0, c.size()); TestCase.assertEquals(0, cc.size()); - TestCase.assertEquals(0, c.capacity); // internal state - TestCase.assertEquals(0, cc.capacity); // internal state + TestCase.assertEquals(0, c.capacity); // internal state + TestCase.assertEquals(0, cc.capacity); // internal state } @Test @@ -186,12 +185,12 @@ public void chunkWrap() { final FloatChunk c0 = FloatChunk.chunkWrap(data0); TestCase.assertEquals(data0.length, c0.size()); - TestCase.assertEquals(data0.length, c0.capacity); // internal state + TestCase.assertEquals(data0.length, c0.capacity); // internal state verifyChunkEqualsArray(c0, data0, 0, data0.length); final FloatChunk c0Slice = FloatChunk.chunkWrap(data0, 6, 3); TestCase.assertEquals(3, c0Slice.size()); - TestCase.assertEquals(3, c0Slice.capacity); // internal state + TestCase.assertEquals(3, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 6, 3); final FloatChunk c1 = FloatChunk.chunkWrap(data1); @@ -199,14 +198,14 @@ public void chunkWrap() { final FloatChunkChunk cc = FloatChunkChunk.chunkWrap(ccData); TestCase.assertEquals(ccData.length, cc.size()); - TestCase.assertEquals(ccData.length, cc.capacity); // internal state + TestCase.assertEquals(ccData.length, cc.capacity); // internal state TestCase.assertSame(cc.get(0), c0); TestCase.assertSame(cc.get(1), c1); final FloatChunkChunk ccSlice = FloatChunkChunk.chunkWrap(ccData, 1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); @@ -221,12 +220,12 @@ public void slice() { final FloatChunk c0 = FloatChunk.chunkWrap(data0); final FloatChunk c0Slice = c0.slice(5, 4); TestCase.assertEquals(4, c0Slice.size()); - TestCase.assertEquals(4, c0Slice.capacity); // internal state + TestCase.assertEquals(4, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 5, 4); final FloatChunk c0SliceSlice = c0Slice.slice(2, 2); TestCase.assertEquals(2, c0SliceSlice.size()); - TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state + TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state verifyChunkEqualsArray(c0SliceSlice, data0, 7, 2); final FloatChunk c1 = FloatChunk.chunkWrap(data1); @@ -235,13 +234,13 @@ public void slice() { final FloatChunkChunk ccSlice = cc.slice(1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); final FloatChunkChunk ccSliceSlice = ccSlice.slice(1, 1); TestCase.assertEquals(1, ccSliceSlice.size()); - TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state + TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state TestCase.assertSame(ccSliceSlice.get(0), c0); } @@ -296,11 +295,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rc1.get(0)); TestCase.assertEquals(2, rc1.size()); - TestCase.assertEquals(2, rc1.capacity); // internal state + TestCase.assertEquals(2, rc1.capacity); // internal state - rc1.resetFromChunk(rc1, 1, 1); // Reset from itself + rc1.resetFromChunk(rc1, 1, 1); // Reset from itself TestCase.assertEquals(1, rc1.size()); - TestCase.assertEquals(1, rc1.capacity); // internal state + TestCase.assertEquals(1, rc1.capacity); // internal state TestCase.assertEquals(data0[4], rc1.get(0)); // WritableChunks are inherently resettable @@ -313,11 +312,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rwc1.get(0)); TestCase.assertEquals(2, rwc1.size()); - TestCase.assertEquals(2, rwc1.capacity); // internal state + TestCase.assertEquals(2, rwc1.capacity); // internal state - rwc1.resetFromChunk(wc0, 1, 1); // Reset from self + rwc1.resetFromChunk(wc0, 1, 1); // Reset from self TestCase.assertEquals(1, rwc1.size()); - TestCase.assertEquals(1, rwc1.capacity); // internal state + TestCase.assertEquals(1, rwc1.capacity); // internal state TestCase.assertEquals(data0[1], rwc1.get(0)); } @@ -333,14 +332,14 @@ public void resettableChunkChunk() { rcc1.resetFromArray(ccData, 0, ccData.length); TestCase.assertSame(ccData[0], rcc1.get(0)); - rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self + rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self TestCase.assertSame(ccData[1], rcc1.get(0)); TestCase.assertEquals(2, rcc1.size()); - TestCase.assertEquals(2, rcc1.capacity); // internal state + TestCase.assertEquals(2, rcc1.capacity); // internal state - rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again + rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again TestCase.assertEquals(1, rcc1.size()); - TestCase.assertEquals(1, rcc1.capacity); // internal state + TestCase.assertEquals(1, rcc1.capacity); // internal state TestCase.assertSame(ccData[2], rcc1.get(0)); // WritableChunks are inherently resettable @@ -351,14 +350,14 @@ public void resettableChunkChunk() { rwcc.resetFromArray(wccData, 0, wccData.length); TestCase.assertSame(wccData[0], rwcc.get(0)); - rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self + rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self TestCase.assertSame(wccData[1], rwcc.get(0)); TestCase.assertEquals(2, rwcc.size()); - TestCase.assertEquals(2, rwcc.capacity); // internal state + TestCase.assertEquals(2, rwcc.capacity); // internal state - rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again + rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again TestCase.assertEquals(1, rwcc.size()); - TestCase.assertEquals(1, rwcc.capacity); // internal state + TestCase.assertEquals(1, rwcc.capacity); // internal state TestCase.assertSame(wccData[2], rwcc.get(0)); } @@ -370,27 +369,33 @@ public void chunkWrapBounds() { expectException(IllegalArgumentException.class, () -> FloatChunk.chunkWrap(data0, 0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> FloatChunk.chunkWrap(data0, data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> FloatChunk.chunkWrap(data0, data0.length, 1)); - FloatChunk.chunkWrap(data0, data0.length, 0); // Should succeed + FloatChunk.chunkWrap(data0, data0.length, 0); // Should succeed expectException(IllegalArgumentException.class, () -> WritableFloatChunk.writableChunkWrap(data0, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableFloatChunk.writableChunkWrap(data0, 0, data0.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableFloatChunk.writableChunkWrap(data0, data0.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableFloatChunk.writableChunkWrap(data0, data0.length, 1)); - WritableFloatChunk.chunkWrap(data0, data0.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableFloatChunk.writableChunkWrap(data0, 0, data0.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableFloatChunk.writableChunkWrap(data0, data0.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableFloatChunk.writableChunkWrap(data0, data0.length, 1)); + WritableFloatChunk.chunkWrap(data0, data0.length, 0); // Should succeed final FloatChunk[] ccData = new FloatChunk[4]; expectException(IllegalArgumentException.class, () -> FloatChunkChunk.chunkWrap(ccData, -1, 2)); expectException(IllegalArgumentException.class, () -> FloatChunkChunk.chunkWrap(ccData, 0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> FloatChunkChunk.chunkWrap(ccData, ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> FloatChunkChunk.chunkWrap(ccData, ccData.length, 1)); - FloatChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed + FloatChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed final WritableFloatChunk[] wccData = new WritableFloatChunk[4]; expectException(IllegalArgumentException.class, () -> WritableFloatChunkChunk.writableChunkWrap(wccData, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableFloatChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableFloatChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableFloatChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); - WritableFloatChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableFloatChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableFloatChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableFloatChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); + WritableFloatChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed } @Test @@ -402,14 +407,14 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> c0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length, 1)); - c0.slice(data0.length, 0); // Should succeed + c0.slice(data0.length, 0); // Should succeed final WritableFloatChunk wc0 = WritableFloatChunk.writableChunkWrap(data0); expectException(IllegalArgumentException.class, () -> wc0.slice(-1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length, 1)); - wc0.slice(data0.length, 0); // Should succeed + wc0.slice(data0.length, 0); // Should succeed final FloatChunk[] ccData = new FloatChunk[4]; final FloatChunkChunk cc0 = FloatChunkChunk.chunkWrap(ccData); @@ -417,7 +422,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed final WritableFloatChunk[] wccData = new WritableFloatChunk[4]; final WritableFloatChunkChunk wcc0 = WritableFloatChunkChunk.writableChunkWrap(wccData); @@ -425,7 +430,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed } @Test @@ -443,16 +448,16 @@ public void copyFromChunk() { // This is the test we are trying to do (imagine a-z and A-Z being variables holding random values) // destChunk is at offset 9, length 10 // srcChunk is at offset 2 length 5 - // destData: abcdefghijklmnopqrstuvwxyz - // destChunk: ^^^^^^^^^^ + // destData: abcdefghijklmnopqrstuvwxyz + // destChunk: ^^^^^^^^^^ - // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ - // srcChunk: ^^^^^^ + // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ + // srcChunk: ^^^^^^ // Copy 3 elements from srcChunk offset 1 to destChunk offset 3 // // That would be....DEFG goes on top of mnop, so - // destData: abcdefghijklDEFGqrstuvwxyz + // destData: abcdefghijklDEFGqrstuvwxyz final Random rng = new Random(124374349); final float[] destData = ReplicatorHelpers.randomFloats(rng, 26); @@ -469,10 +474,12 @@ public void copyFromChunk() { final int srcCopyOffset = 3; final int copyLength = 4; - final WritableFloatChunk destChunk = WritableFloatChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); + final WritableFloatChunk destChunk = + WritableFloatChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); final FloatChunk srcChunk = FloatChunk.chunkWrap(srcData, srcChunkOffset, srcChunkCapacity); destChunk.copyFromChunk(srcChunk, srcCopyOffset, destCopyOffset, copyLength); - System.arraycopy(srcData,srcChunkOffset + srcCopyOffset, manualData,destChunkOffset + destCopyOffset, copyLength); + System.arraycopy(srcData, srcChunkOffset + srcCopyOffset, manualData, destChunkOffset + destCopyOffset, + copyLength); final FloatChunk manualChunk = FloatChunk.chunkWrap(manualData, destChunkOffset, destChunkCapacity); final boolean same = FloatChunkEquals.equalReduce(destChunk, manualChunk); TestCase.assertTrue("Chunks are not the same", same); @@ -495,7 +502,7 @@ public void testChunkChunk() { // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked FloatChunk[] chunks = new FloatChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = FloatChunk.chunkWrap(data[ii], ii, SIZE - ii); @@ -521,13 +528,13 @@ public void testWritableChunkChunk() { final float value1 = valueData[1]; final int SIZE = 100; - final int CHOFF = 10; // chunk offset + final int CHOFF = 10; // chunk offset float[][] data = new float[SIZE][SIZE]; // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked WritableFloatChunk[] chunks = new WritableFloatChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = WritableFloatChunk.writableChunkWrap(data[ii], ii, SIZE - ii); @@ -568,7 +575,8 @@ public void testWritableChunkChunk() { // replace a chunk somewhere in the middle final int MIDCHOFF = 12; float[] replacementData = new float[SIZE]; - WritableFloatChunk replacementChunk = WritableFloatChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); + WritableFloatChunk replacementChunk = + WritableFloatChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); cc.setWritableChunk(3, replacementChunk); // set the array, check that the values appear in the chunk, using both the 1D and 2D APIs @@ -629,7 +637,8 @@ public void testArray() { } // endregion testArray - private static void verifyChunkEqualsArray(FloatChunk chunk, float[] data, int offset, int size) { + private static void verifyChunkEqualsArray(FloatChunk chunk, float[] data, int offset, + int size) { for (int ii = 0; ii < size; ++ii) { TestCase.assertEquals(String.format("At rowSet %d", ii), data[ii + offset], chunk.get(ii)); } diff --git a/engine/chunk/src/test/java/io/deephaven/chunk/TestIntChunk.java b/engine/chunk/src/test/java/io/deephaven/chunk/TestIntChunk.java index dfbeb997e67..5749e632548 100644 --- a/engine/chunk/src/test/java/io/deephaven/chunk/TestIntChunk.java +++ b/engine/chunk/src/test/java/io/deephaven/chunk/TestIntChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharChunk and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.util.hashing.IntChunkEquals; @@ -92,7 +91,7 @@ public void dynamicEntryPoints() { final ChunkType ct = ChunkType.Int; // array - int[] ca = (int[])ct.makeArray(12); + int[] ca = (int[]) ct.makeArray(12); Chunk[] cca = ct.makeChunkArray(12); Chunk c; @@ -174,8 +173,8 @@ public void emptyChunk() { TestCase.assertEquals(0, c.size()); TestCase.assertEquals(0, cc.size()); - TestCase.assertEquals(0, c.capacity); // internal state - TestCase.assertEquals(0, cc.capacity); // internal state + TestCase.assertEquals(0, c.capacity); // internal state + TestCase.assertEquals(0, cc.capacity); // internal state } @Test @@ -186,12 +185,12 @@ public void chunkWrap() { final IntChunk c0 = IntChunk.chunkWrap(data0); TestCase.assertEquals(data0.length, c0.size()); - TestCase.assertEquals(data0.length, c0.capacity); // internal state + TestCase.assertEquals(data0.length, c0.capacity); // internal state verifyChunkEqualsArray(c0, data0, 0, data0.length); final IntChunk c0Slice = IntChunk.chunkWrap(data0, 6, 3); TestCase.assertEquals(3, c0Slice.size()); - TestCase.assertEquals(3, c0Slice.capacity); // internal state + TestCase.assertEquals(3, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 6, 3); final IntChunk c1 = IntChunk.chunkWrap(data1); @@ -199,14 +198,14 @@ public void chunkWrap() { final IntChunkChunk cc = IntChunkChunk.chunkWrap(ccData); TestCase.assertEquals(ccData.length, cc.size()); - TestCase.assertEquals(ccData.length, cc.capacity); // internal state + TestCase.assertEquals(ccData.length, cc.capacity); // internal state TestCase.assertSame(cc.get(0), c0); TestCase.assertSame(cc.get(1), c1); final IntChunkChunk ccSlice = IntChunkChunk.chunkWrap(ccData, 1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); @@ -221,12 +220,12 @@ public void slice() { final IntChunk c0 = IntChunk.chunkWrap(data0); final IntChunk c0Slice = c0.slice(5, 4); TestCase.assertEquals(4, c0Slice.size()); - TestCase.assertEquals(4, c0Slice.capacity); // internal state + TestCase.assertEquals(4, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 5, 4); final IntChunk c0SliceSlice = c0Slice.slice(2, 2); TestCase.assertEquals(2, c0SliceSlice.size()); - TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state + TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state verifyChunkEqualsArray(c0SliceSlice, data0, 7, 2); final IntChunk c1 = IntChunk.chunkWrap(data1); @@ -235,13 +234,13 @@ public void slice() { final IntChunkChunk ccSlice = cc.slice(1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); final IntChunkChunk ccSliceSlice = ccSlice.slice(1, 1); TestCase.assertEquals(1, ccSliceSlice.size()); - TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state + TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state TestCase.assertSame(ccSliceSlice.get(0), c0); } @@ -296,11 +295,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rc1.get(0)); TestCase.assertEquals(2, rc1.size()); - TestCase.assertEquals(2, rc1.capacity); // internal state + TestCase.assertEquals(2, rc1.capacity); // internal state - rc1.resetFromChunk(rc1, 1, 1); // Reset from itself + rc1.resetFromChunk(rc1, 1, 1); // Reset from itself TestCase.assertEquals(1, rc1.size()); - TestCase.assertEquals(1, rc1.capacity); // internal state + TestCase.assertEquals(1, rc1.capacity); // internal state TestCase.assertEquals(data0[4], rc1.get(0)); // WritableChunks are inherently resettable @@ -313,11 +312,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rwc1.get(0)); TestCase.assertEquals(2, rwc1.size()); - TestCase.assertEquals(2, rwc1.capacity); // internal state + TestCase.assertEquals(2, rwc1.capacity); // internal state - rwc1.resetFromChunk(wc0, 1, 1); // Reset from self + rwc1.resetFromChunk(wc0, 1, 1); // Reset from self TestCase.assertEquals(1, rwc1.size()); - TestCase.assertEquals(1, rwc1.capacity); // internal state + TestCase.assertEquals(1, rwc1.capacity); // internal state TestCase.assertEquals(data0[1], rwc1.get(0)); } @@ -333,14 +332,14 @@ public void resettableChunkChunk() { rcc1.resetFromArray(ccData, 0, ccData.length); TestCase.assertSame(ccData[0], rcc1.get(0)); - rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self + rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self TestCase.assertSame(ccData[1], rcc1.get(0)); TestCase.assertEquals(2, rcc1.size()); - TestCase.assertEquals(2, rcc1.capacity); // internal state + TestCase.assertEquals(2, rcc1.capacity); // internal state - rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again + rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again TestCase.assertEquals(1, rcc1.size()); - TestCase.assertEquals(1, rcc1.capacity); // internal state + TestCase.assertEquals(1, rcc1.capacity); // internal state TestCase.assertSame(ccData[2], rcc1.get(0)); // WritableChunks are inherently resettable @@ -351,14 +350,14 @@ public void resettableChunkChunk() { rwcc.resetFromArray(wccData, 0, wccData.length); TestCase.assertSame(wccData[0], rwcc.get(0)); - rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self + rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self TestCase.assertSame(wccData[1], rwcc.get(0)); TestCase.assertEquals(2, rwcc.size()); - TestCase.assertEquals(2, rwcc.capacity); // internal state + TestCase.assertEquals(2, rwcc.capacity); // internal state - rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again + rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again TestCase.assertEquals(1, rwcc.size()); - TestCase.assertEquals(1, rwcc.capacity); // internal state + TestCase.assertEquals(1, rwcc.capacity); // internal state TestCase.assertSame(wccData[2], rwcc.get(0)); } @@ -370,27 +369,33 @@ public void chunkWrapBounds() { expectException(IllegalArgumentException.class, () -> IntChunk.chunkWrap(data0, 0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> IntChunk.chunkWrap(data0, data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> IntChunk.chunkWrap(data0, data0.length, 1)); - IntChunk.chunkWrap(data0, data0.length, 0); // Should succeed + IntChunk.chunkWrap(data0, data0.length, 0); // Should succeed expectException(IllegalArgumentException.class, () -> WritableIntChunk.writableChunkWrap(data0, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableIntChunk.writableChunkWrap(data0, 0, data0.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableIntChunk.writableChunkWrap(data0, data0.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableIntChunk.writableChunkWrap(data0, data0.length, 1)); - WritableIntChunk.chunkWrap(data0, data0.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableIntChunk.writableChunkWrap(data0, 0, data0.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableIntChunk.writableChunkWrap(data0, data0.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableIntChunk.writableChunkWrap(data0, data0.length, 1)); + WritableIntChunk.chunkWrap(data0, data0.length, 0); // Should succeed final IntChunk[] ccData = new IntChunk[4]; expectException(IllegalArgumentException.class, () -> IntChunkChunk.chunkWrap(ccData, -1, 2)); expectException(IllegalArgumentException.class, () -> IntChunkChunk.chunkWrap(ccData, 0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> IntChunkChunk.chunkWrap(ccData, ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> IntChunkChunk.chunkWrap(ccData, ccData.length, 1)); - IntChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed + IntChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed final WritableIntChunk[] wccData = new WritableIntChunk[4]; expectException(IllegalArgumentException.class, () -> WritableIntChunkChunk.writableChunkWrap(wccData, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableIntChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableIntChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableIntChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); - WritableIntChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableIntChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableIntChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableIntChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); + WritableIntChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed } @Test @@ -402,14 +407,14 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> c0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length, 1)); - c0.slice(data0.length, 0); // Should succeed + c0.slice(data0.length, 0); // Should succeed final WritableIntChunk wc0 = WritableIntChunk.writableChunkWrap(data0); expectException(IllegalArgumentException.class, () -> wc0.slice(-1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length, 1)); - wc0.slice(data0.length, 0); // Should succeed + wc0.slice(data0.length, 0); // Should succeed final IntChunk[] ccData = new IntChunk[4]; final IntChunkChunk cc0 = IntChunkChunk.chunkWrap(ccData); @@ -417,7 +422,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed final WritableIntChunk[] wccData = new WritableIntChunk[4]; final WritableIntChunkChunk wcc0 = WritableIntChunkChunk.writableChunkWrap(wccData); @@ -425,7 +430,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed } @Test @@ -443,16 +448,16 @@ public void copyFromChunk() { // This is the test we are trying to do (imagine a-z and A-Z being variables holding random values) // destChunk is at offset 9, length 10 // srcChunk is at offset 2 length 5 - // destData: abcdefghijklmnopqrstuvwxyz - // destChunk: ^^^^^^^^^^ + // destData: abcdefghijklmnopqrstuvwxyz + // destChunk: ^^^^^^^^^^ - // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ - // srcChunk: ^^^^^^ + // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ + // srcChunk: ^^^^^^ // Copy 3 elements from srcChunk offset 1 to destChunk offset 3 // // That would be....DEFG goes on top of mnop, so - // destData: abcdefghijklDEFGqrstuvwxyz + // destData: abcdefghijklDEFGqrstuvwxyz final Random rng = new Random(124374349); final int[] destData = ReplicatorHelpers.randomInts(rng, 26); @@ -469,10 +474,12 @@ public void copyFromChunk() { final int srcCopyOffset = 3; final int copyLength = 4; - final WritableIntChunk destChunk = WritableIntChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); + final WritableIntChunk destChunk = + WritableIntChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); final IntChunk srcChunk = IntChunk.chunkWrap(srcData, srcChunkOffset, srcChunkCapacity); destChunk.copyFromChunk(srcChunk, srcCopyOffset, destCopyOffset, copyLength); - System.arraycopy(srcData,srcChunkOffset + srcCopyOffset, manualData,destChunkOffset + destCopyOffset, copyLength); + System.arraycopy(srcData, srcChunkOffset + srcCopyOffset, manualData, destChunkOffset + destCopyOffset, + copyLength); final IntChunk manualChunk = IntChunk.chunkWrap(manualData, destChunkOffset, destChunkCapacity); final boolean same = IntChunkEquals.equalReduce(destChunk, manualChunk); TestCase.assertTrue("Chunks are not the same", same); @@ -495,7 +502,7 @@ public void testChunkChunk() { // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked IntChunk[] chunks = new IntChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = IntChunk.chunkWrap(data[ii], ii, SIZE - ii); @@ -521,13 +528,13 @@ public void testWritableChunkChunk() { final int value1 = valueData[1]; final int SIZE = 100; - final int CHOFF = 10; // chunk offset + final int CHOFF = 10; // chunk offset int[][] data = new int[SIZE][SIZE]; // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked WritableIntChunk[] chunks = new WritableIntChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = WritableIntChunk.writableChunkWrap(data[ii], ii, SIZE - ii); @@ -568,7 +575,8 @@ public void testWritableChunkChunk() { // replace a chunk somewhere in the middle final int MIDCHOFF = 12; int[] replacementData = new int[SIZE]; - WritableIntChunk replacementChunk = WritableIntChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); + WritableIntChunk replacementChunk = + WritableIntChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); cc.setWritableChunk(3, replacementChunk); // set the array, check that the values appear in the chunk, using both the 1D and 2D APIs @@ -629,7 +637,8 @@ public void testArray() { } // endregion testArray - private static void verifyChunkEqualsArray(IntChunk chunk, int[] data, int offset, int size) { + private static void verifyChunkEqualsArray(IntChunk chunk, int[] data, int offset, + int size) { for (int ii = 0; ii < size; ++ii) { TestCase.assertEquals(String.format("At rowSet %d", ii), data[ii + offset], chunk.get(ii)); } diff --git a/engine/chunk/src/test/java/io/deephaven/chunk/TestLongChunk.java b/engine/chunk/src/test/java/io/deephaven/chunk/TestLongChunk.java index 5dbc1009f8c..d3292641971 100644 --- a/engine/chunk/src/test/java/io/deephaven/chunk/TestLongChunk.java +++ b/engine/chunk/src/test/java/io/deephaven/chunk/TestLongChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharChunk and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.util.hashing.LongChunkEquals; @@ -92,7 +91,7 @@ public void dynamicEntryPoints() { final ChunkType ct = ChunkType.Long; // array - long[] ca = (long[])ct.makeArray(12); + long[] ca = (long[]) ct.makeArray(12); Chunk[] cca = ct.makeChunkArray(12); Chunk c; @@ -174,8 +173,8 @@ public void emptyChunk() { TestCase.assertEquals(0, c.size()); TestCase.assertEquals(0, cc.size()); - TestCase.assertEquals(0, c.capacity); // internal state - TestCase.assertEquals(0, cc.capacity); // internal state + TestCase.assertEquals(0, c.capacity); // internal state + TestCase.assertEquals(0, cc.capacity); // internal state } @Test @@ -186,12 +185,12 @@ public void chunkWrap() { final LongChunk c0 = LongChunk.chunkWrap(data0); TestCase.assertEquals(data0.length, c0.size()); - TestCase.assertEquals(data0.length, c0.capacity); // internal state + TestCase.assertEquals(data0.length, c0.capacity); // internal state verifyChunkEqualsArray(c0, data0, 0, data0.length); final LongChunk c0Slice = LongChunk.chunkWrap(data0, 6, 3); TestCase.assertEquals(3, c0Slice.size()); - TestCase.assertEquals(3, c0Slice.capacity); // internal state + TestCase.assertEquals(3, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 6, 3); final LongChunk c1 = LongChunk.chunkWrap(data1); @@ -199,14 +198,14 @@ public void chunkWrap() { final LongChunkChunk cc = LongChunkChunk.chunkWrap(ccData); TestCase.assertEquals(ccData.length, cc.size()); - TestCase.assertEquals(ccData.length, cc.capacity); // internal state + TestCase.assertEquals(ccData.length, cc.capacity); // internal state TestCase.assertSame(cc.get(0), c0); TestCase.assertSame(cc.get(1), c1); final LongChunkChunk ccSlice = LongChunkChunk.chunkWrap(ccData, 1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); @@ -221,12 +220,12 @@ public void slice() { final LongChunk c0 = LongChunk.chunkWrap(data0); final LongChunk c0Slice = c0.slice(5, 4); TestCase.assertEquals(4, c0Slice.size()); - TestCase.assertEquals(4, c0Slice.capacity); // internal state + TestCase.assertEquals(4, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 5, 4); final LongChunk c0SliceSlice = c0Slice.slice(2, 2); TestCase.assertEquals(2, c0SliceSlice.size()); - TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state + TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state verifyChunkEqualsArray(c0SliceSlice, data0, 7, 2); final LongChunk c1 = LongChunk.chunkWrap(data1); @@ -235,13 +234,13 @@ public void slice() { final LongChunkChunk ccSlice = cc.slice(1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); final LongChunkChunk ccSliceSlice = ccSlice.slice(1, 1); TestCase.assertEquals(1, ccSliceSlice.size()); - TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state + TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state TestCase.assertSame(ccSliceSlice.get(0), c0); } @@ -296,11 +295,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rc1.get(0)); TestCase.assertEquals(2, rc1.size()); - TestCase.assertEquals(2, rc1.capacity); // internal state + TestCase.assertEquals(2, rc1.capacity); // internal state - rc1.resetFromChunk(rc1, 1, 1); // Reset from itself + rc1.resetFromChunk(rc1, 1, 1); // Reset from itself TestCase.assertEquals(1, rc1.size()); - TestCase.assertEquals(1, rc1.capacity); // internal state + TestCase.assertEquals(1, rc1.capacity); // internal state TestCase.assertEquals(data0[4], rc1.get(0)); // WritableChunks are inherently resettable @@ -313,11 +312,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rwc1.get(0)); TestCase.assertEquals(2, rwc1.size()); - TestCase.assertEquals(2, rwc1.capacity); // internal state + TestCase.assertEquals(2, rwc1.capacity); // internal state - rwc1.resetFromChunk(wc0, 1, 1); // Reset from self + rwc1.resetFromChunk(wc0, 1, 1); // Reset from self TestCase.assertEquals(1, rwc1.size()); - TestCase.assertEquals(1, rwc1.capacity); // internal state + TestCase.assertEquals(1, rwc1.capacity); // internal state TestCase.assertEquals(data0[1], rwc1.get(0)); } @@ -333,14 +332,14 @@ public void resettableChunkChunk() { rcc1.resetFromArray(ccData, 0, ccData.length); TestCase.assertSame(ccData[0], rcc1.get(0)); - rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self + rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self TestCase.assertSame(ccData[1], rcc1.get(0)); TestCase.assertEquals(2, rcc1.size()); - TestCase.assertEquals(2, rcc1.capacity); // internal state + TestCase.assertEquals(2, rcc1.capacity); // internal state - rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again + rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again TestCase.assertEquals(1, rcc1.size()); - TestCase.assertEquals(1, rcc1.capacity); // internal state + TestCase.assertEquals(1, rcc1.capacity); // internal state TestCase.assertSame(ccData[2], rcc1.get(0)); // WritableChunks are inherently resettable @@ -351,14 +350,14 @@ public void resettableChunkChunk() { rwcc.resetFromArray(wccData, 0, wccData.length); TestCase.assertSame(wccData[0], rwcc.get(0)); - rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self + rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self TestCase.assertSame(wccData[1], rwcc.get(0)); TestCase.assertEquals(2, rwcc.size()); - TestCase.assertEquals(2, rwcc.capacity); // internal state + TestCase.assertEquals(2, rwcc.capacity); // internal state - rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again + rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again TestCase.assertEquals(1, rwcc.size()); - TestCase.assertEquals(1, rwcc.capacity); // internal state + TestCase.assertEquals(1, rwcc.capacity); // internal state TestCase.assertSame(wccData[2], rwcc.get(0)); } @@ -370,27 +369,33 @@ public void chunkWrapBounds() { expectException(IllegalArgumentException.class, () -> LongChunk.chunkWrap(data0, 0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> LongChunk.chunkWrap(data0, data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> LongChunk.chunkWrap(data0, data0.length, 1)); - LongChunk.chunkWrap(data0, data0.length, 0); // Should succeed + LongChunk.chunkWrap(data0, data0.length, 0); // Should succeed expectException(IllegalArgumentException.class, () -> WritableLongChunk.writableChunkWrap(data0, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableLongChunk.writableChunkWrap(data0, 0, data0.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableLongChunk.writableChunkWrap(data0, data0.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableLongChunk.writableChunkWrap(data0, data0.length, 1)); - WritableLongChunk.chunkWrap(data0, data0.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableLongChunk.writableChunkWrap(data0, 0, data0.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableLongChunk.writableChunkWrap(data0, data0.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableLongChunk.writableChunkWrap(data0, data0.length, 1)); + WritableLongChunk.chunkWrap(data0, data0.length, 0); // Should succeed final LongChunk[] ccData = new LongChunk[4]; expectException(IllegalArgumentException.class, () -> LongChunkChunk.chunkWrap(ccData, -1, 2)); expectException(IllegalArgumentException.class, () -> LongChunkChunk.chunkWrap(ccData, 0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> LongChunkChunk.chunkWrap(ccData, ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> LongChunkChunk.chunkWrap(ccData, ccData.length, 1)); - LongChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed + LongChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed final WritableLongChunk[] wccData = new WritableLongChunk[4]; expectException(IllegalArgumentException.class, () -> WritableLongChunkChunk.writableChunkWrap(wccData, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableLongChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableLongChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableLongChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); - WritableLongChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableLongChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableLongChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableLongChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); + WritableLongChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed } @Test @@ -402,14 +407,14 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> c0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length, 1)); - c0.slice(data0.length, 0); // Should succeed + c0.slice(data0.length, 0); // Should succeed final WritableLongChunk wc0 = WritableLongChunk.writableChunkWrap(data0); expectException(IllegalArgumentException.class, () -> wc0.slice(-1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length, 1)); - wc0.slice(data0.length, 0); // Should succeed + wc0.slice(data0.length, 0); // Should succeed final LongChunk[] ccData = new LongChunk[4]; final LongChunkChunk cc0 = LongChunkChunk.chunkWrap(ccData); @@ -417,7 +422,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed final WritableLongChunk[] wccData = new WritableLongChunk[4]; final WritableLongChunkChunk wcc0 = WritableLongChunkChunk.writableChunkWrap(wccData); @@ -425,7 +430,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed } @Test @@ -443,16 +448,16 @@ public void copyFromChunk() { // This is the test we are trying to do (imagine a-z and A-Z being variables holding random values) // destChunk is at offset 9, length 10 // srcChunk is at offset 2 length 5 - // destData: abcdefghijklmnopqrstuvwxyz - // destChunk: ^^^^^^^^^^ + // destData: abcdefghijklmnopqrstuvwxyz + // destChunk: ^^^^^^^^^^ - // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ - // srcChunk: ^^^^^^ + // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ + // srcChunk: ^^^^^^ // Copy 3 elements from srcChunk offset 1 to destChunk offset 3 // // That would be....DEFG goes on top of mnop, so - // destData: abcdefghijklDEFGqrstuvwxyz + // destData: abcdefghijklDEFGqrstuvwxyz final Random rng = new Random(124374349); final long[] destData = ReplicatorHelpers.randomLongs(rng, 26); @@ -469,10 +474,12 @@ public void copyFromChunk() { final int srcCopyOffset = 3; final int copyLength = 4; - final WritableLongChunk destChunk = WritableLongChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); + final WritableLongChunk destChunk = + WritableLongChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); final LongChunk srcChunk = LongChunk.chunkWrap(srcData, srcChunkOffset, srcChunkCapacity); destChunk.copyFromChunk(srcChunk, srcCopyOffset, destCopyOffset, copyLength); - System.arraycopy(srcData,srcChunkOffset + srcCopyOffset, manualData,destChunkOffset + destCopyOffset, copyLength); + System.arraycopy(srcData, srcChunkOffset + srcCopyOffset, manualData, destChunkOffset + destCopyOffset, + copyLength); final LongChunk manualChunk = LongChunk.chunkWrap(manualData, destChunkOffset, destChunkCapacity); final boolean same = LongChunkEquals.equalReduce(destChunk, manualChunk); TestCase.assertTrue("Chunks are not the same", same); @@ -495,7 +502,7 @@ public void testChunkChunk() { // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked LongChunk[] chunks = new LongChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = LongChunk.chunkWrap(data[ii], ii, SIZE - ii); @@ -521,13 +528,13 @@ public void testWritableChunkChunk() { final long value1 = valueData[1]; final int SIZE = 100; - final int CHOFF = 10; // chunk offset + final int CHOFF = 10; // chunk offset long[][] data = new long[SIZE][SIZE]; // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked WritableLongChunk[] chunks = new WritableLongChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = WritableLongChunk.writableChunkWrap(data[ii], ii, SIZE - ii); @@ -568,7 +575,8 @@ public void testWritableChunkChunk() { // replace a chunk somewhere in the middle final int MIDCHOFF = 12; long[] replacementData = new long[SIZE]; - WritableLongChunk replacementChunk = WritableLongChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); + WritableLongChunk replacementChunk = + WritableLongChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); cc.setWritableChunk(3, replacementChunk); // set the array, check that the values appear in the chunk, using both the 1D and 2D APIs @@ -629,7 +637,8 @@ public void testArray() { } // endregion testArray - private static void verifyChunkEqualsArray(LongChunk chunk, long[] data, int offset, int size) { + private static void verifyChunkEqualsArray(LongChunk chunk, long[] data, int offset, + int size) { for (int ii = 0; ii < size; ++ii) { TestCase.assertEquals(String.format("At rowSet %d", ii), data[ii + offset], chunk.get(ii)); } diff --git a/engine/chunk/src/test/java/io/deephaven/chunk/TestObjectChunk.java b/engine/chunk/src/test/java/io/deephaven/chunk/TestObjectChunk.java index 10ac37d2a26..d7555ef5546 100644 --- a/engine/chunk/src/test/java/io/deephaven/chunk/TestObjectChunk.java +++ b/engine/chunk/src/test/java/io/deephaven/chunk/TestObjectChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharChunk and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.util.hashing.ObjectChunkEquals; @@ -92,7 +91,7 @@ public void dynamicEntryPoints() { final ChunkType ct = ChunkType.Object; // array - Object[] ca = (Object[])ct.makeArray(12); + Object[] ca = (Object[]) ct.makeArray(12); Chunk[] cca = ct.makeChunkArray(12); Chunk c; @@ -174,8 +173,8 @@ public void emptyChunk() { TestCase.assertEquals(0, c.size()); TestCase.assertEquals(0, cc.size()); - TestCase.assertEquals(0, c.capacity); // internal state - TestCase.assertEquals(0, cc.capacity); // internal state + TestCase.assertEquals(0, c.capacity); // internal state + TestCase.assertEquals(0, cc.capacity); // internal state } @Test @@ -186,12 +185,12 @@ public void chunkWrap() { final ObjectChunk c0 = ObjectChunk.chunkWrap(data0); TestCase.assertEquals(data0.length, c0.size()); - TestCase.assertEquals(data0.length, c0.capacity); // internal state + TestCase.assertEquals(data0.length, c0.capacity); // internal state verifyChunkEqualsArray(c0, data0, 0, data0.length); final ObjectChunk c0Slice = ObjectChunk.chunkWrap(data0, 6, 3); TestCase.assertEquals(3, c0Slice.size()); - TestCase.assertEquals(3, c0Slice.capacity); // internal state + TestCase.assertEquals(3, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 6, 3); final ObjectChunk c1 = ObjectChunk.chunkWrap(data1); @@ -199,14 +198,14 @@ public void chunkWrap() { final ObjectChunkChunk cc = ObjectChunkChunk.chunkWrap(ccData); TestCase.assertEquals(ccData.length, cc.size()); - TestCase.assertEquals(ccData.length, cc.capacity); // internal state + TestCase.assertEquals(ccData.length, cc.capacity); // internal state TestCase.assertSame(cc.get(0), c0); TestCase.assertSame(cc.get(1), c1); final ObjectChunkChunk ccSlice = ObjectChunkChunk.chunkWrap(ccData, 1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); @@ -221,12 +220,12 @@ public void slice() { final ObjectChunk c0 = ObjectChunk.chunkWrap(data0); final ObjectChunk c0Slice = c0.slice(5, 4); TestCase.assertEquals(4, c0Slice.size()); - TestCase.assertEquals(4, c0Slice.capacity); // internal state + TestCase.assertEquals(4, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 5, 4); final ObjectChunk c0SliceSlice = c0Slice.slice(2, 2); TestCase.assertEquals(2, c0SliceSlice.size()); - TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state + TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state verifyChunkEqualsArray(c0SliceSlice, data0, 7, 2); final ObjectChunk c1 = ObjectChunk.chunkWrap(data1); @@ -235,13 +234,13 @@ public void slice() { final ObjectChunkChunk ccSlice = cc.slice(1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); final ObjectChunkChunk ccSliceSlice = ccSlice.slice(1, 1); TestCase.assertEquals(1, ccSliceSlice.size()); - TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state + TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state TestCase.assertSame(ccSliceSlice.get(0), c0); } @@ -296,11 +295,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rc1.get(0)); TestCase.assertEquals(2, rc1.size()); - TestCase.assertEquals(2, rc1.capacity); // internal state + TestCase.assertEquals(2, rc1.capacity); // internal state - rc1.resetFromChunk(rc1, 1, 1); // Reset from itself + rc1.resetFromChunk(rc1, 1, 1); // Reset from itself TestCase.assertEquals(1, rc1.size()); - TestCase.assertEquals(1, rc1.capacity); // internal state + TestCase.assertEquals(1, rc1.capacity); // internal state TestCase.assertEquals(data0[4], rc1.get(0)); // WritableChunks are inherently resettable @@ -313,11 +312,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rwc1.get(0)); TestCase.assertEquals(2, rwc1.size()); - TestCase.assertEquals(2, rwc1.capacity); // internal state + TestCase.assertEquals(2, rwc1.capacity); // internal state - rwc1.resetFromChunk(wc0, 1, 1); // Reset from self + rwc1.resetFromChunk(wc0, 1, 1); // Reset from self TestCase.assertEquals(1, rwc1.size()); - TestCase.assertEquals(1, rwc1.capacity); // internal state + TestCase.assertEquals(1, rwc1.capacity); // internal state TestCase.assertEquals(data0[1], rwc1.get(0)); } @@ -333,14 +332,14 @@ public void resettableChunkChunk() { rcc1.resetFromArray(ccData, 0, ccData.length); TestCase.assertSame(ccData[0], rcc1.get(0)); - rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self + rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self TestCase.assertSame(ccData[1], rcc1.get(0)); TestCase.assertEquals(2, rcc1.size()); - TestCase.assertEquals(2, rcc1.capacity); // internal state + TestCase.assertEquals(2, rcc1.capacity); // internal state - rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again + rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again TestCase.assertEquals(1, rcc1.size()); - TestCase.assertEquals(1, rcc1.capacity); // internal state + TestCase.assertEquals(1, rcc1.capacity); // internal state TestCase.assertSame(ccData[2], rcc1.get(0)); // WritableChunks are inherently resettable @@ -351,14 +350,14 @@ public void resettableChunkChunk() { rwcc.resetFromArray(wccData, 0, wccData.length); TestCase.assertSame(wccData[0], rwcc.get(0)); - rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self + rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self TestCase.assertSame(wccData[1], rwcc.get(0)); TestCase.assertEquals(2, rwcc.size()); - TestCase.assertEquals(2, rwcc.capacity); // internal state + TestCase.assertEquals(2, rwcc.capacity); // internal state - rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again + rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again TestCase.assertEquals(1, rwcc.size()); - TestCase.assertEquals(1, rwcc.capacity); // internal state + TestCase.assertEquals(1, rwcc.capacity); // internal state TestCase.assertSame(wccData[2], rwcc.get(0)); } @@ -370,27 +369,33 @@ public void chunkWrapBounds() { expectException(IllegalArgumentException.class, () -> ObjectChunk.chunkWrap(data0, 0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> ObjectChunk.chunkWrap(data0, data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> ObjectChunk.chunkWrap(data0, data0.length, 1)); - ObjectChunk.chunkWrap(data0, data0.length, 0); // Should succeed + ObjectChunk.chunkWrap(data0, data0.length, 0); // Should succeed expectException(IllegalArgumentException.class, () -> WritableObjectChunk.writableChunkWrap(data0, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableObjectChunk.writableChunkWrap(data0, 0, data0.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableObjectChunk.writableChunkWrap(data0, data0.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableObjectChunk.writableChunkWrap(data0, data0.length, 1)); - WritableObjectChunk.chunkWrap(data0, data0.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableObjectChunk.writableChunkWrap(data0, 0, data0.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableObjectChunk.writableChunkWrap(data0, data0.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableObjectChunk.writableChunkWrap(data0, data0.length, 1)); + WritableObjectChunk.chunkWrap(data0, data0.length, 0); // Should succeed final ObjectChunk[] ccData = new ObjectChunk[4]; expectException(IllegalArgumentException.class, () -> ObjectChunkChunk.chunkWrap(ccData, -1, 2)); expectException(IllegalArgumentException.class, () -> ObjectChunkChunk.chunkWrap(ccData, 0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> ObjectChunkChunk.chunkWrap(ccData, ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> ObjectChunkChunk.chunkWrap(ccData, ccData.length, 1)); - ObjectChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed + ObjectChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed final WritableObjectChunk[] wccData = new WritableObjectChunk[4]; expectException(IllegalArgumentException.class, () -> WritableObjectChunkChunk.writableChunkWrap(wccData, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableObjectChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableObjectChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableObjectChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); - WritableObjectChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableObjectChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableObjectChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableObjectChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); + WritableObjectChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed } @Test @@ -402,14 +407,14 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> c0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length, 1)); - c0.slice(data0.length, 0); // Should succeed + c0.slice(data0.length, 0); // Should succeed final WritableObjectChunk wc0 = WritableObjectChunk.writableChunkWrap(data0); expectException(IllegalArgumentException.class, () -> wc0.slice(-1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length, 1)); - wc0.slice(data0.length, 0); // Should succeed + wc0.slice(data0.length, 0); // Should succeed final ObjectChunk[] ccData = new ObjectChunk[4]; final ObjectChunkChunk cc0 = ObjectChunkChunk.chunkWrap(ccData); @@ -417,7 +422,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed final WritableObjectChunk[] wccData = new WritableObjectChunk[4]; final WritableObjectChunkChunk wcc0 = WritableObjectChunkChunk.writableChunkWrap(wccData); @@ -425,7 +430,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed } @Test @@ -443,16 +448,16 @@ public void copyFromChunk() { // This is the test we are trying to do (imagine a-z and A-Z being variables holding random values) // destChunk is at offset 9, length 10 // srcChunk is at offset 2 length 5 - // destData: abcdefghijklmnopqrstuvwxyz - // destChunk: ^^^^^^^^^^ + // destData: abcdefghijklmnopqrstuvwxyz + // destChunk: ^^^^^^^^^^ - // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ - // srcChunk: ^^^^^^ + // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ + // srcChunk: ^^^^^^ // Copy 3 elements from srcChunk offset 1 to destChunk offset 3 // // That would be....DEFG goes on top of mnop, so - // destData: abcdefghijklDEFGqrstuvwxyz + // destData: abcdefghijklDEFGqrstuvwxyz final Random rng = new Random(124374349); final Object[] destData = ReplicatorHelpers.randomObjects(rng, 26); @@ -469,10 +474,12 @@ public void copyFromChunk() { final int srcCopyOffset = 3; final int copyLength = 4; - final WritableObjectChunk destChunk = WritableObjectChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); + final WritableObjectChunk destChunk = + WritableObjectChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); final ObjectChunk srcChunk = ObjectChunk.chunkWrap(srcData, srcChunkOffset, srcChunkCapacity); destChunk.copyFromChunk(srcChunk, srcCopyOffset, destCopyOffset, copyLength); - System.arraycopy(srcData,srcChunkOffset + srcCopyOffset, manualData,destChunkOffset + destCopyOffset, copyLength); + System.arraycopy(srcData, srcChunkOffset + srcCopyOffset, manualData, destChunkOffset + destCopyOffset, + copyLength); final ObjectChunk manualChunk = ObjectChunk.chunkWrap(manualData, destChunkOffset, destChunkCapacity); final boolean same = ObjectChunkEquals.equalReduce(destChunk, manualChunk); TestCase.assertTrue("Chunks are not the same", same); @@ -495,7 +502,7 @@ public void testChunkChunk() { // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked ObjectChunk[] chunks = new ObjectChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = ObjectChunk.chunkWrap(data[ii], ii, SIZE - ii); @@ -521,13 +528,13 @@ public void testWritableChunkChunk() { final Object value1 = valueData[1]; final int SIZE = 100; - final int CHOFF = 10; // chunk offset + final int CHOFF = 10; // chunk offset Object[][] data = new Object[SIZE][SIZE]; // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked WritableObjectChunk[] chunks = new WritableObjectChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = WritableObjectChunk.writableChunkWrap(data[ii], ii, SIZE - ii); @@ -568,7 +575,8 @@ public void testWritableChunkChunk() { // replace a chunk somewhere in the middle final int MIDCHOFF = 12; Object[] replacementData = new Object[SIZE]; - WritableObjectChunk replacementChunk = WritableObjectChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); + WritableObjectChunk replacementChunk = + WritableObjectChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); cc.setWritableChunk(3, replacementChunk); // set the array, check that the values appear in the chunk, using both the 1D and 2D APIs @@ -629,7 +637,8 @@ public void testArray() { } // endregion testArray - private static void verifyChunkEqualsArray(ObjectChunk chunk, Object[] data, int offset, int size) { + private static void verifyChunkEqualsArray(ObjectChunk chunk, Object[] data, int offset, + int size) { for (int ii = 0; ii < size; ++ii) { TestCase.assertEquals(String.format("At rowSet %d", ii), data[ii + offset], chunk.get(ii)); } diff --git a/engine/chunk/src/test/java/io/deephaven/chunk/TestShortChunk.java b/engine/chunk/src/test/java/io/deephaven/chunk/TestShortChunk.java index 7e7dd8d5d59..38a59ca2aed 100644 --- a/engine/chunk/src/test/java/io/deephaven/chunk/TestShortChunk.java +++ b/engine/chunk/src/test/java/io/deephaven/chunk/TestShortChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharChunk and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.chunk; import io.deephaven.chunk.util.hashing.ShortChunkEquals; @@ -92,7 +91,7 @@ public void dynamicEntryPoints() { final ChunkType ct = ChunkType.Short; // array - short[] ca = (short[])ct.makeArray(12); + short[] ca = (short[]) ct.makeArray(12); Chunk[] cca = ct.makeChunkArray(12); Chunk c; @@ -174,8 +173,8 @@ public void emptyChunk() { TestCase.assertEquals(0, c.size()); TestCase.assertEquals(0, cc.size()); - TestCase.assertEquals(0, c.capacity); // internal state - TestCase.assertEquals(0, cc.capacity); // internal state + TestCase.assertEquals(0, c.capacity); // internal state + TestCase.assertEquals(0, cc.capacity); // internal state } @Test @@ -186,12 +185,12 @@ public void chunkWrap() { final ShortChunk c0 = ShortChunk.chunkWrap(data0); TestCase.assertEquals(data0.length, c0.size()); - TestCase.assertEquals(data0.length, c0.capacity); // internal state + TestCase.assertEquals(data0.length, c0.capacity); // internal state verifyChunkEqualsArray(c0, data0, 0, data0.length); final ShortChunk c0Slice = ShortChunk.chunkWrap(data0, 6, 3); TestCase.assertEquals(3, c0Slice.size()); - TestCase.assertEquals(3, c0Slice.capacity); // internal state + TestCase.assertEquals(3, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 6, 3); final ShortChunk c1 = ShortChunk.chunkWrap(data1); @@ -199,14 +198,14 @@ public void chunkWrap() { final ShortChunkChunk cc = ShortChunkChunk.chunkWrap(ccData); TestCase.assertEquals(ccData.length, cc.size()); - TestCase.assertEquals(ccData.length, cc.capacity); // internal state + TestCase.assertEquals(ccData.length, cc.capacity); // internal state TestCase.assertSame(cc.get(0), c0); TestCase.assertSame(cc.get(1), c1); final ShortChunkChunk ccSlice = ShortChunkChunk.chunkWrap(ccData, 1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); @@ -221,12 +220,12 @@ public void slice() { final ShortChunk c0 = ShortChunk.chunkWrap(data0); final ShortChunk c0Slice = c0.slice(5, 4); TestCase.assertEquals(4, c0Slice.size()); - TestCase.assertEquals(4, c0Slice.capacity); // internal state + TestCase.assertEquals(4, c0Slice.capacity); // internal state verifyChunkEqualsArray(c0Slice, data0, 5, 4); final ShortChunk c0SliceSlice = c0Slice.slice(2, 2); TestCase.assertEquals(2, c0SliceSlice.size()); - TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state + TestCase.assertEquals(2, c0SliceSlice.capacity); // internal state verifyChunkEqualsArray(c0SliceSlice, data0, 7, 2); final ShortChunk c1 = ShortChunk.chunkWrap(data1); @@ -235,13 +234,13 @@ public void slice() { final ShortChunkChunk ccSlice = cc.slice(1, 2); TestCase.assertEquals(2, ccSlice.size()); - TestCase.assertEquals(2, ccSlice.capacity); // internal state + TestCase.assertEquals(2, ccSlice.capacity); // internal state TestCase.assertSame(ccSlice.get(0), c1); TestCase.assertSame(ccSlice.get(1), c0); final ShortChunkChunk ccSliceSlice = ccSlice.slice(1, 1); TestCase.assertEquals(1, ccSliceSlice.size()); - TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state + TestCase.assertEquals(1, ccSliceSlice.capacity); // internal state TestCase.assertSame(ccSliceSlice.get(0), c0); } @@ -296,11 +295,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rc1.get(0)); TestCase.assertEquals(2, rc1.size()); - TestCase.assertEquals(2, rc1.capacity); // internal state + TestCase.assertEquals(2, rc1.capacity); // internal state - rc1.resetFromChunk(rc1, 1, 1); // Reset from itself + rc1.resetFromChunk(rc1, 1, 1); // Reset from itself TestCase.assertEquals(1, rc1.size()); - TestCase.assertEquals(1, rc1.capacity); // internal state + TestCase.assertEquals(1, rc1.capacity); // internal state TestCase.assertEquals(data0[4], rc1.get(0)); // WritableChunks are inherently resettable @@ -313,11 +312,11 @@ public void resettableChunk() { TestCase.assertEquals(data0[3], rwc1.get(0)); TestCase.assertEquals(2, rwc1.size()); - TestCase.assertEquals(2, rwc1.capacity); // internal state + TestCase.assertEquals(2, rwc1.capacity); // internal state - rwc1.resetFromChunk(wc0, 1, 1); // Reset from self + rwc1.resetFromChunk(wc0, 1, 1); // Reset from self TestCase.assertEquals(1, rwc1.size()); - TestCase.assertEquals(1, rwc1.capacity); // internal state + TestCase.assertEquals(1, rwc1.capacity); // internal state TestCase.assertEquals(data0[1], rwc1.get(0)); } @@ -333,14 +332,14 @@ public void resettableChunkChunk() { rcc1.resetFromArray(ccData, 0, ccData.length); TestCase.assertSame(ccData[0], rcc1.get(0)); - rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self + rcc1.resetFromChunk(rcc1, 1, 2); // Reset from self TestCase.assertSame(ccData[1], rcc1.get(0)); TestCase.assertEquals(2, rcc1.size()); - TestCase.assertEquals(2, rcc1.capacity); // internal state + TestCase.assertEquals(2, rcc1.capacity); // internal state - rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again + rcc1.resetFromChunk(rcc1, 1, 1); // Reset from self again TestCase.assertEquals(1, rcc1.size()); - TestCase.assertEquals(1, rcc1.capacity); // internal state + TestCase.assertEquals(1, rcc1.capacity); // internal state TestCase.assertSame(ccData[2], rcc1.get(0)); // WritableChunks are inherently resettable @@ -351,14 +350,14 @@ public void resettableChunkChunk() { rwcc.resetFromArray(wccData, 0, wccData.length); TestCase.assertSame(wccData[0], rwcc.get(0)); - rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self + rwcc.resetFromChunk(rwcc, 1, 2); // Reset from self TestCase.assertSame(wccData[1], rwcc.get(0)); TestCase.assertEquals(2, rwcc.size()); - TestCase.assertEquals(2, rwcc.capacity); // internal state + TestCase.assertEquals(2, rwcc.capacity); // internal state - rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again + rwcc.resetFromChunk(rwcc, 1, 1); // Reset from self again TestCase.assertEquals(1, rwcc.size()); - TestCase.assertEquals(1, rwcc.capacity); // internal state + TestCase.assertEquals(1, rwcc.capacity); // internal state TestCase.assertSame(wccData[2], rwcc.get(0)); } @@ -370,27 +369,33 @@ public void chunkWrapBounds() { expectException(IllegalArgumentException.class, () -> ShortChunk.chunkWrap(data0, 0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> ShortChunk.chunkWrap(data0, data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> ShortChunk.chunkWrap(data0, data0.length, 1)); - ShortChunk.chunkWrap(data0, data0.length, 0); // Should succeed + ShortChunk.chunkWrap(data0, data0.length, 0); // Should succeed expectException(IllegalArgumentException.class, () -> WritableShortChunk.writableChunkWrap(data0, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableShortChunk.writableChunkWrap(data0, 0, data0.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableShortChunk.writableChunkWrap(data0, data0.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableShortChunk.writableChunkWrap(data0, data0.length, 1)); - WritableShortChunk.chunkWrap(data0, data0.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableShortChunk.writableChunkWrap(data0, 0, data0.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableShortChunk.writableChunkWrap(data0, data0.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableShortChunk.writableChunkWrap(data0, data0.length, 1)); + WritableShortChunk.chunkWrap(data0, data0.length, 0); // Should succeed final ShortChunk[] ccData = new ShortChunk[4]; expectException(IllegalArgumentException.class, () -> ShortChunkChunk.chunkWrap(ccData, -1, 2)); expectException(IllegalArgumentException.class, () -> ShortChunkChunk.chunkWrap(ccData, 0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> ShortChunkChunk.chunkWrap(ccData, ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> ShortChunkChunk.chunkWrap(ccData, ccData.length, 1)); - ShortChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed + ShortChunkChunk.chunkWrap(ccData, ccData.length, 0); // Should succeed final WritableShortChunk[] wccData = new WritableShortChunk[4]; expectException(IllegalArgumentException.class, () -> WritableShortChunkChunk.writableChunkWrap(wccData, -1, 2)); - expectException(IllegalArgumentException.class, () -> WritableShortChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); - expectException(IllegalArgumentException.class, () -> WritableShortChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); - expectException(IllegalArgumentException.class, () -> WritableShortChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); - WritableShortChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed + expectException(IllegalArgumentException.class, + () -> WritableShortChunkChunk.writableChunkWrap(wccData, 0, ccData.length + 1)); + expectException(IllegalArgumentException.class, + () -> WritableShortChunkChunk.writableChunkWrap(wccData, ccData.length - 1, 2)); + expectException(IllegalArgumentException.class, + () -> WritableShortChunkChunk.writableChunkWrap(wccData, ccData.length, 1)); + WritableShortChunkChunk.writableChunkWrap(wccData, ccData.length, 0); // Should succeed } @Test @@ -402,14 +407,14 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> c0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> c0.slice(data0.length, 1)); - c0.slice(data0.length, 0); // Should succeed + c0.slice(data0.length, 0); // Should succeed final WritableShortChunk wc0 = WritableShortChunk.writableChunkWrap(data0); expectException(IllegalArgumentException.class, () -> wc0.slice(-1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(0, data0.length + 1)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length - 1, 2)); expectException(IllegalArgumentException.class, () -> wc0.slice(data0.length, 1)); - wc0.slice(data0.length, 0); // Should succeed + wc0.slice(data0.length, 0); // Should succeed final ShortChunk[] ccData = new ShortChunk[4]; final ShortChunkChunk cc0 = ShortChunkChunk.chunkWrap(ccData); @@ -417,7 +422,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed final WritableShortChunk[] wccData = new WritableShortChunk[4]; final WritableShortChunkChunk wcc0 = WritableShortChunkChunk.writableChunkWrap(wccData); @@ -425,7 +430,7 @@ public void sliceBounds() { expectException(IllegalArgumentException.class, () -> cc0.slice(0, ccData.length + 1)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length - 1, 2)); expectException(IllegalArgumentException.class, () -> cc0.slice(ccData.length, 1)); - cc0.slice(ccData.length, 0); // Should succeed + cc0.slice(ccData.length, 0); // Should succeed } @Test @@ -443,16 +448,16 @@ public void copyFromChunk() { // This is the test we are trying to do (imagine a-z and A-Z being variables holding random values) // destChunk is at offset 9, length 10 // srcChunk is at offset 2 length 5 - // destData: abcdefghijklmnopqrstuvwxyz - // destChunk: ^^^^^^^^^^ + // destData: abcdefghijklmnopqrstuvwxyz + // destChunk: ^^^^^^^^^^ - // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ - // srcChunk: ^^^^^^ + // srcData: ABCDEFGHIJKLMNOPQRSTUVWXYZ + // srcChunk: ^^^^^^ // Copy 3 elements from srcChunk offset 1 to destChunk offset 3 // // That would be....DEFG goes on top of mnop, so - // destData: abcdefghijklDEFGqrstuvwxyz + // destData: abcdefghijklDEFGqrstuvwxyz final Random rng = new Random(124374349); final short[] destData = ReplicatorHelpers.randomShorts(rng, 26); @@ -469,10 +474,12 @@ public void copyFromChunk() { final int srcCopyOffset = 3; final int copyLength = 4; - final WritableShortChunk destChunk = WritableShortChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); + final WritableShortChunk destChunk = + WritableShortChunk.writableChunkWrap(destData, destChunkOffset, destChunkCapacity); final ShortChunk srcChunk = ShortChunk.chunkWrap(srcData, srcChunkOffset, srcChunkCapacity); destChunk.copyFromChunk(srcChunk, srcCopyOffset, destCopyOffset, copyLength); - System.arraycopy(srcData,srcChunkOffset + srcCopyOffset, manualData,destChunkOffset + destCopyOffset, copyLength); + System.arraycopy(srcData, srcChunkOffset + srcCopyOffset, manualData, destChunkOffset + destCopyOffset, + copyLength); final ShortChunk manualChunk = ShortChunk.chunkWrap(manualData, destChunkOffset, destChunkCapacity); final boolean same = ShortChunkEquals.equalReduce(destChunk, manualChunk); TestCase.assertTrue("Chunks are not the same", same); @@ -495,7 +502,7 @@ public void testChunkChunk() { // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked ShortChunk[] chunks = new ShortChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = ShortChunk.chunkWrap(data[ii], ii, SIZE - ii); @@ -521,13 +528,13 @@ public void testWritableChunkChunk() { final short value1 = valueData[1]; final int SIZE = 100; - final int CHOFF = 10; // chunk offset + final int CHOFF = 10; // chunk offset short[][] data = new short[SIZE][SIZE]; // Visually, "data' is a square matrix. // Make a bunch of chunks that are the upper diagonal half of that matrix. - //noinspection unchecked + // noinspection unchecked WritableShortChunk[] chunks = new WritableShortChunk[SIZE]; for (int ii = 0; ii < SIZE; ++ii) { chunks[ii] = WritableShortChunk.writableChunkWrap(data[ii], ii, SIZE - ii); @@ -568,7 +575,8 @@ public void testWritableChunkChunk() { // replace a chunk somewhere in the middle final int MIDCHOFF = 12; short[] replacementData = new short[SIZE]; - WritableShortChunk replacementChunk = WritableShortChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); + WritableShortChunk replacementChunk = + WritableShortChunk.writableChunkWrap(replacementData, MIDCHOFF, MIDCHOFF); cc.setWritableChunk(3, replacementChunk); // set the array, check that the values appear in the chunk, using both the 1D and 2D APIs @@ -629,7 +637,8 @@ public void testArray() { } // endregion testArray - private static void verifyChunkEqualsArray(ShortChunk chunk, short[] data, int offset, int size) { + private static void verifyChunkEqualsArray(ShortChunk chunk, short[] data, int offset, + int size) { for (int ii = 0; ii < size; ++ii) { TestCase.assertEquals(String.format("At rowSet %d", ii), data[ii + offset], chunk.get(ii)); } diff --git a/engine/chunk/src/test/java/io/deephaven/chunk/util/pools/TestChunkPooling.java b/engine/chunk/src/test/java/io/deephaven/chunk/util/pools/TestChunkPooling.java index f463d8e9665..21775e4339e 100644 --- a/engine/chunk/src/test/java/io/deephaven/chunk/util/pools/TestChunkPooling.java +++ b/engine/chunk/src/test/java/io/deephaven/chunk/util/pools/TestChunkPooling.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.chunk.util.pools; import io.deephaven.chunk.ChunkType; diff --git a/engine/context/src/main/java/io/deephaven/engine/context/EmptyQueryScope.java b/engine/context/src/main/java/io/deephaven/engine/context/EmptyQueryScope.java index 9b0a060f736..f1be9eaeb47 100644 --- a/engine/context/src/main/java/io/deephaven/engine/context/EmptyQueryScope.java +++ b/engine/context/src/main/java/io/deephaven/engine/context/EmptyQueryScope.java @@ -1,6 +1,6 @@ -/* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import io.deephaven.engine.liveness.LivenessReferent; diff --git a/engine/context/src/main/java/io/deephaven/engine/context/ExecutionContext.java b/engine/context/src/main/java/io/deephaven/engine/context/ExecutionContext.java index 673ae1ff745..155f578ac2a 100644 --- a/engine/context/src/main/java/io/deephaven/engine/context/ExecutionContext.java +++ b/engine/context/src/main/java/io/deephaven/engine/context/ExecutionContext.java @@ -1,6 +1,6 @@ -/* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import io.deephaven.auth.AuthContext; diff --git a/engine/context/src/main/java/io/deephaven/engine/context/PoisonedOperationInitializer.java b/engine/context/src/main/java/io/deephaven/engine/context/PoisonedOperationInitializer.java index 49474844755..5a4d424ecb4 100644 --- a/engine/context/src/main/java/io/deephaven/engine/context/PoisonedOperationInitializer.java +++ b/engine/context/src/main/java/io/deephaven/engine/context/PoisonedOperationInitializer.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import io.deephaven.engine.updategraph.OperationInitializer; diff --git a/engine/context/src/main/java/io/deephaven/engine/context/PoisonedQueryCompiler.java b/engine/context/src/main/java/io/deephaven/engine/context/PoisonedQueryCompiler.java index 98cba3f36ee..d6909402ced 100644 --- a/engine/context/src/main/java/io/deephaven/engine/context/PoisonedQueryCompiler.java +++ b/engine/context/src/main/java/io/deephaven/engine/context/PoisonedQueryCompiler.java @@ -1,6 +1,6 @@ -/* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import io.deephaven.util.ExecutionContextRegistrationException; diff --git a/engine/context/src/main/java/io/deephaven/engine/context/PoisonedQueryLibrary.java b/engine/context/src/main/java/io/deephaven/engine/context/PoisonedQueryLibrary.java index 4d4361f2c6f..6fb3d4d11a6 100644 --- a/engine/context/src/main/java/io/deephaven/engine/context/PoisonedQueryLibrary.java +++ b/engine/context/src/main/java/io/deephaven/engine/context/PoisonedQueryLibrary.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import io.deephaven.util.ExecutionContextRegistrationException; diff --git a/engine/context/src/main/java/io/deephaven/engine/context/PoisonedQueryScope.java b/engine/context/src/main/java/io/deephaven/engine/context/PoisonedQueryScope.java index f4a2cec1804..27148ced405 100644 --- a/engine/context/src/main/java/io/deephaven/engine/context/PoisonedQueryScope.java +++ b/engine/context/src/main/java/io/deephaven/engine/context/PoisonedQueryScope.java @@ -1,6 +1,6 @@ -/* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import io.deephaven.engine.liveness.LivenessReferent; diff --git a/engine/context/src/main/java/io/deephaven/engine/context/PoisonedUpdateGraph.java b/engine/context/src/main/java/io/deephaven/engine/context/PoisonedUpdateGraph.java index 31dc734785b..ff44e84383a 100644 --- a/engine/context/src/main/java/io/deephaven/engine/context/PoisonedUpdateGraph.java +++ b/engine/context/src/main/java/io/deephaven/engine/context/PoisonedUpdateGraph.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import io.deephaven.base.log.LogOutput; diff --git a/engine/context/src/main/java/io/deephaven/engine/context/QueryCompiler.java b/engine/context/src/main/java/io/deephaven/engine/context/QueryCompiler.java index 6b54b9bb9fe..8f67f1ab2c2 100644 --- a/engine/context/src/main/java/io/deephaven/engine/context/QueryCompiler.java +++ b/engine/context/src/main/java/io/deephaven/engine/context/QueryCompiler.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/context/src/main/java/io/deephaven/engine/context/QueryLibrary.java b/engine/context/src/main/java/io/deephaven/engine/context/QueryLibrary.java index 3bb72dd7660..170ff71a96a 100644 --- a/engine/context/src/main/java/io/deephaven/engine/context/QueryLibrary.java +++ b/engine/context/src/main/java/io/deephaven/engine/context/QueryLibrary.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import com.github.f4b6a3.uuid.UuidCreator; diff --git a/engine/context/src/main/java/io/deephaven/engine/context/QueryLibraryImports.java b/engine/context/src/main/java/io/deephaven/engine/context/QueryLibraryImports.java index b78aa738e7f..5fd3af107ac 100644 --- a/engine/context/src/main/java/io/deephaven/engine/context/QueryLibraryImports.java +++ b/engine/context/src/main/java/io/deephaven/engine/context/QueryLibraryImports.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import java.util.Collections; diff --git a/engine/context/src/main/java/io/deephaven/engine/context/QueryLibraryImportsImpl.java b/engine/context/src/main/java/io/deephaven/engine/context/QueryLibraryImportsImpl.java index c7b6650abfe..b7c8ce02b1c 100644 --- a/engine/context/src/main/java/io/deephaven/engine/context/QueryLibraryImportsImpl.java +++ b/engine/context/src/main/java/io/deephaven/engine/context/QueryLibraryImportsImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import java.util.Objects; diff --git a/engine/context/src/main/java/io/deephaven/engine/context/QueryLibraryImportsServiceLoader.java b/engine/context/src/main/java/io/deephaven/engine/context/QueryLibraryImportsServiceLoader.java index 15f5e191be7..36a99b212e0 100644 --- a/engine/context/src/main/java/io/deephaven/engine/context/QueryLibraryImportsServiceLoader.java +++ b/engine/context/src/main/java/io/deephaven/engine/context/QueryLibraryImportsServiceLoader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import java.util.LinkedHashSet; diff --git a/engine/context/src/main/java/io/deephaven/engine/context/QueryScope.java b/engine/context/src/main/java/io/deephaven/engine/context/QueryScope.java index 36e68d66b20..62a2758438d 100644 --- a/engine/context/src/main/java/io/deephaven/engine/context/QueryScope.java +++ b/engine/context/src/main/java/io/deephaven/engine/context/QueryScope.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import io.deephaven.engine.liveness.LivenessNode; diff --git a/engine/context/src/main/java/io/deephaven/engine/context/QueryScopeParam.java b/engine/context/src/main/java/io/deephaven/engine/context/QueryScopeParam.java index 466fdcdcf49..72945be2172 100644 --- a/engine/context/src/main/java/io/deephaven/engine/context/QueryScopeParam.java +++ b/engine/context/src/main/java/io/deephaven/engine/context/QueryScopeParam.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; public class QueryScopeParam { diff --git a/engine/context/src/main/java/io/deephaven/engine/context/StandaloneQueryScope.java b/engine/context/src/main/java/io/deephaven/engine/context/StandaloneQueryScope.java index f000f598cf7..629de71a3ca 100644 --- a/engine/context/src/main/java/io/deephaven/engine/context/StandaloneQueryScope.java +++ b/engine/context/src/main/java/io/deephaven/engine/context/StandaloneQueryScope.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import io.deephaven.engine.liveness.LivenessArtifact; diff --git a/engine/context/src/test/java/io/deephaven/engine/context/QueryLibraryTest.java b/engine/context/src/test/java/io/deephaven/engine/context/QueryLibraryTest.java index 682daa5527d..3bbeede63a4 100644 --- a/engine/context/src/test/java/io/deephaven/engine/context/QueryLibraryTest.java +++ b/engine/context/src/test/java/io/deephaven/engine/context/QueryLibraryTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import io.deephaven.util.SafeCloseable; diff --git a/engine/context/src/test/java/io/deephaven/engine/context/TestQueryCompiler.java b/engine/context/src/test/java/io/deephaven/engine/context/TestQueryCompiler.java index 02374a67bf0..461e2ae232d 100644 --- a/engine/context/src/test/java/io/deephaven/engine/context/TestQueryCompiler.java +++ b/engine/context/src/test/java/io/deephaven/engine/context/TestQueryCompiler.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import io.deephaven.configuration.Configuration; diff --git a/engine/function/src/main/java/io/deephaven/function/BinSearchAlgo.java b/engine/function/src/main/java/io/deephaven/function/BinSearchAlgo.java index bc19ee50e88..016b2c2c03f 100644 --- a/engine/function/src/main/java/io/deephaven/function/BinSearchAlgo.java +++ b/engine/function/src/main/java/io/deephaven/function/BinSearchAlgo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.function; /** diff --git a/engine/function/src/main/java/io/deephaven/function/Logic.java b/engine/function/src/main/java/io/deephaven/function/Logic.java index 8a5246b4dc7..d396b51a5a6 100644 --- a/engine/function/src/main/java/io/deephaven/function/Logic.java +++ b/engine/function/src/main/java/io/deephaven/function/Logic.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.function; import io.deephaven.vector.ObjectVector; diff --git a/engine/function/src/main/java/io/deephaven/function/Parse.java b/engine/function/src/main/java/io/deephaven/function/Parse.java index 1679734fa32..a79eed201a8 100644 --- a/engine/function/src/main/java/io/deephaven/function/Parse.java +++ b/engine/function/src/main/java/io/deephaven/function/Parse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.function; import static io.deephaven.util.QueryConstants.*; diff --git a/engine/function/src/main/java/io/deephaven/function/Random.java b/engine/function/src/main/java/io/deephaven/function/Random.java index c2c6409755f..133374ef545 100644 --- a/engine/function/src/main/java/io/deephaven/function/Random.java +++ b/engine/function/src/main/java/io/deephaven/function/Random.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.function; import java.util.concurrent.ThreadLocalRandom; diff --git a/engine/function/src/main/java/io/deephaven/function/comparators/NullNaNAwareComparator.java b/engine/function/src/main/java/io/deephaven/function/comparators/NullNaNAwareComparator.java index b813eea9eba..0a5e8b2d9ff 100644 --- a/engine/function/src/main/java/io/deephaven/function/comparators/NullNaNAwareComparator.java +++ b/engine/function/src/main/java/io/deephaven/function/comparators/NullNaNAwareComparator.java @@ -1,7 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.function.comparators; import java.util.Comparator; diff --git a/engine/function/src/test/java/io/deephaven/function/ComparableExtended.java b/engine/function/src/test/java/io/deephaven/function/ComparableExtended.java index 57512d86a85..96cbef009df 100644 --- a/engine/function/src/test/java/io/deephaven/function/ComparableExtended.java +++ b/engine/function/src/test/java/io/deephaven/function/ComparableExtended.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.function; class ComparableExtended implements Comparable { diff --git a/engine/function/src/test/java/io/deephaven/function/TestLogic.java b/engine/function/src/test/java/io/deephaven/function/TestLogic.java index ef83d3ed692..071d260eb04 100644 --- a/engine/function/src/test/java/io/deephaven/function/TestLogic.java +++ b/engine/function/src/test/java/io/deephaven/function/TestLogic.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.function; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/engine/function/src/test/java/io/deephaven/function/TestParse.java b/engine/function/src/test/java/io/deephaven/function/TestParse.java index 84e4132ab54..88d590db144 100644 --- a/engine/function/src/test/java/io/deephaven/function/TestParse.java +++ b/engine/function/src/test/java/io/deephaven/function/TestParse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.function; import io.deephaven.base.verify.Require; diff --git a/engine/function/src/test/java/io/deephaven/function/TestRandom.java b/engine/function/src/test/java/io/deephaven/function/TestRandom.java index e3f537a1885..5ed24d03a7c 100644 --- a/engine/function/src/test/java/io/deephaven/function/TestRandom.java +++ b/engine/function/src/test/java/io/deephaven/function/TestRandom.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.function; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/engine/function/src/test/java/io/deephaven/function/comparators/TestNullNaNAwareComparator.java b/engine/function/src/test/java/io/deephaven/function/comparators/TestNullNaNAwareComparator.java index 875e9763bf8..21d93411a67 100644 --- a/engine/function/src/test/java/io/deephaven/function/comparators/TestNullNaNAwareComparator.java +++ b/engine/function/src/test/java/io/deephaven/function/comparators/TestNullNaNAwareComparator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.function.comparators; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/ByteConsumer.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/ByteConsumer.java index 9edfe12f452..d9cb0d7070f 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/ByteConsumer.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/ByteConsumer.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharConsumer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharConsumer and run "./gradlew replicatePrimitiveInterfaces" to regenerate +// +// @formatter:off package io.deephaven.engine.primitive.function; import org.jetbrains.annotations.NotNull; diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/ByteToIntFunction.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/ByteToIntFunction.java index 7317ec395fc..8b88f080ed3 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/ByteToIntFunction.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/ByteToIntFunction.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToIntFunction and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToIntFunction and run "./gradlew replicatePrimitiveInterfaces" to regenerate +// +// @formatter:off package io.deephaven.engine.primitive.function; /** diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/CharConsumer.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/CharConsumer.java index f98837f4275..ae08022a554 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/CharConsumer.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/CharConsumer.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.primitive.function; import org.jetbrains.annotations.NotNull; diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/CharToIntFunction.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/CharToIntFunction.java index fabbee5af04..41150adfa09 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/CharToIntFunction.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/CharToIntFunction.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.primitive.function; /** diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/FloatConsumer.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/FloatConsumer.java index 29059879b37..3de0c91a644 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/FloatConsumer.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/FloatConsumer.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharConsumer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharConsumer and run "./gradlew replicatePrimitiveInterfaces" to regenerate +// +// @formatter:off package io.deephaven.engine.primitive.function; import org.jetbrains.annotations.NotNull; diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/FloatToDoubleFunction.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/FloatToDoubleFunction.java index 7aa312c5a7c..d7c907f8a61 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/FloatToDoubleFunction.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/FloatToDoubleFunction.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToIntFunction and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatToIntFunction and run "./gradlew replicatePrimitiveInterfaces" to regenerate +// +// @formatter:off package io.deephaven.engine.primitive.function; /** diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/ShortConsumer.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/ShortConsumer.java index 531a9947388..4d0b1c3ce5e 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/ShortConsumer.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/ShortConsumer.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharConsumer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharConsumer and run "./gradlew replicatePrimitiveInterfaces" to regenerate +// +// @formatter:off package io.deephaven.engine.primitive.function; import org.jetbrains.annotations.NotNull; diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/ShortToIntFunction.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/ShortToIntFunction.java index 3afe2ec160a..79db731f039 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/ShortToIntFunction.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/function/ShortToIntFunction.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToIntFunction and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToIntFunction and run "./gradlew replicatePrimitiveInterfaces" to regenerate +// +// @formatter:off package io.deephaven.engine.primitive.function; /** diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseableIterator.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseableIterator.java index fe55b7e918f..8d4f0384afa 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseableIterator.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseableIterator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.primitive.iterator; import io.deephaven.util.SafeCloseable; diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIterator.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIterator.java index b6977844f9f..7f29483e1e8 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIterator.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIterator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.primitive.iterator; import io.deephaven.util.SafeCloseable; diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfByte.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfByte.java index 03c8c7ef577..f8add221516 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfByte.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfByte.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CloseablePrimitiveIteratorOfChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CloseablePrimitiveIteratorOfChar and run "./gradlew replicatePrimitiveInterfaces" to regenerate +// +// @formatter:off package io.deephaven.engine.primitive.iterator; import io.deephaven.engine.primitive.function.ByteConsumer; diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfChar.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfChar.java index 661cfb2acdc..00f613dfe29 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfChar.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfChar.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.primitive.iterator; import io.deephaven.engine.primitive.function.CharConsumer; diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfDouble.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfDouble.java index c8474c92d18..279fde361c9 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfDouble.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfDouble.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CloseablePrimitiveIteratorOfInt and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CloseablePrimitiveIteratorOfInt and run "./gradlew replicatePrimitiveInterfaces" to regenerate +// +// @formatter:off package io.deephaven.engine.primitive.iterator; import io.deephaven.util.SafeCloseableArray; diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfFloat.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfFloat.java index 6802af23769..bc7fe5bea82 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfFloat.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfFloat.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CloseablePrimitiveIteratorOfChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CloseablePrimitiveIteratorOfFloat and run "./gradlew replicatePrimitiveInterfaces" to regenerate +// +// @formatter:off package io.deephaven.engine.primitive.iterator; import io.deephaven.engine.primitive.function.FloatConsumer; diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfInt.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfInt.java index bf3835dc2eb..4ff7a054c92 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfInt.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfInt.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.primitive.iterator; import io.deephaven.util.SafeCloseableArray; diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfLong.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfLong.java index 2bc283a1b72..3fcd9a22665 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfLong.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfLong.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CloseablePrimitiveIteratorOfInt and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CloseablePrimitiveIteratorOfInt and run "./gradlew replicatePrimitiveInterfaces" to regenerate +// +// @formatter:off package io.deephaven.engine.primitive.iterator; import io.deephaven.util.SafeCloseableArray; diff --git a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfShort.java b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfShort.java index 5376aefa4ef..9b76d7c5128 100644 --- a/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfShort.java +++ b/engine/primitive/src/main/java/io/deephaven/engine/primitive/iterator/CloseablePrimitiveIteratorOfShort.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CloseablePrimitiveIteratorOfChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CloseablePrimitiveIteratorOfChar and run "./gradlew replicatePrimitiveInterfaces" to regenerate +// +// @formatter:off package io.deephaven.engine.primitive.iterator; import io.deephaven.engine.primitive.function.ShortConsumer; diff --git a/engine/processor-function/src/main/java/io/deephaven/processor/function/ChunkUtils.java b/engine/processor-function/src/main/java/io/deephaven/processor/function/ChunkUtils.java index ca3ecd3a8d4..10ece95c2e5 100644 --- a/engine/processor-function/src/main/java/io/deephaven/processor/function/ChunkUtils.java +++ b/engine/processor-function/src/main/java/io/deephaven/processor/function/ChunkUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.processor.function; import io.deephaven.chunk.ObjectChunk; diff --git a/engine/processor-function/src/main/java/io/deephaven/processor/function/ObjectProcessorFunctions.java b/engine/processor-function/src/main/java/io/deephaven/processor/function/ObjectProcessorFunctions.java index c7484441b37..4ff9ca5dcac 100644 --- a/engine/processor-function/src/main/java/io/deephaven/processor/function/ObjectProcessorFunctions.java +++ b/engine/processor-function/src/main/java/io/deephaven/processor/function/ObjectProcessorFunctions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.processor.function; import io.deephaven.chunk.ObjectChunk; diff --git a/engine/processor-function/src/main/java/io/deephaven/processor/function/ObjectProcessorFunctionsImpl.java b/engine/processor-function/src/main/java/io/deephaven/processor/function/ObjectProcessorFunctionsImpl.java index 5e4c043b7b3..4dc7794af19 100644 --- a/engine/processor-function/src/main/java/io/deephaven/processor/function/ObjectProcessorFunctionsImpl.java +++ b/engine/processor-function/src/main/java/io/deephaven/processor/function/ObjectProcessorFunctionsImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.processor.function; import io.deephaven.chunk.ObjectChunk; diff --git a/engine/processor-function/src/test/java/io/deephaven/processor/function/ObjectProcessorFunctionsTest.java b/engine/processor-function/src/test/java/io/deephaven/processor/function/ObjectProcessorFunctionsTest.java index 7758808dd51..1bd0ea7cdf9 100644 --- a/engine/processor-function/src/test/java/io/deephaven/processor/function/ObjectProcessorFunctionsTest.java +++ b/engine/processor-function/src/test/java/io/deephaven/processor/function/ObjectProcessorFunctionsTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.processor.function; import io.deephaven.chunk.WritableByteChunk; diff --git a/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessor.java b/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessor.java index 6128ec0536b..fcb166ec5f0 100644 --- a/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessor.java +++ b/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.processor; import io.deephaven.chunk.ChunkType; diff --git a/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessorNoop.java b/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessorNoop.java index 0bea17f1e9b..b183a18414d 100644 --- a/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessorNoop.java +++ b/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessorNoop.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.processor; import io.deephaven.chunk.ObjectChunk; diff --git a/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessorRowLimited.java b/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessorRowLimited.java index 007f018b6a6..7dfd03f1249 100644 --- a/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessorRowLimited.java +++ b/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessorRowLimited.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.processor; import io.deephaven.chunk.ObjectChunk; diff --git a/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessorStrict.java b/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessorStrict.java index b6432931338..fe1f69277f4 100644 --- a/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessorStrict.java +++ b/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessorStrict.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.processor; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessorTypes.java b/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessorTypes.java index 563914d0bc5..e38d2445087 100644 --- a/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessorTypes.java +++ b/engine/processor/src/main/java/io/deephaven/processor/ObjectProcessorTypes.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.processor; import io.deephaven.chunk.ChunkType; diff --git a/engine/processor/src/test/java/io/deephaven/processor/ObjectProcessorNoopTest.java b/engine/processor/src/test/java/io/deephaven/processor/ObjectProcessorNoopTest.java index 3c76aa2efa0..39f61efadea 100644 --- a/engine/processor/src/test/java/io/deephaven/processor/ObjectProcessorNoopTest.java +++ b/engine/processor/src/test/java/io/deephaven/processor/ObjectProcessorNoopTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.processor; import io.deephaven.chunk.WritableByteChunk; diff --git a/engine/processor/src/test/java/io/deephaven/processor/ObjectProcessorRowLimitedTest.java b/engine/processor/src/test/java/io/deephaven/processor/ObjectProcessorRowLimitedTest.java index 338a2052ec1..3a267deb0cd 100644 --- a/engine/processor/src/test/java/io/deephaven/processor/ObjectProcessorRowLimitedTest.java +++ b/engine/processor/src/test/java/io/deephaven/processor/ObjectProcessorRowLimitedTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.processor; import io.deephaven.chunk.ObjectChunk; diff --git a/engine/processor/src/test/java/io/deephaven/processor/ObjectProcessorStrictTest.java b/engine/processor/src/test/java/io/deephaven/processor/ObjectProcessorStrictTest.java index 5f8c0760a87..eb79ed25583 100644 --- a/engine/processor/src/test/java/io/deephaven/processor/ObjectProcessorStrictTest.java +++ b/engine/processor/src/test/java/io/deephaven/processor/ObjectProcessorStrictTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.processor; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/processor/src/test/java/io/deephaven/processor/ObjectProcessorTest.java b/engine/processor/src/test/java/io/deephaven/processor/ObjectProcessorTest.java index 4aebb796dd1..ab787cdf48a 100644 --- a/engine/processor/src/test/java/io/deephaven/processor/ObjectProcessorTest.java +++ b/engine/processor/src/test/java/io/deephaven/processor/ObjectProcessorTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.processor; import io.deephaven.chunk.ChunkType; diff --git a/engine/query-constants/src/main/java/io/deephaven/util/BooleanUtils.java b/engine/query-constants/src/main/java/io/deephaven/util/BooleanUtils.java index f03f11a1c20..e4ca483b7eb 100644 --- a/engine/query-constants/src/main/java/io/deephaven/util/BooleanUtils.java +++ b/engine/query-constants/src/main/java/io/deephaven/util/BooleanUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.util; /** diff --git a/engine/query-constants/src/main/java/io/deephaven/util/QueryConstants.java b/engine/query-constants/src/main/java/io/deephaven/util/QueryConstants.java index 39ae827c6d9..fc25c64d5c1 100644 --- a/engine/query-constants/src/main/java/io/deephaven/util/QueryConstants.java +++ b/engine/query-constants/src/main/java/io/deephaven/util/QueryConstants.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.util; import java.lang.Math; diff --git a/engine/rowset-test-utils/src/main/java/io/deephaven/engine/testutil/rowset/PerfStats.java b/engine/rowset-test-utils/src/main/java/io/deephaven/engine/testutil/rowset/PerfStats.java index eea72769a1e..ca41cb81132 100644 --- a/engine/rowset-test-utils/src/main/java/io/deephaven/engine/testutil/rowset/PerfStats.java +++ b/engine/rowset-test-utils/src/main/java/io/deephaven/engine/testutil/rowset/PerfStats.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.rowset; import gnu.trove.list.array.TLongArrayList; diff --git a/engine/rowset-test-utils/src/main/java/io/deephaven/engine/testutil/rowset/RowSetTstUtils.java b/engine/rowset-test-utils/src/main/java/io/deephaven/engine/testutil/rowset/RowSetTstUtils.java index e552ffd9fc0..1875b2f6c95 100644 --- a/engine/rowset-test-utils/src/main/java/io/deephaven/engine/testutil/rowset/RowSetTstUtils.java +++ b/engine/rowset-test-utils/src/main/java/io/deephaven/engine/testutil/rowset/RowSetTstUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.rowset; import io.deephaven.engine.rowset.*; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSequence.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSequence.java index a8d5e416e0e..97113ffcfc9 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSequence.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSequence.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset; import io.deephaven.util.datastructures.LongAbortableConsumer; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSequenceFactory.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSequenceFactory.java index dbb94a704f9..baa2ba35700 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSequenceFactory.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSequenceFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset; import io.deephaven.chunk.LongChunk; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSet.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSet.java index 277f4e90953..7236f613329 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSet.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset; import gnu.trove.list.array.TLongArrayList; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetBuilderRandom.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetBuilderRandom.java index 8179b1aee68..ef4fc1941a4 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetBuilderRandom.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetBuilderRandom.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset; import io.deephaven.engine.rowset.chunkattributes.OrderedRowKeys; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetBuilderSequential.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetBuilderSequential.java index c8d6cd7544c..e678a514e51 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetBuilderSequential.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetBuilderSequential.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset; import gnu.trove.procedure.TLongProcedure; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetFactory.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetFactory.java index 642d336af53..78c620c661b 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetFactory.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset; import gnu.trove.list.TLongList; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetShiftData.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetShiftData.java index b45361c82ea..9e1c20247b1 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetShiftData.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetShiftData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset; import gnu.trove.list.TIntList; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/TrackingRowSet.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/TrackingRowSet.java index 08bf4969501..0455cd97a62 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/TrackingRowSet.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/TrackingRowSet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset; import io.deephaven.engine.updategraph.LogicalClock; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/TrackingWritableRowSet.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/TrackingWritableRowSet.java index b62f62796e3..f79982d47dc 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/TrackingWritableRowSet.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/TrackingWritableRowSet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset; /** diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/WritableRowSet.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/WritableRowSet.java index 1cb0b913a1c..35d7b6722d9 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/WritableRowSet.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/WritableRowSet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset; import io.deephaven.engine.rowset.chunkattributes.OrderedRowKeys; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/chunkattributes/OrderedRowKeyRanges.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/chunkattributes/OrderedRowKeyRanges.java index 99900cbb338..0af603638ef 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/chunkattributes/OrderedRowKeyRanges.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/chunkattributes/OrderedRowKeyRanges.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.chunkattributes; import io.deephaven.chunk.Chunk; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/chunkattributes/OrderedRowKeys.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/chunkattributes/OrderedRowKeys.java index c166bbd26a2..b09afe42962 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/chunkattributes/OrderedRowKeys.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/chunkattributes/OrderedRowKeys.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.chunkattributes; import io.deephaven.chunk.Chunk; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/chunkattributes/RowKeys.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/chunkattributes/RowKeys.java index 3d1d75ad00f..cfd0904cb7e 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/chunkattributes/RowKeys.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/chunkattributes/RowKeys.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.chunkattributes; import io.deephaven.chunk.Chunk; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/chunkattributes/UnorderedRowKeys.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/chunkattributes/UnorderedRowKeys.java index 5f75132e34e..b7446b57bfe 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/chunkattributes/UnorderedRowKeys.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/chunkattributes/UnorderedRowKeys.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.chunkattributes; import io.deephaven.chunk.Chunk; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/AdaptiveOrderedLongSetBuilderRandom.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/AdaptiveOrderedLongSetBuilderRandom.java index a0d4a3b67e9..3cb3d696ade 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/AdaptiveOrderedLongSetBuilderRandom.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/AdaptiveOrderedLongSetBuilderRandom.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/AdaptiveRowSetBuilderRandom.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/AdaptiveRowSetBuilderRandom.java index 1c42e297b43..4478093da1a 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/AdaptiveRowSetBuilderRandom.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/AdaptiveRowSetBuilderRandom.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.WritableRowSet; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/BasicRowSetBuilderSequential.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/BasicRowSetBuilderSequential.java index a4e3393c800..f4b82d1752d 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/BasicRowSetBuilderSequential.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/BasicRowSetBuilderSequential.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.WritableRowSet; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/ComplementRangeIterator.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/ComplementRangeIterator.java index 2fbebcaf470..b428ae89754 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/ComplementRangeIterator.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/ComplementRangeIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/ExternalizableRowSetUtils.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/ExternalizableRowSetUtils.java index c2fed2877bc..242e94ed30e 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/ExternalizableRowSetUtils.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/ExternalizableRowSetUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import gnu.trove.list.array.TShortArrayList; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/MixedBuilderRandom.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/MixedBuilderRandom.java index 55e02927549..75808143d94 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/MixedBuilderRandom.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/MixedBuilderRandom.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.configuration.Configuration; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/OrderedLongSet.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/OrderedLongSet.java index 48d9d9ea24e..7edbab80d42 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/OrderedLongSet.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/OrderedLongSet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.chunk.util.LongChunkIterator; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/OrderedLongSetBuilderSequential.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/OrderedLongSetBuilderSequential.java index d7c9db247bd..cccf4677bc0 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/OrderedLongSetBuilderSequential.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/OrderedLongSetBuilderSequential.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.impl.rsp.RspBitmap; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RangePriorityQueueBuilder.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RangePriorityQueueBuilder.java index 32e9acc823b..b100ab9c27a 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RangePriorityQueueBuilder.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RangePriorityQueueBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.configuration.Configuration; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RefCountedCow.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RefCountedCow.java index 706d96f0031..e642c8f7101 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RefCountedCow.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RefCountedCow.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import java.util.concurrent.atomic.AtomicIntegerFieldUpdater; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowKeyChunkUtils.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowKeyChunkUtils.java index 54e3fd5e1a9..3504bf32243 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowKeyChunkUtils.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowKeyChunkUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.chunk.Chunk; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSequenceAsChunkImpl.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSequenceAsChunkImpl.java index cb25725123c..693911fd4b5 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSequenceAsChunkImpl.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSequenceAsChunkImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.RowSequence; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSequenceKeyRangesChunkImpl.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSequenceKeyRangesChunkImpl.java index 893065b2f23..3da135b6e60 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSequenceKeyRangesChunkImpl.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSequenceKeyRangesChunkImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.*; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSequenceRowKeysChunkImpl.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSequenceRowKeysChunkImpl.java index 5cf97d9a5bb..df94de8c96b 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSequenceRowKeysChunkImpl.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSequenceRowKeysChunkImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSetCounts.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSetCounts.java index 9861f4f01e0..e850dc12f33 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSetCounts.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSetCounts.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.util.metrics.IntCounterMetric; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSetUtils.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSetUtils.java index 3d6dd8f0cf9..4d4e60d7773 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSetUtils.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RowSetUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.base.log.LogOutput; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RspBitmapBuilderSequential.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RspBitmapBuilderSequential.java index f3bff5ab81e..d9a9fa6e5e3 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RspBitmapBuilderSequential.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/RspBitmapBuilderSequential.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.chunk.LongChunk; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/ShiftedRowSequence.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/ShiftedRowSequence.java index aa2267033e2..d889ac7df2c 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/ShiftedRowSequence.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/ShiftedRowSequence.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/TrackingWritableRowSetImpl.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/TrackingWritableRowSetImpl.java index 3a9ebba16a5..ce7ec8129c6 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/TrackingWritableRowSetImpl.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/TrackingWritableRowSetImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/WritableRowSetImpl.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/WritableRowSetImpl.java index a465a988552..e97b9112450 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/WritableRowSetImpl.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/WritableRowSetImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import gnu.trove.list.array.TLongArrayList; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/DisposableRspBitmap.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/DisposableRspBitmap.java index f6774dc529a..56cf2ae27d4 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/DisposableRspBitmap.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/DisposableRspBitmap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.rsp; /** diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/IndexRangeIteratorView.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/IndexRangeIteratorView.java index ad61009ed74..2fc1f8abee7 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/IndexRangeIteratorView.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/IndexRangeIteratorView.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.rsp; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspArray.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspArray.java index 2c9a105f0cc..e003a796a36 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspArray.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.rsp; import io.deephaven.base.verify.Assert; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspBitmap.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspBitmap.java index 6caf78df93d..a8224bb5d12 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspBitmap.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspBitmap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.rsp; import io.deephaven.engine.rowset.chunkattributes.OrderedRowKeys; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspIterator.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspIterator.java index 82f63820896..3f6cbdbea2a 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspIterator.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.rsp; import io.deephaven.engine.rowset.chunkattributes.OrderedRowKeys; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspRangeBatchIterator.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspRangeBatchIterator.java index 33ffbdae602..da486c86306 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspRangeBatchIterator.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspRangeBatchIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.rsp; import io.deephaven.configuration.Configuration; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspRangeIterator.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspRangeIterator.java index 74026a1e5c7..1085cbec6f7 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspRangeIterator.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspRangeIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.rsp; import io.deephaven.engine.rowset.impl.RowSetUtils; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspReverseIterator.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspReverseIterator.java index 6da34a448d3..bb53487b39b 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspReverseIterator.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspReverseIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.rsp; import io.deephaven.engine.rowset.impl.rsp.container.ShortAdvanceIterator; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspRowSequence.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspRowSequence.java index e19b57b8646..8292e9d10b1 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspRowSequence.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/rsp/RspRowSequence.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.rsp; import io.deephaven.engine.rowset.chunkattributes.OrderedRowKeyRanges; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/IntStartIntDeltaSingleRange.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/IntStartIntDeltaSingleRange.java index c34865ad508..e2eebce7575 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/IntStartIntDeltaSingleRange.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/IntStartIntDeltaSingleRange.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.singlerange; public final class IntStartIntDeltaSingleRange extends SingleRange { diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/IntStartLongDeltaSingleRange.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/IntStartLongDeltaSingleRange.java index b124609ef9e..ed9c476c65a 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/IntStartLongDeltaSingleRange.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/IntStartLongDeltaSingleRange.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.singlerange; // On 64 bit VMs object header overhead is 12 bytes, and objects sizes are rounded to 8 bytes. diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/LongStartIntDeltaSingleRange.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/LongStartIntDeltaSingleRange.java index 1a04c375ead..1717523113e 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/LongStartIntDeltaSingleRange.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/LongStartIntDeltaSingleRange.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.singlerange; // On 64 bit VMs object header overhead is 12 bytes, and objects sizes are rounded to 8 bytes. diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/LongStartLongEndSingleRange.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/LongStartLongEndSingleRange.java index 72450d7f6ca..a6749b6a18c 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/LongStartLongEndSingleRange.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/LongStartLongEndSingleRange.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.singlerange; public final class LongStartLongEndSingleRange extends SingleRange { diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/ShortStartShortDeltaSingleRange.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/ShortStartShortDeltaSingleRange.java index 40c2acefd72..e25e2ec164e 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/ShortStartShortDeltaSingleRange.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/ShortStartShortDeltaSingleRange.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.singlerange; // On 64 bit VMs object header overhead is 12 bytes, and objects sizes are rounded to 8 bytes. diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleIntSingleRange.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleIntSingleRange.java index b83956efdc1..19ed8d792ca 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleIntSingleRange.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleIntSingleRange.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.singlerange; public final class SingleIntSingleRange extends SingleRange { diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleLongSingleRange.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleLongSingleRange.java index bd662b14c53..931e105d381 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleLongSingleRange.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleLongSingleRange.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.singlerange; public final class SingleLongSingleRange extends SingleRange { diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleRange.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleRange.java index f12f4408656..280712fe4b0 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleRange.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleRange.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.singlerange; import io.deephaven.base.verify.Assert; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleRangeMixin.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleRangeMixin.java index 7e0d27dc4f9..55c7fdbcbeb 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleRangeMixin.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleRangeMixin.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.singlerange; import io.deephaven.engine.rowset.RowSequenceFactory; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleRangeRowSequence.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleRangeRowSequence.java index 2d777d10465..df5b538352e 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleRangeRowSequence.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/singlerange/SingleRangeRowSequence.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.singlerange; import io.deephaven.engine.rowset.chunkattributes.OrderedRowKeyRanges; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRanges.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRanges.java index 2cb0d878816..15032325078 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRanges.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRanges.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.sortedranges; import io.deephaven.base.verify.Assert; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesInt.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesInt.java index e5f40126a94..361e081f39f 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesInt.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesInt.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.sortedranges; import gnu.trove.map.hash.TIntObjectHashMap; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesLong.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesLong.java index 3a27bc6bb12..02990a956ce 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesLong.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesLong.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.sortedranges; import gnu.trove.map.hash.TIntObjectHashMap; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesPacked.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesPacked.java index 1fe27801716..d7bd9c5ecd1 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesPacked.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesPacked.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.sortedranges; public abstract class SortedRangesPacked extends SortedRangesTyped { diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesRowSequence.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesRowSequence.java index 433d7f809c2..47e19decd9d 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesRowSequence.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesRowSequence.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.sortedranges; import io.deephaven.base.verify.Assert; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesShort.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesShort.java index 76926b71865..f9d0b773732 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesShort.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesShort.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.sortedranges; import gnu.trove.map.hash.TIntObjectHashMap; diff --git a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesTyped.java b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesTyped.java index 149c7b7fc9c..6ebfbb708b4 100644 --- a/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesTyped.java +++ b/engine/rowset/src/main/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesTyped.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.sortedranges; public abstract class SortedRangesTyped extends SortedRanges { diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/RowSequenceIteratorTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/RowSequenceIteratorTest.java index 963b9f96049..75b159585c0 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/RowSequenceIteratorTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/RowSequenceIteratorTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/ComplementRangeIteratorTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/ComplementRangeIteratorTest.java index 220dbf6fbc7..ce54cb23990 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/ComplementRangeIteratorTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/ComplementRangeIteratorTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.WritableRowSet; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/IterPerformanceTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/IterPerformanceTest.java index 006cb2067bc..6cce65305e6 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/IterPerformanceTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/IterPerformanceTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/MixedBuilderTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/MixedBuilderTest.java index f2c5a25f8ae..31f374ac054 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/MixedBuilderTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/MixedBuilderTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/PerfMeasure.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/PerfMeasure.java index 5cf710a186e..236fa99df74 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/PerfMeasure.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/PerfMeasure.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; public class PerfMeasure { diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/QuickDirtyRandom.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/QuickDirtyRandom.java index 63572e21f03..d11a5579b3a 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/QuickDirtyRandom.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/QuickDirtyRandom.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; // See "Numerical Recipes in C", 7-1 "Uniform Deviates", "An Even Quicker Generator". diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowKeyChunkUtilsTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowKeyChunkUtilsTest.java index 34ddbf888a1..db3af5ec459 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowKeyChunkUtilsTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowKeyChunkUtilsTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.base.Pair; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSequenceKeyRangesChunkImplTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSequenceKeyRangesChunkImplTest.java index 1f03d030709..b60712a46de 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSequenceKeyRangesChunkImplTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSequenceKeyRangesChunkImplTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.RowSequence; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSequenceRowKeysChunkImplTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSequenceRowKeysChunkImplTest.java index f53561e522d..75025de475f 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSequenceRowKeysChunkImplTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSequenceRowKeysChunkImplTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.RowSequence; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSequenceTestBase.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSequenceTestBase.java index c3ca344ef06..4acf8d0ee90 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSequenceTestBase.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSequenceTestBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.*; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSetBuilderSequentialPerfTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSetBuilderSequentialPerfTest.java index 32e57ae9402..b3ff75ba4f0 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSetBuilderSequentialPerfTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSetBuilderSequentialPerfTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.RowSetBuilderSequential; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSetCreationRandomPerfTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSetCreationRandomPerfTest.java index 99d7ec516a3..dbfb6c89295 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSetCreationRandomPerfTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSetCreationRandomPerfTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import gnu.trove.list.array.TIntArrayList; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSetCreationSeqPerfTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSetCreationSeqPerfTest.java index 9ff0425f1f2..96970ebc7b7 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSetCreationSeqPerfTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSetCreationSeqPerfTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.testutil.rowset.PerfStats; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSetLike.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSetLike.java index 451f657cfdb..5abae7f7eb2 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSetLike.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/RowSetLike.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/ShiftedRowSequenceTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/ShiftedRowSequenceTest.java index ab270610359..57a078814c5 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/ShiftedRowSequenceTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/ShiftedRowSequenceTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.RowSequence; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/SingleRangeTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/SingleRangeTest.java index 73e69e50f5d..cb18b8b178d 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/SingleRangeTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/SingleRangeTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.*; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/TrackingWritableRowSetImplPrevTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/TrackingWritableRowSetImplPrevTest.java index 5658ed312f3..79a0e825f2d 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/TrackingWritableRowSetImplPrevTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/TrackingWritableRowSetImplPrevTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/TrackingWritableRowSetTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/TrackingWritableRowSetTest.java index 5ff3c4f0b8c..603e3b33ca8 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/TrackingWritableRowSetTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/TrackingWritableRowSetTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/TstValues.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/TstValues.java index cf4cdafa933..6961e9e44fd 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/TstValues.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/TstValues.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import java.util.Random; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/UpdatePerformanceTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/UpdatePerformanceTest.java index c2e0fae0dcc..f5b9c1ee872 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/UpdatePerformanceTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/UpdatePerformanceTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import io.deephaven.engine.rowset.RowSetFactory; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/ValidationSet.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/ValidationSet.java index 75909a27a44..312bd74f602 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/ValidationSet.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/ValidationSet.java @@ -1,11 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ - -/* - * Copyright (c) 2016-2021 Deephaven Data Labs and Patent Pending - */ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import gnu.trove.procedure.TLongProcedure; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/WritableRowSetImplTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/WritableRowSetImplTest.java index 520a38092ab..da705968883 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/WritableRowSetImplTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/WritableRowSetImplTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl; import gnu.trove.iterator.TLongIterator; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/rsp/RspBitmapTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/rsp/RspBitmapTest.java index a55c7ada3cf..66321886fdc 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/rsp/RspBitmapTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/rsp/RspBitmapTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.rsp; import gnu.trove.set.TLongSet; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/rsp/RspBitmapTimeDrivenTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/rsp/RspBitmapTimeDrivenTest.java index e0f8e42da1c..debd91206c0 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/rsp/RspBitmapTimeDrivenTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/rsp/RspBitmapTimeDrivenTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.rsp; import io.deephaven.engine.rowset.impl.OrderedLongSet; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/rsp/RspRowSequenceTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/rsp/RspRowSequenceTest.java index 0436cbf46b0..ccff3b7aec1 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/rsp/RspRowSequenceTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/rsp/RspRowSequenceTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.rsp; import io.deephaven.engine.rowset.WritableRowSet; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesRowSequenceTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesRowSequenceTest.java index 38d24ef3245..72a9af0cd32 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesRowSequenceTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesRowSequenceTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.sortedranges; import static org.junit.Assert.*; diff --git a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesTest.java b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesTest.java index 1236360871a..cc2003de32a 100644 --- a/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesTest.java +++ b/engine/rowset/src/test/java/io/deephaven/engine/rowset/impl/sortedranges/SortedRangesTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.rowset.impl.sortedranges; import gnu.trove.iterator.TLongIterator; diff --git a/engine/sql/src/main/java/io/deephaven/engine/sql/Sql.java b/engine/sql/src/main/java/io/deephaven/engine/sql/Sql.java index ac4e29c53c2..ba3fa7c0863 100644 --- a/engine/sql/src/main/java/io/deephaven/engine/sql/Sql.java +++ b/engine/sql/src/main/java/io/deephaven/engine/sql/Sql.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.sql; import io.deephaven.base.log.LogOutput; diff --git a/engine/sql/src/main/java/io/deephaven/engine/sql/TableCreatorTicketInterceptor.java b/engine/sql/src/main/java/io/deephaven/engine/sql/TableCreatorTicketInterceptor.java index 276316b4777..3ef1534ceeb 100644 --- a/engine/sql/src/main/java/io/deephaven/engine/sql/TableCreatorTicketInterceptor.java +++ b/engine/sql/src/main/java/io/deephaven/engine/sql/TableCreatorTicketInterceptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.sql; import io.deephaven.engine.table.Table; diff --git a/engine/stringset/src/main/java/io/deephaven/stringset/ArrayStringSet.java b/engine/stringset/src/main/java/io/deephaven/stringset/ArrayStringSet.java index 3e9111817bc..f175320c143 100644 --- a/engine/stringset/src/main/java/io/deephaven/stringset/ArrayStringSet.java +++ b/engine/stringset/src/main/java/io/deephaven/stringset/ArrayStringSet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.stringset; import org.jetbrains.annotations.NotNull; diff --git a/engine/stringset/src/main/java/io/deephaven/stringset/HashStringSet.java b/engine/stringset/src/main/java/io/deephaven/stringset/HashStringSet.java index f5294e85a84..f59e13a25ee 100644 --- a/engine/stringset/src/main/java/io/deephaven/stringset/HashStringSet.java +++ b/engine/stringset/src/main/java/io/deephaven/stringset/HashStringSet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.stringset; import io.deephaven.datastructures.util.CollectionUtil; diff --git a/engine/stringset/src/main/java/io/deephaven/stringset/LongBitmapStringSet.java b/engine/stringset/src/main/java/io/deephaven/stringset/LongBitmapStringSet.java index b483394cf76..1f548ebfc19 100644 --- a/engine/stringset/src/main/java/io/deephaven/stringset/LongBitmapStringSet.java +++ b/engine/stringset/src/main/java/io/deephaven/stringset/LongBitmapStringSet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.stringset; import io.deephaven.base.MathUtil; diff --git a/engine/stringset/src/main/java/io/deephaven/stringset/StringSet.java b/engine/stringset/src/main/java/io/deephaven/stringset/StringSet.java index 4a7306b431f..df85ca9a425 100644 --- a/engine/stringset/src/main/java/io/deephaven/stringset/StringSet.java +++ b/engine/stringset/src/main/java/io/deephaven/stringset/StringSet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.stringset; import org.jetbrains.annotations.NotNull; diff --git a/engine/table/src/jmh/java/io/deephaven/engine/bench/BlackholeListener.java b/engine/table/src/jmh/java/io/deephaven/engine/bench/BlackholeListener.java index f164de72be2..45bd2e8d427 100644 --- a/engine/table/src/jmh/java/io/deephaven/engine/bench/BlackholeListener.java +++ b/engine/table/src/jmh/java/io/deephaven/engine/bench/BlackholeListener.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.bench; import io.deephaven.engine.table.TableUpdate; diff --git a/engine/table/src/jmh/java/io/deephaven/engine/bench/Functions.java b/engine/table/src/jmh/java/io/deephaven/engine/bench/Functions.java index e7e530391b1..2392d254bd0 100644 --- a/engine/table/src/jmh/java/io/deephaven/engine/bench/Functions.java +++ b/engine/table/src/jmh/java/io/deephaven/engine/bench/Functions.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.bench; public class Functions { diff --git a/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortCyclesBenchmark.java b/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortCyclesBenchmark.java index 19fc05b1db9..a9ff36e3479 100644 --- a/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortCyclesBenchmark.java +++ b/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortCyclesBenchmark.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.bench; import org.openjdk.jmh.annotations.Benchmark; diff --git a/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortCyclesBenchmarkBase.java b/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortCyclesBenchmarkBase.java index 777718e45ed..6cc17166670 100644 --- a/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortCyclesBenchmarkBase.java +++ b/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortCyclesBenchmarkBase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.bench; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortRedirectionBase.java b/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortRedirectionBase.java index f2e236e19b6..43ec852428a 100644 --- a/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortRedirectionBase.java +++ b/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortRedirectionBase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.bench; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortRedirectionDefaultCase.java b/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortRedirectionDefaultCase.java index ff875785ae9..4da172b7a3d 100644 --- a/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortRedirectionDefaultCase.java +++ b/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortRedirectionDefaultCase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.bench; public class IncrementalSortRedirectionDefaultCase extends IncrementalSortRedirectionBase { diff --git a/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortRedirectionEdgeCase.java b/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortRedirectionEdgeCase.java index c8431537faf..3e982ed71a8 100644 --- a/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortRedirectionEdgeCase.java +++ b/engine/table/src/jmh/java/io/deephaven/engine/bench/IncrementalSortRedirectionEdgeCase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.bench; public class IncrementalSortRedirectionEdgeCase extends IncrementalSortRedirectionBase { diff --git a/engine/table/src/main/java/io/deephaven/engine/exceptions/RequestCancelledException.java b/engine/table/src/main/java/io/deephaven/engine/exceptions/RequestCancelledException.java index 951b4729ff2..c23467e20a7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/exceptions/RequestCancelledException.java +++ b/engine/table/src/main/java/io/deephaven/engine/exceptions/RequestCancelledException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.exceptions; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/table/src/main/java/io/deephaven/engine/exceptions/SnapshotUnsuccessfulException.java b/engine/table/src/main/java/io/deephaven/engine/exceptions/SnapshotUnsuccessfulException.java index cd394e41bfb..4204ef67391 100644 --- a/engine/table/src/main/java/io/deephaven/engine/exceptions/SnapshotUnsuccessfulException.java +++ b/engine/table/src/main/java/io/deephaven/engine/exceptions/SnapshotUnsuccessfulException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.exceptions; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/table/src/main/java/io/deephaven/engine/exceptions/TableAlreadyFailedException.java b/engine/table/src/main/java/io/deephaven/engine/exceptions/TableAlreadyFailedException.java index 97469caf5a5..874fe9ef27c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/exceptions/TableAlreadyFailedException.java +++ b/engine/table/src/main/java/io/deephaven/engine/exceptions/TableAlreadyFailedException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.exceptions; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/table/src/main/java/io/deephaven/engine/page/BooleanChunkPage.java b/engine/table/src/main/java/io/deephaven/engine/page/BooleanChunkPage.java index db8107962bd..a3a09111179 100644 --- a/engine/table/src/main/java/io/deephaven/engine/page/BooleanChunkPage.java +++ b/engine/table/src/main/java/io/deephaven/engine/page/BooleanChunkPage.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkPage and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkPage and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.page; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/page/ByteChunkPage.java b/engine/table/src/main/java/io/deephaven/engine/page/ByteChunkPage.java index a3e34f2502a..79b476b3058 100644 --- a/engine/table/src/main/java/io/deephaven/engine/page/ByteChunkPage.java +++ b/engine/table/src/main/java/io/deephaven/engine/page/ByteChunkPage.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkPage and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkPage and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.page; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/page/CharChunkPage.java b/engine/table/src/main/java/io/deephaven/engine/page/CharChunkPage.java index 91a3f2a8484..ca8fed9f7ac 100644 --- a/engine/table/src/main/java/io/deephaven/engine/page/CharChunkPage.java +++ b/engine/table/src/main/java/io/deephaven/engine/page/CharChunkPage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.page; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/page/ChunkPage.java b/engine/table/src/main/java/io/deephaven/engine/page/ChunkPage.java index d9193aa83dd..fa5d27d6d60 100644 --- a/engine/table/src/main/java/io/deephaven/engine/page/ChunkPage.java +++ b/engine/table/src/main/java/io/deephaven/engine/page/ChunkPage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.page; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/page/ChunkPageFactory.java b/engine/table/src/main/java/io/deephaven/engine/page/ChunkPageFactory.java index d02f3c36262..ede3104fedf 100644 --- a/engine/table/src/main/java/io/deephaven/engine/page/ChunkPageFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/page/ChunkPageFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.page; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/main/java/io/deephaven/engine/page/DoubleChunkPage.java b/engine/table/src/main/java/io/deephaven/engine/page/DoubleChunkPage.java index 3ec41479f0a..30f3bdd9742 100644 --- a/engine/table/src/main/java/io/deephaven/engine/page/DoubleChunkPage.java +++ b/engine/table/src/main/java/io/deephaven/engine/page/DoubleChunkPage.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkPage and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkPage and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.page; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/page/FloatChunkPage.java b/engine/table/src/main/java/io/deephaven/engine/page/FloatChunkPage.java index a5fa7abb48c..83b7ca762c9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/page/FloatChunkPage.java +++ b/engine/table/src/main/java/io/deephaven/engine/page/FloatChunkPage.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkPage and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkPage and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.page; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/page/IntChunkPage.java b/engine/table/src/main/java/io/deephaven/engine/page/IntChunkPage.java index 37e48176a96..a65bb892812 100644 --- a/engine/table/src/main/java/io/deephaven/engine/page/IntChunkPage.java +++ b/engine/table/src/main/java/io/deephaven/engine/page/IntChunkPage.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkPage and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkPage and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.page; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/page/LongChunkPage.java b/engine/table/src/main/java/io/deephaven/engine/page/LongChunkPage.java index de8620d8c2d..f92ce2dadec 100644 --- a/engine/table/src/main/java/io/deephaven/engine/page/LongChunkPage.java +++ b/engine/table/src/main/java/io/deephaven/engine/page/LongChunkPage.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkPage and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkPage and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.page; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/page/ObjectChunkPage.java b/engine/table/src/main/java/io/deephaven/engine/page/ObjectChunkPage.java index eb67a8b91a5..331ced3bfab 100644 --- a/engine/table/src/main/java/io/deephaven/engine/page/ObjectChunkPage.java +++ b/engine/table/src/main/java/io/deephaven/engine/page/ObjectChunkPage.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkPage and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkPage and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.page; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/page/Page.java b/engine/table/src/main/java/io/deephaven/engine/page/Page.java index 1961affba3b..f63d9c6abef 100644 --- a/engine/table/src/main/java/io/deephaven/engine/page/Page.java +++ b/engine/table/src/main/java/io/deephaven/engine/page/Page.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.page; import io.deephaven.util.datastructures.LongSizedDataStructure; diff --git a/engine/table/src/main/java/io/deephaven/engine/page/PageStore.java b/engine/table/src/main/java/io/deephaven/engine/page/PageStore.java index 739847aebb7..6052df55274 100644 --- a/engine/table/src/main/java/io/deephaven/engine/page/PageStore.java +++ b/engine/table/src/main/java/io/deephaven/engine/page/PageStore.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.page; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/main/java/io/deephaven/engine/page/PagingChunkSource.java b/engine/table/src/main/java/io/deephaven/engine/page/PagingChunkSource.java index d1d51ea7f41..408b412ab29 100644 --- a/engine/table/src/main/java/io/deephaven/engine/page/PagingChunkSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/page/PagingChunkSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.page; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/main/java/io/deephaven/engine/page/PagingContextHolder.java b/engine/table/src/main/java/io/deephaven/engine/page/PagingContextHolder.java index 61c552d2d4e..5c866dfb944 100644 --- a/engine/table/src/main/java/io/deephaven/engine/page/PagingContextHolder.java +++ b/engine/table/src/main/java/io/deephaven/engine/page/PagingContextHolder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.page; import io.deephaven.engine.table.ChunkSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/page/ShortChunkPage.java b/engine/table/src/main/java/io/deephaven/engine/page/ShortChunkPage.java index a52652834e4..f9df534c3b7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/page/ShortChunkPage.java +++ b/engine/table/src/main/java/io/deephaven/engine/page/ShortChunkPage.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkPage and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkPage and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.page; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/AbsoluteSortColumnConventions.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/AbsoluteSortColumnConventions.java index 91f7fd19c16..924a560a5d8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/AbsoluteSortColumnConventions.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/AbsoluteSortColumnConventions.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.Selectable; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/AbstractColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/AbstractColumnSource.java index 889ab074f06..45cf7ffd191 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/AbstractColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/AbstractColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.string.cache.CharSequenceUtils; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/AbstractFilterExecution.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/AbstractFilterExecution.java index f8a02c442f6..3659e8bb530 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/AbstractFilterExecution.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/AbstractFilterExecution.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/AddOnlyToBlinkTableAdapter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/AddOnlyToBlinkTableAdapter.java index 46458dbf6a2..2b705590bd5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/AddOnlyToBlinkTableAdapter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/AddOnlyToBlinkTableAdapter.java @@ -1,7 +1,6 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.liveness.LivenessScopeStack; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/AggAllByCopyAttributes.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/AggAllByCopyAttributes.java index 43ec4ca8847..ca178b59da0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/AggAllByCopyAttributes.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/AggAllByCopyAttributes.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.agg.spec.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/AsOfJoinHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/AsOfJoinHelper.java index 9dfd14ae24e..c9006b15c5c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/AsOfJoinHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/AsOfJoinHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.Pair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/AsOfStampContext.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/AsOfStampContext.java index 768e2bc9522..f1cff96b03f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/AsOfStampContext.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/AsOfStampContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Context; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/BaseGridAttributes.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/BaseGridAttributes.java index 8ed03c69ad4..b7765501959 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/BaseGridAttributes.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/BaseGridAttributes.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.util.ConcurrentMethod; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/BaseTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/BaseTable.java index d56c8e0096a..389fa155f8e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/BaseTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/BaseTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import com.google.common.collect.BiMap; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/BlinkTableTools.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/BlinkTableTools.java index 38e73b19b97..b74ebb11f90 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/BlinkTableTools.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/BlinkTableTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/BothIncrementalNaturalJoinStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/BothIncrementalNaturalJoinStateManager.java index c7e9aa700e6..87af4f81848 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/BothIncrementalNaturalJoinStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/BothIncrementalNaturalJoinStateManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.rowset.RowSequence; @@ -16,21 +16,35 @@ public interface BothIncrementalNaturalJoinStateManager extends IncrementalNatur InitialBuildContext makeInitialBuildContext(); void buildFromRightSide(final Table rightTable, ColumnSource[] rightSources); + void decorateLeftSide(RowSet leftRowSet, ColumnSource[] leftSources, InitialBuildContext ibc); + void compactAll(); - WritableRowRedirection buildRowRedirectionFromRedirections(QueryTable leftTable, boolean exactMatch, InitialBuildContext ibc, JoinControl.RedirectionType redirectionType); + WritableRowRedirection buildRowRedirectionFromRedirections(QueryTable leftTable, boolean exactMatch, + InitialBuildContext ibc, JoinControl.RedirectionType redirectionType); Context makeProbeContext(ColumnSource[] probeSources, long maxSize); + Context makeBuildContext(ColumnSource[] buildSources, long maxSize); - void addRightSide(Context bc, RowSequence rightIndex, ColumnSource [] rightSources, @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker); - void removeRight(final Context pc, RowSequence rightIndex, ColumnSource[] rightSources, @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker); - void modifyByRight(Context pc, RowSet modified, ColumnSource[] rightSources, @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker); - void applyRightShift(Context pc, ColumnSource [] rightSources, RowSet shiftedRowSet, long shiftDelta, @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker); + void addRightSide(Context bc, RowSequence rightIndex, ColumnSource[] rightSources, + @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker); + + void removeRight(final Context pc, RowSequence rightIndex, ColumnSource[] rightSources, + @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker); + + void modifyByRight(Context pc, RowSet modified, ColumnSource[] rightSources, + @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker); + + void applyRightShift(Context pc, ColumnSource[] rightSources, RowSet shiftedRowSet, long shiftDelta, + @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker); + + void addLeftSide(final Context bc, RowSequence leftIndex, ColumnSource[] leftSources, + LongArraySource leftRedirections, NaturalJoinModifiedSlotTracker modifiedSlotTracker); + + void removeLeft(Context pc, RowSequence leftIndex, ColumnSource[] leftSources); - void addLeftSide(final Context bc, RowSequence leftIndex, ColumnSource[] leftSources, LongArraySource leftRedirections, NaturalJoinModifiedSlotTracker modifiedSlotTracker); - void removeLeft(Context pc, RowSequence leftIndex, ColumnSource [] leftSources); void applyLeftShift(Context pc, ColumnSource[] leftSources, RowSet shiftedRowSet, long shiftDelta); interface InitialBuildContext extends Context { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/BucketingContext.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/BucketingContext.java index 46881351573..0d70c98f3a5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/BucketingContext.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/BucketingContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/CodecLookup.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/CodecLookup.java index f73d118cc17..9278cafd07e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/CodecLookup.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/CodecLookup.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.ColumnDefinition; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ColumnComparatorFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ColumnComparatorFactory.java index 8ca2cf8bcf6..b2b45050678 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ColumnComparatorFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ColumnComparatorFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ColumnSourceGetDefaults.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ColumnSourceGetDefaults.java index 8f2bbb2153c..b5875e5df07 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ColumnSourceGetDefaults.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ColumnSourceGetDefaults.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ColumnSourceManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ColumnSourceManager.java index b360ba1b777..b5315bb6f90 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ColumnSourceManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ColumnSourceManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.rowset.WritableRowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ColumnToCodecMappings.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ColumnToCodecMappings.java index 12de2606a3e..348948ba5e2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ColumnToCodecMappings.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ColumnToCodecMappings.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; public interface ColumnToCodecMappings { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ConstituentDependency.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ConstituentDependency.java index e559a260dc7..84a5c4bb30c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ConstituentDependency.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ConstituentDependency.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/CrossJoinHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/CrossJoinHelper.java index c6fb7284e2f..288ee21a73f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/CrossJoinHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/CrossJoinHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/CrossJoinModifiedSlotTracker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/CrossJoinModifiedSlotTracker.java index e5209f0bb79..9ef6661f53d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/CrossJoinModifiedSlotTracker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/CrossJoinModifiedSlotTracker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/CrossJoinShiftState.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/CrossJoinShiftState.java index e4ec0d123bd..c978b96ddcd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/CrossJoinShiftState.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/CrossJoinShiftState.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/CrossJoinStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/CrossJoinStateManager.java index c8de1fdc43d..ddf92cb82f5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/CrossJoinStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/CrossJoinStateManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.rowset.TrackingRowSet; @@ -11,8 +11,11 @@ public interface CrossJoinStateManager { TrackingRowSet getRightRowSetFromPrevLeftRow(long leftIndex); long getShifted(long rowKey); + long getPrevShifted(long rowKey); + long getMasked(long rowKey); + long getPrevMasked(long rowKey); /** diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/DataAccessHelpers.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/DataAccessHelpers.java index 5998301db40..be5e557d1b0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/DataAccessHelpers.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/DataAccessHelpers.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.liveness.LivenessScopeStack; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/DeferredViewTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/DeferredViewTable.java index dc526030bfd..1645a88ab3a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/DeferredViewTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/DeferredViewTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.Selectable; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/DependencyStreamProvider.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/DependencyStreamProvider.java index 931fdb8b295..5e85d832e74 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/DependencyStreamProvider.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/DependencyStreamProvider.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.updategraph.NotificationQueue; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/FlattenOperation.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/FlattenOperation.java index cc81f805e2d..10059e035ca 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/FlattenOperation.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/FlattenOperation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.rowset.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/GroupingUtils.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/GroupingUtils.java index f4761ed636b..b5b4475b6f0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/GroupingUtils.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/GroupingUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.Pair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/HashTableAnnotations.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/HashTableAnnotations.java index 39b059536fa..935f679868c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/HashTableAnnotations.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/HashTableAnnotations.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import java.lang.annotation.Retention; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ImmutableColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ImmutableColumnSource.java index 5b82cb2185b..d0c39429c1e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ImmutableColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ImmutableColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ImmutableColumnSourceGetDefaults.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ImmutableColumnSourceGetDefaults.java index 97fe2f1a9b5..96c51cc189c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ImmutableColumnSourceGetDefaults.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ImmutableColumnSourceGetDefaults.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/InMemoryTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/InMemoryTable.java index c6b05308878..5914bed9b2b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/InMemoryTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/InMemoryTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.exceptions.ArgumentException; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/IncrementalNaturalJoinStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/IncrementalNaturalJoinStateManager.java index 6b4b77ec461..10f03effda4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/IncrementalNaturalJoinStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/IncrementalNaturalJoinStateManager.java @@ -1,13 +1,16 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.rowset.RowSet; public interface IncrementalNaturalJoinStateManager { long getRightIndex(int slot); + RowSet getLeftIndex(int slot); + String keyString(int slot); + void checkExactMatch(boolean exactMatch, long leftKeyIndex, long rightSide); -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/IndexedDataColumn.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/IndexedDataColumn.java index e84f4498e2b..8e4324f54d3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/IndexedDataColumn.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/IndexedDataColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/InitialFilterExecution.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/InitialFilterExecution.java index 63c3c36f9c4..4df629d2a41 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/InitialFilterExecution.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/InitialFilterExecution.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedTableListenerBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedTableListenerBase.java index 5ed16612411..acdf3605ac6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedTableListenerBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedTableListenerBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedTableUpdateListener.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedTableUpdateListener.java index bf39f89dc6a..ce6f8143a41 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedTableUpdateListener.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedTableUpdateListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.TableUpdate; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedTableUpdateListenerAdapter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedTableUpdateListenerAdapter.java index 864f11b2ccb..98def70706e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedTableUpdateListenerAdapter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedTableUpdateListenerAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.cache.RetentionCache; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedTableUpdateSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedTableUpdateSource.java index 40ec78383ed..5e1c7a79a63 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedTableUpdateSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedTableUpdateSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.impl.util.DelayedErrorNotifier; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedUpdateSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedUpdateSource.java index 015c218d84a..35f8642a35b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedUpdateSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/InstrumentedUpdateSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.impl.perf.PerformanceEntry; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/JoinControl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/JoinControl.java index 7cbbcd76ec4..652f8bdc571 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/JoinControl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/JoinControl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/JoinRowRedirection.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/JoinRowRedirection.java index dda43aeaa55..88140193771 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/JoinRowRedirection.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/JoinRowRedirection.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.impl.sources.LongSparseArraySource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/KeyedTableListener.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/KeyedTableListener.java index 905894c8a1f..e7b6c806845 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/KeyedTableListener.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/KeyedTableListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/LazySnapshotTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/LazySnapshotTable.java index 77b13371b40..980cb494e1c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/LazySnapshotTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/LazySnapshotTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/LazySnapshotTableProvider.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/LazySnapshotTableProvider.java index 472ce91e69f..ca9f7c08a44 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/LazySnapshotTableProvider.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/LazySnapshotTableProvider.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; /** diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/LegacyListenerAdapter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/LegacyListenerAdapter.java index 3001aa30527..7eb32318494 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/LegacyListenerAdapter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/LegacyListenerAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.reference.SimpleReference; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ListenerRecorder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ListenerRecorder.java index 667dfd5505a..f0f5bcb1b22 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ListenerRecorder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ListenerRecorder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/LiveAttributeMap.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/LiveAttributeMap.java index 7c8a579c412..9d9d927bf48 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/LiveAttributeMap.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/LiveAttributeMap.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.util.ConcurrentMethod; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/MatchPair.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/MatchPair.java index 25f9a72b01c..da4a9bd55d3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/MatchPair.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/MatchPair.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/MemoizedOperationKey.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/MemoizedOperationKey.java index 6d7541b073f..a6f3f272b74 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/MemoizedOperationKey.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/MemoizedOperationKey.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/MergedListener.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/MergedListener.java index 4942b14af01..fd5a723736e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/MergedListener.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/MergedListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/MultiJoinModifiedSlotTracker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/MultiJoinModifiedSlotTracker.java index d120a2726e6..9e3620e7db5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/MultiJoinModifiedSlotTracker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/MultiJoinModifiedSlotTracker.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/MultiJoinStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/MultiJoinStateManager.java index bc7eb4b6e12..d808ca1bc15 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/MultiJoinStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/MultiJoinStateManager.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.ColumnSource; @@ -26,7 +29,7 @@ public interface MultiJoinStateManager { long getResultSize(); /** - * Get the hash table column sources for the result table. These are used as the key columns of our result. + * Get the hash table column sources for the result table. These are used as the key columns of our result. */ ColumnSource[] getKeyHashTableSources(); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/MultiJoinTableCreatorImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/MultiJoinTableCreatorImpl.java index c329ecddd7b..65b5e60bea6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/MultiJoinTableCreatorImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/MultiJoinTableCreatorImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import com.google.auto.service.AutoService; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/MultiJoinTableImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/MultiJoinTableImpl.java index b4936cca08f..26dac20102c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/MultiJoinTableImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/MultiJoinTableImpl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import gnu.trove.map.hash.TObjectIntHashMap; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/MutableColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/MutableColumnSource.java index 12e5f353617..662ede51e04 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/MutableColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/MutableColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/MutableColumnSourceGetDefaults.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/MutableColumnSourceGetDefaults.java index 43b9e985909..97685217322 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/MutableColumnSourceGetDefaults.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/MutableColumnSourceGetDefaults.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/NaturalJoinHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/NaturalJoinHelper.java index 4f2f38583a1..72aca557cc3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/NaturalJoinHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/NaturalJoinHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.Pair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/NaturalJoinModifiedSlotTracker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/NaturalJoinModifiedSlotTracker.java index d90c0d06e89..8874e700553 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/NaturalJoinModifiedSlotTracker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/NaturalJoinModifiedSlotTracker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.impl.sources.LongArraySource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/NotificationStepReceiver.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/NotificationStepReceiver.java index d282247cc1d..1a4a3e50858 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/NotificationStepReceiver.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/NotificationStepReceiver.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; /** diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/NotificationStepSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/NotificationStepSource.java index 8c0f79231ac..742598fd80f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/NotificationStepSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/NotificationStepSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.updategraph.NotificationQueue; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/OperationInitializationThreadPool.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/OperationInitializationThreadPool.java index 286d4386d17..43498b1029c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/OperationInitializationThreadPool.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/OperationInitializationThreadPool.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.chunk.util.pools.MultiChunkPool; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/OperationSnapshotControl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/OperationSnapshotControl.java index f63cfa42e10..acece35da71 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/OperationSnapshotControl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/OperationSnapshotControl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/OperationSnapshotControlEx.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/OperationSnapshotControlEx.java index 93d02418885..04f6c2c8160 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/OperationSnapshotControlEx.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/OperationSnapshotControlEx.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/OperationsToTableImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/OperationsToTableImpl.java index 843db9e9df7..8293146602a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/OperationsToTableImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/OperationsToTableImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/PartitionAwareSourceTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/PartitionAwareSourceTable.java index 166e088657d..544c3ccb25a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/PartitionAwareSourceTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/PartitionAwareSourceTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/PrecomputedRowSetBuilderRandom.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/PrecomputedRowSetBuilderRandom.java index cecaaefa74d..78f1ff5ae8a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/PrecomputedRowSetBuilderRandom.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/PrecomputedRowSetBuilderRandom.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.rowset.RowSetBuilderRandom; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/PrevColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/PrevColumnSource.java index e64577ea8e8..52fe57a14ff 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/PrevColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/PrevColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.SharedContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/QueryTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/QueryTable.java index ba1f33dae58..ad6115905c0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/QueryTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/QueryTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/RandomDataGenerator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/RandomDataGenerator.java index a3f080080f1..822602611aa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/RandomDataGenerator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/RandomDataGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import java.util.Random; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/RedefinableTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/RedefinableTable.java index ed787d1baab..206121ab899 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/RedefinableTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/RedefinableTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.Selectable; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ReverseOperation.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ReverseOperation.java index e12387f079b..42bc45aca4c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ReverseOperation.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ReverseOperation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/RightIncrementalAsOfJoinStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/RightIncrementalAsOfJoinStateManager.java index 49b1447b5e4..4ef31c40a2a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/RightIncrementalAsOfJoinStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/RightIncrementalAsOfJoinStateManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.ColumnSource; @@ -22,6 +22,7 @@ protected String extractKeyStringFromSourceTable(long leftKey) { if (keySourcesForErrorMessages.length == 1) { return Objects.toString(keySourcesForErrorMessages[0].get(leftKey)); } - return "[" + Arrays.stream(keySourcesForErrorMessages).map(ls -> Objects.toString(ls.get(leftKey))).collect(Collectors.joining(", ")) + "]"; + return "[" + Arrays.stream(keySourcesForErrorMessages).map(ls -> Objects.toString(ls.get(leftKey))) + .collect(Collectors.joining(", ")) + "]"; } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/RightIncrementalChunkedCrossJoinStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/RightIncrementalChunkedCrossJoinStateManager.java index f4104694c61..46622aec34a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/RightIncrementalChunkedCrossJoinStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/RightIncrementalChunkedCrossJoinStateManager.java @@ -1,6 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit LeftOnlyIncrementalChunkedCrossJoinStateManager and run "./gradlew replicateHashTable" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Require; @@ -71,10 +76,11 @@ interface StateTrackingCallback { /** * Invoke a callback that will allow external trackers to record changes to states in build or probe calls. * - * @param cookie The last known cookie for state slot (in main table space) + * @param cookie The last known cookie for state slot (in main table space) * @param stateSlot The state slot (in main table space) - * @param rowKey The probed row key - * @param prevRowKey The probed prev row key (applicable only when prevRowKey provided to build/probe otherwise RowSet.NULL_ROW_KEY) + * @param rowKey The probed row key + * @param prevRowKey The probed prev row key (applicable only when prevRowKey provided to build/probe otherwise + * RowSet.NULL_ROW_KEY) * @return The new cookie for the state */ long invoke(long cookie, long stateSlot, long rowKey, long prevRowKey); @@ -172,10 +178,10 @@ interface StateTrackingCallback { private final WritableRowRedirection rightRowToSlot; private final ColumnSource[] leftKeySources; private final ColumnSource[] rightKeySources; - private final ObjectArraySource leftRowSetSource - = new ObjectArraySource<>(TrackingWritableRowSet.class); - private final ObjectArraySource overflowLeftRowSetSource - = new ObjectArraySource<>(TrackingWritableRowSet.class); + private final ObjectArraySource leftRowSetSource = + new ObjectArraySource<>(TrackingWritableRowSet.class); + private final ObjectArraySource overflowLeftRowSetSource = + new ObjectArraySource<>(TrackingWritableRowSet.class); private final boolean isLeftTicking; // we must maintain our cookie for modified state tracking @@ -192,11 +198,8 @@ interface StateTrackingCallback { // endregion constructor visibility RightIncrementalChunkedCrossJoinStateManager(ColumnSource[] tableKeySources , int tableSize - // region constructor arguments - , ColumnSource[] rightKeySources - , QueryTable leftTable - , int initialNumRightBits - , boolean leftOuterJoin + // region constructor arguments + , ColumnSource[] rightKeySources, QueryTable leftTable, int initialNumRightBits, boolean leftOuterJoin // endregion constructor arguments ) { // region super @@ -286,7 +289,7 @@ private void ensureOverflowCapacity(WritableIntChunk chunkPositi // region build wrappers @NotNull WritableRowSet build(@NotNull final QueryTable leftTable, - @NotNull final QueryTable rightTable) { + @NotNull final QueryTable rightTable) { // This state manager assumes right side is ticking. Assert.eqTrue(rightTable.isRefreshing(), "rightTable.isRefreshing()"); if (!leftTable.isEmpty()) { @@ -305,7 +308,8 @@ WritableRowSet build(@NotNull final QueryTable leftTable, (cookie, slot, rowKey, prevRowKey) -> addToRowSet(isLeft, slot, rowKey)); } } else { - // we don't actually need to create groups that don't (and will never) exist on the left; thus can probe-only + // we don't actually need to create groups that don't (and will never) exist on the left; thus can + // probe-only try (final ProbeContext pc = makeProbeContext(rightKeySources, rightTable.size())) { final boolean isLeft = false; final boolean usePrev = false; @@ -338,7 +342,7 @@ void rightRemove(final RowSet removed, final CrossJoinModifiedSlotTracker tracke return; } try (final ProbeContext pc = makeProbeContext(rightKeySources, removed.size()); - final WritableLongChunk rightToRemove = WritableLongChunk.makeWritableChunk(pc.chunkSize)) { + final WritableLongChunk rightToRemove = WritableLongChunk.makeWritableChunk(pc.chunkSize)) { rightToRemove.setSize(0); final boolean usePrev = true; decorationProbe(pc, removed, rightKeySources, usePrev, null, (cookie, slot, rowKey, prevRowKey) -> { @@ -372,7 +376,8 @@ void shiftRightRowSetToSlot(final RowSet filterRowSet, final RowSetShiftData shi rightRowToSlot.applyShift(filterRowSet, shifted); } - void rightShift(final RowSet filterRowSet, final RowSetShiftData shifted, final CrossJoinModifiedSlotTracker tracker) { + void rightShift(final RowSet filterRowSet, final RowSetShiftData shifted, + final CrossJoinModifiedSlotTracker tracker) { shifted.forAllInRowSet(filterRowSet, (ii, delta) -> { final long slot = rightRowToSlot.get(ii); if (slot == RowSequence.NULL_ROW_KEY) { @@ -419,7 +424,8 @@ void rightAdd(final RowSet added, final CrossJoinModifiedSlotTracker tracker) { } } - void rightModified(final TableUpdate upstream, final boolean keyColumnsChanged, final CrossJoinModifiedSlotTracker tracker) { + void rightModified(final TableUpdate upstream, final boolean keyColumnsChanged, + final CrossJoinModifiedSlotTracker tracker) { if (upstream.modified().isEmpty()) { return; } @@ -433,11 +439,13 @@ void rightModified(final TableUpdate upstream, final boolean keyColumnsChanged, return; } - try (final ProbeContext pc = isLeftTicking ? null : makeProbeContext(rightKeySources, upstream.modified().size()); - final BuildContext bc = isLeftTicking ? makeBuildContext(rightKeySources, upstream.modified().size()) : null; - final RowSequence.Iterator preShiftModified = upstream.getModifiedPreShift().getRowSequenceIterator(); - final RowSequence.Iterator postShiftModified = upstream.modified().getRowSequenceIterator(); - final WritableLongChunk rightRemoved = WritableLongChunk.makeWritableChunk(CHUNK_SIZE)) { + try (final ProbeContext pc = + isLeftTicking ? null : makeProbeContext(rightKeySources, upstream.modified().size()); + final BuildContext bc = + isLeftTicking ? makeBuildContext(rightKeySources, upstream.modified().size()) : null; + final RowSequence.Iterator preShiftModified = upstream.getModifiedPreShift().getRowSequenceIterator(); + final RowSequence.Iterator postShiftModified = upstream.modified().getRowSequenceIterator(); + final WritableLongChunk rightRemoved = WritableLongChunk.makeWritableChunk(CHUNK_SIZE)) { rightRemoved.setSize(0); while (preShiftModified.hasMore()) { @@ -450,7 +458,8 @@ void rightModified(final TableUpdate upstream, final boolean keyColumnsChanged, long preSlot = rightRowToSlot.get(prevRowKey); final boolean preIsOverflow = isOverflowLocation(preSlot); - final LongArraySource preCookieSource = preIsOverflow ? overflowModifiedTrackerCookieSource : modifiedTrackerCookieSource; + final LongArraySource preCookieSource = + preIsOverflow ? overflowModifiedTrackerCookieSource : modifiedTrackerCookieSource; final long preHashSlot = preIsOverflow ? overflowLocationToHashLocation(preSlot) : preSlot; if (preSlot != postSlot) { @@ -521,7 +530,8 @@ void leftAdded(final RowSet added, final CrossJoinModifiedSlotTracker tracker) { tracker.flushLeftAdds(); } - void leftModified(final TableUpdate upstream, final boolean keyColumnsChanged, final CrossJoinModifiedSlotTracker tracker) { + void leftModified(final TableUpdate upstream, final boolean keyColumnsChanged, + final CrossJoinModifiedSlotTracker tracker) { if (upstream.modified().isEmpty()) { tracker.flushLeftModifies(); return; @@ -539,8 +549,8 @@ void leftModified(final TableUpdate upstream, final boolean keyColumnsChanged, f // note: at this point left shifts have not yet been applied to our internal data structures try (final BuildContext bc = makeBuildContext(leftKeySources, upstream.modified().size()); - final RowSequence.Iterator preShiftModified = upstream.getModifiedPreShift().getRowSequenceIterator(); - final RowSequence.Iterator postShiftModified = upstream.modified().getRowSequenceIterator()) { + final RowSequence.Iterator preShiftModified = upstream.getModifiedPreShift().getRowSequenceIterator(); + final RowSequence.Iterator postShiftModified = upstream.modified().getRowSequenceIterator()) { while (preShiftModified.hasMore()) { final RowSequence preChunk = preShiftModified.getNextRowSequenceWithLength(CHUNK_SIZE); @@ -553,11 +563,13 @@ void leftModified(final TableUpdate upstream, final boolean keyColumnsChanged, f Assert.neq(preSlot, "preSlot", EMPTY_RIGHT_SLOT); final boolean preIsOverflow = isOverflowLocation(preSlot); - final LongArraySource preCookieSource = preIsOverflow ? overflowModifiedTrackerCookieSource : modifiedTrackerCookieSource; + final LongArraySource preCookieSource = + preIsOverflow ? overflowModifiedTrackerCookieSource : modifiedTrackerCookieSource; final long preHashSlot = preIsOverflow ? overflowLocationToHashLocation(preSlot) : preSlot; if (preSlot != postSlot) { - // unlike rightModified, leftRowToSlot is not yet shifted; so we operate in terms of pre-shift value. + // unlike rightModified, leftRowToSlot is not yet shifted; so we operate in terms of pre-shift + // value. final long oldCookie = preCookieSource.getUnsafe(preHashSlot); final long newCookie = tracker.addToBuilder(oldCookie, preSlot, prevRowKey); if (oldCookie != newCookie) { @@ -577,7 +589,8 @@ void leftModified(final TableUpdate upstream, final boolean keyColumnsChanged, f tracker.flushLeftModifies(); } - void leftShift(final RowSet filterRowSet, final RowSetShiftData shifted, final CrossJoinModifiedSlotTracker tracker) { + void leftShift(final RowSet filterRowSet, final RowSetShiftData shifted, + final CrossJoinModifiedSlotTracker tracker) { shifted.forAllInRowSet(filterRowSet, (ii, delta) -> { final long slot = leftRowToSlot.get(ii); if (slot == RowSequence.NULL_ROW_KEY) { @@ -608,7 +621,8 @@ void leftShift(final RowSet filterRowSet, final RowSetShiftData shifted, final C private void ensureSlotExists(final long slot) { final boolean isOverflowLocation = isOverflowLocation(slot); final long location = isOverflowLocation ? overflowLocationToHashLocation(slot) : slot; - final ObjectArraySource source = isOverflowLocation ? overflowRightRowSetSource : rightRowSetSource; + final ObjectArraySource source = + isOverflowLocation ? overflowRightRowSetSource : rightRowSetSource; final RowSet rowSet = source.getUnsafe(location); if (rowSet == null) { @@ -618,7 +632,7 @@ private void ensureSlotExists(final long slot) { private long addToRowSet(final boolean isLeft, final long slot, final long keyToAdd) { if (slot == EMPTY_RIGHT_SLOT) { - // we are never going to get here. if we are building; the slot will be allocated. + // we are never going to get here. if we are building; the slot will be allocated. // if we are probing, then we must be on the right-hand side; and the callback is not invoked for additions // only for previous values ... since this is the addToRowSet method we will not have previous values and // thus can not get into this function @@ -664,7 +678,8 @@ private long addToRowSet(final boolean isLeft, final long slot, final long keyTo return CrossJoinModifiedSlotTracker.NULL_COOKIE; } - private void moveModifiedSlot(final CrossJoinModifiedSlotTracker modifiedSlotTracker, final long oldTableLocation, final long tableLocation) { + private void moveModifiedSlot(final CrossJoinModifiedSlotTracker modifiedSlotTracker, final long oldTableLocation, + final long tableLocation) { if (modifiedSlotTracker != null) { final long cookie = modifiedTrackerCookieSource.getUnsafe(oldTableLocation); modifiedSlotTracker.moveTableLocation(cookie, tableLocation); @@ -672,7 +687,8 @@ private void moveModifiedSlot(final CrossJoinModifiedSlotTracker modifiedSlotTra } } - private void promoteModifiedSlot(final CrossJoinModifiedSlotTracker modifiedSlotTracker, final long overflowLocation, final long tableLocation) { + private void promoteModifiedSlot(final CrossJoinModifiedSlotTracker modifiedSlotTracker, + final long overflowLocation, final long tableLocation) { if (modifiedSlotTracker != null) { final long cookie = overflowModifiedTrackerCookieSource.getUnsafe(overflowLocation); modifiedSlotTracker.moveTableLocation(cookie, tableLocation); @@ -793,7 +809,7 @@ class BuildContext implements Context { private BuildContext(ColumnSource[] buildSources, int chunkSize - // region build context constructor args + // region build context constructor args // endregion build context constructor args ) { Assert.gtZero(chunkSize, "chunkSize"); @@ -920,11 +936,11 @@ public void close() { public BuildContext makeBuildContext(ColumnSource[] buildSources, long maxSize - // region makeBuildContext args + // region makeBuildContext args // endregion makeBuildContext args ) { return new BuildContext(buildSources, (int)Math.min(CHUNK_SIZE, maxSize) - // region makeBuildContext arg pass + // region makeBuildContext arg pass // endregion makeBuildContext arg pass ); } @@ -932,10 +948,9 @@ public BuildContext makeBuildContext(ColumnSource[] buildSources, private void buildTable(final BuildContext bc, final RowSequence buildRows, ColumnSource[] buildSources - // region extra build arguments - , final CrossJoinModifiedSlotTracker modifiedSlotTracker - , final RowSequence prevRowSet - , final StateTrackingCallback trackingCallback + // region extra build arguments + , final CrossJoinModifiedSlotTracker modifiedSlotTracker, final RowSequence prevRowSet, + final StateTrackingCallback trackingCallback // endregion extra build arguments ) { long hashSlotOffset = 0; @@ -943,7 +958,7 @@ private void buildTable(final BuildContext bc, // endregion build start try (final RowSequence.Iterator rsIt = buildRows.getRowSequenceIterator(); - // region build initialization try + // region build initialization try // endregion build initialization try ) { // region build initialization @@ -1003,9 +1018,11 @@ private void buildTable(final BuildContext bc, if (bc.equalValues.get(ii)) { // region build found main final long keyToAdd = bc.sourceRowKeys.get(ii); - final long prevKey = prevRowSet == null ? RowSequence.NULL_ROW_KEY : bc.sourcePrevRowKeys.get(ii); + final long prevKey = + prevRowSet == null ? RowSequence.NULL_ROW_KEY : bc.sourcePrevRowKeys.get(ii); final long oldCookie = modifiedTrackerCookieSource.getUnsafe(tableLocation); - final long newCookie = trackingCallback.invoke(oldCookie, (int) tableLocation, keyToAdd, prevKey); + final long newCookie = + trackingCallback.invoke(oldCookie, (int) tableLocation, keyToAdd, prevKey); if (oldCookie != newCookie) { modifiedTrackerCookieSource.set(tableLocation, newCookie); } @@ -1039,9 +1056,11 @@ private void buildTable(final BuildContext bc, // region main insert final long keyToAdd = bc.sourceRowKeys.get(firstChunkPositionForHashLocation); - final long prevKey = prevRowSet == null ? RowSequence.NULL_ROW_KEY : bc.sourcePrevRowKeys.get(firstChunkPositionForHashLocation); + final long prevKey = prevRowSet == null ? RowSequence.NULL_ROW_KEY + : bc.sourcePrevRowKeys.get(firstChunkPositionForHashLocation); ensureSlotExists(currentHashLocation); - final long cookie = trackingCallback.invoke(CrossJoinModifiedSlotTracker.NULL_COOKIE, currentHashLocation, keyToAdd, prevKey); + final long cookie = trackingCallback.invoke(CrossJoinModifiedSlotTracker.NULL_COOKIE, + currentHashLocation, keyToAdd, prevKey); modifiedTrackerCookieSource.set(currentHashLocation, cookie); // endregion main insert // mixin rehash @@ -1087,9 +1106,11 @@ private void buildTable(final BuildContext bc, if (bc.equalValues.get(ii)) { // region build main duplicate final long keyToAdd = bc.sourceRowKeys.get(chunkPosition); - final long prevKey = prevRowSet == null ? RowSequence.NULL_ROW_KEY : bc.sourcePrevRowKeys.get(chunkPosition); + final long prevKey = + prevRowSet == null ? RowSequence.NULL_ROW_KEY : bc.sourcePrevRowKeys.get(chunkPosition); // NB: We just inserted this slot, so there's no way that its cookie can have changed. - trackingCallback.invoke(modifiedTrackerCookieSource.getUnsafe(tableLocation), (int) tableLocation, keyToAdd, prevKey); + trackingCallback.invoke(modifiedTrackerCookieSource.getUnsafe(tableLocation), + (int) tableLocation, keyToAdd, prevKey); // endregion build main duplicate } else { // we are an overflow element @@ -1142,10 +1163,12 @@ private void buildTable(final BuildContext bc, if (bc.equalValues.get(ii)) { // region build overflow found final long keyToAdd = bc.sourceRowKeys.get(chunkPosition); - final long prevKey = prevRowSet == null ? RowSequence.NULL_ROW_KEY : bc.sourcePrevRowKeys.get(chunkPosition); + final long prevKey = prevRowSet == null ? RowSequence.NULL_ROW_KEY + : bc.sourcePrevRowKeys.get(chunkPosition); final long hashLocation = overflowLocationToHashLocation(overflowLocation); final long oldCookie = overflowModifiedTrackerCookieSource.getUnsafe(overflowLocation); - final long newCookie = trackingCallback.invoke(oldCookie, hashLocation, keyToAdd, prevKey); + final long newCookie = + trackingCallback.invoke(oldCookie, hashLocation, keyToAdd, prevKey); if (oldCookie != newCookie) { overflowModifiedTrackerCookieSource.set(overflowLocation, newCookie); } @@ -1194,10 +1217,12 @@ private void buildTable(final BuildContext bc, // region build overflow insert final long keyToAdd = bc.sourceRowKeys.get(chunkPosition); - final long prevKey = prevRowSet == null ? RowSequence.NULL_ROW_KEY : bc.sourcePrevRowKeys.get(chunkPosition); + final long prevKey = prevRowSet == null ? RowSequence.NULL_ROW_KEY + : bc.sourcePrevRowKeys.get(chunkPosition); final long hashLocation = overflowLocationToHashLocation(allocatedOverflowLocation); ensureSlotExists(hashLocation); - final long cookie = trackingCallback.invoke(CrossJoinModifiedSlotTracker.NULL_COOKIE, hashLocation, keyToAdd, prevKey); + final long cookie = trackingCallback.invoke(CrossJoinModifiedSlotTracker.NULL_COOKIE, + hashLocation, keyToAdd, prevKey); overflowModifiedTrackerCookieSource.set(allocatedOverflowLocation, cookie); // endregion build overflow insert @@ -1235,10 +1260,14 @@ private void buildTable(final BuildContext bc, final long insertedOverflowLocation = bc.overflowLocationForEqualityCheck.get(ii); // region build overflow duplicate final long keyToAdd = bc.sourceRowKeys.get(chunkPosition); - final long prevKey = prevRowSet == null ? RowSequence.NULL_ROW_KEY : bc.sourcePrevRowKeys.get(chunkPosition); + final long prevKey = prevRowSet == null ? RowSequence.NULL_ROW_KEY + : bc.sourcePrevRowKeys.get(chunkPosition); final long hashLocation = overflowLocationToHashLocation(insertedOverflowLocation); - // we match the first element, so should use the overflow slow we allocated for it (note expect cookie does not change) - trackingCallback.invoke(overflowModifiedTrackerCookieSource.getUnsafe(insertedOverflowLocation), hashLocation, keyToAdd, prevKey); + // we match the first element, so should use the overflow slow we allocated for it (note + // expect cookie does not change) + trackingCallback.invoke( + overflowModifiedTrackerCookieSource.getUnsafe(insertedOverflowLocation), + hashLocation, keyToAdd, prevKey); // endregion build overflow duplicate } else { // we need to try this element again in the next round @@ -1272,21 +1301,21 @@ private void buildTable(final BuildContext bc, // mixin rehash public void doRehash(BuildContext bc - // region extra rehash arguments - , CrossJoinModifiedSlotTracker modifiedSlotTracker + // region extra rehash arguments + , CrossJoinModifiedSlotTracker modifiedSlotTracker // endregion extra rehash arguments ) { long firstBackingChunkLocation; long lastBackingChunkLocation;// mixin rehash - // region rehash start + // region rehash start // endregion rehash start while (rehashRequired()) { - // region rehash loop start + // region rehash loop start // endregion rehash loop start if (tableHashPivot == tableSize) { tableSize *= 2; ensureCapacity(tableSize); - // region rehash ensure capacity + // region rehash ensure capacity // endregion rehash ensure capacity } @@ -1442,7 +1471,8 @@ public void doRehash(BuildContext bc final long overflowLocation = bc.overflowLocationsAsKeyIndices.get(ii); final long overflowHashLocation = overflowLocationToHashLocation(overflowLocation); // Right RowSet source move - final TrackingWritableRowSet stateValueToMove = overflowRightRowSetSource.getUnsafe(overflowLocation); + final TrackingWritableRowSet stateValueToMove = + overflowRightRowSetSource.getUnsafe(overflowLocation); rightRowSetSource.set(tableLocation, stateValueToMove); stateValueToMove.forAllRowKeys(right -> { // stateValueToMove may not yet be up to date and may include modifications @@ -1454,7 +1484,8 @@ public void doRehash(BuildContext bc overflowRightRowSetSource.set(overflowLocation, EMPTY_RIGHT_VALUE); // Left RowSet source move - final TrackingWritableRowSet leftRowSetValue = overflowLeftRowSetSource.getUnsafe(overflowLocation); + final TrackingWritableRowSet leftRowSetValue = + overflowLeftRowSetSource.getUnsafe(overflowLocation); leftRowSetSource.set(tableLocation, leftRowSetValue); overflowLeftRowSetSource.set(overflowLocation, null); if (leftRowSetValue != null) { @@ -1482,10 +1513,10 @@ public void doRehash(BuildContext bc } tableHashPivot += bucketsToAdd; - // region rehash loop end + // region rehash loop end // endregion rehash loop end } - // region rehash final + // region rehash final // endregion rehash final } @@ -1764,7 +1795,7 @@ class ProbeContext implements Context { private ProbeContext(ColumnSource[] probeSources, int chunkSize - // region probe context constructor args + // region probe context constructor args // endregion probe context constructor args ) { Assert.gtZero(chunkSize, "chunkSize"); @@ -1848,11 +1879,11 @@ public void close() { public ProbeContext makeProbeContext(ColumnSource[] probeSources, long maxSize - // region makeProbeContext args + // region makeProbeContext args // endregion makeProbeContext args ) { return new ProbeContext(probeSources, (int)Math.min(maxSize, CHUNK_SIZE) - // region makeProbeContext arg pass + // region makeProbeContext arg pass // endregion makeProbeContext arg pass ); } @@ -1863,9 +1894,8 @@ private void decorationProbe(ProbeContext pc // mixin prev , boolean usePrev // endmixin prev - // region additional probe arguments - , RowSequence probePrevRowSequence - , final StateTrackingCallback trackingCallback + // region additional probe arguments + , RowSequence probePrevRowSequence, final StateTrackingCallback trackingCallback // endregion additional probe arguments ) { // region probe start @@ -1873,9 +1903,9 @@ private void decorationProbe(ProbeContext pc long hashSlotOffset = 0; try (final RowSequence.Iterator rsIt = probeRows.getRowSequenceIterator(); - // region probe additional try resources - final RowSequence.Iterator prevRsIt = - probePrevRowSequence == null ? null : probePrevRowSequence.getRowSequenceIterator() + // region probe additional try resources + final RowSequence.Iterator prevRsIt = + probePrevRowSequence == null ? null : probePrevRowSequence.getRowSequenceIterator() // endregion probe additional try resources ) { //noinspection unchecked @@ -1933,9 +1963,11 @@ private void decorationProbe(ProbeContext pc if (pc.equalValues.get(ii)) { // region probe main found final long tableLocation = pc.tableLocationsChunk.get(ii); - final long prevKey = probePrevRowSequence == null ? RowSequence.NULL_ROW_KEY : pc.prevKeyIndices.get(ii); + final long prevKey = + probePrevRowSequence == null ? RowSequence.NULL_ROW_KEY : pc.prevKeyIndices.get(ii); final long oldCookie = modifiedTrackerCookieSource.getUnsafe(tableLocation); - final long newCookie = trackingCallback.invoke(oldCookie, tableLocation, pc.keyIndices.get(ii), prevKey); + final long newCookie = + trackingCallback.invoke(oldCookie, tableLocation, pc.keyIndices.get(ii), prevKey); if (oldCookie != newCookie) { modifiedTrackerCookieSource.set(tableLocation, newCookie); } @@ -1947,7 +1979,8 @@ private void decorationProbe(ProbeContext pc } else { // region probe main not found if (probePrevRowSequence != null) { - trackingCallback.invoke(CrossJoinModifiedSlotTracker.NULL_COOKIE, EMPTY_RIGHT_SLOT, pc.keyIndices.get(ii), pc.prevKeyIndices.get(ii)); + trackingCallback.invoke(CrossJoinModifiedSlotTracker.NULL_COOKIE, EMPTY_RIGHT_SLOT, + pc.keyIndices.get(ii), pc.prevKeyIndices.get(ii)); } // endregion probe main not found } @@ -1995,7 +2028,8 @@ private void decorationProbe(ProbeContext pc if (pc.equalValues.get(ii)) { // region probe overflow found final long rowKey = pc.keyIndices.get(chunkPosition); - final long prevRowKey = probePrevRowSequence == null ? RowSequence.NULL_ROW_KEY : pc.prevKeyIndices.get(chunkPosition); + final long prevRowKey = probePrevRowSequence == null ? RowSequence.NULL_ROW_KEY + : pc.prevKeyIndices.get(chunkPosition); final long hashLocation = overflowLocationToHashLocation(overflowLocation); final long oldCookie = overflowModifiedTrackerCookieSource.getUnsafe(overflowLocation); final long newCookie = trackingCallback.invoke(oldCookie, hashLocation, rowKey, prevRowKey); @@ -2115,7 +2149,8 @@ public TrackingWritableRowSet getLeftRowSet(long slot) { final boolean isOverflow = isOverflowLocation(slot); slot = isOverflow ? hashLocationToOverflowLocation(slot) : slot; - final ObjectArraySource leftSource = isOverflow ? overflowLeftRowSetSource : leftRowSetSource; + final ObjectArraySource leftSource = + isOverflow ? overflowLeftRowSetSource : leftRowSetSource; retVal = leftSource.get(slot); if (retVal == null) { @@ -2145,7 +2180,7 @@ void clearCookies() { for (int si = 0; si < tableSize; ++si) { modifiedTrackerCookieSource.set(si, CrossJoinModifiedSlotTracker.NULL_COOKIE); } - for (int osi = 0; osi < nextOverflowLocation; ++ osi) { + for (int osi = 0; osi < nextOverflowLocation; ++osi) { overflowModifiedTrackerCookieSource.set(osi, CrossJoinModifiedSlotTracker.NULL_COOKIE); } } @@ -2158,8 +2193,10 @@ void validateKeySpaceSize() { final int numShiftBits = getNumShiftBits(); if (minLeftBits + numShiftBits > 63) { throw new OutOfKeySpaceException("join out of rowSet space (left reqBits + right reservedBits > 63): " - + "(left table: {size: " + leftTable.getRowSet().size() + " maxRowKey: " + leftLastKey + " reqBits: " + minLeftBits + "}) X " - + "(right table: {maxRowKey: " + rightLastKey + " reqBits: " + minRightBits + " reservedBits: " + numShiftBits + "})" + + "(left table: {size: " + leftTable.getRowSet().size() + " maxRowKey: " + leftLastKey + + " reqBits: " + minLeftBits + "}) X " + + "(right table: {maxRowKey: " + rightLastKey + " reqBits: " + minRightBits + " reservedBits: " + + numShiftBits + "})" + " exceeds Long.MAX_VALUE. Consider flattening left table or reserving fewer right bits if possible."); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/RightIncrementalNaturalJoinStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/RightIncrementalNaturalJoinStateManager.java index 93c35f5b221..c1967df9ef6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/RightIncrementalNaturalJoinStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/RightIncrementalNaturalJoinStateManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.rowset.RowSequence; @@ -14,23 +14,39 @@ import io.deephaven.util.SafeCloseable; import org.jetbrains.annotations.NotNull; -public abstract class RightIncrementalNaturalJoinStateManager extends StaticNaturalJoinStateManager implements IncrementalNaturalJoinStateManager { +public abstract class RightIncrementalNaturalJoinStateManager extends StaticNaturalJoinStateManager + implements IncrementalNaturalJoinStateManager { protected RightIncrementalNaturalJoinStateManager(ColumnSource[] keySourcesForErrorMessages) { super(keySourcesForErrorMessages); } - public abstract void buildFromLeftSide(final Table leftTable, ColumnSource[] leftSources, final InitialBuildContext initialBuildContext); - public abstract void convertLeftGroups(int groupingSize, InitialBuildContext initialBuildContext, ObjectArraySource rowSetSource); - public abstract void addRightSide(RowSequence rightIndex, ColumnSource [] rightSources); + public abstract void buildFromLeftSide(final Table leftTable, ColumnSource[] leftSources, + final InitialBuildContext initialBuildContext); - public abstract WritableRowRedirection buildRowRedirectionFromHashSlot(QueryTable leftTable, boolean exactMatch, InitialBuildContext initialBuildContext, JoinControl.RedirectionType redirectionType); - public abstract WritableRowRedirection buildRowRedirectionFromHashSlotGrouped(QueryTable leftTable, ObjectArraySource rowSetSource, int groupingSize, boolean exactMatch, InitialBuildContext initialBuildContext, JoinControl.RedirectionType redirectionType); + public abstract void convertLeftGroups(int groupingSize, InitialBuildContext initialBuildContext, + ObjectArraySource rowSetSource); + + public abstract void addRightSide(RowSequence rightIndex, ColumnSource[] rightSources); + + public abstract WritableRowRedirection buildRowRedirectionFromHashSlot(QueryTable leftTable, boolean exactMatch, + InitialBuildContext initialBuildContext, JoinControl.RedirectionType redirectionType); + + public abstract WritableRowRedirection buildRowRedirectionFromHashSlotGrouped(QueryTable leftTable, + ObjectArraySource rowSetSource, int groupingSize, boolean exactMatch, + InitialBuildContext initialBuildContext, JoinControl.RedirectionType redirectionType); // modification probes - public abstract void applyRightShift(Context pc, ColumnSource [] rightSources, RowSet shiftedRowSet, long shiftDelta, @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker); - public abstract void modifyByRight(Context pc, RowSet modified, ColumnSource[] rightSources, @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker); - public abstract void removeRight(Context pc, RowSequence rightIndex, ColumnSource [] rightSources, @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker); - public abstract void addRightSide(Context pc, RowSequence rightIndex, ColumnSource [] rightSources, @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker); + public abstract void applyRightShift(Context pc, ColumnSource[] rightSources, RowSet shiftedRowSet, + long shiftDelta, @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker); + + public abstract void modifyByRight(Context pc, RowSet modified, ColumnSource[] rightSources, + @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker); + + public abstract void removeRight(Context pc, RowSequence rightIndex, ColumnSource[] rightSources, + @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker); + + public abstract void addRightSide(Context pc, RowSequence rightIndex, ColumnSource[] rightSources, + @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker); public abstract Context makeProbeContext(ColumnSource[] probeSources, long maxSize); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SelectOrUpdateListener.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SelectOrUpdateListener.java index 917dd04c7d8..285cdeabb94 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SelectOrUpdateListener.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SelectOrUpdateListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.rowset.TrackingRowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SelectValidationResult.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SelectValidationResult.java index f6d23772033..d3c57aa74dc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SelectValidationResult.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SelectValidationResult.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.impl.select.SelectColumn; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ShiftObliviousInstrumentedListener.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ShiftObliviousInstrumentedListener.java index d36547c1f2e..92a2c908378 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ShiftObliviousInstrumentedListener.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ShiftObliviousInstrumentedListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ShiftObliviousInstrumentedListenerAdapter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ShiftObliviousInstrumentedListenerAdapter.java index d55ddef591b..210af570042 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ShiftObliviousInstrumentedListenerAdapter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ShiftObliviousInstrumentedListenerAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.cache.RetentionCache; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ShiftedColumnOperation.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ShiftedColumnOperation.java index 7da3cc966a0..1f9f6125ca9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ShiftedColumnOperation.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ShiftedColumnOperation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ShiftedColumnsFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ShiftedColumnsFactory.java index 88d31eadb79..e3e691b7dd8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ShiftedColumnsFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ShiftedColumnsFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import com.github.javaparser.ast.ArrayCreationLevel; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SimpleSourceTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SimpleSourceTable.java index 0a6ec71bbfd..7b30e1c6760 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SimpleSourceTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SimpleSourceTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SimpleUniqueStaticNaturalJoinStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SimpleUniqueStaticNaturalJoinStateManager.java index 570895e7864..90dc4634c00 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SimpleUniqueStaticNaturalJoinStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SimpleUniqueStaticNaturalJoinStateManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; @@ -32,7 +32,8 @@ class SimpleUniqueStaticNaturalJoinStateManager extends StaticNaturalJoinStateMa private final LongArraySource rightRowSetSource = new LongArraySource(); - SimpleUniqueStaticNaturalJoinStateManager(ColumnSource[] tableKeySources, int tableSize, ToIntFunctor transform) { + SimpleUniqueStaticNaturalJoinStateManager(ColumnSource[] tableKeySources, int tableSize, + ToIntFunctor transform) { super(tableKeySources); this.tableSize = Require.gtZero(tableSize, "tableSize"); this.transform = transform; @@ -44,8 +45,8 @@ class SimpleUniqueStaticNaturalJoinStateManager extends StaticNaturalJoinStateMa void setRightSide(RowSet rightRowSet, ColumnSource valueSource) { try (final RowSequence.Iterator rsIt = rightRowSet.getRowSequenceIterator(); - final ColumnSource.GetContext getContext = valueSource.makeGetContext((int)Math.min(CHUNK_SIZE, rightRowSet.size())) - ) { + final ColumnSource.GetContext getContext = + valueSource.makeGetContext((int) Math.min(CHUNK_SIZE, rightRowSet.size()))) { while (rsIt.hasMore()) { final RowSequence chunkOk = rsIt.getNextRowSequenceWithLength(CHUNK_SIZE); @@ -72,7 +73,8 @@ void setRightSide(RowSet rightRowSet, ColumnSource valueSource) { } @Override - protected void decorateLeftSide(RowSet leftRowSet, ColumnSource [] valueSources, LongArraySource leftRedirections) { + protected void decorateLeftSide(RowSet leftRowSet, ColumnSource[] valueSources, + LongArraySource leftRedirections) { if (leftRowSet.isEmpty()) { return; } @@ -81,8 +83,8 @@ protected void decorateLeftSide(RowSet leftRowSet, ColumnSource [] valueSourc final ColumnSource valueSource = valueSources[0]; try (final RowSequence.Iterator rsIt = leftRowSet.getRowSequenceIterator(); - final ColumnSource.GetContext getContext = valueSource.makeGetContext((int)Math.min(CHUNK_SIZE, leftRowSet.size())) - ) { + final ColumnSource.GetContext getContext = + valueSource.makeGetContext((int) Math.min(CHUNK_SIZE, leftRowSet.size()))) { long offset = 0; while (rsIt.hasMore()) { final RowSequence chunkOk = rsIt.getNextRowSequenceWithLength(CHUNK_SIZE); @@ -98,7 +100,8 @@ protected void decorateLeftSide(RowSet leftRowSet, ColumnSource [] valueSourc final long existingRight = rightRowSetSource.getLong(tableLocation); if (existingRight == DUPLICATE_RIGHT_VALUE) { - throw new IllegalStateException(":Natural Join found duplicate right key for " + keySourcesForErrorMessages[0].get(leftRowSet.get(offset + ii))); + throw new IllegalStateException(":Natural Join found duplicate right key for " + + keySourcesForErrorMessages[0].get(leftRowSet.get(offset + ii))); } leftRedirections.set(offset + ii, existingRight); } @@ -109,7 +112,8 @@ protected void decorateLeftSide(RowSet leftRowSet, ColumnSource [] valueSourc } @NotNull - WritableRowRedirection buildRowRedirection(QueryTable leftTable, boolean exactMatch, LongArraySource leftRedirections, JoinControl.RedirectionType redirectionType) { + WritableRowRedirection buildRowRedirection(QueryTable leftTable, boolean exactMatch, + LongArraySource leftRedirections, JoinControl.RedirectionType redirectionType) { return buildRowRedirection(leftTable, exactMatch, leftRedirections::getLong, redirectionType); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SliceLikeOperation.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SliceLikeOperation.java index e2dc49e99e5..c8664429188 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SliceLikeOperation.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SliceLikeOperation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.rowset.TrackingWritableRowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SortHelpers.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SortHelpers.java index 6378fec6c18..f7a87b9e952 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SortHelpers.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SortHelpers.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SortListener.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SortListener.java index 16ed1f424b8..3a35285ddba 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SortListener.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SortListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.ringbuffer.LongRingBuffer; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SortOperation.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SortOperation.java index 45c3bc84c1b..3d66d2071fb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SortOperation.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SortOperation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SortPair.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SortPair.java index d61df87686d..d3617e733c9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SortPair.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SortPair.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.SortColumn; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SortedColumnsAttribute.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SortedColumnsAttribute.java index 3575f99f82d..d470c72ec51 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SortedColumnsAttribute.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SortedColumnsAttribute.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SortingOrder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SortingOrder.java index 7375b7ae019..a303502da2c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SortingOrder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SortingOrder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import org.jetbrains.annotations.NotNull; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SourcePartitionedTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SourcePartitionedTable.java index 9b8d7eccd87..e246516bfdc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SourcePartitionedTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SourcePartitionedTable.java @@ -1,6 +1,6 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SourceTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SourceTable.java index 2e42da20a2a..98f922b0f19 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SourceTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SourceTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SourceTableComponentFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SourceTableComponentFactory.java index 2f5f55ae3e6..622481500f7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SourceTableComponentFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SourceTableComponentFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.ColumnDefinition; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SparseSelect.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SparseSelect.java index 478c69a3aa9..52fb59fbc66 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SparseSelect.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SparseSelect.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/StaticAsOfJoinStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/StaticAsOfJoinStateManager.java index 121aef06d5e..1b2427f54b1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/StaticAsOfJoinStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/StaticAsOfJoinStateManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.ColumnSource; @@ -21,6 +21,7 @@ protected String extractKeyStringFromSourceTable(long leftKey) { if (keySourcesForErrorMessages.length == 1) { return Objects.toString(keySourcesForErrorMessages[0].get(leftKey)); } - return "[" + Arrays.stream(keySourcesForErrorMessages).map(ls -> Objects.toString(ls.get(leftKey))).collect(Collectors.joining(", ")) + "]"; + return "[" + Arrays.stream(keySourcesForErrorMessages).map(ls -> Objects.toString(ls.get(leftKey))) + .collect(Collectors.joining(", ")) + "]"; } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/StaticChunkedCrossJoinStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/StaticChunkedCrossJoinStateManager.java index ba7f979b65d..6481771d607 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/StaticChunkedCrossJoinStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/StaticChunkedCrossJoinStateManager.java @@ -1,6 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit LeftOnlyIncrementalChunkedCrossJoinStateManager and run "./gradlew replicateHashTable" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Require; @@ -45,9 +50,9 @@ // region class visibility // endregion class visibility class StaticChunkedCrossJoinStateManager - // region extensions - extends CrossJoinShiftState - implements CrossJoinStateManager + // region extensions + extends CrossJoinShiftState + implements CrossJoinStateManager // endregion extensions { // region constants @@ -69,7 +74,7 @@ interface StateTrackingCallback { * Invoke a callback that will allow external trackers to record changes to states in build or probe calls. * * @param stateSlot The state slot (in main table space) - * @param rowKey The probed row key + * @param rowKey The probed row key */ void invoke(long stateSlot, long rowKey); } @@ -176,10 +181,8 @@ interface StateTrackingCallback { // endregion constructor visibility StaticChunkedCrossJoinStateManager(ColumnSource[] tableKeySources , int tableSize - // region constructor arguments - , JoinControl control - , QueryTable leftTable - , boolean leftOuterJoin + // region constructor arguments + , JoinControl control, QueryTable leftTable, boolean leftOuterJoin // endregion constructor arguments ) { // region super @@ -260,9 +263,9 @@ private void ensureOverflowCapacity(WritableIntChunk chunkPositi // region build wrappers @NotNull WritableRowSet buildFromRight(@NotNull final QueryTable leftTable, - @NotNull final ColumnSource[] leftKeys, - @NotNull final QueryTable rightTable, - @NotNull final ColumnSource[] rightKeys) { + @NotNull final ColumnSource[] leftKeys, + @NotNull final QueryTable rightTable, + @NotNull final ColumnSource[] rightKeys) { final boolean ignoreMissing = false; if (!rightTable.isEmpty()) { try (final BuildContext bc = makeBuildContext(rightKeys, rightTable.size())) { @@ -313,9 +316,9 @@ WritableRowSet buildFromRight(@NotNull final QueryTable leftTable, @NotNull WritableRowSet buildFromLeft(@NotNull final QueryTable leftTable, - @NotNull final ColumnSource[] leftKeys, - @NotNull final QueryTable rightTable, - @NotNull final ColumnSource[] rightKeys) { + @NotNull final ColumnSource[] leftKeys, + @NotNull final QueryTable rightTable, + @NotNull final ColumnSource[] rightKeys) { if (!leftTable.isEmpty()) { try (final BuildContext bc = makeBuildContext(leftKeys, leftTable.size())) { buildTable(bc, leftTable.getRowSet(), leftKeys, (slot, rowKey) -> { @@ -483,7 +486,7 @@ class BuildContext implements Context { private BuildContext(ColumnSource[] buildSources, int chunkSize - // region build context constructor args + // region build context constructor args // endregion build context constructor args ) { Assert.gtZero(chunkSize, "chunkSize"); @@ -611,11 +614,11 @@ public void close() { public BuildContext makeBuildContext(ColumnSource[] buildSources, long maxSize - // region makeBuildContext args + // region makeBuildContext args // endregion makeBuildContext args ) { return new BuildContext(buildSources, (int)Math.min(CHUNK_SIZE, maxSize) - // region makeBuildContext arg pass + // region makeBuildContext arg pass // endregion makeBuildContext arg pass ); } @@ -623,7 +626,7 @@ public BuildContext makeBuildContext(ColumnSource[] buildSources, private void buildTable(final BuildContext bc, final RowSequence buildRows, ColumnSource[] buildSources - // region extra build arguments + // region extra build arguments , final StateTrackingCallback trackingCallback // endregion extra build arguments ) { @@ -632,7 +635,7 @@ private void buildTable(final BuildContext bc, // endregion build start try (final RowSequence.Iterator rsIt = buildRows.getRowSequenceIterator(); - // region build initialization try + // region build initialization try // endregion build initialization try ) { // region build initialization @@ -861,7 +864,8 @@ private void buildTable(final BuildContext bc, // region build overflow insert final long keyToAdd = bc.sourceRowKeys.get(chunkPosition); - trackingCallback.invoke(overflowLocationToHashLocation(allocatedOverflowLocation), keyToAdd); + trackingCallback.invoke(overflowLocationToHashLocation(allocatedOverflowLocation), + keyToAdd); // endregion build overflow insert // mixin rehash @@ -899,7 +903,8 @@ private void buildTable(final BuildContext bc, // region build overflow duplicate final long keyToAdd = bc.sourceRowKeys.get(chunkPosition); // we match the first element, so should use the overflow slow we allocated for it - trackingCallback.invoke(overflowLocationToHashLocation(insertedOverflowLocation), keyToAdd); + trackingCallback.invoke(overflowLocationToHashLocation(insertedOverflowLocation), + keyToAdd); // endregion build overflow duplicate } else { // we need to try this element again in the next round @@ -930,20 +935,20 @@ private void buildTable(final BuildContext bc, // mixin rehash public void doRehash(BuildContext bc - // region extra rehash arguments + // region extra rehash arguments // endregion extra rehash arguments ) { long firstBackingChunkLocation; long lastBackingChunkLocation;// mixin rehash - // region rehash start + // region rehash start // endregion rehash start while (rehashRequired()) { - // region rehash loop start + // region rehash loop start // endregion rehash loop start if (tableHashPivot == tableSize) { tableSize *= 2; ensureCapacity(tableSize); - // region rehash ensure capacity + // region rehash ensure capacity // endregion rehash ensure capacity } @@ -1088,7 +1093,7 @@ public void doRehash(BuildContext bc } bc.sourcePositions.add(ii); bc.destinationLocationPositionInWriteThrough.add((int)(tableLocation - firstBackingChunkLocation)); - // region promotion move + // region promotion move // endregion promotion move } } @@ -1112,10 +1117,10 @@ public void doRehash(BuildContext bc } tableHashPivot += bucketsToAdd; - // region rehash loop end + // region rehash loop end // endregion rehash loop end } - // region rehash final + // region rehash final // endregion rehash final } @@ -1398,7 +1403,7 @@ class ProbeContext implements Context { private ProbeContext(ColumnSource[] probeSources, int chunkSize - // region probe context constructor args + // region probe context constructor args // endregion probe context constructor args ) { Assert.gtZero(chunkSize, "chunkSize"); @@ -1480,11 +1485,11 @@ public void close() { public ProbeContext makeProbeContext(ColumnSource[] probeSources, long maxSize - // region makeProbeContext args + // region makeProbeContext args // endregion makeProbeContext args ) { return new ProbeContext(probeSources, (int)Math.min(maxSize, CHUNK_SIZE) - // region makeProbeContext arg pass + // region makeProbeContext arg pass // endregion makeProbeContext arg pass ); } @@ -1492,8 +1497,8 @@ public ProbeContext makeProbeContext(ColumnSource[] probeSources, private void decorationProbe(ProbeContext pc , RowSequence probeRows , final ColumnSource[] probeSources - // region additional probe arguments - , final StateTrackingCallback trackingCallback + // region additional probe arguments + , final StateTrackingCallback trackingCallback // endregion additional probe arguments ) { // region probe start @@ -1501,7 +1506,7 @@ private void decorationProbe(ProbeContext pc long hashSlotOffset = 0; try (final RowSequence.Iterator rsIt = probeRows.getRowSequenceIterator(); - // region probe additional try resources + // region probe additional try resources // endregion probe additional try resources ) { //noinspection unchecked @@ -1670,7 +1675,7 @@ ResultOnlyCrossJoinStateManager getResultOnlyStateManager() { /** * For the result we do not need to maintain the hash table, we only need to have the densely packed set of right - * indices and the redirection from the left table to the corresponding RowSet. By returning this simple state + * indices and the redirection from the left table to the corresponding RowSet. By returning this simple state * manager instead of preserving the full StaticChunkedCrossJoinStateManager we can drop the intermediate table. */ static class ResultOnlyCrossJoinStateManager extends CrossJoinShiftState implements CrossJoinStateManager { @@ -1689,7 +1694,8 @@ public ResultOnlyCrossJoinStateManager( @Override public TrackingRowSet getRightRowSetFromLeftRow(long leftRowSlot) { - return StaticChunkedCrossJoinStateManager.getRightRowSetFromLeftRowKey(leftRowSetToSlot, rightRowSetSource, leftRowSlot); + return StaticChunkedCrossJoinStateManager.getRightRowSetFromLeftRowKey(leftRowSetToSlot, rightRowSetSource, + leftRowSlot); } @Override @@ -1709,7 +1715,8 @@ private long getRowSetSlot(long slot) { } @NotNull - private static TrackingRowSet getRightRowSetForSlot(ObjectArraySource rightRowSetSource, long rowSetSlot) { + private static TrackingRowSet getRightRowSetForSlot(ObjectArraySource rightRowSetSource, + long rowSetSlot) { final TrackingRowSet retVal = rightRowSetSource.getUnsafe(rowSetSlot); if (retVal != null) { return retVal; @@ -1724,7 +1731,8 @@ public TrackingRowSet getRightRowSetFromLeftRow(long leftRowKey) { @NotNull private static TrackingRowSet getRightRowSetFromLeftRowKey( - RowRedirection leftRowSetToSlot, ObjectArraySource rightRowSetSource, long leftRowKey) { + RowRedirection leftRowSetToSlot, ObjectArraySource rightRowSetSource, + long leftRowKey) { long slot = leftRowSetToSlot.get(leftRowKey); if (slot == RowSet.NULL_ROW_KEY) { return EMPTY_ROWSET; @@ -1745,7 +1753,8 @@ private void validateKeySpaceSize(final QueryTable leftTable) { final int minRightBits = getNumShiftBits(); if (minLeftBits + minRightBits > 63) { throw new OutOfKeySpaceException("join out of rowSet space (left reqBits + right reqBits > 63): " - + "(left table: {size: " + leftTable.getRowSet().size() + " maxRowKey: " + leftLastKey + " reqBits: " + minLeftBits + "}) X " + + "(left table: {size: " + leftTable.getRowSet().size() + " maxRowKey: " + leftLastKey + + " reqBits: " + minLeftBits + "}) X " + "(right table: {maxRowKey: " + rightLastKey + " reqBits: " + minRightBits + "})" + " exceeds Long.MAX_VALUE. Consider flattening left table if possible."); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/StaticNaturalJoinStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/StaticNaturalJoinStateManager.java index 74c378830f5..08bec702f9e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/StaticNaturalJoinStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/StaticNaturalJoinStateManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.rowset.RowSequence; @@ -28,7 +28,8 @@ protected StaticNaturalJoinStateManager(ColumnSource[] keySourcesForErrorMess @SuppressWarnings("WeakerAccess") public void checkExactMatch(boolean exactMatch, long leftKeyIndex, long rightSide) { if (exactMatch && rightSide == NO_RIGHT_ENTRY_VALUE) { - throw new RuntimeException("Tables don't have one-to-one mapping - no mappings for key " + extractKeyStringFromSourceTable(leftKeyIndex) + "."); + throw new RuntimeException("Tables don't have one-to-one mapping - no mappings for key " + + extractKeyStringFromSourceTable(leftKeyIndex) + "."); } } @@ -37,10 +38,12 @@ protected String extractKeyStringFromSourceTable(long leftKey) { if (keySourcesForErrorMessages.length == 1) { return Objects.toString(keySourcesForErrorMessages[0].get(leftKey)); } - return "[" + Arrays.stream(keySourcesForErrorMessages).map(ls -> Objects.toString(ls.get(leftKey))).collect(Collectors.joining(", ")) + "]"; + return "[" + Arrays.stream(keySourcesForErrorMessages).map(ls -> Objects.toString(ls.get(leftKey))) + .collect(Collectors.joining(", ")) + "]"; } - public WritableRowRedirection buildRowRedirection(QueryTable leftTable, boolean exactMatch, LongUnaryOperator rightSideFromSlot, JoinControl.RedirectionType redirectionType) { + public WritableRowRedirection buildRowRedirection(QueryTable leftTable, boolean exactMatch, + LongUnaryOperator rightSideFromSlot, JoinControl.RedirectionType redirectionType) { switch (redirectionType) { case Contiguous: { if (!leftTable.isFlat()) { @@ -59,7 +62,7 @@ public WritableRowRedirection buildRowRedirection(QueryTable leftTable, boolean final LongSparseArraySource sparseRedirections = new LongSparseArraySource(); long leftPosition = 0; - for (final RowSet.Iterator it = leftTable.getRowSet().iterator(); it.hasNext(); ) { + for (final RowSet.Iterator it = leftTable.getRowSet().iterator(); it.hasNext();) { final long next = it.nextLong(); final long rightSide = rightSideFromSlot.applyAsLong(leftPosition++); checkExactMatch(exactMatch, leftTable.getRowSet().get(next), rightSide); @@ -70,10 +73,11 @@ public WritableRowRedirection buildRowRedirection(QueryTable leftTable, boolean return new LongColumnSourceWritableRowRedirection(sparseRedirections); } case Hash: { - final WritableRowRedirection rowRedirection = WritableRowRedirectionLockFree.FACTORY.createRowRedirection(leftTable.intSize()); + final WritableRowRedirection rowRedirection = + WritableRowRedirectionLockFree.FACTORY.createRowRedirection(leftTable.intSize()); long leftPosition = 0; - for (final RowSet.Iterator it = leftTable.getRowSet().iterator(); it.hasNext(); ) { + for (final RowSet.Iterator it = leftTable.getRowSet().iterator(); it.hasNext();) { final long next = it.nextLong(); final long rightSide = rightSideFromSlot.applyAsLong(leftPosition++); checkExactMatch(exactMatch, leftTable.getRowSet().get(next), rightSide); @@ -88,5 +92,6 @@ public WritableRowRedirection buildRowRedirection(QueryTable leftTable, boolean throw new IllegalStateException("Bad redirectionType: " + redirectionType); } - protected abstract void decorateLeftSide(RowSet leftRowSet, ColumnSource[] leftSources, final LongArraySource leftRedirections); + protected abstract void decorateLeftSide(RowSet leftRowSet, ColumnSource[] leftSources, + final LongArraySource leftRedirections); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SymbolTableCombiner.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SymbolTableCombiner.java index 77b430da21a..72e4cf790c9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SymbolTableCombiner.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SymbolTableCombiner.java @@ -1,6 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit LeftOnlyIncrementalChunkedCrossJoinStateManager and run "./gradlew replicateHashTable" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Require; @@ -46,7 +51,7 @@ // region class visibility // endregion class visibility class SymbolTableCombiner - // region extensions +// region extensions // endregion extensions { // region constants @@ -150,7 +155,7 @@ class SymbolTableCombiner // endregion constructor visibility SymbolTableCombiner(ColumnSource[] tableKeySources , int tableSize - // region constructor arguments + // region constructor arguments // endregion constructor arguments ) { // region super @@ -242,7 +247,8 @@ void addSymbols(final Table symbolTable, RowSet rowSet, IntegerSparseArraySource addSymbols(rowSet, symbolSource, idSource, symbolMapper); } - private void addSymbols(final RowSet rowSet, ColumnSource symbolSource, ColumnSource idSource, IntegerSparseArraySource symbolMapper) { + private void addSymbols(final RowSet rowSet, ColumnSource symbolSource, ColumnSource idSource, + IntegerSparseArraySource symbolMapper) { final IntegerArraySource resultIdentifiers = new IntegerArraySource(); resultIdentifiers.ensureCapacity(rowSet.size()); @@ -346,7 +352,7 @@ class BuildContext implements Context { private BuildContext(ColumnSource[] buildSources, int chunkSize - // region build context constructor args + // region build context constructor args // endregion build context constructor args ) { Assert.gtZero(chunkSize, "chunkSize"); @@ -472,11 +478,11 @@ public void close() { public BuildContext makeBuildContext(ColumnSource[] buildSources, long maxSize - // region makeBuildContext args + // region makeBuildContext args // endregion makeBuildContext args ) { return new BuildContext(buildSources, (int)Math.min(CHUNK_SIZE, maxSize) - // region makeBuildContext arg pass + // region makeBuildContext arg pass // endregion makeBuildContext arg pass ); } @@ -493,11 +499,12 @@ private void buildTable(final BuildContext bc, // endregion build start try (final RowSequence.Iterator rsIt = buildRows.getRowSequenceIterator(); - // region build initialization try + // region build initialization try // endregion build initialization try ) { // region build initialization - final WritableIntChunk sourceResultIdentifiers = WritableIntChunk.makeWritableChunk((int)Math.min(CHUNK_SIZE, buildRows.size())); + final WritableIntChunk sourceResultIdentifiers = + WritableIntChunk.makeWritableChunk((int) Math.min(CHUNK_SIZE, buildRows.size())); // endregion build initialization // chunks to write through to the table key sources @@ -676,7 +683,8 @@ private void buildTable(final BuildContext bc, if (bc.equalValues.get(ii)) { // region build overflow found // if we are equal, then it's great and we know our identifier - sourceResultIdentifiers.set(chunkPosition, overflowUniqueIdentifierSource.getInt(overflowLocation)); + sourceResultIdentifiers.set(chunkPosition, + overflowUniqueIdentifierSource.getInt(overflowLocation)); // endregion build overflow found } else { // otherwise, we need to repeat the overflow calculation, with our next overflow fetch @@ -760,7 +768,8 @@ private void buildTable(final BuildContext bc, final long insertedOverflowLocation = bc.overflowLocationForEqualityCheck.get(ii); // region build overflow duplicate // we match the first element, so should use the overflow slow we allocated for it - sourceResultIdentifiers.set(chunkPosition, overflowUniqueIdentifierSource.getInt(insertedOverflowLocation)); + sourceResultIdentifiers.set(chunkPosition, + overflowUniqueIdentifierSource.getInt(insertedOverflowLocation)); // endregion build overflow duplicate } else { // we need to try this element again in the next round @@ -784,7 +793,7 @@ private void buildTable(final BuildContext bc, for (int ii = 0; ii < sourceResultIdentifiers.size(); ++ii) { resultSource.set(hashSlotOffset + ii, sourceResultIdentifiers.get(ii)); } -// hashSlotOffset += sourceResultIdentifiers.size(); + // hashSlotOffset += sourceResultIdentifiers.size(); // endregion copy hash slots hashSlotOffset += chunkOk.size(); } @@ -796,20 +805,20 @@ private void buildTable(final BuildContext bc, // mixin rehash public void doRehash(BuildContext bc - // region extra rehash arguments + // region extra rehash arguments // endregion extra rehash arguments ) { long firstBackingChunkLocation; long lastBackingChunkLocation;// mixin rehash - // region rehash start + // region rehash start // endregion rehash start while (rehashRequired()) { - // region rehash loop start + // region rehash loop start // endregion rehash loop start if (tableHashPivot == tableSize) { tableSize *= 2; ensureCapacity(tableSize); - // region rehash ensure capacity + // region rehash ensure capacity // endregion rehash ensure capacity } @@ -879,7 +888,7 @@ public void doRehash(BuildContext bc final int stateValueToMove = uniqueIdentifierSource.getUnsafe(oldHashLocation); uniqueIdentifierSource.set(newHashLocation, stateValueToMove); uniqueIdentifierSource.set(oldHashLocation, EMPTY_SYMBOL_VALUE); - // region rehash move values + // region rehash move values // endregion rehash move values bc.sourcePositions.add(ii); @@ -954,7 +963,7 @@ public void doRehash(BuildContext bc } bc.sourcePositions.add(ii); bc.destinationLocationPositionInWriteThrough.add((int)(tableLocation - firstBackingChunkLocation)); - // region promotion move + // region promotion move // endregion promotion move } } @@ -978,10 +987,10 @@ public void doRehash(BuildContext bc } tableHashPivot += bucketsToAdd; - // region rehash loop end + // region rehash loop end // endregion rehash loop end } - // region rehash final + // region rehash final // endregion rehash final } @@ -1210,21 +1219,22 @@ private void getKeyChunks(ColumnSource[] sources, ColumnSource.GetContext[] c // region probe wrappers - void lookupSymbols(final Table symbolTable, IntegerSparseArraySource symbolMapper, @SuppressWarnings("SameParameterValue") int irrelevantSymbolValue) { + void lookupSymbols(final Table symbolTable, IntegerSparseArraySource symbolMapper, + @SuppressWarnings("SameParameterValue") int irrelevantSymbolValue) { if (symbolTable.isEmpty()) { return; } - //noinspection unchecked + // noinspection unchecked final ColumnSource symbolSource = symbolTable.getColumnSource(SymbolTableSource.SYMBOL_COLUMN_NAME); - //noinspection unchecked + // noinspection unchecked final ColumnSource idSource = symbolTable.getColumnSource(SymbolTableSource.ID_COLUMN_NAME); final IntegerArraySource resultIdentifiers = new IntegerArraySource(); resultIdentifiers.ensureCapacity(symbolTable.size()); final ColumnSource[] probeSources = {symbolSource}; - try (final ProbeContext pc = makeProbeContext(probeSources, symbolTable.size())){ + try (final ProbeContext pc = makeProbeContext(probeSources, symbolTable.size())) { decorationProbe(pc, symbolTable.getRowSet(), probeSources, resultIdentifiers, irrelevantSymbolValue); } @@ -1283,7 +1293,7 @@ class ProbeContext implements Context { private ProbeContext(ColumnSource[] probeSources, int chunkSize - // region probe context constructor args + // region probe context constructor args // endregion probe context constructor args ) { Assert.gtZero(chunkSize, "chunkSize"); @@ -1365,11 +1375,11 @@ public void close() { public ProbeContext makeProbeContext(ColumnSource[] probeSources, long maxSize - // region makeProbeContext args + // region makeProbeContext args // endregion makeProbeContext args ) { return new ProbeContext(probeSources, (int)Math.min(maxSize, CHUNK_SIZE) - // region makeProbeContext arg pass + // region makeProbeContext arg pass // endregion makeProbeContext arg pass ); } @@ -1377,9 +1387,8 @@ public ProbeContext makeProbeContext(ColumnSource[] probeSources, private void decorationProbe(ProbeContext pc , RowSequence probeRows , final ColumnSource[] probeSources - // region additional probe arguments - , @NotNull final IntegerArraySource symbolMappings - , int irrelevantSymbolValue + // region additional probe arguments + , @NotNull final IntegerArraySource symbolMappings, int irrelevantSymbolValue // endregion additional probe arguments ) { // region probe start @@ -1387,7 +1396,7 @@ private void decorationProbe(ProbeContext pc long hashSlotOffset = 0; try (final RowSequence.Iterator rsIt = probeRows.getRowSequenceIterator(); - // region probe additional try resources + // region probe additional try resources // endregion probe additional try resources ) { //noinspection unchecked @@ -1468,7 +1477,8 @@ private void decorationProbe(ProbeContext pc fillOverflowKeys(pc.overflowContexts, pc.workingKeyChunks, pc.overflowLocationsToFetch); // region probe overflow state source fill - overflowUniqueIdentifierSource.fillChunkUnordered(pc.overflowStateFillContext, pc.workingStateEntries, pc.overflowLocationsToFetch); + overflowUniqueIdentifierSource.fillChunkUnordered(pc.overflowStateFillContext, + pc.workingStateEntries, pc.overflowLocationsToFetch); // endregion probe overflow state source fill // now compare the value in our workingKeyChunks to the value in the sourceChunk @@ -1483,7 +1493,8 @@ private void decorationProbe(ProbeContext pc if (pc.equalValues.get(ii)) { // region probe overflow found - workingSymbolValues.set(pc.chunkPositionsForFetches.get(ii), pc.workingStateEntries.get(ii)); + workingSymbolValues.set(pc.chunkPositionsForFetches.get(ii), + pc.workingStateEntries.get(ii)); // endregion probe overflow found } else { // otherwise, we need to repeat the overflow calculation, with our next overflow fetch diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/SymbolTableToUniqueIdSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/SymbolTableToUniqueIdSource.java index 2d3d2991e21..13668dca0ec 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/SymbolTableToUniqueIdSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/SymbolTableToUniqueIdSource.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/TableAdapter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/TableAdapter.java index c724ad397bb..770e5987cb2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/TableAdapter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/TableAdapter.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.AsOfJoinMatch; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/TableCreatorImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/TableCreatorImpl.java index 70c5d46a704..8753d531ae4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/TableCreatorImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/TableCreatorImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import com.google.auto.service.AutoService; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/TableDefaults.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/TableDefaults.java index f4e251f227f..2688647f509 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/TableDefaults.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/TableDefaults.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/TableKeyStateRegistry.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/TableKeyStateRegistry.java index f0570a82136..3f9323c1c47 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/TableKeyStateRegistry.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/TableKeyStateRegistry.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.impl.locations.ImmutableTableKey; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/TableToOperationsImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/TableToOperationsImpl.java index bf22c0579de..a1efd6559d4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/TableToOperationsImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/TableToOperationsImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/TableUpdateImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/TableUpdateImpl.java index 29cd01143d3..15b1ad63b41 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/TableUpdateImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/TableUpdateImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/TableUpdateValidator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/TableUpdateValidator.java index 9ec9ddf94a5..1d4dd3ae586 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/TableUpdateValidator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/TableUpdateValidator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/TimeTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/TimeTable.java index 728cd45068d..aa7c53c8bde 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/TimeTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/TimeTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.clock.Clock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/UnboxedLongBackedColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/UnboxedLongBackedColumnSource.java index 973d30b015c..cf7073ba3e4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/UnboxedLongBackedColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/UnboxedLongBackedColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/UncoalescedTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/UncoalescedTable.java index 23c827532e1..3caad808244 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/UncoalescedTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/UncoalescedTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.AsOfJoinMatch; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/UpdatableTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/UpdatableTable.java index fdbea26f01f..aee39b19b48 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/UpdatableTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/UpdatableTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.rowset.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/UpdateErrorReporter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/UpdateErrorReporter.java index ae683b3198a..4c3668396d3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/UpdateErrorReporter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/UpdateErrorReporter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import java.io.IOException; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/UpdateSourceQueryTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/UpdateSourceQueryTable.java index 129e8f53b87..f4ea3c8f10c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/UpdateSourceQueryTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/UpdateSourceQueryTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/WhereListener.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/WhereListener.java index 497f662c32b..1c92d020e66 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/WhereListener.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/WhereListener.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/WouldMatchOperation.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/WouldMatchOperation.java index cb2b169d7d6..49766528990 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/WouldMatchOperation.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/WouldMatchOperation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ZeroKeyCrossJoinShiftState.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ZeroKeyCrossJoinShiftState.java index e0e2586eec9..ea5f6ddb35a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ZeroKeyCrossJoinShiftState.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ZeroKeyCrossJoinShiftState.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/BucketedChunkedAjMergedListener.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/BucketedChunkedAjMergedListener.java index 2dd8f7ef183..1e04a421ae2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/BucketedChunkedAjMergedListener.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/BucketedChunkedAjMergedListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.asofjoin; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/ChunkedAjUtils.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/ChunkedAjUtils.java index 91963fad48b..d3067250030 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/ChunkedAjUtils.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/ChunkedAjUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.asofjoin; import io.deephaven.engine.table.impl.SortingOrder; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/RightIncrementalAsOfJoinStateManagerTypedBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/RightIncrementalAsOfJoinStateManagerTypedBase.java index 7830ed374dd..99bc7ce06f7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/RightIncrementalAsOfJoinStateManagerTypedBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/RightIncrementalAsOfJoinStateManagerTypedBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.asofjoin; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/RightIncrementalHashedAsOfJoinStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/RightIncrementalHashedAsOfJoinStateManager.java index ba368c1f9d3..5044867097d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/RightIncrementalHashedAsOfJoinStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/RightIncrementalHashedAsOfJoinStateManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.asofjoin; import io.deephaven.engine.rowset.*; @@ -30,7 +30,8 @@ protected RightIncrementalHashedAsOfJoinStateManager(ColumnSource[] keySource public static final byte ENTRY_LEFT_IS_SSA = 0x20; public static final byte ENTRY_LEFT_IS_INDEX = 0x30; - protected void addToSequentialBuilder(long slot, @NotNull ObjectArraySource sequentialBuilders, long indexKey) { + protected void addToSequentialBuilder(long slot, + @NotNull ObjectArraySource sequentialBuilders, long indexKey) { RowSetBuilderSequential builder = sequentialBuilders.getUnsafe(slot); if (builder == null) { builder = RowSetFactory.builderSequential(); @@ -40,39 +41,57 @@ protected void addToSequentialBuilder(long slot, @NotNull ObjectArraySource> 4); + return (byte) ((entryType & ENTRY_LEFT_MASK) >> 4); } protected byte getRightEntryType(byte entryType) { - return (byte)(entryType & ENTRY_RIGHT_MASK); + return (byte) (entryType & ENTRY_RIGHT_MASK); } - public abstract int buildFromLeftSide(RowSequence leftRowSet, ColumnSource[] leftSources, @NotNull IntegerArraySource addedSlots); - public abstract int buildFromRightSide(RowSequence rightRowSet, ColumnSource[] rightSources, @NotNull IntegerArraySource addedSlots, int usedSlots); + public abstract int buildFromLeftSide(RowSequence leftRowSet, ColumnSource[] leftSources, + @NotNull IntegerArraySource addedSlots); + + public abstract int buildFromRightSide(RowSequence rightRowSet, ColumnSource[] rightSources, + @NotNull IntegerArraySource addedSlots, int usedSlots); public abstract void probeRightInitial(RowSequence rightIndex, ColumnSource[] rightSources); - public abstract int probeAdditions(RowSet restampAdditions, ColumnSource[] sources, IntegerArraySource slots, ObjectArraySource sequentialBuilders); - public abstract int buildAdditions(boolean isLeftSide, RowSet additions, ColumnSource[] sources, IntegerArraySource slots, ObjectArraySource sequentialBuilders); + + public abstract int probeAdditions(RowSet restampAdditions, ColumnSource[] sources, IntegerArraySource slots, + ObjectArraySource sequentialBuilders); + + public abstract int buildAdditions(boolean isLeftSide, RowSet additions, ColumnSource[] sources, + IntegerArraySource slots, ObjectArraySource sequentialBuilders); public abstract SegmentedSortedArray getRightSsa(int slot); + public abstract SegmentedSortedArray getRightSsa(int slot, Function ssaFactory); + public abstract SegmentedSortedArray getLeftSsa(int slot); + public abstract SegmentedSortedArray getLeftSsa(int slot, Function ssaFactory); public abstract SegmentedSortedArray getLeftSsaOrIndex(int slot, MutableObject indexOutput); + public abstract SegmentedSortedArray getRightSsaOrIndex(int slot, MutableObject indexOutput); + public abstract void setRightIndex(int slot, RowSet rowSet); + public abstract void setLeftIndex(int slot, RowSet rowSet); + public abstract WritableRowSet getLeftIndex(int slot); + public abstract WritableRowSet getRightIndex(int slot); public abstract WritableRowSet getAndClearLeftIndex(int slot); - public abstract int markForRemoval(RowSet restampRemovals, ColumnSource[] sources, IntegerArraySource slots, ObjectArraySource sequentialBuilders); + public abstract int markForRemoval(RowSet restampRemovals, ColumnSource[] sources, IntegerArraySource slots, + ObjectArraySource sequentialBuilders); - public abstract int gatherShiftIndex(RowSet restampAdditions, ColumnSource[] sources, IntegerArraySource slots, ObjectArraySource sequentialBuilders); + public abstract int gatherShiftIndex(RowSet restampAdditions, ColumnSource[] sources, IntegerArraySource slots, + ObjectArraySource sequentialBuilders); - public abstract int gatherModifications(RowSet restampAdditions, ColumnSource[] sources, IntegerArraySource slots, ObjectArraySource sequentialBuilders); + public abstract int gatherModifications(RowSet restampAdditions, ColumnSource[] sources, + IntegerArraySource slots, ObjectArraySource sequentialBuilders); public abstract byte getState(int slot); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/StaticAsOfJoinStateManagerTypedBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/StaticAsOfJoinStateManagerTypedBase.java index 4ad93dbf0e6..aba60c6caf0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/StaticAsOfJoinStateManagerTypedBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/StaticAsOfJoinStateManagerTypedBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.asofjoin; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/StaticHashedAsOfJoinStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/StaticHashedAsOfJoinStateManager.java index cb84f836bdd..b1341a5ec3a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/StaticHashedAsOfJoinStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/StaticHashedAsOfJoinStateManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.asofjoin; import io.deephaven.engine.rowset.RowSequence; @@ -17,17 +17,27 @@ protected StaticHashedAsOfJoinStateManager(ColumnSource[] keySourcesForErrorM super(keySourcesForErrorMessages); } - public abstract int buildFromLeftSide(RowSequence leftRowSet, ColumnSource[] leftSources, @NotNull IntegerArraySource addedSlots); - public abstract int buildFromRightSide(RowSequence rightRowSet, ColumnSource[] rightSources, @NotNull IntegerArraySource addedSlots); + public abstract int buildFromLeftSide(RowSequence leftRowSet, ColumnSource[] leftSources, + @NotNull IntegerArraySource addedSlots); + + public abstract int buildFromRightSide(RowSequence rightRowSet, ColumnSource[] rightSources, + @NotNull IntegerArraySource addedSlots); public abstract void probeLeft(RowSequence leftRowSet, ColumnSource[] leftSources); - public abstract int probeLeft(RowSequence leftRowSet, ColumnSource[] leftSources, IntegerArraySource slots, RowSetBuilderRandom foundBuilder); + + public abstract int probeLeft(RowSequence leftRowSet, ColumnSource[] leftSources, IntegerArraySource slots, + RowSetBuilderRandom foundBuilder); + public abstract void probeRight(RowSequence rightRowSet, ColumnSource[] rightSources); public abstract int getTableSize(); + public abstract RowSet getLeftIndex(int slot); + public abstract RowSet getRightIndex(int slot); public abstract void convertRightBuildersToIndex(IntegerArraySource slots, int slotCount); - public abstract void convertRightGrouping(IntegerArraySource slots, int slotCount, ObjectArraySource rowSetSource); + + public abstract void convertRightGrouping(IntegerArraySource slots, int slotCount, + ObjectArraySource rowSetSource); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/TypedAsOfJoinFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/TypedAsOfJoinFactory.java index e2eb225d45a..128e7526dea 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/TypedAsOfJoinFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/TypedAsOfJoinFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.asofjoin; import com.squareup.javapoet.CodeBlock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/ZeroKeyChunkedAjMergedListener.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/ZeroKeyChunkedAjMergedListener.java index ac7dacf2734..54d39eeec9e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/ZeroKeyChunkedAjMergedListener.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/ZeroKeyChunkedAjMergedListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.asofjoin; import io.deephaven.engine.rowset.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherByte.java index 612eaa01abd..20097339969 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.rightincopen.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherChar.java index 9a8c5a145b2..ced1596876d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.rightincopen.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherDouble.java index 39f5739b63b..f181e591739 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.rightincopen.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherFloat.java index e1b38a09c9a..3201d846b4a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.rightincopen.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherInt.java index 9ca1e53952c..881690c33cb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.rightincopen.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherLong.java index ebb81d157fc..57762bf26fd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.rightincopen.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherObject.java index 261a1fb7b57..77cce00ba00 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.rightincopen.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherShort.java index e76c2fcdf9f..7cbff0c9b9f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/RightIncrementalAsOfJoinHasherShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.rightincopen.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/TypedHashDispatcher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/TypedHashDispatcher.java index 4c61d8d46f7..75323c5ccf4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/TypedHashDispatcher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/rightincopen/gen/TypedHashDispatcher.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.replicators.ReplicateTypedHashers -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.rightincopen.gen; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherByte.java index e7165d5229d..7df3a47e880 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.staticopen.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherChar.java index 2bc4090b732..e25af6c6b40 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.staticopen.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherDouble.java index f4e644f5f1c..21ad9b5c1b9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.staticopen.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherFloat.java index a1082e2d32b..902811a14af 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.staticopen.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherInt.java index 38c19db55c7..c0f2b508293 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.staticopen.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherLong.java index 4a3b36253db..81ce2ab9083 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.staticopen.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherObject.java index 9ba5264036e..e42163696d0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.staticopen.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherShort.java index f684e2e89a2..17b65b74819 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/StaticAsOfJoinHasherShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.staticopen.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/TypedHashDispatcher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/TypedHashDispatcher.java index 2c7c94a4b97..5ee2440ce09 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/TypedHashDispatcher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/asofjoin/typed/staticopen/gen/TypedHashDispatcher.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.replicators.ReplicateTypedHashers -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.asofjoin.typed.staticopen.gen; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AddOnlyFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AddOnlyFirstOrLastChunkedOperator.java index d730e581aaf..66e1d81a40c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AddOnlyFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AddOnlyFirstOrLastChunkedOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggAllByExcludeFormattingColumns.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggAllByExcludeFormattingColumns.java index 90ed938cace..62b8539f484 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggAllByExcludeFormattingColumns.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggAllByExcludeFormattingColumns.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.api.agg.spec.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregateAllExclusions.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregateAllExclusions.java index 0da872fca2e..336f69b3284 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregateAllExclusions.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregateAllExclusions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationContext.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationContext.java index 0d32bf6cdcb..a4031ae4fb2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationContext.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationContextFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationContextFactory.java index 207b0b7706f..6a3c9367b1f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationContextFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationContextFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationContextTransformer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationContextTransformer.java index 9eb77391031..3b5a8926ae7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationContextTransformer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationContextTransformer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.impl.QueryTable; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationControl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationControl.java index eb3cbbf16a3..bcb9f035b65 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationControl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationControl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationOperatorException.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationOperatorException.java index 62a6a386d2f..089bb39c3d8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationOperatorException.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationOperatorException.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationProcessor.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationProcessor.java index 3aef55a0c50..80464ec1751 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationProcessor.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationProcessor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationRowLookup.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationRowLookup.java index 5b5872a41f7..9db974ad046 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationRowLookup.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationRowLookup.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import static io.deephaven.engine.rowset.RowSequence.NULL_ROW_KEY; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ApproximatePercentile.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ApproximatePercentile.java index af4beca93e1..7a2621ee379 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ApproximatePercentile.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ApproximatePercentile.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import com.tdunning.math.stats.TDigest; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BaseAddOnlyFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BaseAddOnlyFirstOrLastChunkedOperator.java index b4d97525d8a..c62d9c58d58 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BaseAddOnlyFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BaseAddOnlyFirstOrLastChunkedOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BaseBlinkFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BaseBlinkFirstOrLastChunkedOperator.java index 3f1b671bc57..2514dd1d95b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BaseBlinkFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BaseBlinkFirstOrLastChunkedOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BasicStateChangeRecorder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BasicStateChangeRecorder.java index 4b50e7238d0..48e02028ea4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BasicStateChangeRecorder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BasicStateChangeRecorder.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import java.util.function.LongConsumer; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedAvgOperator.java index 95d6564e2c3..bce6929708c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedAvgOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedReAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedReAvgOperator.java index f84aaa741cc..7b69ade7caa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedReAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedReAvgOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedReVarOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedReVarOperator.java index eec9a458c96..7e860024872 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedReVarOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedReVarOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedSumOperator.java index 9db1532a7a2..80de038c079 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedSumOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedVarOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedVarOperator.java index bb8f9f6cfee..639e740d896 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedVarOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigDecimalChunkedVarOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedAvgOperator.java index 5430ab9cfb0..4ee768bfeac 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedAvgOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -34,7 +34,10 @@ class BigIntegerChunkedAvgOperator implements IterativeChunkedAggregationOperato } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ObjectChunk asObjectChunk = values.asObjectChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -44,7 +47,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ObjectChunk asObjectChunk = values.asObjectChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -54,16 +60,19 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asObjectChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asObjectChunk(), destination, 0, values.size()); } - public boolean addChunk(ObjectChunk values, long destination, int chunkStart, int chunkSize) { + public boolean addChunk(ObjectChunk values, long destination, int chunkStart, + int chunkSize) { final MutableInt chunkNonNull = new MutableInt(0); final BigInteger chunkSum = SumBigIntegerChunk.sumBigIntegerChunk(values, chunkStart, chunkSize, chunkNonNull); @@ -80,12 +89,14 @@ public boolean addChunk(ObjectChunk values, long d newSum = oldSum.add(chunkSum); } runningSum.set(destination, newSum); - resultColumn.set(destination, new BigDecimal(newSum).divide(BigDecimal.valueOf(newCount), BigDecimal.ROUND_HALF_UP)); + resultColumn.set(destination, + new BigDecimal(newSum).divide(BigDecimal.valueOf(newCount), BigDecimal.ROUND_HALF_UP)); return true; } - public boolean removeChunk(ObjectChunk values, long destination, int chunkStart, int chunkSize) { + public boolean removeChunk(ObjectChunk values, long destination, int chunkStart, + int chunkSize) { final MutableInt chunkNonNull = new MutableInt(0); final BigInteger chunkSum = SumBigIntegerChunk.sumBigIntegerChunk(values, chunkStart, chunkSize, chunkNonNull); @@ -101,10 +112,12 @@ public boolean removeChunk(ObjectChunk values, lon final BigInteger oldSum = runningSum.getUnsafe(destination); final BigInteger newSum = oldSum.subtract(chunkSum); runningSum.set(destination, newSum); - resultColumn.set(destination, new BigDecimal(newSum).divide(BigDecimal.valueOf(newCount), BigDecimal.ROUND_HALF_UP)); + resultColumn.set(destination, + new BigDecimal(newSum).divide(BigDecimal.valueOf(newCount), BigDecimal.ROUND_HALF_UP)); } return true; } + @Override public void ensureCapacity(long tableSize) { nonNullCount.ensureCapacity(tableSize); @@ -133,4 +146,4 @@ public void startTrackingPrevValues() { nonNullCount.startTrackingPrevValues(); } } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedReAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedReAvgOperator.java index 736438f9a26..d07fcd1624d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedReAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedReAvgOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -36,38 +36,51 @@ class BigIntegerChunkedReAvgOperator implements IterativeChunkedAggregationOpera } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { doBucketedUpdate((ReAvgContext) context, destinations, startPositions, stateModified); } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { doBucketedUpdate((ReAvgContext) context, destinations, startPositions, stateModified); } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { doBucketedUpdate((ReAvgContext) context, destinations, startPositions, stateModified); } - private void doBucketedUpdate(ReAvgContext context, IntChunk destinations, IntChunk startPositions, WritableBooleanChunk stateModified) { + private void doBucketedUpdate(ReAvgContext context, IntChunk destinations, + IntChunk startPositions, WritableBooleanChunk stateModified) { try (final RowSequence destinationSeq = context.destinationSequenceFromChunks(destinations, startPositions)) { updateResult(context, destinationSeq, stateModified); } } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return updateResult(destination); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return updateResult(destination); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { return updateResult(destination); } @@ -78,20 +91,25 @@ private boolean updateResult(long destination) { return updateResult(destination, sumSumValue, nncValue); } - private void updateResult(ReAvgContext reAvgContext, RowSequence destinationOk, WritableBooleanChunk stateModified) { - final ObjectChunk sumSumChunk = sumSum.getChunk(reAvgContext.sumSumContext, destinationOk).asObjectChunk(); - final LongChunk nncSumChunk = nncSum.getChunk(reAvgContext.nncSumContext, destinationOk).asLongChunk(); + private void updateResult(ReAvgContext reAvgContext, RowSequence destinationOk, + WritableBooleanChunk stateModified) { + final ObjectChunk sumSumChunk = + sumSum.getChunk(reAvgContext.sumSumContext, destinationOk).asObjectChunk(); + final LongChunk nncSumChunk = + nncSum.getChunk(reAvgContext.nncSumContext, destinationOk).asLongChunk(); final int size = reAvgContext.keyIndices.size(); final boolean ordered = reAvgContext.ordered; for (int ii = 0; ii < size; ++ii) { - final boolean changed = updateResult(reAvgContext.keyIndices.get(ii), sumSumChunk.get(ii), nncSumChunk.get(ii)); + final boolean changed = + updateResult(reAvgContext.keyIndices.get(ii), sumSumChunk.get(ii), nncSumChunk.get(ii)); stateModified.set(ordered ? ii : reAvgContext.statePositions.get(ii), changed); } } private boolean updateResult(long destination, BigInteger sumSumValue, long nncValue) { if (nncValue > 0) { - final BigDecimal newValue = new BigDecimal(sumSumValue).divide(BigDecimal.valueOf(nncValue), RoundingMode.HALF_UP); + final BigDecimal newValue = + new BigDecimal(sumSumValue).divide(BigDecimal.valueOf(nncValue), RoundingMode.HALF_UP); return !newValue.equals(resultColumn.getAndSetUnsafe(destination, newValue)); } else { return null != resultColumn.getAndSetUnsafe(destination, null); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedReVarOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedReVarOperator.java index 1419e696227..043c5f5b933 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedReVarOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedReVarOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.configuration.Configuration; @@ -25,7 +25,8 @@ * Iterative average operator. */ class BigIntegerChunkedReVarOperator implements IterativeChunkedAggregationOperator { - private static final int SCALE = Configuration.getInstance().getIntegerWithDefault("BigIntegerStdOperator.scale", 10); + private static final int SCALE = + Configuration.getInstance().getIntegerWithDefault("BigIntegerStdOperator.scale", 10); private final ObjectArraySource resultColumn; private final String name; private final boolean std; @@ -33,7 +34,8 @@ class BigIntegerChunkedReVarOperator implements IterativeChunkedAggregationOpera private final BigIntegerChunkedSumOperator sum2Sum; private final LongChunkedSumOperator nncSum; - BigIntegerChunkedReVarOperator(String name, boolean std, BigIntegerChunkedSumOperator sumSum, BigIntegerChunkedSumOperator sum2sum, LongChunkedSumOperator nncSum) { + BigIntegerChunkedReVarOperator(String name, boolean std, BigIntegerChunkedSumOperator sumSum, + BigIntegerChunkedSumOperator sum2sum, LongChunkedSumOperator nncSum) { this.name = name; this.std = std; this.sumSum = sumSum; @@ -43,49 +45,67 @@ class BigIntegerChunkedReVarOperator implements IterativeChunkedAggregationOpera } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - doBucketedUpdate((ReVarContext)context, destinations, startPositions, stateModified); + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + doBucketedUpdate((ReVarContext) context, destinations, startPositions, stateModified); } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - doBucketedUpdate((ReVarContext)context, destinations, startPositions, stateModified); + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + doBucketedUpdate((ReVarContext) context, destinations, startPositions, stateModified); } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - doBucketedUpdate((ReVarContext)context, destinations, startPositions, stateModified); + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + doBucketedUpdate((ReVarContext) context, destinations, startPositions, stateModified); } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return updateResult(destination); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return updateResult(destination); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { return updateResult(destination); } - private void doBucketedUpdate(ReVarContext context, IntChunk destinations, IntChunk startPositions, WritableBooleanChunk stateModified) { + private void doBucketedUpdate(ReVarContext context, IntChunk destinations, + IntChunk startPositions, WritableBooleanChunk stateModified) { try (final RowSequence destinationOk = context.destinationSequenceFromChunks(destinations, startPositions)) { updateResult(context, destinationOk, stateModified); } } - private void updateResult(ReVarContext reVarContext, RowSequence destinationOk, WritableBooleanChunk stateModified) { - final ObjectChunk sumSumChunk = sumSum.getChunk(reVarContext.sumSumContext, destinationOk).asObjectChunk(); - final ObjectChunk sum2SumChunk = sum2Sum.getChunk(reVarContext.sum2SumContext, destinationOk).asObjectChunk(); - final LongChunk nncSumChunk = nncSum.getChunk(reVarContext.nncSumContext, destinationOk).asLongChunk(); + private void updateResult(ReVarContext reVarContext, RowSequence destinationOk, + WritableBooleanChunk stateModified) { + final ObjectChunk sumSumChunk = + sumSum.getChunk(reVarContext.sumSumContext, destinationOk).asObjectChunk(); + final ObjectChunk sum2SumChunk = + sum2Sum.getChunk(reVarContext.sum2SumContext, destinationOk).asObjectChunk(); + final LongChunk nncSumChunk = + nncSum.getChunk(reVarContext.nncSumContext, destinationOk).asLongChunk(); final int size = reVarContext.keyIndices.size(); final boolean ordered = reVarContext.ordered; for (int ii = 0; ii < size; ++ii) { - final boolean changed = updateResult(reVarContext.keyIndices.get(ii), sumSumChunk.get(ii), sum2SumChunk.get(ii), nncSumChunk.get(ii)); + final boolean changed = updateResult(reVarContext.keyIndices.get(ii), sumSumChunk.get(ii), + sum2SumChunk.get(ii), nncSumChunk.get(ii)); stateModified.set(ordered ? ii : reVarContext.statePositions.get(ii), changed); } } @@ -109,7 +129,9 @@ private boolean updateResult(long destination, BigInteger newSum, BigInteger new newSum2 = BigInteger.ZERO; } final BigDecimal countMinus1 = BigDecimal.valueOf(nonNullCount - 1); - final BigDecimal variance = new BigDecimal(newSum2).subtract(new BigDecimal(newSum.pow(2)).divide(BigDecimal.valueOf(nonNullCount), RoundingMode.HALF_UP)).divide(countMinus1, RoundingMode.HALF_UP); + final BigDecimal variance = new BigDecimal(newSum2).subtract( + new BigDecimal(newSum.pow(2)).divide(BigDecimal.valueOf(nonNullCount), RoundingMode.HALF_UP)) + .divide(countMinus1, RoundingMode.HALF_UP); final BigDecimal result = std ? BigDecimalUtils.sqrt(variance, SCALE) : variance; return !result.equals(resultColumn.getAndSetUnsafe(destination, result)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedSumOperator.java index 73a9422a0b6..6a7400a40eb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedSumOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -31,16 +31,19 @@ public class BigIntegerChunkedSumOperator implements IterativeChunkedAggregation this.name = name; } - public static BigInteger plus(BigInteger a, BigInteger b){ - return a == null ? b: (b == null ? a : a.add(b)); + public static BigInteger plus(BigInteger a, BigInteger b) { + return a == null ? b : (b == null ? a : a.add(b)); } - public static BigInteger minus(BigInteger a, BigInteger b){ + public static BigInteger minus(BigInteger a, BigInteger b) { return b == null ? a : a == null ? b.negate() : (a.subtract(b)); } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ObjectChunk asObjectChunk = values.asObjectChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -50,7 +53,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ObjectChunk asObjectChunk = values.asObjectChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -60,32 +66,41 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ObjectChunk preAsObjectChunk = previousValues.asObjectChunk(); final ObjectChunk postAsObjectChunk = newValues.asObjectChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); final long destination = destinations.get(startPosition); - stateModified.set(ii, modifyChunk(preAsObjectChunk, postAsObjectChunk, destination, startPosition, length.get(ii))); + stateModified.set(ii, + modifyChunk(preAsObjectChunk, postAsObjectChunk, destination, startPosition, length.get(ii))); } } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asObjectChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asObjectChunk(), destination, 0, values.size()); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { - return modifyChunk(previousValues.asObjectChunk(), newValues.asObjectChunk(), destination, 0, previousValues.size()); + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { + return modifyChunk(previousValues.asObjectChunk(), newValues.asObjectChunk(), destination, 0, + previousValues.size()); } - private boolean addChunk(ObjectChunk values, long destination, int chunkStart, int chunkSize) { + private boolean addChunk(ObjectChunk values, long destination, int chunkStart, + int chunkSize) { final MutableInt chunkNonNull = new MutableInt(0); final BigInteger partialSum = doSum(values, chunkStart, chunkSize, chunkNonNull); @@ -101,7 +116,8 @@ private boolean addChunk(ObjectChunk values, long return changed; } - private BigInteger doSum(ObjectChunk values, int chunkStart, int chunkSize, MutableInt chunkNonNull) { + private BigInteger doSum(ObjectChunk values, int chunkStart, int chunkSize, + MutableInt chunkNonNull) { if (absolute) { return SumBigIntegerChunk.sumBigIntegerChunkAbs(values, chunkStart, chunkSize, chunkNonNull); } else { @@ -109,7 +125,8 @@ private BigInteger doSum(ObjectChunk values, int c } } - private boolean removeChunk(ObjectChunk values, long destination, int chunkStart, int chunkSize) { + private boolean removeChunk(ObjectChunk values, long destination, int chunkStart, + int chunkSize) { final MutableInt chunkNonNull = new MutableInt(0); final BigInteger partialSum = doSum(values, chunkStart, chunkSize, chunkNonNull); @@ -128,7 +145,8 @@ private boolean removeChunk(ObjectChunk values, lo return true; } - private boolean modifyChunk(ObjectChunk preValues, ObjectChunk postValues, long destination, int chunkStart, int chunkSize) { + private boolean modifyChunk(ObjectChunk preValues, + ObjectChunk postValues, long destination, int chunkStart, int chunkSize) { final MutableInt preChunkNonNull = new MutableInt(0); final MutableInt postChunkNonNull = new MutableInt(0); final BigInteger prePartialSum = doSum(preValues, chunkStart, chunkSize, preChunkNonNull); @@ -189,7 +207,8 @@ public Chunk getChunk(@NotNull GetContext context, long firstK } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { resultColumn.fillChunk(context, destination, rowSequence); } @@ -202,4 +221,4 @@ public FillContext makeFillContext(int chunkCapacity, SharedContext sharedContex public GetContext makeGetContext(int chunkCapacity, SharedContext sharedContext) { return resultColumn.makeGetContext(chunkCapacity, sharedContext); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedVarOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedVarOperator.java index 11b8ee5e4fe..e38885bfd44 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedVarOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BigIntegerChunkedVarOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -27,7 +27,8 @@ * Iterative variance operator. */ class BigIntegerChunkedVarOperator implements IterativeChunkedAggregationOperator { - private final static int SCALE = Configuration.getInstance().getIntegerWithDefault("BigIntegerStdOperator.scale", 10); + private final static int SCALE = + Configuration.getInstance().getIntegerWithDefault("BigIntegerStdOperator.scale", 10); private final boolean std; private final String name; @@ -44,7 +45,7 @@ class BigIntegerChunkedVarOperator implements IterativeChunkedAggregationOperato } private BigInteger plus(BigInteger a, BigInteger b) { - if (a == null ) { + if (a == null) { if (b == null) { return BigInteger.ZERO; } @@ -57,7 +58,10 @@ private BigInteger plus(BigInteger a, BigInteger b) { } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ObjectChunk asObjectChunk = values.asObjectChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -67,7 +71,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ObjectChunk asObjectChunk = values.asObjectChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -77,19 +84,23 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asObjectChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asObjectChunk(), destination, 0, values.size()); } - private boolean addChunk(ObjectChunk values, long destination, int chunkStart, int chunkSize) { + private boolean addChunk(ObjectChunk values, long destination, int chunkStart, + int chunkSize) { final MutableObject sum2 = new MutableObject<>(); final MutableInt chunkNonNull = new MutableInt(0); - final BigInteger sum = SumBigIntegerChunk.sum2BigIntegerChunk(values, chunkStart, chunkSize, chunkNonNull, sum2); + final BigInteger sum = + SumBigIntegerChunk.sum2BigIntegerChunk(values, chunkStart, chunkSize, chunkNonNull, sum2); if (chunkNonNull.intValue() <= 0) { return false; } @@ -101,10 +112,12 @@ private boolean addChunk(ObjectChunk values, long return true; } - private boolean removeChunk(ObjectChunk values, long destination, int chunkStart, int chunkSize) { + private boolean removeChunk(ObjectChunk values, long destination, int chunkStart, + int chunkSize) { final MutableObject sum2 = new MutableObject<>(); final MutableInt chunkNonNull = new MutableInt(0); - final BigInteger sum = SumBigIntegerChunk.sum2BigIntegerChunk(values, chunkStart, chunkSize, chunkNonNull, sum2); + final BigInteger sum = + SumBigIntegerChunk.sum2BigIntegerChunk(values, chunkStart, chunkSize, chunkNonNull, sum2); if (chunkNonNull.intValue() <= 0) { return false; @@ -130,7 +143,9 @@ private void doUpdate(long destination, long nonNullCount, BigInteger newSum, Bi resultColumn.set(destination, null); } else { final BigDecimal countMinus1 = BigDecimal.valueOf(nonNullCount - 1); - final BigDecimal variance = new BigDecimal(newSum2).subtract(new BigDecimal(newSum.pow(2)).divide(BigDecimal.valueOf(nonNullCount), BigDecimal.ROUND_HALF_UP)).divide(countMinus1, BigDecimal.ROUND_HALF_UP); + final BigDecimal variance = new BigDecimal(newSum2).subtract( + new BigDecimal(newSum.pow(2)).divide(BigDecimal.valueOf(nonNullCount), BigDecimal.ROUND_HALF_UP)) + .divide(countMinus1, BigDecimal.ROUND_HALF_UP); if (std) { resultColumn.set(destination, BigDecimalUtils.sqrt(variance, SCALE)); } else { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BitmapRandomBuilder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BitmapRandomBuilder.java index 2ded5be0150..d07f0f38e1b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BitmapRandomBuilder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BitmapRandomBuilder.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.engine.rowset.RowSetBuilderRandom; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BlinkFirstChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BlinkFirstChunkedOperator.java index 99727f02e22..d8cb02c8de3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BlinkFirstChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BlinkFirstChunkedOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BlinkLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BlinkLastChunkedOperator.java index 83e6998c20c..438935b2d4c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BlinkLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BlinkLastChunkedOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BooleanChunkedAddOnlyMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BooleanChunkedAddOnlyMinMaxOperator.java index b524311f5e8..547af34ebf5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BooleanChunkedAddOnlyMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BooleanChunkedAddOnlyMinMaxOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -49,7 +49,7 @@ private Boolean min(ObjectChunk values, MutableInt chunkNonNull, int } private Boolean max(ObjectChunk values, MutableInt chunkNonNull, int chunkStart, int chunkEnd) { - int nonNull =0; + int nonNull = 0; Boolean value = QueryConstants.NULL_BOOLEAN; for (int ii = chunkStart; ii < chunkEnd; ++ii) { final Boolean candidate = values.get(ii); @@ -74,7 +74,10 @@ private Boolean max(Boolean a, Boolean b) { } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ObjectChunk asObjectChunk = values.asObjectChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -84,27 +87,34 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asObjectChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { throw new UnsupportedOperationException(); } - private boolean addChunk(ObjectChunk values, long destination, int chunkStart, int chunkSize) { + private boolean addChunk(ObjectChunk values, long destination, int chunkStart, + int chunkSize) { if (chunkSize == 0) { return false; } final MutableInt chunkNonNull = new MutableInt(0); final int chunkEnd = chunkStart + chunkSize; - final Boolean chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) : max(values, chunkNonNull, chunkStart, chunkEnd); + final Boolean chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) + : max(values, chunkNonNull, chunkStart, chunkEnd); if (chunkNonNull.intValue() == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BooleanChunkedSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BooleanChunkedSumOperator.java index 105dd43dd91..24bfa4c4f29 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BooleanChunkedSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/BooleanChunkedSumOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; @@ -21,7 +21,7 @@ /** * Iterative Boolean Sum. Result is the number of {@code true} values, or {@code null} if all values are {@code null}. -*/ + */ public final class BooleanChunkedSumOperator implements IterativeChunkedAggregationOperator { private static final long INVALID_COUNT = -1; @@ -84,7 +84,7 @@ private static long addAndGet(LongArraySource source, long destPos, long count) */ private static boolean hasValue(LongArraySource source, long destPos) { final long value = source.getUnsafe(destPos); - //noinspection ConditionCoveredByFurtherCondition + // noinspection ConditionCoveredByFurtherCondition return value != NULL_LONG && value > 0; } @@ -93,7 +93,8 @@ private boolean hasTrue(long destPos) { return hasValue(resultColumn, destPos); } - private static void sumChunk(ObjectChunk values, int chunkStart, int chunkSize, MutableInt chunkTrue, MutableInt chunkFalse) { + private static void sumChunk(ObjectChunk values, int chunkStart, int chunkSize, + MutableInt chunkTrue, MutableInt chunkFalse) { final int chunkEnd = chunkStart + chunkSize; for (int ii = chunkStart; ii < chunkEnd; ++ii) { final Boolean aBoolean = values.get(ii); @@ -108,7 +109,10 @@ private static void sumChunk(ObjectChunk values, int } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ObjectChunk asObjectChunk = values.asObjectChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -118,7 +122,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ObjectChunk asObjectChunk = values.asObjectChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -128,32 +135,40 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ObjectChunk preAsObjectChunk = previousValues.asObjectChunk(); final ObjectChunk postAsObjectChunk = newValues.asObjectChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); final long destination = destinations.get(startPosition); - stateModified.set(ii, modifyChunk(preAsObjectChunk, postAsObjectChunk, destination, startPosition, length.get(ii))); + stateModified.set(ii, + modifyChunk(preAsObjectChunk, postAsObjectChunk, destination, startPosition, length.get(ii))); } } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asObjectChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asObjectChunk(), destination, 0, values.size()); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { return modifyChunk(previousValues.asObjectChunk(), newValues.asObjectChunk(), destination, 0, newValues.size()); } - private boolean addChunk(ObjectChunk values, long destination, int chunkStart, int chunkSize) { + private boolean addChunk(ObjectChunk values, long destination, int chunkStart, + int chunkSize) { final MutableInt chunkTrue = new MutableInt(0); final MutableInt chunkFalse = new MutableInt(0); sumChunk(values, chunkStart, chunkSize, chunkTrue, chunkFalse); @@ -175,7 +190,8 @@ private boolean addChunk(ObjectChunk values, long des return modified; } - private boolean removeChunk(ObjectChunk values, long destination, int chunkStart, int chunkSize) { + private boolean removeChunk(ObjectChunk values, long destination, int chunkStart, + int chunkSize) { final MutableInt chunkTrue = new MutableInt(0); final MutableInt chunkFalse = new MutableInt(0); sumChunk(values, chunkStart, chunkSize, chunkTrue, chunkFalse); @@ -209,7 +225,8 @@ private boolean removeChunk(ObjectChunk values, long return false; } - private boolean modifyChunk(ObjectChunk preValues, ObjectChunk postValues, long destination, int chunkStart, int chunkSize) { + private boolean modifyChunk(ObjectChunk preValues, + ObjectChunk postValues, long destination, int chunkStart, int chunkSize) { final MutableInt preChunkTrue = new MutableInt(0); final MutableInt preChunkFalse = new MutableInt(0); sumChunk(preValues, chunkStart, chunkSize, preChunkTrue, preChunkFalse); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteAddOnlySortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteAddOnlySortedFirstOrLastChunkedOperator.java index f17cd741473..9e19360ec83 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteAddOnlySortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteAddOnlySortedFirstOrLastChunkedOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAddOnlySortedFirstOrLastChunkedOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAddOnlySortedFirstOrLastChunkedOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.Table; @@ -47,12 +46,12 @@ public void ensureCapacity(final long tableSize) { @Override public void addChunk(final BucketedContext bucketedContext, // Unused - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - @NotNull final IntChunk destinations, - @NotNull final IntChunk startPositions, - @NotNull final IntChunk length, - @NotNull final WritableBooleanChunk stateModified) { + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + @NotNull final IntChunk destinations, + @NotNull final IntChunk startPositions, + @NotNull final IntChunk length, + @NotNull final WritableBooleanChunk stateModified) { final ByteChunk typedValues = values.asByteChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -64,18 +63,18 @@ public void addChunk(final BucketedContext bucketedContext, // Unused @Override public boolean addChunk(final SingletonContext singletonContext, // Unused - final int chunkSize, - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - final long destination) { + final int chunkSize, + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + final long destination) { return addChunk(values.asByteChunk(), inputRowKeys, 0, inputRowKeys.size(), destination); } private boolean addChunk(@NotNull final ByteChunk values, - @NotNull final LongChunk indices, - final int start, - final int length, - final long destination) { + @NotNull final LongChunk indices, + final int start, + final int length, + final long destination) { if (length == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteBlinkSortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteBlinkSortedFirstOrLastChunkedOperator.java index 737171117fc..f8403b88371 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteBlinkSortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteBlinkSortedFirstOrLastChunkedOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharBlinkSortedFirstOrLastChunkedOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharBlinkSortedFirstOrLastChunkedOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; @@ -67,12 +66,12 @@ public void resetForStep(@NotNull final TableUpdate upstream, final int starting @Override public void addChunk(final BucketedContext bucketedContext, // Unused - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - @NotNull final IntChunk destinations, - @NotNull final IntChunk startPositions, - @NotNull final IntChunk length, - @NotNull final WritableBooleanChunk stateModified) { + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + @NotNull final IntChunk destinations, + @NotNull final IntChunk startPositions, + @NotNull final IntChunk length, + @NotNull final WritableBooleanChunk stateModified) { final ByteChunk typedValues = values.asByteChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -84,18 +83,18 @@ public void addChunk(final BucketedContext bucketedContext, // Unused @Override public boolean addChunk(final SingletonContext singletonContext, // Unused - final int chunkSize, - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - final long destination) { + final int chunkSize, + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + final long destination) { return addChunk(values.asByteChunk(), inputRowKeys, 0, inputRowKeys.size(), destination); } private boolean addChunk(@NotNull final ByteChunk values, - @NotNull final LongChunk indices, - final int start, - final int length, - final long destination) { + @NotNull final LongChunk indices, + final int start, + final int length, + final long destination) { if (length == 0) { return false; } @@ -149,7 +148,8 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne "downstream.removed.empty() && downstream.shifted.empty()"); // In a combo-agg, we may get modifications from other operators that we didn't record as modifications in // our redirections, so we separately track updated destinations. - try (final RowSequence changedDestinations = isCombo ? changedDestinationsBuilder.build() : downstream.modified().union(downstream.added())) { + try (final RowSequence changedDestinations = + isCombo ? changedDestinationsBuilder.build() : downstream.modified().union(downstream.added())) { copyStreamToResult(changedDestinations); } redirections = null; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteChunkedAddOnlyMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteChunkedAddOnlyMinMaxOperator.java index f70a10c0e89..31c20bc7573 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteChunkedAddOnlyMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteChunkedAddOnlyMinMaxOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedAddOnlyMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedAddOnlyMinMaxOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -61,7 +60,7 @@ private byte min(ByteChunk values, MutableInt chunkNonNull, int chunkStart, i } private byte max(ByteChunk values, MutableInt chunkNonNull, int chunkStart, int chunkEnd) { - int nonNull =0; + int nonNull = 0; byte value = QueryConstants.NULL_BYTE; for (int ii = chunkStart; ii < chunkEnd; ++ii) { final byte candidate = values.get(ii); @@ -86,7 +85,10 @@ private byte max(byte a, byte b) { } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ByteChunk asByteChunk = values.asByteChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -96,27 +98,36 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asByteChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { throw new UnsupportedOperationException(); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { throw new UnsupportedOperationException(); } @@ -126,7 +137,8 @@ private boolean addChunk(ByteChunk values, long destination, i } final MutableInt chunkNonNull = new MutableInt(0); final int chunkEnd = chunkStart + chunkSize; - final byte chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) : max(values, chunkNonNull, chunkStart, chunkEnd); + final byte chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) + : max(values, chunkNonNull, chunkStart, chunkEnd); if (chunkNonNull.intValue() == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteChunkedAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteChunkedAvgOperator.java index 45c9066c57b..5887a86ceac 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteChunkedAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteChunkedAvgOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedAvgOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -45,7 +44,10 @@ class ByteChunkedAvgOperator implements IterativeChunkedAggregationOperator { } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ByteChunk asByteChunk = values.asByteChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -55,7 +57,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ByteChunk asByteChunk = values.asByteChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -65,15 +70,17 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asByteChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asByteChunk(), destination, 0, values.size()); } - + private boolean addChunk(ByteChunk values, long destination, int chunkStart, int chunkSize) { final MutableInt chunkNonNull = new MutableInt(0); final ByteChunk asByteChunk = values.asByteChunk(); @@ -83,7 +90,7 @@ private boolean addChunk(ByteChunk values, long destination, i final long newCount = nonNullCount.addNonNullUnsafe(destination, chunkNonNull.intValue()); final long newSum = plusLong(runningSum.getUnsafe(destination), chunkSum); runningSum.set(destination, newSum); - resultColumn.set(destination, (double)newSum / newCount); + resultColumn.set(destination, (double) newSum / newCount); } else if (nonNullCount.onlyNullsUnsafe(destination)) { resultColumn.set(destination, Double.NaN); } else { @@ -103,7 +110,7 @@ private boolean removeChunk(ByteChunk values, long destination final long newCount = nonNullCount.addNonNullUnsafe(destination, -chunkNonNull.intValue()); final long newSum = minusLong(runningSum.getUnsafe(destination), chunkSum); runningSum.set(destination, newSum); - resultColumn.set(destination, (double)newSum / newCount); + resultColumn.set(destination, (double) newSum / newCount); return true; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteChunkedSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteChunkedSumOperator.java index e7387de7f0c..e7fe9ee31af 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteChunkedSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteChunkedSumOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedSumOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedSumOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -42,7 +41,10 @@ public class ByteChunkedSumOperator implements IterativeChunkedAggregationOperat } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ByteChunk asByteChunk = values.asByteChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -52,7 +54,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ByteChunk asByteChunk = values.asByteChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -62,12 +67,14 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asByteChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asByteChunk(), destination, 0, values.size()); } @@ -78,22 +85,28 @@ private boolean addChunk(ByteChunk values, long destination, i } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ByteChunk newAsByteChunk = newValues.asByteChunk(); final ByteChunk oldAsByteChunk = previousValues.asByteChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); final long destination = destinations.get(startPosition); - stateModified.set(ii, modifyChunk(oldAsByteChunk, newAsByteChunk, destination, startPosition, length.get(ii))); + stateModified.set(ii, + modifyChunk(oldAsByteChunk, newAsByteChunk, destination, startPosition, length.get(ii))); } } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { return modifyChunk(previousValues.asByteChunk(), newValues.asByteChunk(), destination, 0, newValues.size()); } - private boolean modifyChunk(ByteChunk oldValues, ByteChunk newValues, long destination, int chunkStart, int chunkSize) { + private boolean modifyChunk(ByteChunk oldValues, ByteChunk newValues, + long destination, int chunkStart, int chunkSize) { final MutableInt oldNonNullCount = new MutableInt(0); final MutableInt newNonNullCount = new MutableInt(0); final long oldSum = doSum(chunkStart, chunkSize, oldNonNullCount, oldValues); @@ -107,7 +120,8 @@ private boolean removeChunk(ByteChunk values, long destination return updateInternal(destination, -sum, -nonNullCount.intValue()); } - private long doSum(int chunkStart, int chunkSize, MutableInt nonNullCount, ByteChunk asByteChunk) { + private long doSum(int chunkStart, int chunkSize, MutableInt nonNullCount, + ByteChunk asByteChunk) { if (absolute) { return SumByteChunk.sumByteChunkAbs(asByteChunk, chunkStart, chunkSize, nonNullCount); } else { @@ -192,7 +206,8 @@ public Chunk getChunk(@NotNull GetContext context, long firstK } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { resultColumn.fillChunk(context, destination, rowSequence); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteChunkedVarOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteChunkedVarOperator.java index 3050ab2f3be..727b7b90c5c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteChunkedVarOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ByteChunkedVarOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedVarOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedVarOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -44,7 +43,10 @@ class ByteChunkedVarOperator implements IterativeChunkedAggregationOperator { } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ByteChunk asByteChunk = values.asByteChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -54,7 +56,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ByteChunk asByteChunk = values.asByteChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -64,12 +69,14 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asByteChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asByteChunk(), destination, 0, values.size()); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharAddOnlySortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharAddOnlySortedFirstOrLastChunkedOperator.java index c8796357ce6..34c7a530c96 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharAddOnlySortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharAddOnlySortedFirstOrLastChunkedOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.Table; @@ -42,12 +42,12 @@ public void ensureCapacity(final long tableSize) { @Override public void addChunk(final BucketedContext bucketedContext, // Unused - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - @NotNull final IntChunk destinations, - @NotNull final IntChunk startPositions, - @NotNull final IntChunk length, - @NotNull final WritableBooleanChunk stateModified) { + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + @NotNull final IntChunk destinations, + @NotNull final IntChunk startPositions, + @NotNull final IntChunk length, + @NotNull final WritableBooleanChunk stateModified) { final CharChunk typedValues = values.asCharChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -59,18 +59,18 @@ public void addChunk(final BucketedContext bucketedContext, // Unused @Override public boolean addChunk(final SingletonContext singletonContext, // Unused - final int chunkSize, - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - final long destination) { + final int chunkSize, + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + final long destination) { return addChunk(values.asCharChunk(), inputRowKeys, 0, inputRowKeys.size(), destination); } private boolean addChunk(@NotNull final CharChunk values, - @NotNull final LongChunk indices, - final int start, - final int length, - final long destination) { + @NotNull final LongChunk indices, + final int start, + final int length, + final long destination) { if (length == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharBlinkSortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharBlinkSortedFirstOrLastChunkedOperator.java index 5a6203ea90a..08f16401379 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharBlinkSortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharBlinkSortedFirstOrLastChunkedOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; @@ -62,12 +62,12 @@ public void resetForStep(@NotNull final TableUpdate upstream, final int starting @Override public void addChunk(final BucketedContext bucketedContext, // Unused - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - @NotNull final IntChunk destinations, - @NotNull final IntChunk startPositions, - @NotNull final IntChunk length, - @NotNull final WritableBooleanChunk stateModified) { + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + @NotNull final IntChunk destinations, + @NotNull final IntChunk startPositions, + @NotNull final IntChunk length, + @NotNull final WritableBooleanChunk stateModified) { final CharChunk typedValues = values.asCharChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -79,18 +79,18 @@ public void addChunk(final BucketedContext bucketedContext, // Unused @Override public boolean addChunk(final SingletonContext singletonContext, // Unused - final int chunkSize, - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - final long destination) { + final int chunkSize, + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + final long destination) { return addChunk(values.asCharChunk(), inputRowKeys, 0, inputRowKeys.size(), destination); } private boolean addChunk(@NotNull final CharChunk values, - @NotNull final LongChunk indices, - final int start, - final int length, - final long destination) { + @NotNull final LongChunk indices, + final int start, + final int length, + final long destination) { if (length == 0) { return false; } @@ -144,7 +144,8 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne "downstream.removed.empty() && downstream.shifted.empty()"); // In a combo-agg, we may get modifications from other operators that we didn't record as modifications in // our redirections, so we separately track updated destinations. - try (final RowSequence changedDestinations = isCombo ? changedDestinationsBuilder.build() : downstream.modified().union(downstream.added())) { + try (final RowSequence changedDestinations = + isCombo ? changedDestinationsBuilder.build() : downstream.modified().union(downstream.added())) { copyStreamToResult(changedDestinations); } redirections = null; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharChunkedAddOnlyMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharChunkedAddOnlyMinMaxOperator.java index 56c777ad82d..3ef9d4949af 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharChunkedAddOnlyMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharChunkedAddOnlyMinMaxOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -56,7 +56,7 @@ private char min(CharChunk values, MutableInt chunkNonNull, int chunkStart, i } private char max(CharChunk values, MutableInt chunkNonNull, int chunkStart, int chunkEnd) { - int nonNull =0; + int nonNull = 0; char value = QueryConstants.NULL_CHAR; for (int ii = chunkStart; ii < chunkEnd; ++ii) { final char candidate = values.get(ii); @@ -81,7 +81,10 @@ private char max(char a, char b) { } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final CharChunk asCharChunk = values.asCharChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -91,27 +94,36 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asCharChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { throw new UnsupportedOperationException(); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { throw new UnsupportedOperationException(); } @@ -121,7 +133,8 @@ private boolean addChunk(CharChunk values, long destination, i } final MutableInt chunkNonNull = new MutableInt(0); final int chunkEnd = chunkStart + chunkSize; - final char chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) : max(values, chunkNonNull, chunkStart, chunkEnd); + final char chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) + : max(values, chunkNonNull, chunkStart, chunkEnd); if (chunkNonNull.intValue() == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharChunkedAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharChunkedAvgOperator.java index d1ee0a173f8..168460443c9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharChunkedAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharChunkedAvgOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -40,7 +40,10 @@ class CharChunkedAvgOperator implements IterativeChunkedAggregationOperator { } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final CharChunk asCharChunk = values.asCharChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -50,7 +53,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final CharChunk asCharChunk = values.asCharChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -60,15 +66,17 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asCharChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asCharChunk(), destination, 0, values.size()); } - + private boolean addChunk(CharChunk values, long destination, int chunkStart, int chunkSize) { final MutableInt chunkNonNull = new MutableInt(0); final CharChunk asCharChunk = values.asCharChunk(); @@ -78,7 +86,7 @@ private boolean addChunk(CharChunk values, long destination, i final long newCount = nonNullCount.addNonNullUnsafe(destination, chunkNonNull.intValue()); final long newSum = plusLong(runningSum.getUnsafe(destination), chunkSum); runningSum.set(destination, newSum); - resultColumn.set(destination, (double)newSum / newCount); + resultColumn.set(destination, (double) newSum / newCount); } else if (nonNullCount.onlyNullsUnsafe(destination)) { resultColumn.set(destination, Double.NaN); } else { @@ -98,7 +106,7 @@ private boolean removeChunk(CharChunk values, long destination final long newCount = nonNullCount.addNonNullUnsafe(destination, -chunkNonNull.intValue()); final long newSum = minusLong(runningSum.getUnsafe(destination), chunkSum); runningSum.set(destination, newSum); - resultColumn.set(destination, (double)newSum / newCount); + resultColumn.set(destination, (double) newSum / newCount); return true; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharChunkedSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharChunkedSumOperator.java index b126d495d43..00f1336edb4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharChunkedSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharChunkedSumOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -37,7 +37,10 @@ public class CharChunkedSumOperator implements IterativeChunkedAggregationOperat } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final CharChunk asCharChunk = values.asCharChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -47,7 +50,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final CharChunk asCharChunk = values.asCharChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -57,12 +63,14 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asCharChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asCharChunk(), destination, 0, values.size()); } @@ -73,22 +81,28 @@ private boolean addChunk(CharChunk values, long destination, i } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final CharChunk newAsCharChunk = newValues.asCharChunk(); final CharChunk oldAsCharChunk = previousValues.asCharChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); final long destination = destinations.get(startPosition); - stateModified.set(ii, modifyChunk(oldAsCharChunk, newAsCharChunk, destination, startPosition, length.get(ii))); + stateModified.set(ii, + modifyChunk(oldAsCharChunk, newAsCharChunk, destination, startPosition, length.get(ii))); } } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { return modifyChunk(previousValues.asCharChunk(), newValues.asCharChunk(), destination, 0, newValues.size()); } - private boolean modifyChunk(CharChunk oldValues, CharChunk newValues, long destination, int chunkStart, int chunkSize) { + private boolean modifyChunk(CharChunk oldValues, CharChunk newValues, + long destination, int chunkStart, int chunkSize) { final MutableInt oldNonNullCount = new MutableInt(0); final MutableInt newNonNullCount = new MutableInt(0); final long oldSum = doSum(chunkStart, chunkSize, oldNonNullCount, oldValues); @@ -102,7 +116,8 @@ private boolean removeChunk(CharChunk values, long destination return updateInternal(destination, -sum, -nonNullCount.intValue()); } - private long doSum(int chunkStart, int chunkSize, MutableInt nonNullCount, CharChunk asCharChunk) { + private long doSum(int chunkStart, int chunkSize, MutableInt nonNullCount, + CharChunk asCharChunk) { if (absolute) { return SumCharChunk.sumCharChunkAbs(asCharChunk, chunkStart, chunkSize, nonNullCount); } else { @@ -187,7 +202,8 @@ public Chunk getChunk(@NotNull GetContext context, long firstK } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { resultColumn.fillChunk(context, destination, rowSequence); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharChunkedVarOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharChunkedVarOperator.java index d69b1a79c16..0d1292055c0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharChunkedVarOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CharChunkedVarOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -39,7 +39,10 @@ class CharChunkedVarOperator implements IterativeChunkedAggregationOperator { } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final CharChunk asCharChunk = values.asCharChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -49,7 +52,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final CharChunk asCharChunk = values.asCharChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -59,12 +65,14 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asCharChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asCharChunk(), destination, 0, values.size()); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ChunkedOperatorAggregationHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ChunkedOperatorAggregationHelper.java index 2a5b8f03a7b..68bfce9fa33 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ChunkedOperatorAggregationHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ChunkedOperatorAggregationHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import gnu.trove.impl.Constants; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ChunkedWeightedAverageOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ChunkedWeightedAverageOperator.java index 9f36fe874a7..97b24553948 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ChunkedWeightedAverageOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ChunkedWeightedAverageOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CopyingPermutedBlinkFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CopyingPermutedBlinkFirstOrLastChunkedOperator.java index 476466929b2..da78092ba0e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CopyingPermutedBlinkFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CopyingPermutedBlinkFirstOrLastChunkedOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkPositions; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CountAggregationOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CountAggregationOperator.java index 6481d112a59..e7740f5d61b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CountAggregationOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/CountAggregationOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleAddOnlySortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleAddOnlySortedFirstOrLastChunkedOperator.java index 21807eb5d5c..805be5ca54b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleAddOnlySortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleAddOnlySortedFirstOrLastChunkedOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAddOnlySortedFirstOrLastChunkedOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAddOnlySortedFirstOrLastChunkedOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.Table; @@ -47,12 +46,12 @@ public void ensureCapacity(final long tableSize) { @Override public void addChunk(final BucketedContext bucketedContext, // Unused - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - @NotNull final IntChunk destinations, - @NotNull final IntChunk startPositions, - @NotNull final IntChunk length, - @NotNull final WritableBooleanChunk stateModified) { + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + @NotNull final IntChunk destinations, + @NotNull final IntChunk startPositions, + @NotNull final IntChunk length, + @NotNull final WritableBooleanChunk stateModified) { final DoubleChunk typedValues = values.asDoubleChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -64,18 +63,18 @@ public void addChunk(final BucketedContext bucketedContext, // Unused @Override public boolean addChunk(final SingletonContext singletonContext, // Unused - final int chunkSize, - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - final long destination) { + final int chunkSize, + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + final long destination) { return addChunk(values.asDoubleChunk(), inputRowKeys, 0, inputRowKeys.size(), destination); } private boolean addChunk(@NotNull final DoubleChunk values, - @NotNull final LongChunk indices, - final int start, - final int length, - final long destination) { + @NotNull final LongChunk indices, + final int start, + final int length, + final long destination) { if (length == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleBlinkSortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleBlinkSortedFirstOrLastChunkedOperator.java index 3c1f94acf0d..e15d568055d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleBlinkSortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleBlinkSortedFirstOrLastChunkedOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharBlinkSortedFirstOrLastChunkedOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharBlinkSortedFirstOrLastChunkedOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; @@ -67,12 +66,12 @@ public void resetForStep(@NotNull final TableUpdate upstream, final int starting @Override public void addChunk(final BucketedContext bucketedContext, // Unused - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - @NotNull final IntChunk destinations, - @NotNull final IntChunk startPositions, - @NotNull final IntChunk length, - @NotNull final WritableBooleanChunk stateModified) { + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + @NotNull final IntChunk destinations, + @NotNull final IntChunk startPositions, + @NotNull final IntChunk length, + @NotNull final WritableBooleanChunk stateModified) { final DoubleChunk typedValues = values.asDoubleChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -84,18 +83,18 @@ public void addChunk(final BucketedContext bucketedContext, // Unused @Override public boolean addChunk(final SingletonContext singletonContext, // Unused - final int chunkSize, - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - final long destination) { + final int chunkSize, + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + final long destination) { return addChunk(values.asDoubleChunk(), inputRowKeys, 0, inputRowKeys.size(), destination); } private boolean addChunk(@NotNull final DoubleChunk values, - @NotNull final LongChunk indices, - final int start, - final int length, - final long destination) { + @NotNull final LongChunk indices, + final int start, + final int length, + final long destination) { if (length == 0) { return false; } @@ -149,7 +148,8 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne "downstream.removed.empty() && downstream.shifted.empty()"); // In a combo-agg, we may get modifications from other operators that we didn't record as modifications in // our redirections, so we separately track updated destinations. - try (final RowSequence changedDestinations = isCombo ? changedDestinationsBuilder.build() : downstream.modified().union(downstream.added())) { + try (final RowSequence changedDestinations = + isCombo ? changedDestinationsBuilder.build() : downstream.modified().union(downstream.added())) { copyStreamToResult(changedDestinations); } redirections = null; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedAddOnlyMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedAddOnlyMinMaxOperator.java index 93ddea0c7f0..55ac6618677 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedAddOnlyMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedAddOnlyMinMaxOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedAddOnlyMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedAddOnlyMinMaxOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -61,7 +60,7 @@ private double min(DoubleChunk values, MutableInt chunkNonNull, int chunkStar } private double max(DoubleChunk values, MutableInt chunkNonNull, int chunkStart, int chunkEnd) { - int nonNull =0; + int nonNull = 0; double value = QueryConstants.NULL_DOUBLE; for (int ii = chunkStart; ii < chunkEnd; ++ii) { final double candidate = values.get(ii); @@ -86,7 +85,10 @@ private double max(double a, double b) { } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final DoubleChunk asDoubleChunk = values.asDoubleChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -96,27 +98,36 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asDoubleChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { throw new UnsupportedOperationException(); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { throw new UnsupportedOperationException(); } @@ -126,7 +137,8 @@ private boolean addChunk(DoubleChunk values, long destination, } final MutableInt chunkNonNull = new MutableInt(0); final int chunkEnd = chunkStart + chunkSize; - final double chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) : max(values, chunkNonNull, chunkStart, chunkEnd); + final double chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) + : max(values, chunkNonNull, chunkStart, chunkEnd); if (chunkNonNull.intValue() == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedAvgOperator.java index 9f21e5dc347..902a9276f9b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedAvgOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatChunkedAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatChunkedAvgOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -37,7 +36,10 @@ class DoubleChunkedAvgOperator extends FpChunkedNonNormalCounter implements Iter } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final DoubleChunk asDoubleChunk = values.asDoubleChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -47,7 +49,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final DoubleChunk asDoubleChunk = values.asDoubleChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -57,12 +62,14 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asDoubleChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asDoubleChunk(), destination, 0, values.size()); } @@ -72,19 +79,23 @@ private boolean addChunk(DoubleChunk values, long destination, final MutableInt chunkInfinityCount = new MutableInt(0); final MutableInt chunkMinusInfinityCount = new MutableInt(0); - final double sum = SumDoubleChunk.sumDoubleChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, chunkMinusInfinityCount); + final double sum = SumDoubleChunk.sumDoubleChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, + chunkInfinityCount, chunkMinusInfinityCount); final long totalNormal = nonNullCounter.addNonNullUnsafe(destination, chunkNormalCount.intValue()); final long totalNanCount = updateNanCount(destination, chunkNanCount.intValue()); final long totalPositiveInfinityCount = updatePositiveInfinityCount(destination, chunkInfinityCount.intValue()); - final long totalNegativeInfinityCount = updateNegativeInfinityCount(destination, chunkMinusInfinityCount.intValue()); + final long totalNegativeInfinityCount = + updateNegativeInfinityCount(destination, chunkMinusInfinityCount.intValue()); if (chunkNormalCount.intValue() > 0) { final double newSum = plusDouble(runningSum.getUnsafe(destination), sum); runningSum.set(destination, newSum); - updateResultWithNewSum(destination, totalNormal, totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount, newSum); + updateResultWithNewSum(destination, totalNormal, totalNanCount, totalPositiveInfinityCount, + totalNegativeInfinityCount, newSum); } else { - updateResultSumUnchanged(destination, totalNormal, totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount); + updateResultSumUnchanged(destination, totalNormal, totalNanCount, totalPositiveInfinityCount, + totalNegativeInfinityCount); } return true; } @@ -95,28 +106,35 @@ private boolean removeChunk(DoubleChunk values, long destinati final MutableInt chunkInfinityCount = new MutableInt(0); final MutableInt chunkMinusInfinityCount = new MutableInt(0); - final double sum = SumDoubleChunk.sumDoubleChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, chunkMinusInfinityCount); - if (chunkNormalCount.intValue() == 0 && chunkNanCount.intValue() == 0 && chunkInfinityCount.intValue() == 0 && chunkMinusInfinityCount.intValue() == 0) { + final double sum = SumDoubleChunk.sumDoubleChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, + chunkInfinityCount, chunkMinusInfinityCount); + if (chunkNormalCount.intValue() == 0 && chunkNanCount.intValue() == 0 && chunkInfinityCount.intValue() == 0 + && chunkMinusInfinityCount.intValue() == 0) { return false; } final long totalNormal = nonNullCounter.addNonNull(destination, -chunkNormalCount.intValue()); final long totalNanCount = updateNanCount(destination, -chunkNanCount.intValue()); - final long totalPositiveInfinityCount = updatePositiveInfinityCount(destination, -chunkInfinityCount.intValue()); - final long totalNegativeInfinityCount = updateNegativeInfinityCount(destination, -chunkMinusInfinityCount.intValue()); + final long totalPositiveInfinityCount = + updatePositiveInfinityCount(destination, -chunkInfinityCount.intValue()); + final long totalNegativeInfinityCount = + updateNegativeInfinityCount(destination, -chunkMinusInfinityCount.intValue()); final double newSum; if (chunkNormalCount.intValue() > 0) { newSum = plusDouble(runningSum.getUnsafe(destination), -sum); runningSum.set(destination, newSum); - updateResultWithNewSum(destination, totalNormal, totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount, newSum); + updateResultWithNewSum(destination, totalNormal, totalNanCount, totalPositiveInfinityCount, + totalNegativeInfinityCount, newSum); } else { - updateResultSumUnchanged(destination, totalNormal, totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount); + updateResultSumUnchanged(destination, totalNormal, totalNanCount, totalPositiveInfinityCount, + totalNegativeInfinityCount); } return true; } - private void updateResultWithNewSum(long destination, long totalNormal, long totalNanCount, long totalInfinityCount, long totalNegativeInfinityCount, double newSum) { + private void updateResultWithNewSum(long destination, long totalNormal, long totalNanCount, long totalInfinityCount, + long totalNegativeInfinityCount, double newSum) { if (totalNanCount > 0 || (totalInfinityCount > 0 && totalNegativeInfinityCount > 0)) { resultColumn.set(destination, Double.NaN); } else if (totalInfinityCount > 0) { @@ -128,7 +146,8 @@ private void updateResultWithNewSum(long destination, long totalNormal, long tot } } - private void updateResultSumUnchanged(long destination, long totalNormal, long totalNanCount, long totalInfinityCount, long totalNegativeInfinityCount) { + private void updateResultSumUnchanged(long destination, long totalNormal, long totalNanCount, + long totalInfinityCount, long totalNegativeInfinityCount) { if (totalNanCount > 0 || totalNormal == 0 || (totalInfinityCount > 0 && totalNegativeInfinityCount > 0)) { resultColumn.set(destination, Double.NaN); } else if (totalInfinityCount > 0) { @@ -171,4 +190,4 @@ public void startTrackingPrevValues() { startTrackingPrevFpCounterValues(); } } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedReAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedReAvgOperator.java index 4e0354a47c9..4bdffdf6183 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedReAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedReAvgOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatChunkedReAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatChunkedReAvgOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -34,7 +33,8 @@ class DoubleChunkedReAvgOperator implements IterativeChunkedAggregationOperator private final LongChunkedSumOperator picSum; private final LongChunkedSumOperator nicSum; - DoubleChunkedReAvgOperator(String name, DoubleChunkedSumOperator sumSum, LongChunkedSumOperator nncSum, LongChunkedSumOperator nanSum, LongChunkedSumOperator picSum, LongChunkedSumOperator nicSum) { + DoubleChunkedReAvgOperator(String name, DoubleChunkedSumOperator sumSum, LongChunkedSumOperator nncSum, + LongChunkedSumOperator nanSum, LongChunkedSumOperator picSum, LongChunkedSumOperator nicSum) { this.name = name; this.sumSum = sumSum; this.nncSum = nncSum; @@ -45,54 +45,73 @@ class DoubleChunkedReAvgOperator implements IterativeChunkedAggregationOperator } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { doBucketedUpdate((ReAvgContext) context, destinations, startPositions, stateModified); } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { doBucketedUpdate((ReAvgContext) context, destinations, startPositions, stateModified); } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { doBucketedUpdate((ReAvgContext) context, destinations, startPositions, stateModified); } - private void doBucketedUpdate(ReAvgContext context, IntChunk destinations, IntChunk startPositions, WritableBooleanChunk stateModified) { + private void doBucketedUpdate(ReAvgContext context, IntChunk destinations, + IntChunk startPositions, WritableBooleanChunk stateModified) { try (final RowSequence destinationSeq = context.destinationSequenceFromChunks(destinations, startPositions)) { updateResult(context, destinationSeq, stateModified); } } - private void updateResult(ReAvgContext reAvgContext, RowSequence destinationOk, WritableBooleanChunk stateModified) { + private void updateResult(ReAvgContext reAvgContext, RowSequence destinationOk, + WritableBooleanChunk stateModified) { final DoubleChunk sumSumChunk = sumSum.getChunk(reAvgContext.sumContext, destinationOk).asDoubleChunk(); - final LongChunk nncSumChunk = nncSum.getChunk(reAvgContext.nncContext, destinationOk).asLongChunk(); - final LongChunk nanSumChunk = nanSum.getChunk(reAvgContext.nanContext, destinationOk).asLongChunk(); - final LongChunk picSumChunk = picSum.getChunk(reAvgContext.picContext, destinationOk).asLongChunk(); - final LongChunk nicSumChunk = nicSum.getChunk(reAvgContext.nicContext, destinationOk).asLongChunk(); + final LongChunk nncSumChunk = + nncSum.getChunk(reAvgContext.nncContext, destinationOk).asLongChunk(); + final LongChunk nanSumChunk = + nanSum.getChunk(reAvgContext.nanContext, destinationOk).asLongChunk(); + final LongChunk picSumChunk = + picSum.getChunk(reAvgContext.picContext, destinationOk).asLongChunk(); + final LongChunk nicSumChunk = + nicSum.getChunk(reAvgContext.nicContext, destinationOk).asLongChunk(); final int size = reAvgContext.keyIndices.size(); final boolean ordered = reAvgContext.ordered; for (int ii = 0; ii < size; ++ii) { - final boolean changed = updateResult(reAvgContext.keyIndices.get(ii), nncSumChunk.get(ii), nanSumChunk.get(ii), picSumChunk.get(ii), nicSumChunk.get(ii), sumSumChunk.get(ii)); + final boolean changed = updateResult(reAvgContext.keyIndices.get(ii), nncSumChunk.get(ii), + nanSumChunk.get(ii), picSumChunk.get(ii), nicSumChunk.get(ii), sumSumChunk.get(ii)); stateModified.set(ordered ? ii : reAvgContext.statePositions.get(ii), changed); } } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return updateResult(destination); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return updateResult(destination); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { return updateResult(destination); } @@ -106,7 +125,8 @@ private boolean updateResult(long destination) { return updateResult(destination, nncValue, nanValue, picValue, nicValue, sumSumValue); } - private boolean updateResult(long destination, long nncValue, long nanValue, long picValue, long nicValue, double sumSumValue) { + private boolean updateResult(long destination, long nncValue, long nanValue, long picValue, long nicValue, + double sumSumValue) { if (nanValue > 0 || (picValue > 0 && nicValue > 0) || nncValue == 0) { return !Double.isNaN(resultColumn.getAndSetUnsafe(destination, Double.NaN)); } else if (picValue > 0) { @@ -114,7 +134,7 @@ private boolean updateResult(long destination, long nncValue, long nanValue, lon } else if (nicValue > 0) { return resultColumn.getAndSetUnsafe(destination, Double.NEGATIVE_INFINITY) != Double.NEGATIVE_INFINITY; } else { - final double newValue = (double)(sumSumValue / nncValue); + final double newValue = (double) (sumSumValue / nncValue); return resultColumn.getAndSetUnsafe(destination, newValue) != newValue; } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedSumOperator.java index 8291684a9fa..5c0a325f7e7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedSumOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatChunkedSumOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatChunkedSumOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -31,7 +30,8 @@ /** * Incremental sum operator. */ -final class DoubleChunkedSumOperator extends FpChunkedNonNormalCounter implements IterativeChunkedAggregationOperator, ChunkSource { +final class DoubleChunkedSumOperator extends FpChunkedNonNormalCounter + implements IterativeChunkedAggregationOperator, ChunkSource { private final String name; // instead of using states, we maintain parallel arrays, which are going to be more efficient // memory wise than one state per output row @@ -47,7 +47,10 @@ final class DoubleChunkedSumOperator extends FpChunkedNonNormalCounter implement } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final DoubleChunk asDoubleChunk = values.asDoubleChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -57,7 +60,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final DoubleChunk asDoubleChunk = values.asDoubleChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -67,28 +73,35 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final DoubleChunk preAsDoubleChunk = previousValues.asDoubleChunk(); final DoubleChunk postAsDoubleChunk = newValues.asDoubleChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); final long destination = destinations.get(startPosition); - stateModified.set(ii, modifyChunk(preAsDoubleChunk, postAsDoubleChunk, destination, startPosition, length.get(ii))); + stateModified.set(ii, + modifyChunk(preAsDoubleChunk, postAsDoubleChunk, destination, startPosition, length.get(ii))); } } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asDoubleChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asDoubleChunk(), destination, 0, values.size()); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { return modifyChunk(previousValues.asDoubleChunk(), newValues.asDoubleChunk(), destination, 0, newValues.size()); } @@ -98,19 +111,24 @@ private boolean addChunk(DoubleChunk values, long destination, final MutableInt chunkInfinityCount = new MutableInt(0); final MutableInt chunkMinusInfinityCount = new MutableInt(0); - final double sum = doSum(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, chunkMinusInfinityCount); + final double sum = doSum(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, + chunkMinusInfinityCount); final long totalNanCount = updateNanCount(destination, chunkNanCount.intValue()); final long totalPositiveInfinityCount = updatePositiveInfinityCount(destination, chunkInfinityCount.intValue()); - final long totalNegativeInfinityCount = updateNegativeInfinityCount(destination, chunkMinusInfinityCount.intValue()); + final long totalNegativeInfinityCount = + updateNegativeInfinityCount(destination, chunkMinusInfinityCount.intValue()); if (chunkNormalCount.intValue() > 0) { final long totalNormalCount = nonNullCount.addNonNullUnsafe(destination, chunkNormalCount.intValue()); final double newSum = NullSafeAddition.plusDouble(runningSum.getUnsafe(destination), sum); runningSum.set(destination, newSum); - resultColumn.set(destination, currentValueWithSum(totalNormalCount, totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount, newSum)); - } else if (chunkNanCount.intValue() > 0 || chunkInfinityCount.intValue() > 0 || chunkMinusInfinityCount.intValue() > 0) { - resultColumn.set(destination, currentValueNoSum(totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount)); + resultColumn.set(destination, currentValueWithSum(totalNormalCount, totalNanCount, + totalPositiveInfinityCount, totalNegativeInfinityCount, newSum)); + } else if (chunkNanCount.intValue() > 0 || chunkInfinityCount.intValue() > 0 + || chunkMinusInfinityCount.intValue() > 0) { + resultColumn.set(destination, + currentValueNoSum(totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount)); } return true; @@ -123,11 +141,14 @@ private boolean removeChunk(DoubleChunk values, long destinati final MutableInt chunkInfinityCount = new MutableInt(0); final MutableInt chunkMinusInfinityCount = new MutableInt(0); - final double sum = doSum(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, chunkMinusInfinityCount); + final double sum = doSum(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, + chunkMinusInfinityCount); final long totalNanCount = updateNanCount(destination, -chunkNanCount.intValue()); - final long totalPositiveInfinityCount = updatePositiveInfinityCount(destination, -chunkInfinityCount.intValue()); - final long totalNegativeInfinityCount = updateNegativeInfinityCount(destination, -chunkMinusInfinityCount.intValue()); + final long totalPositiveInfinityCount = + updatePositiveInfinityCount(destination, -chunkInfinityCount.intValue()); + final long totalNegativeInfinityCount = + updateNegativeInfinityCount(destination, -chunkMinusInfinityCount.intValue()); if (chunkNormalCount.intValue() > 0) { final long totalNormalCount = nonNullCount.addNonNullUnsafe(destination, -chunkNormalCount.intValue()); @@ -139,11 +160,14 @@ private boolean removeChunk(DoubleChunk values, long destinati newSum = NullSafeAddition.plusDouble(runningSum.getUnsafe(destination), -sum); runningSum.set(destination, newSum); } - resultColumn.set(destination, currentValueWithSum(totalNormalCount, totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount, newSum)); + resultColumn.set(destination, currentValueWithSum(totalNormalCount, totalNanCount, + totalPositiveInfinityCount, totalNegativeInfinityCount, newSum)); return true; - } else if (chunkNanCount.intValue() > 0 || chunkInfinityCount.intValue() > 0 || chunkMinusInfinityCount.intValue() > 0) { + } else if (chunkNanCount.intValue() > 0 || chunkInfinityCount.intValue() > 0 + || chunkMinusInfinityCount.intValue() > 0) { // if we can still determine what our result is based just on the nans and infinities, use it - final double possibleResult = currentValueNoSum(totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount); + final double possibleResult = + currentValueNoSum(totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount); if (possibleResult != QueryConstants.NULL_DOUBLE) { resultColumn.set(destination, possibleResult); } else { @@ -151,10 +175,9 @@ private boolean removeChunk(DoubleChunk values, long destinati if (totalNormalCount == 0) { // no normal values left, so we must set to null double resultColumn.set(destination, QueryConstants.NULL_DOUBLE); - } - else { + } else { // determine our running sum, and use that as the answer because we have no more non-normals - resultColumn.set(destination, (double)runningSum.getUnsafe(destination)); + resultColumn.set(destination, (double) runningSum.getUnsafe(destination)); } } return true; @@ -163,38 +186,43 @@ private boolean removeChunk(DoubleChunk values, long destinati } } - private boolean modifyChunk(DoubleChunk preValues, DoubleChunk postValues, long destination, int chunkStart, int chunkSize) { + private boolean modifyChunk(DoubleChunk preValues, DoubleChunk postValues, + long destination, int chunkStart, int chunkSize) { final MutableInt preChunkNormalCount = new MutableInt(0); final MutableInt preChunkNanCount = new MutableInt(0); final MutableInt preChunkInfinityCount = new MutableInt(0); final MutableInt preChunkMinusInfinityCount = new MutableInt(0); - final double preSum = doSum(preValues, chunkStart, chunkSize, preChunkNormalCount, preChunkNanCount, preChunkInfinityCount, preChunkMinusInfinityCount); + final double preSum = doSum(preValues, chunkStart, chunkSize, preChunkNormalCount, preChunkNanCount, + preChunkInfinityCount, preChunkMinusInfinityCount); final MutableInt postChunkNormalCount = new MutableInt(0); final MutableInt postChunkNanCount = new MutableInt(0); final MutableInt postChunkInfinityCount = new MutableInt(0); final MutableInt postChunkMinusInfinityCount = new MutableInt(0); - final double postSum = doSum(postValues, chunkStart, chunkSize, postChunkNormalCount, postChunkNanCount, postChunkInfinityCount, postChunkMinusInfinityCount); + final double postSum = doSum(postValues, chunkStart, chunkSize, postChunkNormalCount, postChunkNanCount, + postChunkInfinityCount, postChunkMinusInfinityCount); final boolean normalCountChange = preChunkNormalCount.intValue() != postChunkNormalCount.intValue(); final boolean nanChange = preChunkNanCount.intValue() != postChunkNanCount.intValue(); final boolean posInfinityChange = preChunkInfinityCount.intValue() != postChunkInfinityCount.intValue(); - final boolean negInfinityChange = preChunkMinusInfinityCount.intValue() != postChunkMinusInfinityCount.intValue(); + final boolean negInfinityChange = + preChunkMinusInfinityCount.intValue() != postChunkMinusInfinityCount.intValue(); - final boolean unchangedResult = !nanChange && // The number of NaNs stayed the same - !posInfinityChange && // The number of +inf stayed the same - !negInfinityChange && // The number of -inf stayed the same - (postSum == preSum); // The sum of the chunk being replaced == the sum of the new chunk + final boolean unchangedResult = !nanChange && // The number of NaNs stayed the same + !posInfinityChange && // The number of +inf stayed the same + !negInfinityChange && // The number of -inf stayed the same + (postSum == preSum); // The sum of the chunk being replaced == the sum of the new chunk final long preUpdateNonNullCount = nonNullCount.getCountUnsafe(destination); boolean changedToSingleValueOrEmpty = false; final long totalNormalCount; if (normalCountChange) { - totalNormalCount = nonNullCount.addNonNullUnsafe(destination, postChunkNormalCount.intValue() - preChunkNormalCount.intValue()); + totalNormalCount = nonNullCount.addNonNullUnsafe(destination, + postChunkNormalCount.intValue() - preChunkNormalCount.intValue()); - if(totalNormalCount == 0 || preUpdateNonNullCount == 0) { + if (totalNormalCount == 0 || preUpdateNonNullCount == 0) { changedToSingleValueOrEmpty = true; } } else { @@ -204,17 +232,21 @@ private boolean modifyChunk(DoubleChunk preValues, DoubleChunk totalNormalCount = nonNullCount.getCountUnsafe(destination); } - final long totalNanCount = updateNanCount(destination, preChunkNanCount.intValue(), postChunkNanCount.intValue()); - final long totalPositiveInfinityCount = updatePositiveInfinityCount(destination, preChunkInfinityCount.intValue(), postChunkInfinityCount.intValue()); - final long totalNegativeInfinityCount = updateNegativeInfinityCount(destination, preChunkMinusInfinityCount.intValue(), postChunkMinusInfinityCount.intValue()); + final long totalNanCount = + updateNanCount(destination, preChunkNanCount.intValue(), postChunkNanCount.intValue()); + final long totalPositiveInfinityCount = updatePositiveInfinityCount(destination, + preChunkInfinityCount.intValue(), postChunkInfinityCount.intValue()); + final long totalNegativeInfinityCount = updateNegativeInfinityCount(destination, + preChunkMinusInfinityCount.intValue(), postChunkMinusInfinityCount.intValue()); - final double possibleResult = currentValueNoSum(totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount); + final double possibleResult = + currentValueNoSum(totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount); final double newSum; if ((preSum != postSum) || changedToSingleValueOrEmpty) { if (totalNormalCount == 0) { newSum = 0.0; - } else if(preUpdateNonNullCount == 0) { + } else if (preUpdateNonNullCount == 0) { newSum = postSum; } else { newSum = NullSafeAddition.plusDouble(runningSum.getUnsafe(destination), postSum - preSum); @@ -232,13 +264,14 @@ private boolean modifyChunk(DoubleChunk preValues, DoubleChunk } else if (totalNormalCount == 0) { newValue = QueryConstants.NULL_DOUBLE; } else { - newValue = (double)newSum; + newValue = (double) newSum; } final double oldValue = resultColumn.getAndSetUnsafe(destination, newValue); return !DoubleComparisons.eq(oldValue, newValue); } - private double currentValueWithSum(long totalNormalCount, long totalNanCount, long totalPositiveInfinityCount, long totalNegativeInfinityCount, double newSum) { + private double currentValueWithSum(long totalNormalCount, long totalNanCount, long totalPositiveInfinityCount, + long totalNegativeInfinityCount, double newSum) { if (totalNanCount > 0 || (totalPositiveInfinityCount > 0 && totalNegativeInfinityCount > 0)) { return Double.NaN; } @@ -251,10 +284,11 @@ private double currentValueWithSum(long totalNormalCount, long totalNanCount, lo if (totalNormalCount == 0) { return QueryConstants.NULL_DOUBLE; } - return (double)newSum; + return (double) newSum; } - private double currentValueNoSum(long totalNanCount, long totalPositiveInfinityCount, long totalNegativeInfinityCount) { + private double currentValueNoSum(long totalNanCount, long totalPositiveInfinityCount, + long totalNegativeInfinityCount) { if (totalNanCount > 0 || (totalPositiveInfinityCount > 0 && totalNegativeInfinityCount > 0)) { return Double.NaN; } @@ -267,12 +301,16 @@ private double currentValueNoSum(long totalNanCount, long totalPositiveInfinityC return QueryConstants.NULL_DOUBLE; } - private double doSum(DoubleChunk values, int chunkStart, int chunkSize, MutableInt chunkNormalCount, MutableInt chunkNanCount, MutableInt chunkInfinityCount, MutableInt chunkMinusInfinityCount) { + private double doSum(DoubleChunk values, int chunkStart, int chunkSize, + MutableInt chunkNormalCount, MutableInt chunkNanCount, MutableInt chunkInfinityCount, + MutableInt chunkMinusInfinityCount) { final double sum; if (isAbsolute) { - sum = SumDoubleChunk.sumDoubleChunkAbs(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount); + sum = SumDoubleChunk.sumDoubleChunkAbs(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, + chunkInfinityCount); } else { - sum = SumDoubleChunk.sumDoubleChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, chunkMinusInfinityCount); + sum = SumDoubleChunk.sumDoubleChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, + chunkInfinityCount, chunkMinusInfinityCount); } return sum; } @@ -319,7 +357,8 @@ public Chunk getChunk(@NotNull GetContext context, long firstK } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { resultColumn.fillChunk(context, destination, rowSequence); } @@ -332,4 +371,4 @@ public FillContext makeFillContext(int chunkCapacity, SharedContext sharedContex public GetContext makeGetContext(int chunkCapacity, SharedContext sharedContext) { return resultColumn.makeGetContext(chunkCapacity, sharedContext); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedVarOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedVarOperator.java index 19b4ef31f6f..e8077adee55 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedVarOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedVarOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatChunkedVarOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatChunkedVarOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -44,7 +43,10 @@ final class DoubleChunkedVarOperator extends FpChunkedNonNormalCounter implement } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final DoubleChunk asDoubleChunk = values.asDoubleChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -54,7 +56,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final DoubleChunk asDoubleChunk = values.asDoubleChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -64,12 +69,14 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asDoubleChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asDoubleChunk(), destination, 0, values.size()); } @@ -79,7 +86,8 @@ private boolean addChunk(DoubleChunk values, long destination, final MutableInt chunkNanCount = new MutableInt(); final MutableInt chunkInfinityCount = new MutableInt(); final MutableInt chunkMinusInfinity = new MutableInt(); - final double sum = SumDoubleChunk.sum2DoubleChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, chunkMinusInfinity, sum2); + final double sum = SumDoubleChunk.sum2DoubleChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, + chunkInfinityCount, chunkMinusInfinity, sum2); final long totalPositiveInfinities = updatePositiveInfinityCount(destination, chunkInfinityCount.intValue()); final long totalNegativeInfinities = updateNegativeInfinityCount(destination, chunkMinusInfinity.intValue()); @@ -132,9 +140,11 @@ private boolean removeChunk(DoubleChunk values, long destinati final MutableInt chunkNanCount = new MutableInt(); final MutableInt chunkInfinityCount = new MutableInt(); final MutableInt chunkMinusInfinity = new MutableInt(); - final double sum = SumDoubleChunk.sum2DoubleChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, chunkMinusInfinity, sum2); + final double sum = SumDoubleChunk.sum2DoubleChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, + chunkInfinityCount, chunkMinusInfinity, sum2); - if (chunkNormalCount.intValue() == 0 && chunkNanCount.intValue() == 0 && chunkInfinityCount.intValue() == 0 && chunkMinusInfinity.intValue() == 0) { + if (chunkNormalCount.intValue() == 0 && chunkNanCount.intValue() == 0 && chunkInfinityCount.intValue() == 0 + && chunkMinusInfinity.intValue() == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedWeightedSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedWeightedSumOperator.java index 68e60493992..c0b3cc74cc2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedWeightedSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleChunkedWeightedSumOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; @@ -32,7 +32,8 @@ class DoubleChunkedWeightedSumOperator implements IterativeChunkedAggregationOpe private final DoubleArraySource weightedSum; private final DoubleArraySource resultColumn; - DoubleChunkedWeightedSumOperator(ChunkType chunkType, DoubleWeightRecordingInternalOperator weightOperator, String name) { + DoubleChunkedWeightedSumOperator(ChunkType chunkType, DoubleWeightRecordingInternalOperator weightOperator, + String name) { this.chunkType = chunkType; this.weightOperator = weightOperator; this.resultName = name; @@ -44,76 +45,93 @@ class DoubleChunkedWeightedSumOperator implements IterativeChunkedAggregationOpe } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final Context context = (Context)bucketedContext; + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final Context context = (Context) bucketedContext; final DoubleChunk doubleValues = context.toDoubleCast.cast(values); final DoubleChunk weightValues = weightOperator.getAddedWeights(); Assert.neqNull(weightValues, "weightValues"); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); - stateModified.set(ii, addChunk(doubleValues, weightValues, startPosition, length.get(ii), destinations.get(startPosition))); + stateModified.set(ii, addChunk(doubleValues, weightValues, startPosition, length.get(ii), + destinations.get(startPosition))); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final Context context = (Context)bucketedContext; + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final Context context = (Context) bucketedContext; final DoubleChunk doubleValues = context.prevToDoubleCast.cast(values); final DoubleChunk weightValues = weightOperator.getRemovedWeights(); Assert.neqNull(weightValues, "weightValues"); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); - stateModified.set(ii, removeChunk(doubleValues, weightValues, startPosition, length.get(ii), destinations.get(startPosition))); + stateModified.set(ii, removeChunk(doubleValues, weightValues, startPosition, length.get(ii), + destinations.get(startPosition))); } } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final Context context = (Context)bucketedContext; + public void modifyChunk(BucketedContext bucketedContext, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final Context context = (Context) bucketedContext; final DoubleChunk prevDoubleValues = context.prevToDoubleCast.cast(previousValues); final DoubleChunk prevWeightValues = weightOperator.getRemovedWeights(); final DoubleChunk newDoubleValues = context.toDoubleCast.cast(newValues); final DoubleChunk newWeightValues = weightOperator.getAddedWeights(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); - stateModified.set(ii, modifyChunk(prevDoubleValues, prevWeightValues, newDoubleValues, newWeightValues, startPosition, length.get(ii), destinations.get(startPosition))); + stateModified.set(ii, modifyChunk(prevDoubleValues, prevWeightValues, newDoubleValues, newWeightValues, + startPosition, length.get(ii), destinations.get(startPosition))); } } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final Context context = (Context)singletonContext; + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final Context context = (Context) singletonContext; final DoubleChunk doubleValues = context.toDoubleCast.cast(values); final DoubleChunk weightValues = weightOperator.getAddedWeights(); return addChunk(doubleValues, weightValues, 0, values.size(), destination); } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final Context context = (Context)singletonContext; + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final Context context = (Context) singletonContext; final DoubleChunk doubleValues = context.prevToDoubleCast.cast(values); final DoubleChunk weightValues = weightOperator.getRemovedWeights(); return removeChunk(doubleValues, weightValues, 0, values.size(), destination); } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { - final Context context = (Context)singletonContext; + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { + final Context context = (Context) singletonContext; final DoubleChunk newDoubleValues = context.toDoubleCast.cast(newValues); final DoubleChunk newWeightValues = weightOperator.getAddedWeights(); final DoubleChunk prevDoubleValues = context.prevToDoubleCast.cast(previousValues); final DoubleChunk prevWeightValues = weightOperator.getRemovedWeights(); - return modifyChunk(prevDoubleValues, prevWeightValues, newDoubleValues, newWeightValues, 0, newDoubleValues.size(), destination); + return modifyChunk(prevDoubleValues, prevWeightValues, newDoubleValues, newWeightValues, 0, + newDoubleValues.size(), destination); } - private static void sumChunks(DoubleChunk doubleValues, DoubleChunk weightValues, - int start, - int length, - MutableInt nansOut, - MutableInt normalOut, - MutableDouble weightedSumOut) { + private static void sumChunks(DoubleChunk doubleValues, + DoubleChunk weightValues, + int start, + int length, + MutableInt nansOut, + MutableInt normalOut, + MutableDouble weightedSumOut) { long nans = 0; long normal = 0; double weightedSum = 0.0; @@ -145,7 +163,8 @@ private static void sumChunks(DoubleChunk doubleValues, Double weightedSumOut.setValue(weightedSum); } - private boolean addChunk(DoubleChunk doubleValues, DoubleChunk weightValues, int start, int length, long destination) { + private boolean addChunk(DoubleChunk doubleValues, DoubleChunk weightValues, + int start, int length, long destination) { final MutableInt nanOut = new MutableInt(); final MutableInt normalOut = new MutableInt(); final MutableDouble weightedSumOut = new MutableDouble(); @@ -211,7 +230,8 @@ private long allocateNans(long destination, long newNans) { return newNans; } - private boolean removeChunk(DoubleChunk doubleValues, DoubleChunk weightValues, int start, int length, long destination) { + private boolean removeChunk(DoubleChunk doubleValues, DoubleChunk weightValues, + int start, int length, long destination) { final MutableInt nanOut = new MutableInt(); final MutableInt normalOut = new MutableInt(); final MutableDouble weightedSumOut = new MutableDouble(); @@ -271,7 +291,9 @@ private boolean removeChunk(DoubleChunk doubleValues, DoubleCh } } - private boolean modifyChunk(DoubleChunk prevDoubleValues, DoubleChunk prevWeightValues, DoubleChunk newDoubleValues, DoubleChunk newWeightValues, int start, int length, long destination) { + private boolean modifyChunk(DoubleChunk prevDoubleValues, + DoubleChunk prevWeightValues, DoubleChunk newDoubleValues, + DoubleChunk newWeightValues, int start, int length, long destination) { final MutableInt nanOut = new MutableInt(); final MutableInt normalOut = new MutableInt(); final MutableDouble weightedSumOut = new MutableDouble(); @@ -313,7 +335,8 @@ private boolean modifyChunk(DoubleChunk prevDoubleValues, Doub if (totalNormal > 0) { final double existingWeightedSum = weightedSum.getUnsafe(destination); - final double totalWeightedSum = NullSafeAddition.plusDouble(existingWeightedSum, newWeightedSum - prevWeightedSum); + final double totalWeightedSum = + NullSafeAddition.plusDouble(existingWeightedSum, newWeightedSum - prevWeightedSum); if (totalWeightedSum != existingWeightedSum) { weightedSum.set(destination, totalWeightedSum); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleWeightRecordingInternalOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleWeightRecordingInternalOperator.java index 4bcb90dc519..5458560e18e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleWeightRecordingInternalOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/DoubleWeightRecordingInternalOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; @@ -24,43 +24,54 @@ class DoubleWeightRecordingInternalOperator implements IterativeChunkedAggregati } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - ((Context)context).add(values); + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + ((Context) context).add(values); } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - ((Context)context).remove(values); + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + ((Context) context).remove(values); } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - ((Context)context).add(values); + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + ((Context) context).add(values); return false; } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - ((Context)context).remove(values); + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + ((Context) context).remove(values); return false; } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - ((Context)context).add(newValues); - ((Context)context).remove(previousValues); + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + ((Context) context).add(newValues); + ((Context) context).remove(previousValues); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { - ((Context)context).add(newValues); - ((Context)context).remove(previousValues); + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { + ((Context) context).add(newValues); + ((Context) context).remove(previousValues); return false; } @Override - public void ensureCapacity(long tableSize) { - } + public void ensureCapacity(long tableSize) {} @Override public Map> getResultColumns() { @@ -68,8 +79,7 @@ public void ensureCapacity(long tableSize) { } @Override - public void startTrackingPrevValues() { - } + public void startTrackingPrevValues() {} class Context implements SingletonContext, BucketedContext { private final ToDoubleCast addCastKernel; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FirstOrLastChunkedOperator.java index 5b5e84aa2f5..7512bcfcec4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FirstOrLastChunkedOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatAddOnlySortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatAddOnlySortedFirstOrLastChunkedOperator.java index 478e03894f8..f87670c4b3a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatAddOnlySortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatAddOnlySortedFirstOrLastChunkedOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAddOnlySortedFirstOrLastChunkedOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAddOnlySortedFirstOrLastChunkedOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.Table; @@ -47,12 +46,12 @@ public void ensureCapacity(final long tableSize) { @Override public void addChunk(final BucketedContext bucketedContext, // Unused - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - @NotNull final IntChunk destinations, - @NotNull final IntChunk startPositions, - @NotNull final IntChunk length, - @NotNull final WritableBooleanChunk stateModified) { + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + @NotNull final IntChunk destinations, + @NotNull final IntChunk startPositions, + @NotNull final IntChunk length, + @NotNull final WritableBooleanChunk stateModified) { final FloatChunk typedValues = values.asFloatChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -64,18 +63,18 @@ public void addChunk(final BucketedContext bucketedContext, // Unused @Override public boolean addChunk(final SingletonContext singletonContext, // Unused - final int chunkSize, - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - final long destination) { + final int chunkSize, + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + final long destination) { return addChunk(values.asFloatChunk(), inputRowKeys, 0, inputRowKeys.size(), destination); } private boolean addChunk(@NotNull final FloatChunk values, - @NotNull final LongChunk indices, - final int start, - final int length, - final long destination) { + @NotNull final LongChunk indices, + final int start, + final int length, + final long destination) { if (length == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatBlinkSortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatBlinkSortedFirstOrLastChunkedOperator.java index bdbe70276b6..a325f1fcc18 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatBlinkSortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatBlinkSortedFirstOrLastChunkedOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharBlinkSortedFirstOrLastChunkedOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharBlinkSortedFirstOrLastChunkedOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; @@ -67,12 +66,12 @@ public void resetForStep(@NotNull final TableUpdate upstream, final int starting @Override public void addChunk(final BucketedContext bucketedContext, // Unused - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - @NotNull final IntChunk destinations, - @NotNull final IntChunk startPositions, - @NotNull final IntChunk length, - @NotNull final WritableBooleanChunk stateModified) { + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + @NotNull final IntChunk destinations, + @NotNull final IntChunk startPositions, + @NotNull final IntChunk length, + @NotNull final WritableBooleanChunk stateModified) { final FloatChunk typedValues = values.asFloatChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -84,18 +83,18 @@ public void addChunk(final BucketedContext bucketedContext, // Unused @Override public boolean addChunk(final SingletonContext singletonContext, // Unused - final int chunkSize, - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - final long destination) { + final int chunkSize, + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + final long destination) { return addChunk(values.asFloatChunk(), inputRowKeys, 0, inputRowKeys.size(), destination); } private boolean addChunk(@NotNull final FloatChunk values, - @NotNull final LongChunk indices, - final int start, - final int length, - final long destination) { + @NotNull final LongChunk indices, + final int start, + final int length, + final long destination) { if (length == 0) { return false; } @@ -149,7 +148,8 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne "downstream.removed.empty() && downstream.shifted.empty()"); // In a combo-agg, we may get modifications from other operators that we didn't record as modifications in // our redirections, so we separately track updated destinations. - try (final RowSequence changedDestinations = isCombo ? changedDestinationsBuilder.build() : downstream.modified().union(downstream.added())) { + try (final RowSequence changedDestinations = + isCombo ? changedDestinationsBuilder.build() : downstream.modified().union(downstream.added())) { copyStreamToResult(changedDestinations); } redirections = null; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedAddOnlyMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedAddOnlyMinMaxOperator.java index 319e110609f..31eeb0f8a31 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedAddOnlyMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedAddOnlyMinMaxOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedAddOnlyMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedAddOnlyMinMaxOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -61,7 +60,7 @@ private float min(FloatChunk values, MutableInt chunkNonNull, int chunkStart, } private float max(FloatChunk values, MutableInt chunkNonNull, int chunkStart, int chunkEnd) { - int nonNull =0; + int nonNull = 0; float value = QueryConstants.NULL_FLOAT; for (int ii = chunkStart; ii < chunkEnd; ++ii) { final float candidate = values.get(ii); @@ -86,7 +85,10 @@ private float max(float a, float b) { } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final FloatChunk asFloatChunk = values.asFloatChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -96,27 +98,36 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asFloatChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { throw new UnsupportedOperationException(); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { throw new UnsupportedOperationException(); } @@ -126,7 +137,8 @@ private boolean addChunk(FloatChunk values, long destination, } final MutableInt chunkNonNull = new MutableInt(0); final int chunkEnd = chunkStart + chunkSize; - final float chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) : max(values, chunkNonNull, chunkStart, chunkEnd); + final float chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) + : max(values, chunkNonNull, chunkStart, chunkEnd); if (chunkNonNull.intValue() == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedAvgOperator.java index 82139a26621..0fa4714bfc8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedAvgOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -32,7 +32,10 @@ class FloatChunkedAvgOperator extends FpChunkedNonNormalCounter implements Itera } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final FloatChunk asFloatChunk = values.asFloatChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -42,7 +45,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final FloatChunk asFloatChunk = values.asFloatChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -52,12 +58,14 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asFloatChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asFloatChunk(), destination, 0, values.size()); } @@ -67,19 +75,23 @@ private boolean addChunk(FloatChunk values, long destination, final MutableInt chunkInfinityCount = new MutableInt(0); final MutableInt chunkMinusInfinityCount = new MutableInt(0); - final double sum = SumFloatChunk.sumFloatChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, chunkMinusInfinityCount); + final double sum = SumFloatChunk.sumFloatChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, + chunkInfinityCount, chunkMinusInfinityCount); final long totalNormal = nonNullCounter.addNonNullUnsafe(destination, chunkNormalCount.intValue()); final long totalNanCount = updateNanCount(destination, chunkNanCount.intValue()); final long totalPositiveInfinityCount = updatePositiveInfinityCount(destination, chunkInfinityCount.intValue()); - final long totalNegativeInfinityCount = updateNegativeInfinityCount(destination, chunkMinusInfinityCount.intValue()); + final long totalNegativeInfinityCount = + updateNegativeInfinityCount(destination, chunkMinusInfinityCount.intValue()); if (chunkNormalCount.intValue() > 0) { final double newSum = plusDouble(runningSum.getUnsafe(destination), sum); runningSum.set(destination, newSum); - updateResultWithNewSum(destination, totalNormal, totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount, newSum); + updateResultWithNewSum(destination, totalNormal, totalNanCount, totalPositiveInfinityCount, + totalNegativeInfinityCount, newSum); } else { - updateResultSumUnchanged(destination, totalNormal, totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount); + updateResultSumUnchanged(destination, totalNormal, totalNanCount, totalPositiveInfinityCount, + totalNegativeInfinityCount); } return true; } @@ -90,28 +102,35 @@ private boolean removeChunk(FloatChunk values, long destinatio final MutableInt chunkInfinityCount = new MutableInt(0); final MutableInt chunkMinusInfinityCount = new MutableInt(0); - final double sum = SumFloatChunk.sumFloatChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, chunkMinusInfinityCount); - if (chunkNormalCount.intValue() == 0 && chunkNanCount.intValue() == 0 && chunkInfinityCount.intValue() == 0 && chunkMinusInfinityCount.intValue() == 0) { + final double sum = SumFloatChunk.sumFloatChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, + chunkInfinityCount, chunkMinusInfinityCount); + if (chunkNormalCount.intValue() == 0 && chunkNanCount.intValue() == 0 && chunkInfinityCount.intValue() == 0 + && chunkMinusInfinityCount.intValue() == 0) { return false; } final long totalNormal = nonNullCounter.addNonNull(destination, -chunkNormalCount.intValue()); final long totalNanCount = updateNanCount(destination, -chunkNanCount.intValue()); - final long totalPositiveInfinityCount = updatePositiveInfinityCount(destination, -chunkInfinityCount.intValue()); - final long totalNegativeInfinityCount = updateNegativeInfinityCount(destination, -chunkMinusInfinityCount.intValue()); + final long totalPositiveInfinityCount = + updatePositiveInfinityCount(destination, -chunkInfinityCount.intValue()); + final long totalNegativeInfinityCount = + updateNegativeInfinityCount(destination, -chunkMinusInfinityCount.intValue()); final double newSum; if (chunkNormalCount.intValue() > 0) { newSum = plusDouble(runningSum.getUnsafe(destination), -sum); runningSum.set(destination, newSum); - updateResultWithNewSum(destination, totalNormal, totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount, newSum); + updateResultWithNewSum(destination, totalNormal, totalNanCount, totalPositiveInfinityCount, + totalNegativeInfinityCount, newSum); } else { - updateResultSumUnchanged(destination, totalNormal, totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount); + updateResultSumUnchanged(destination, totalNormal, totalNanCount, totalPositiveInfinityCount, + totalNegativeInfinityCount); } return true; } - private void updateResultWithNewSum(long destination, long totalNormal, long totalNanCount, long totalInfinityCount, long totalNegativeInfinityCount, double newSum) { + private void updateResultWithNewSum(long destination, long totalNormal, long totalNanCount, long totalInfinityCount, + long totalNegativeInfinityCount, double newSum) { if (totalNanCount > 0 || (totalInfinityCount > 0 && totalNegativeInfinityCount > 0)) { resultColumn.set(destination, Double.NaN); } else if (totalInfinityCount > 0) { @@ -123,7 +142,8 @@ private void updateResultWithNewSum(long destination, long totalNormal, long tot } } - private void updateResultSumUnchanged(long destination, long totalNormal, long totalNanCount, long totalInfinityCount, long totalNegativeInfinityCount) { + private void updateResultSumUnchanged(long destination, long totalNormal, long totalNanCount, + long totalInfinityCount, long totalNegativeInfinityCount) { if (totalNanCount > 0 || totalNormal == 0 || (totalInfinityCount > 0 && totalNegativeInfinityCount > 0)) { resultColumn.set(destination, Double.NaN); } else if (totalInfinityCount > 0) { @@ -166,4 +186,4 @@ public void startTrackingPrevValues() { startTrackingPrevFpCounterValues(); } } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedReAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedReAvgOperator.java index a0462401ab4..7c42869077f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedReAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedReAvgOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -29,7 +29,8 @@ class FloatChunkedReAvgOperator implements IterativeChunkedAggregationOperator { private final LongChunkedSumOperator picSum; private final LongChunkedSumOperator nicSum; - FloatChunkedReAvgOperator(String name, DoubleChunkedSumOperator sumSum, LongChunkedSumOperator nncSum, LongChunkedSumOperator nanSum, LongChunkedSumOperator picSum, LongChunkedSumOperator nicSum) { + FloatChunkedReAvgOperator(String name, DoubleChunkedSumOperator sumSum, LongChunkedSumOperator nncSum, + LongChunkedSumOperator nanSum, LongChunkedSumOperator picSum, LongChunkedSumOperator nicSum) { this.name = name; this.sumSum = sumSum; this.nncSum = nncSum; @@ -40,54 +41,73 @@ class FloatChunkedReAvgOperator implements IterativeChunkedAggregationOperator { } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { doBucketedUpdate((ReAvgContext) context, destinations, startPositions, stateModified); } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { doBucketedUpdate((ReAvgContext) context, destinations, startPositions, stateModified); } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { doBucketedUpdate((ReAvgContext) context, destinations, startPositions, stateModified); } - private void doBucketedUpdate(ReAvgContext context, IntChunk destinations, IntChunk startPositions, WritableBooleanChunk stateModified) { + private void doBucketedUpdate(ReAvgContext context, IntChunk destinations, + IntChunk startPositions, WritableBooleanChunk stateModified) { try (final RowSequence destinationSeq = context.destinationSequenceFromChunks(destinations, startPositions)) { updateResult(context, destinationSeq, stateModified); } } - private void updateResult(ReAvgContext reAvgContext, RowSequence destinationOk, WritableBooleanChunk stateModified) { + private void updateResult(ReAvgContext reAvgContext, RowSequence destinationOk, + WritableBooleanChunk stateModified) { final DoubleChunk sumSumChunk = sumSum.getChunk(reAvgContext.sumContext, destinationOk).asDoubleChunk(); - final LongChunk nncSumChunk = nncSum.getChunk(reAvgContext.nncContext, destinationOk).asLongChunk(); - final LongChunk nanSumChunk = nanSum.getChunk(reAvgContext.nanContext, destinationOk).asLongChunk(); - final LongChunk picSumChunk = picSum.getChunk(reAvgContext.picContext, destinationOk).asLongChunk(); - final LongChunk nicSumChunk = nicSum.getChunk(reAvgContext.nicContext, destinationOk).asLongChunk(); + final LongChunk nncSumChunk = + nncSum.getChunk(reAvgContext.nncContext, destinationOk).asLongChunk(); + final LongChunk nanSumChunk = + nanSum.getChunk(reAvgContext.nanContext, destinationOk).asLongChunk(); + final LongChunk picSumChunk = + picSum.getChunk(reAvgContext.picContext, destinationOk).asLongChunk(); + final LongChunk nicSumChunk = + nicSum.getChunk(reAvgContext.nicContext, destinationOk).asLongChunk(); final int size = reAvgContext.keyIndices.size(); final boolean ordered = reAvgContext.ordered; for (int ii = 0; ii < size; ++ii) { - final boolean changed = updateResult(reAvgContext.keyIndices.get(ii), nncSumChunk.get(ii), nanSumChunk.get(ii), picSumChunk.get(ii), nicSumChunk.get(ii), sumSumChunk.get(ii)); + final boolean changed = updateResult(reAvgContext.keyIndices.get(ii), nncSumChunk.get(ii), + nanSumChunk.get(ii), picSumChunk.get(ii), nicSumChunk.get(ii), sumSumChunk.get(ii)); stateModified.set(ordered ? ii : reAvgContext.statePositions.get(ii), changed); } } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return updateResult(destination); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return updateResult(destination); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { return updateResult(destination); } @@ -101,7 +121,8 @@ private boolean updateResult(long destination) { return updateResult(destination, nncValue, nanValue, picValue, nicValue, sumSumValue); } - private boolean updateResult(long destination, long nncValue, long nanValue, long picValue, long nicValue, double sumSumValue) { + private boolean updateResult(long destination, long nncValue, long nanValue, long picValue, long nicValue, + double sumSumValue) { if (nanValue > 0 || (picValue > 0 && nicValue > 0) || nncValue == 0) { return !Float.isNaN(resultColumn.getAndSetUnsafe(destination, Float.NaN)); } else if (picValue > 0) { @@ -109,7 +130,7 @@ private boolean updateResult(long destination, long nncValue, long nanValue, lon } else if (nicValue > 0) { return resultColumn.getAndSetUnsafe(destination, Float.NEGATIVE_INFINITY) != Float.NEGATIVE_INFINITY; } else { - final float newValue = (float)(sumSumValue / nncValue); + final float newValue = (float) (sumSumValue / nncValue); return resultColumn.getAndSetUnsafe(destination, newValue) != newValue; } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedReVarOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedReVarOperator.java index aa680c37690..12df11fca34 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedReVarOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedReVarOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.ChunkSource; @@ -31,7 +31,9 @@ class FloatChunkedReVarOperator implements IterativeChunkedAggregationOperator { private final LongChunkedSumOperator picSum; private final LongChunkedSumOperator nicSum; - FloatChunkedReVarOperator(String name, final boolean std, DoubleChunkedSumOperator sumSum, DoubleChunkedSumOperator sum2Sum, LongChunkedSumOperator nncSum, LongChunkedSumOperator nanSum, LongChunkedSumOperator picSum, LongChunkedSumOperator nicSum) { + FloatChunkedReVarOperator(String name, final boolean std, DoubleChunkedSumOperator sumSum, + DoubleChunkedSumOperator sum2Sum, LongChunkedSumOperator nncSum, LongChunkedSumOperator nanSum, + LongChunkedSumOperator picSum, LongChunkedSumOperator nicSum) { this.name = name; this.std = std; this.sumSum = sumSum; @@ -44,54 +46,75 @@ class FloatChunkedReVarOperator implements IterativeChunkedAggregationOperator { } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { doBucketedUpdate((ReVarContext) context, destinations, startPositions, stateModified); } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { doBucketedUpdate((ReVarContext) context, destinations, startPositions, stateModified); } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { doBucketedUpdate((ReVarContext) context, destinations, startPositions, stateModified); } - private void doBucketedUpdate(ReVarContext context, IntChunk destinations, IntChunk startPositions, WritableBooleanChunk stateModified) { + private void doBucketedUpdate(ReVarContext context, IntChunk destinations, + IntChunk startPositions, WritableBooleanChunk stateModified) { try (final RowSequence destinationSeq = context.destinationSequenceFromChunks(destinations, startPositions)) { updateResult(context, destinationSeq, stateModified); } } - private void updateResult(ReVarContext reVarContext, RowSequence destinationOk, WritableBooleanChunk stateModified) { + private void updateResult(ReVarContext reVarContext, RowSequence destinationOk, + WritableBooleanChunk stateModified) { final DoubleChunk sumSumChunk = sumSum.getChunk(reVarContext.sumContext, destinationOk).asDoubleChunk(); - final DoubleChunk sum2SumChunk = sum2Sum.getChunk(reVarContext.sum2Context, destinationOk).asDoubleChunk(); - final LongChunk nncSumChunk = nncSum.getChunk(reVarContext.nncContext, destinationOk).asLongChunk(); - final LongChunk nanSumChunk = nanSum.getChunk(reVarContext.nanContext, destinationOk).asLongChunk(); - final LongChunk picSumChunk = picSum.getChunk(reVarContext.picContext, destinationOk).asLongChunk(); - final LongChunk nicSumChunk = nicSum.getChunk(reVarContext.nicContext, destinationOk).asLongChunk(); + final DoubleChunk sum2SumChunk = + sum2Sum.getChunk(reVarContext.sum2Context, destinationOk).asDoubleChunk(); + final LongChunk nncSumChunk = + nncSum.getChunk(reVarContext.nncContext, destinationOk).asLongChunk(); + final LongChunk nanSumChunk = + nanSum.getChunk(reVarContext.nanContext, destinationOk).asLongChunk(); + final LongChunk picSumChunk = + picSum.getChunk(reVarContext.picContext, destinationOk).asLongChunk(); + final LongChunk nicSumChunk = + nicSum.getChunk(reVarContext.nicContext, destinationOk).asLongChunk(); final int size = reVarContext.keyIndices.size(); final boolean ordered = reVarContext.ordered;; for (int ii = 0; ii < size; ++ii) { - final boolean changed = updateResult(reVarContext.keyIndices.get(ii), nncSumChunk.get(ii), nanSumChunk.get(ii), picSumChunk.get(ii), nicSumChunk.get(ii), sumSumChunk.get(ii), sum2SumChunk.get(ii)); + final boolean changed = + updateResult(reVarContext.keyIndices.get(ii), nncSumChunk.get(ii), nanSumChunk.get(ii), + picSumChunk.get(ii), nicSumChunk.get(ii), sumSumChunk.get(ii), sum2SumChunk.get(ii)); stateModified.set(ordered ? ii : reVarContext.statePositions.get(ii), changed); } } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return updateResult(destination); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return updateResult(destination); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { return updateResult(destination); } @@ -106,7 +129,8 @@ private boolean updateResult(long destination) { return updateResult(destination, nncValue, nanValue, picValue, nicValue, newSum, newSum2); } - private boolean updateResult(long destination, long nncValue, long nanValue, long picValue, long nicValue, double newSum, double newSum2) { + private boolean updateResult(long destination, long nncValue, long nanValue, long picValue, long nicValue, + double newSum, double newSum2) { if (nanValue > 0 || picValue > 0 || nicValue > 0 || nncValue <= 1) { return !Double.isNaN(resultColumn.getAndSetUnsafe(destination, Double.NaN)); } else { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedSumOperator.java index fd5201927eb..425b9550c1b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedSumOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -26,7 +26,8 @@ /** * Incremental sum operator. */ -final class FloatChunkedSumOperator extends FpChunkedNonNormalCounter implements IterativeChunkedAggregationOperator, ChunkSource { +final class FloatChunkedSumOperator extends FpChunkedNonNormalCounter + implements IterativeChunkedAggregationOperator, ChunkSource { private final String name; // instead of using states, we maintain parallel arrays, which are going to be more efficient // memory wise than one state per output row @@ -42,7 +43,10 @@ final class FloatChunkedSumOperator extends FpChunkedNonNormalCounter implements } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final FloatChunk asFloatChunk = values.asFloatChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -52,7 +56,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final FloatChunk asFloatChunk = values.asFloatChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -62,28 +69,35 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final FloatChunk preAsFloatChunk = previousValues.asFloatChunk(); final FloatChunk postAsFloatChunk = newValues.asFloatChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); final long destination = destinations.get(startPosition); - stateModified.set(ii, modifyChunk(preAsFloatChunk, postAsFloatChunk, destination, startPosition, length.get(ii))); + stateModified.set(ii, + modifyChunk(preAsFloatChunk, postAsFloatChunk, destination, startPosition, length.get(ii))); } } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asFloatChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asFloatChunk(), destination, 0, values.size()); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { return modifyChunk(previousValues.asFloatChunk(), newValues.asFloatChunk(), destination, 0, newValues.size()); } @@ -93,19 +107,24 @@ private boolean addChunk(FloatChunk values, long destination, final MutableInt chunkInfinityCount = new MutableInt(0); final MutableInt chunkMinusInfinityCount = new MutableInt(0); - final double sum = doSum(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, chunkMinusInfinityCount); + final double sum = doSum(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, + chunkMinusInfinityCount); final long totalNanCount = updateNanCount(destination, chunkNanCount.intValue()); final long totalPositiveInfinityCount = updatePositiveInfinityCount(destination, chunkInfinityCount.intValue()); - final long totalNegativeInfinityCount = updateNegativeInfinityCount(destination, chunkMinusInfinityCount.intValue()); + final long totalNegativeInfinityCount = + updateNegativeInfinityCount(destination, chunkMinusInfinityCount.intValue()); if (chunkNormalCount.intValue() > 0) { final long totalNormalCount = nonNullCount.addNonNullUnsafe(destination, chunkNormalCount.intValue()); final double newSum = NullSafeAddition.plusDouble(runningSum.getUnsafe(destination), sum); runningSum.set(destination, newSum); - resultColumn.set(destination, currentValueWithSum(totalNormalCount, totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount, newSum)); - } else if (chunkNanCount.intValue() > 0 || chunkInfinityCount.intValue() > 0 || chunkMinusInfinityCount.intValue() > 0) { - resultColumn.set(destination, currentValueNoSum(totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount)); + resultColumn.set(destination, currentValueWithSum(totalNormalCount, totalNanCount, + totalPositiveInfinityCount, totalNegativeInfinityCount, newSum)); + } else if (chunkNanCount.intValue() > 0 || chunkInfinityCount.intValue() > 0 + || chunkMinusInfinityCount.intValue() > 0) { + resultColumn.set(destination, + currentValueNoSum(totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount)); } return true; @@ -118,11 +137,14 @@ private boolean removeChunk(FloatChunk values, long destinatio final MutableInt chunkInfinityCount = new MutableInt(0); final MutableInt chunkMinusInfinityCount = new MutableInt(0); - final double sum = doSum(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, chunkMinusInfinityCount); + final double sum = doSum(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, + chunkMinusInfinityCount); final long totalNanCount = updateNanCount(destination, -chunkNanCount.intValue()); - final long totalPositiveInfinityCount = updatePositiveInfinityCount(destination, -chunkInfinityCount.intValue()); - final long totalNegativeInfinityCount = updateNegativeInfinityCount(destination, -chunkMinusInfinityCount.intValue()); + final long totalPositiveInfinityCount = + updatePositiveInfinityCount(destination, -chunkInfinityCount.intValue()); + final long totalNegativeInfinityCount = + updateNegativeInfinityCount(destination, -chunkMinusInfinityCount.intValue()); if (chunkNormalCount.intValue() > 0) { final long totalNormalCount = nonNullCount.addNonNullUnsafe(destination, -chunkNormalCount.intValue()); @@ -134,11 +156,14 @@ private boolean removeChunk(FloatChunk values, long destinatio newSum = NullSafeAddition.plusDouble(runningSum.getUnsafe(destination), -sum); runningSum.set(destination, newSum); } - resultColumn.set(destination, currentValueWithSum(totalNormalCount, totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount, newSum)); + resultColumn.set(destination, currentValueWithSum(totalNormalCount, totalNanCount, + totalPositiveInfinityCount, totalNegativeInfinityCount, newSum)); return true; - } else if (chunkNanCount.intValue() > 0 || chunkInfinityCount.intValue() > 0 || chunkMinusInfinityCount.intValue() > 0) { + } else if (chunkNanCount.intValue() > 0 || chunkInfinityCount.intValue() > 0 + || chunkMinusInfinityCount.intValue() > 0) { // if we can still determine what our result is based just on the nans and infinities, use it - final float possibleResult = currentValueNoSum(totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount); + final float possibleResult = + currentValueNoSum(totalNanCount, totalPositiveInfinityCount, totalNegativeInfinityCount); if (possibleResult != QueryConstants.NULL_FLOAT) { resultColumn.set(destination, possibleResult); } else { @@ -146,10 +171,9 @@ private boolean removeChunk(FloatChunk values, long destinatio if (totalNormalCount == 0) { // no normal values left, so we must set to null float resultColumn.set(destination, QueryConstants.NULL_FLOAT); - } - else { + } else { // determine our running sum, and use that as the answer because we have no more non-normals - resultColumn.set(destination, (float)runningSum.getUnsafe(destination)); + resultColumn.set(destination, (float) runningSum.getUnsafe(destination)); } } return true; @@ -158,38 +182,43 @@ private boolean removeChunk(FloatChunk values, long destinatio } } - private boolean modifyChunk(FloatChunk preValues, FloatChunk postValues, long destination, int chunkStart, int chunkSize) { + private boolean modifyChunk(FloatChunk preValues, FloatChunk postValues, + long destination, int chunkStart, int chunkSize) { final MutableInt preChunkNormalCount = new MutableInt(0); final MutableInt preChunkNanCount = new MutableInt(0); final MutableInt preChunkInfinityCount = new MutableInt(0); final MutableInt preChunkMinusInfinityCount = new MutableInt(0); - final double preSum = doSum(preValues, chunkStart, chunkSize, preChunkNormalCount, preChunkNanCount, preChunkInfinityCount, preChunkMinusInfinityCount); + final double preSum = doSum(preValues, chunkStart, chunkSize, preChunkNormalCount, preChunkNanCount, + preChunkInfinityCount, preChunkMinusInfinityCount); final MutableInt postChunkNormalCount = new MutableInt(0); final MutableInt postChunkNanCount = new MutableInt(0); final MutableInt postChunkInfinityCount = new MutableInt(0); final MutableInt postChunkMinusInfinityCount = new MutableInt(0); - final double postSum = doSum(postValues, chunkStart, chunkSize, postChunkNormalCount, postChunkNanCount, postChunkInfinityCount, postChunkMinusInfinityCount); + final double postSum = doSum(postValues, chunkStart, chunkSize, postChunkNormalCount, postChunkNanCount, + postChunkInfinityCount, postChunkMinusInfinityCount); final boolean normalCountChange = preChunkNormalCount.intValue() != postChunkNormalCount.intValue(); final boolean nanChange = preChunkNanCount.intValue() != postChunkNanCount.intValue(); final boolean posInfinityChange = preChunkInfinityCount.intValue() != postChunkInfinityCount.intValue(); - final boolean negInfinityChange = preChunkMinusInfinityCount.intValue() != postChunkMinusInfinityCount.intValue(); + final boolean negInfinityChange = + preChunkMinusInfinityCount.intValue() != postChunkMinusInfinityCount.intValue(); - final boolean unchangedResult = !nanChange && // The number of NaNs stayed the same - !posInfinityChange && // The number of +inf stayed the same - !negInfinityChange && // The number of -inf stayed the same - (postSum == preSum); // The sum of the chunk being replaced == the sum of the new chunk + final boolean unchangedResult = !nanChange && // The number of NaNs stayed the same + !posInfinityChange && // The number of +inf stayed the same + !negInfinityChange && // The number of -inf stayed the same + (postSum == preSum); // The sum of the chunk being replaced == the sum of the new chunk final long preUpdateNonNullCount = nonNullCount.getCountUnsafe(destination); boolean changedToSingleValueOrEmpty = false; final long totalNormalCount; if (normalCountChange) { - totalNormalCount = nonNullCount.addNonNullUnsafe(destination, postChunkNormalCount.intValue() - preChunkNormalCount.intValue()); + totalNormalCount = nonNullCount.addNonNullUnsafe(destination, + postChunkNormalCount.intValue() - preChunkNormalCount.intValue()); - if(totalNormalCount == 0 || preUpdateNonNullCount == 0) { + if (totalNormalCount == 0 || preUpdateNonNullCount == 0) { changedToSingleValueOrEmpty = true; } } else { @@ -199,17 +228,21 @@ private boolean modifyChunk(FloatChunk preValues, FloatChunk preValues, FloatChunk 0 || (totalPositiveInfinityCount > 0 && totalNegativeInfinityCount > 0)) { return Float.NaN; } @@ -246,10 +280,11 @@ private float currentValueWithSum(long totalNormalCount, long totalNanCount, lon if (totalNormalCount == 0) { return QueryConstants.NULL_FLOAT; } - return (float)newSum; + return (float) newSum; } - private float currentValueNoSum(long totalNanCount, long totalPositiveInfinityCount, long totalNegativeInfinityCount) { + private float currentValueNoSum(long totalNanCount, long totalPositiveInfinityCount, + long totalNegativeInfinityCount) { if (totalNanCount > 0 || (totalPositiveInfinityCount > 0 && totalNegativeInfinityCount > 0)) { return Float.NaN; } @@ -262,12 +297,16 @@ private float currentValueNoSum(long totalNanCount, long totalPositiveInfinityCo return QueryConstants.NULL_FLOAT; } - private double doSum(FloatChunk values, int chunkStart, int chunkSize, MutableInt chunkNormalCount, MutableInt chunkNanCount, MutableInt chunkInfinityCount, MutableInt chunkMinusInfinityCount) { + private double doSum(FloatChunk values, int chunkStart, int chunkSize, + MutableInt chunkNormalCount, MutableInt chunkNanCount, MutableInt chunkInfinityCount, + MutableInt chunkMinusInfinityCount) { final double sum; if (isAbsolute) { - sum = SumFloatChunk.sumFloatChunkAbs(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount); + sum = SumFloatChunk.sumFloatChunkAbs(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, + chunkInfinityCount); } else { - sum = SumFloatChunk.sumFloatChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, chunkMinusInfinityCount); + sum = SumFloatChunk.sumFloatChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, + chunkInfinityCount, chunkMinusInfinityCount); } return sum; } @@ -314,7 +353,8 @@ public Chunk getChunk(@NotNull GetContext context, long firstK } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { resultColumn.fillChunk(context, destination, rowSequence); } @@ -327,4 +367,4 @@ public FillContext makeFillContext(int chunkCapacity, SharedContext sharedContex public GetContext makeGetContext(int chunkCapacity, SharedContext sharedContext) { return resultColumn.makeGetContext(chunkCapacity, sharedContext); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedVarOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedVarOperator.java index 641e5e95ec7..6c615391339 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedVarOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FloatChunkedVarOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -39,7 +39,10 @@ final class FloatChunkedVarOperator extends FpChunkedNonNormalCounter implements } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final FloatChunk asFloatChunk = values.asFloatChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -49,7 +52,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final FloatChunk asFloatChunk = values.asFloatChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -59,12 +65,14 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asFloatChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asFloatChunk(), destination, 0, values.size()); } @@ -74,7 +82,8 @@ private boolean addChunk(FloatChunk values, long destination, final MutableInt chunkNanCount = new MutableInt(); final MutableInt chunkInfinityCount = new MutableInt(); final MutableInt chunkMinusInfinity = new MutableInt(); - final double sum = SumFloatChunk.sum2FloatChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, chunkMinusInfinity, sum2); + final double sum = SumFloatChunk.sum2FloatChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, + chunkInfinityCount, chunkMinusInfinity, sum2); final long totalPositiveInfinities = updatePositiveInfinityCount(destination, chunkInfinityCount.intValue()); final long totalNegativeInfinities = updateNegativeInfinityCount(destination, chunkMinusInfinity.intValue()); @@ -127,9 +136,11 @@ private boolean removeChunk(FloatChunk values, long destinatio final MutableInt chunkNanCount = new MutableInt(); final MutableInt chunkInfinityCount = new MutableInt(); final MutableInt chunkMinusInfinity = new MutableInt(); - final double sum = SumFloatChunk.sum2FloatChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, chunkInfinityCount, chunkMinusInfinity, sum2); + final double sum = SumFloatChunk.sum2FloatChunk(values, chunkStart, chunkSize, chunkNormalCount, chunkNanCount, + chunkInfinityCount, chunkMinusInfinity, sum2); - if (chunkNormalCount.intValue() == 0 && chunkNanCount.intValue() == 0 && chunkInfinityCount.intValue() == 0 && chunkMinusInfinity.intValue() == 0) { + if (chunkNormalCount.intValue() == 0 && chunkNanCount.intValue() == 0 && chunkInfinityCount.intValue() == 0 + && chunkMinusInfinity.intValue() == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FormulaChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FormulaChunkedOperator.java index 7f489a060b6..3bf31cb5e8b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FormulaChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FormulaChunkedOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FpChunkedNonNormalCounter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FpChunkedNonNormalCounter.java index 469324c67e7..a99d4784245 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FpChunkedNonNormalCounter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/FpChunkedNonNormalCounter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/GroupByChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/GroupByChunkedOperator.java index dd98223298e..e21f8aa1870 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/GroupByChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/GroupByChunkedOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/HashHandler.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/HashHandler.java index 562b3aeb681..6ef13ff650c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/HashHandler.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/HashHandler.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; /** diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/HashTableColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/HashTableColumnSource.java index 1359c68df71..cb854a3cfcb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/HashTableColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/HashTableColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.SharedContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/HashedRunFinder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/HashedRunFinder.java index cae7dabbfcf..8a3e154dfff 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/HashedRunFinder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/HashedRunFinder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IncrementalChunkedOperatorAggregationStateManagerOpenAddressedBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IncrementalChunkedOperatorAggregationStateManagerOpenAddressedBase.java index 90b672d798b..912b6e24023 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IncrementalChunkedOperatorAggregationStateManagerOpenAddressedBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IncrementalChunkedOperatorAggregationStateManagerOpenAddressedBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IncrementalChunkedOperatorAggregationStateManagerTypedBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IncrementalChunkedOperatorAggregationStateManagerTypedBase.java index c0fc54b923d..9a274a55676 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IncrementalChunkedOperatorAggregationStateManagerTypedBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IncrementalChunkedOperatorAggregationStateManagerTypedBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.WritableIntChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IncrementalOperatorAggregationStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IncrementalOperatorAggregationStateManager.java index 366e46214cb..6f744e40b87 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IncrementalOperatorAggregationStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IncrementalOperatorAggregationStateManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.WritableIntChunk; @@ -16,7 +16,7 @@ public interface IncrementalOperatorAggregationStateManager extends OperatorAggr SafeCloseable makeProbeContext(ColumnSource[] probeSources, long maxSize); /** - * Allow our managers to do a little bit of work at the very start of the update cycle. We have this method so that + * Allow our managers to do a little bit of work at the very start of the update cycle. We have this method so that * even if nothing is to be done, we rehash a little bit on each cycle to avoid always rehashing when there is other * work to be done. */ @@ -24,9 +24,9 @@ public interface IncrementalOperatorAggregationStateManager extends OperatorAggr void startTrackingPrevValues(); - void remove(SafeCloseable pc, RowSequence rowSequence, ColumnSource [] sources, + void remove(SafeCloseable pc, RowSequence rowSequence, ColumnSource[] sources, WritableIntChunk outputPositions); - void findModifications(SafeCloseable pc, RowSequence rowSequence, ColumnSource [] sources, + void findModifications(SafeCloseable pc, RowSequence rowSequence, ColumnSource[] sources, WritableIntChunk outputPositions); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntAddOnlySortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntAddOnlySortedFirstOrLastChunkedOperator.java index b6244b31728..3426df6ea32 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntAddOnlySortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntAddOnlySortedFirstOrLastChunkedOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAddOnlySortedFirstOrLastChunkedOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAddOnlySortedFirstOrLastChunkedOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.Table; @@ -47,12 +46,12 @@ public void ensureCapacity(final long tableSize) { @Override public void addChunk(final BucketedContext bucketedContext, // Unused - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - @NotNull final IntChunk destinations, - @NotNull final IntChunk startPositions, - @NotNull final IntChunk length, - @NotNull final WritableBooleanChunk stateModified) { + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + @NotNull final IntChunk destinations, + @NotNull final IntChunk startPositions, + @NotNull final IntChunk length, + @NotNull final WritableBooleanChunk stateModified) { final IntChunk typedValues = values.asIntChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -64,18 +63,18 @@ public void addChunk(final BucketedContext bucketedContext, // Unused @Override public boolean addChunk(final SingletonContext singletonContext, // Unused - final int chunkSize, - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - final long destination) { + final int chunkSize, + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + final long destination) { return addChunk(values.asIntChunk(), inputRowKeys, 0, inputRowKeys.size(), destination); } private boolean addChunk(@NotNull final IntChunk values, - @NotNull final LongChunk indices, - final int start, - final int length, - final long destination) { + @NotNull final LongChunk indices, + final int start, + final int length, + final long destination) { if (length == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntBlinkSortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntBlinkSortedFirstOrLastChunkedOperator.java index f98ee79bf74..87031877036 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntBlinkSortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntBlinkSortedFirstOrLastChunkedOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharBlinkSortedFirstOrLastChunkedOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharBlinkSortedFirstOrLastChunkedOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; @@ -67,12 +66,12 @@ public void resetForStep(@NotNull final TableUpdate upstream, final int starting @Override public void addChunk(final BucketedContext bucketedContext, // Unused - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - @NotNull final IntChunk destinations, - @NotNull final IntChunk startPositions, - @NotNull final IntChunk length, - @NotNull final WritableBooleanChunk stateModified) { + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + @NotNull final IntChunk destinations, + @NotNull final IntChunk startPositions, + @NotNull final IntChunk length, + @NotNull final WritableBooleanChunk stateModified) { final IntChunk typedValues = values.asIntChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -84,18 +83,18 @@ public void addChunk(final BucketedContext bucketedContext, // Unused @Override public boolean addChunk(final SingletonContext singletonContext, // Unused - final int chunkSize, - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - final long destination) { + final int chunkSize, + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + final long destination) { return addChunk(values.asIntChunk(), inputRowKeys, 0, inputRowKeys.size(), destination); } private boolean addChunk(@NotNull final IntChunk values, - @NotNull final LongChunk indices, - final int start, - final int length, - final long destination) { + @NotNull final LongChunk indices, + final int start, + final int length, + final long destination) { if (length == 0) { return false; } @@ -149,7 +148,8 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne "downstream.removed.empty() && downstream.shifted.empty()"); // In a combo-agg, we may get modifications from other operators that we didn't record as modifications in // our redirections, so we separately track updated destinations. - try (final RowSequence changedDestinations = isCombo ? changedDestinationsBuilder.build() : downstream.modified().union(downstream.added())) { + try (final RowSequence changedDestinations = + isCombo ? changedDestinationsBuilder.build() : downstream.modified().union(downstream.added())) { copyStreamToResult(changedDestinations); } redirections = null; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntChunkedAddOnlyMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntChunkedAddOnlyMinMaxOperator.java index ff06876138c..87314bbb666 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntChunkedAddOnlyMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntChunkedAddOnlyMinMaxOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedAddOnlyMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedAddOnlyMinMaxOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -61,7 +60,7 @@ private int min(IntChunk values, MutableInt chunkNonNull, int chunkStart, int } private int max(IntChunk values, MutableInt chunkNonNull, int chunkStart, int chunkEnd) { - int nonNull =0; + int nonNull = 0; int value = QueryConstants.NULL_INT; for (int ii = chunkStart; ii < chunkEnd; ++ii) { final int candidate = values.get(ii); @@ -86,7 +85,10 @@ private int max(int a, int b) { } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final IntChunk asIntChunk = values.asIntChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -96,27 +98,36 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asIntChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { throw new UnsupportedOperationException(); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { throw new UnsupportedOperationException(); } @@ -126,7 +137,8 @@ private boolean addChunk(IntChunk values, long destination, in } final MutableInt chunkNonNull = new MutableInt(0); final int chunkEnd = chunkStart + chunkSize; - final int chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) : max(values, chunkNonNull, chunkStart, chunkEnd); + final int chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) + : max(values, chunkNonNull, chunkStart, chunkEnd); if (chunkNonNull.intValue() == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntChunkedAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntChunkedAvgOperator.java index dd423902863..c9dfe786d10 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntChunkedAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntChunkedAvgOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedAvgOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -45,7 +44,10 @@ class IntChunkedAvgOperator implements IterativeChunkedAggregationOperator { } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final IntChunk asIntChunk = values.asIntChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -55,7 +57,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final IntChunk asIntChunk = values.asIntChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -65,15 +70,17 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asIntChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asIntChunk(), destination, 0, values.size()); } - + private boolean addChunk(IntChunk values, long destination, int chunkStart, int chunkSize) { final MutableInt chunkNonNull = new MutableInt(0); final IntChunk asIntChunk = values.asIntChunk(); @@ -83,7 +90,7 @@ private boolean addChunk(IntChunk values, long destination, in final long newCount = nonNullCount.addNonNullUnsafe(destination, chunkNonNull.intValue()); final long newSum = plusLong(runningSum.getUnsafe(destination), chunkSum); runningSum.set(destination, newSum); - resultColumn.set(destination, (double)newSum / newCount); + resultColumn.set(destination, (double) newSum / newCount); } else if (nonNullCount.onlyNullsUnsafe(destination)) { resultColumn.set(destination, Double.NaN); } else { @@ -103,7 +110,7 @@ private boolean removeChunk(IntChunk values, long destination, final long newCount = nonNullCount.addNonNullUnsafe(destination, -chunkNonNull.intValue()); final long newSum = minusLong(runningSum.getUnsafe(destination), chunkSum); runningSum.set(destination, newSum); - resultColumn.set(destination, (double)newSum / newCount); + resultColumn.set(destination, (double) newSum / newCount); return true; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntChunkedSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntChunkedSumOperator.java index 736d13c0d0e..7a5504dc4af 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntChunkedSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntChunkedSumOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedSumOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedSumOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -42,7 +41,10 @@ public class IntChunkedSumOperator implements IterativeChunkedAggregationOperato } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final IntChunk asIntChunk = values.asIntChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -52,7 +54,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final IntChunk asIntChunk = values.asIntChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -62,12 +67,14 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asIntChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asIntChunk(), destination, 0, values.size()); } @@ -78,22 +85,28 @@ private boolean addChunk(IntChunk values, long destination, in } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final IntChunk newAsIntChunk = newValues.asIntChunk(); final IntChunk oldAsIntChunk = previousValues.asIntChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); final long destination = destinations.get(startPosition); - stateModified.set(ii, modifyChunk(oldAsIntChunk, newAsIntChunk, destination, startPosition, length.get(ii))); + stateModified.set(ii, + modifyChunk(oldAsIntChunk, newAsIntChunk, destination, startPosition, length.get(ii))); } } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { return modifyChunk(previousValues.asIntChunk(), newValues.asIntChunk(), destination, 0, newValues.size()); } - private boolean modifyChunk(IntChunk oldValues, IntChunk newValues, long destination, int chunkStart, int chunkSize) { + private boolean modifyChunk(IntChunk oldValues, IntChunk newValues, + long destination, int chunkStart, int chunkSize) { final MutableInt oldNonNullCount = new MutableInt(0); final MutableInt newNonNullCount = new MutableInt(0); final long oldSum = doSum(chunkStart, chunkSize, oldNonNullCount, oldValues); @@ -107,7 +120,8 @@ private boolean removeChunk(IntChunk values, long destination, return updateInternal(destination, -sum, -nonNullCount.intValue()); } - private long doSum(int chunkStart, int chunkSize, MutableInt nonNullCount, IntChunk asIntChunk) { + private long doSum(int chunkStart, int chunkSize, MutableInt nonNullCount, + IntChunk asIntChunk) { if (absolute) { return SumIntChunk.sumIntChunkAbs(asIntChunk, chunkStart, chunkSize, nonNullCount); } else { @@ -192,7 +206,8 @@ public Chunk getChunk(@NotNull GetContext context, long firstK } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { resultColumn.fillChunk(context, destination, rowSequence); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntChunkedVarOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntChunkedVarOperator.java index 8ec0d086ea7..2f20c501960 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntChunkedVarOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntChunkedVarOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedVarOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedVarOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -44,7 +43,10 @@ class IntChunkedVarOperator implements IterativeChunkedAggregationOperator { } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final IntChunk asIntChunk = values.asIntChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -54,7 +56,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final IntChunk asIntChunk = values.asIntChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -64,12 +69,14 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asIntChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asIntChunk(), destination, 0, values.size()); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntegralChunkedReAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntegralChunkedReAvgOperator.java index 8c3e7e8edbd..7b2a78eb2d6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntegralChunkedReAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntegralChunkedReAvgOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -34,38 +34,51 @@ class IntegralChunkedReAvgOperator implements IterativeChunkedAggregationOperato } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { doBucketedUpdate((ReAvgContext) context, destinations, startPositions, stateModified); } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { doBucketedUpdate((ReAvgContext) context, destinations, startPositions, stateModified); } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { doBucketedUpdate((ReAvgContext) context, destinations, startPositions, stateModified); } - private void doBucketedUpdate(ReAvgContext context, IntChunk destinations, IntChunk startPositions, WritableBooleanChunk stateModified) { + private void doBucketedUpdate(ReAvgContext context, IntChunk destinations, + IntChunk startPositions, WritableBooleanChunk stateModified) { try (final RowSequence destinationSeq = context.destinationSequenceFromChunks(destinations, startPositions)) { updateResult(context, destinationSeq, stateModified); } } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return updateResult(destination); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return updateResult(destination); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { return updateResult(destination); } @@ -76,14 +89,18 @@ private boolean updateResult(long destination) { return updateResult(destination, sumSumValue, nncValue); } - private void updateResult(ReAvgContext reAvgContext, RowSequence destinationOk, WritableBooleanChunk stateModified) { - final LongChunk sumSumChunk = sumSum.getChunk(reAvgContext.sumSumContext, destinationOk).asLongChunk(); - final LongChunk nncSumChunk = nncSum.getChunk(reAvgContext.nncSumContext, destinationOk).asLongChunk(); + private void updateResult(ReAvgContext reAvgContext, RowSequence destinationOk, + WritableBooleanChunk stateModified) { + final LongChunk sumSumChunk = + sumSum.getChunk(reAvgContext.sumSumContext, destinationOk).asLongChunk(); + final LongChunk nncSumChunk = + nncSum.getChunk(reAvgContext.nncSumContext, destinationOk).asLongChunk(); final int size = reAvgContext.keyIndices.size(); final boolean ordered = reAvgContext.ordered; for (int ii = 0; ii < size; ++ii) { - final boolean changed = updateResult(reAvgContext.keyIndices.get(ii), sumSumChunk.get(ii), nncSumChunk.get(ii)); + final boolean changed = + updateResult(reAvgContext.keyIndices.get(ii), sumSumChunk.get(ii), nncSumChunk.get(ii)); stateModified.set(ordered ? ii : reAvgContext.statePositions.get(ii), changed); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntegralChunkedReVarOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntegralChunkedReVarOperator.java index 53e75ba8bda..6a12daeacdd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntegralChunkedReVarOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IntegralChunkedReVarOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.ChunkSource; @@ -27,7 +27,8 @@ class IntegralChunkedReVarOperator implements IterativeChunkedAggregationOperato private final DoubleChunkedSumOperator sum2Sum; private final LongChunkedSumOperator nncSum; - IntegralChunkedReVarOperator(String name, boolean std, DoubleChunkedSumOperator sumSum, DoubleChunkedSumOperator sum2sum, LongChunkedSumOperator nncSum) { + IntegralChunkedReVarOperator(String name, boolean std, DoubleChunkedSumOperator sumSum, + DoubleChunkedSumOperator sum2sum, LongChunkedSumOperator nncSum) { this.name = name; this.std = std; this.sumSum = sumSum; @@ -37,49 +38,67 @@ class IntegralChunkedReVarOperator implements IterativeChunkedAggregationOperato } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - doBucketedUpdate((ReVarContext)context, destinations, startPositions, stateModified); + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + doBucketedUpdate((ReVarContext) context, destinations, startPositions, stateModified); } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - doBucketedUpdate((ReVarContext)context, destinations, startPositions, stateModified); + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + doBucketedUpdate((ReVarContext) context, destinations, startPositions, stateModified); } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - doBucketedUpdate((ReVarContext)context, destinations, startPositions, stateModified); + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + doBucketedUpdate((ReVarContext) context, destinations, startPositions, stateModified); } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return updateResult(destination); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return updateResult(destination); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { return updateResult(destination); } - private void doBucketedUpdate(ReVarContext context, IntChunk destinations, IntChunk startPositions, WritableBooleanChunk stateModified) { + private void doBucketedUpdate(ReVarContext context, IntChunk destinations, + IntChunk startPositions, WritableBooleanChunk stateModified) { try (final RowSequence destinationSeq = context.destinationSequenceFromChunks(destinations, startPositions)) { updateResult(context, destinationSeq, stateModified); } } - private void updateResult(ReVarContext reVarContext, RowSequence destinationOk, WritableBooleanChunk stateModified) { - final DoubleChunk sumSumChunk = sumSum.getChunk(reVarContext.sumSumContext, destinationOk).asDoubleChunk(); - final DoubleChunk sum2SumChunk = sum2Sum.getChunk(reVarContext.sum2SumContext, destinationOk).asDoubleChunk(); - final LongChunk nncSumChunk = nncSum.getChunk(reVarContext.nncSumContext, destinationOk).asLongChunk(); + private void updateResult(ReVarContext reVarContext, RowSequence destinationOk, + WritableBooleanChunk stateModified) { + final DoubleChunk sumSumChunk = + sumSum.getChunk(reVarContext.sumSumContext, destinationOk).asDoubleChunk(); + final DoubleChunk sum2SumChunk = + sum2Sum.getChunk(reVarContext.sum2SumContext, destinationOk).asDoubleChunk(); + final LongChunk nncSumChunk = + nncSum.getChunk(reVarContext.nncSumContext, destinationOk).asLongChunk(); final int size = reVarContext.keyIndices.size(); final boolean ordered = reVarContext.ordered; for (int ii = 0; ii < size; ++ii) { - final boolean changed = updateResult(reVarContext.keyIndices.get(ii), sumSumChunk.get(ii), sum2SumChunk.get(ii), nncSumChunk.get(ii)); + final boolean changed = updateResult(reVarContext.keyIndices.get(ii), sumSumChunk.get(ii), + sum2SumChunk.get(ii), nncSumChunk.get(ii)); stateModified.set(ordered ? ii : reVarContext.statePositions.get(ii), changed); } } @@ -97,7 +116,7 @@ private boolean updateResult(long destination, double newSum, double newSum2, lo return !Double.isNaN(resultColumn.getAndSetUnsafe(destination, Double.NaN)); } else { final double variance = (newSum2 - (newSum * newSum / nonNullCount)) / (nonNullCount - 1); - final double newValue = std ? Math.sqrt(variance) : variance; + final double newValue = std ? Math.sqrt(variance) : variance; return resultColumn.getAndSetUnsafe(destination, newValue) != newValue; } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IterativeChunkedAggregationOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IterativeChunkedAggregationOperator.java index 13cad9b5b51..0b7a0262f62 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IterativeChunkedAggregationOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/IterativeChunkedAggregationOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.datastructures.util.CollectionUtil; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongAddOnlySortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongAddOnlySortedFirstOrLastChunkedOperator.java index 81b9b07d456..eaee99d5b23 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongAddOnlySortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongAddOnlySortedFirstOrLastChunkedOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAddOnlySortedFirstOrLastChunkedOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAddOnlySortedFirstOrLastChunkedOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.Table; @@ -47,12 +46,12 @@ public void ensureCapacity(final long tableSize) { @Override public void addChunk(final BucketedContext bucketedContext, // Unused - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - @NotNull final IntChunk destinations, - @NotNull final IntChunk startPositions, - @NotNull final IntChunk length, - @NotNull final WritableBooleanChunk stateModified) { + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + @NotNull final IntChunk destinations, + @NotNull final IntChunk startPositions, + @NotNull final IntChunk length, + @NotNull final WritableBooleanChunk stateModified) { final LongChunk typedValues = values.asLongChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -64,18 +63,18 @@ public void addChunk(final BucketedContext bucketedContext, // Unused @Override public boolean addChunk(final SingletonContext singletonContext, // Unused - final int chunkSize, - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - final long destination) { + final int chunkSize, + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + final long destination) { return addChunk(values.asLongChunk(), inputRowKeys, 0, inputRowKeys.size(), destination); } private boolean addChunk(@NotNull final LongChunk values, - @NotNull final LongChunk indices, - final int start, - final int length, - final long destination) { + @NotNull final LongChunk indices, + final int start, + final int length, + final long destination) { if (length == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongBlinkSortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongBlinkSortedFirstOrLastChunkedOperator.java index f59048d2f0f..a83eb63e3e3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongBlinkSortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongBlinkSortedFirstOrLastChunkedOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharBlinkSortedFirstOrLastChunkedOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharBlinkSortedFirstOrLastChunkedOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; @@ -67,12 +66,12 @@ public void resetForStep(@NotNull final TableUpdate upstream, final int starting @Override public void addChunk(final BucketedContext bucketedContext, // Unused - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - @NotNull final IntChunk destinations, - @NotNull final IntChunk startPositions, - @NotNull final IntChunk length, - @NotNull final WritableBooleanChunk stateModified) { + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + @NotNull final IntChunk destinations, + @NotNull final IntChunk startPositions, + @NotNull final IntChunk length, + @NotNull final WritableBooleanChunk stateModified) { final LongChunk typedValues = values.asLongChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -84,18 +83,18 @@ public void addChunk(final BucketedContext bucketedContext, // Unused @Override public boolean addChunk(final SingletonContext singletonContext, // Unused - final int chunkSize, - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - final long destination) { + final int chunkSize, + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + final long destination) { return addChunk(values.asLongChunk(), inputRowKeys, 0, inputRowKeys.size(), destination); } private boolean addChunk(@NotNull final LongChunk values, - @NotNull final LongChunk indices, - final int start, - final int length, - final long destination) { + @NotNull final LongChunk indices, + final int start, + final int length, + final long destination) { if (length == 0) { return false; } @@ -149,7 +148,8 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne "downstream.removed.empty() && downstream.shifted.empty()"); // In a combo-agg, we may get modifications from other operators that we didn't record as modifications in // our redirections, so we separately track updated destinations. - try (final RowSequence changedDestinations = isCombo ? changedDestinationsBuilder.build() : downstream.modified().union(downstream.added())) { + try (final RowSequence changedDestinations = + isCombo ? changedDestinationsBuilder.build() : downstream.modified().union(downstream.added())) { copyStreamToResult(changedDestinations); } redirections = null; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedAddOnlyMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedAddOnlyMinMaxOperator.java index eb3096a7824..1c7f0757283 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedAddOnlyMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedAddOnlyMinMaxOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedAddOnlyMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedAddOnlyMinMaxOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import java.time.Instant; @@ -72,7 +71,7 @@ private long min(LongChunk values, MutableInt chunkNonNull, int chunkStart, i } private long max(LongChunk values, MutableInt chunkNonNull, int chunkStart, int chunkEnd) { - int nonNull =0; + int nonNull = 0; long value = QueryConstants.NULL_LONG; for (int ii = chunkStart; ii < chunkEnd; ++ii) { final long candidate = values.get(ii); @@ -97,7 +96,10 @@ private long max(long a, long b) { } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final LongChunk asLongChunk = values.asLongChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -107,27 +109,36 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asLongChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { throw new UnsupportedOperationException(); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { throw new UnsupportedOperationException(); } @@ -137,7 +148,8 @@ private boolean addChunk(LongChunk values, long destination, i } final MutableInt chunkNonNull = new MutableInt(0); final int chunkEnd = chunkStart + chunkSize; - final long chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) : max(values, chunkNonNull, chunkStart, chunkEnd); + final long chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) + : max(values, chunkNonNull, chunkStart, chunkEnd); if (chunkNonNull.intValue() == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedAvgOperator.java index 4d81f6949c0..bba6e6d2e23 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedAvgOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedAvgOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -45,7 +44,10 @@ class LongChunkedAvgOperator implements IterativeChunkedAggregationOperator { } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final LongChunk asLongChunk = values.asLongChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -55,7 +57,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final LongChunk asLongChunk = values.asLongChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -65,15 +70,17 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asLongChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asLongChunk(), destination, 0, values.size()); } - + private boolean addChunk(LongChunk values, long destination, int chunkStart, int chunkSize) { final MutableInt chunkNonNull = new MutableInt(0); final LongChunk asLongChunk = values.asLongChunk(); @@ -83,7 +90,7 @@ private boolean addChunk(LongChunk values, long destination, i final long newCount = nonNullCount.addNonNullUnsafe(destination, chunkNonNull.intValue()); final long newSum = plusLong(runningSum.getUnsafe(destination), chunkSum); runningSum.set(destination, newSum); - resultColumn.set(destination, (double)newSum / newCount); + resultColumn.set(destination, (double) newSum / newCount); } else if (nonNullCount.onlyNullsUnsafe(destination)) { resultColumn.set(destination, Double.NaN); } else { @@ -103,7 +110,7 @@ private boolean removeChunk(LongChunk values, long destination final long newCount = nonNullCount.addNonNullUnsafe(destination, -chunkNonNull.intValue()); final long newSum = minusLong(runningSum.getUnsafe(destination), chunkSum); runningSum.set(destination, newSum); - resultColumn.set(destination, (double)newSum / newCount); + resultColumn.set(destination, (double) newSum / newCount); return true; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedSumOperator.java index 51eae4ef4fe..a71adc2a061 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedSumOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedSumOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedSumOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -42,7 +41,10 @@ public class LongChunkedSumOperator implements IterativeChunkedAggregationOperat } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final LongChunk asLongChunk = values.asLongChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -52,7 +54,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final LongChunk asLongChunk = values.asLongChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -62,12 +67,14 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asLongChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asLongChunk(), destination, 0, values.size()); } @@ -78,22 +85,28 @@ private boolean addChunk(LongChunk values, long destination, i } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final LongChunk newAsLongChunk = newValues.asLongChunk(); final LongChunk oldAsLongChunk = previousValues.asLongChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); final long destination = destinations.get(startPosition); - stateModified.set(ii, modifyChunk(oldAsLongChunk, newAsLongChunk, destination, startPosition, length.get(ii))); + stateModified.set(ii, + modifyChunk(oldAsLongChunk, newAsLongChunk, destination, startPosition, length.get(ii))); } } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { return modifyChunk(previousValues.asLongChunk(), newValues.asLongChunk(), destination, 0, newValues.size()); } - private boolean modifyChunk(LongChunk oldValues, LongChunk newValues, long destination, int chunkStart, int chunkSize) { + private boolean modifyChunk(LongChunk oldValues, LongChunk newValues, + long destination, int chunkStart, int chunkSize) { final MutableInt oldNonNullCount = new MutableInt(0); final MutableInt newNonNullCount = new MutableInt(0); final long oldSum = doSum(chunkStart, chunkSize, oldNonNullCount, oldValues); @@ -107,7 +120,8 @@ private boolean removeChunk(LongChunk values, long destination return updateInternal(destination, -sum, -nonNullCount.intValue()); } - private long doSum(int chunkStart, int chunkSize, MutableInt nonNullCount, LongChunk asLongChunk) { + private long doSum(int chunkStart, int chunkSize, MutableInt nonNullCount, + LongChunk asLongChunk) { if (absolute) { return SumLongChunk.sumLongChunkAbs(asLongChunk, chunkStart, chunkSize, nonNullCount); } else { @@ -192,7 +206,8 @@ public Chunk getChunk(@NotNull GetContext context, long firstK } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { resultColumn.fillChunk(context, destination, rowSequence); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedVarOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedVarOperator.java index 436b0409581..25b67d7bad4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedVarOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedVarOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedVarOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedVarOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -44,7 +43,10 @@ class LongChunkedVarOperator implements IterativeChunkedAggregationOperator { } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final LongChunk asLongChunk = values.asLongChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -54,7 +56,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final LongChunk asLongChunk = values.asLongChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -64,12 +69,14 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asLongChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asLongChunk(), destination, 0, values.size()); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedWeightedSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedWeightedSumOperator.java index a6715bbf898..c3ff1643391 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedWeightedSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongChunkedWeightedSumOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; @@ -30,7 +30,8 @@ class LongChunkedWeightedSumOperator implements IterativeChunkedAggregationOpera private final LongArraySource weightedSum; private final LongArraySource resultColumn; - LongChunkedWeightedSumOperator(ChunkType chunkType, LongWeightRecordingInternalOperator weightOperator, String name) { + LongChunkedWeightedSumOperator(ChunkType chunkType, LongWeightRecordingInternalOperator weightOperator, + String name) { this.chunkType = chunkType; this.weightOperator = weightOperator; this.resultName = name; @@ -41,75 +42,91 @@ class LongChunkedWeightedSumOperator implements IterativeChunkedAggregationOpera } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final Context context = (Context)bucketedContext; + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final Context context = (Context) bucketedContext; final LongChunk doubleValues = context.toLongCast.apply(values); final LongChunk weightValues = weightOperator.getAddedWeights(); Assert.neqNull(weightValues, "weightValues"); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); - stateModified.set(ii, addChunk(doubleValues, weightValues, startPosition, length.get(ii), destinations.get(startPosition))); + stateModified.set(ii, addChunk(doubleValues, weightValues, startPosition, length.get(ii), + destinations.get(startPosition))); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final Context context = (Context)bucketedContext; + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final Context context = (Context) bucketedContext; final LongChunk doubleValues = context.prevToLongCast.apply(values); final LongChunk weightValues = weightOperator.getRemovedWeights(); Assert.neqNull(weightValues, "weightValues"); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); - stateModified.set(ii, removeChunk(doubleValues, weightValues, startPosition, length.get(ii), destinations.get(startPosition))); + stateModified.set(ii, removeChunk(doubleValues, weightValues, startPosition, length.get(ii), + destinations.get(startPosition))); } } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final Context context = (Context)bucketedContext; + public void modifyChunk(BucketedContext bucketedContext, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final Context context = (Context) bucketedContext; final LongChunk prevDoubleValues = context.prevToLongCast.apply(previousValues); final LongChunk prevWeightValues = weightOperator.getRemovedWeights(); final LongChunk newDoubleValues = context.toLongCast.apply(newValues); final LongChunk newWeightValues = weightOperator.getAddedWeights(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); - stateModified.set(ii, modifyChunk(prevDoubleValues, prevWeightValues, newDoubleValues, newWeightValues, startPosition, length.get(ii), destinations.get(startPosition))); + stateModified.set(ii, modifyChunk(prevDoubleValues, prevWeightValues, newDoubleValues, newWeightValues, + startPosition, length.get(ii), destinations.get(startPosition))); } } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final Context context = (Context)singletonContext; + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final Context context = (Context) singletonContext; final LongChunk doubleValues = context.toLongCast.apply(values); final LongChunk weightValues = weightOperator.getAddedWeights(); return addChunk(doubleValues, weightValues, 0, values.size(), destination); } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final Context context = (Context)singletonContext; + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final Context context = (Context) singletonContext; final LongChunk doubleValues = context.prevToLongCast.apply(values); final LongChunk weightValues = weightOperator.getRemovedWeights(); return removeChunk(doubleValues, weightValues, 0, values.size(), destination); } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { - final Context context = (Context)singletonContext; + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { + final Context context = (Context) singletonContext; final LongChunk newDoubleValues = context.toLongCast.apply(newValues); final LongChunk newWeightValues = weightOperator.getAddedWeights(); final LongChunk prevDoubleValues = context.prevToLongCast.apply(previousValues); final LongChunk prevWeightValues = weightOperator.getRemovedWeights(); - return modifyChunk(prevDoubleValues, prevWeightValues, newDoubleValues, newWeightValues, 0, newDoubleValues.size(), destination); + return modifyChunk(prevDoubleValues, prevWeightValues, newDoubleValues, newWeightValues, 0, + newDoubleValues.size(), destination); } private static void sumChunks(LongChunk doubleValues, LongChunk weightValues, - int start, - int length, - MutableInt normalOut, - MutableLong weightedSumOut) { + int start, + int length, + MutableInt normalOut, + MutableLong weightedSumOut) { long normal = 0; long weightedSum = 0; @@ -129,7 +146,8 @@ private static void sumChunks(LongChunk doubleValues, LongChun weightedSumOut.setValue(weightedSum); } - private boolean addChunk(LongChunk longValues, LongChunk weightValues, int start, int length, long destination) { + private boolean addChunk(LongChunk longValues, LongChunk weightValues, + int start, int length, long destination) { final MutableInt normalOut = new MutableInt(); final MutableLong weightedSumOut = new MutableLong(); @@ -160,7 +178,8 @@ private boolean addChunk(LongChunk longValues, LongChunk doubleValues, LongChunk weightValues, int start, int length, long destination) { + private boolean removeChunk(LongChunk doubleValues, LongChunk weightValues, + int start, int length, long destination) { final MutableInt normalOut = new MutableInt(); final MutableLong weightedSumOut = new MutableLong(); @@ -204,7 +223,9 @@ private boolean removeChunk(LongChunk doubleValues, LongChunk< } } - private boolean modifyChunk(LongChunk prevDoubleValues, LongChunk prevWeightValues, LongChunk newDoubleValues, LongChunk newWeightValues, int start, int length, long destination) { + private boolean modifyChunk(LongChunk prevDoubleValues, + LongChunk prevWeightValues, LongChunk newDoubleValues, + LongChunk newWeightValues, int start, int length, long destination) { final MutableInt normalOut = new MutableInt(); final MutableLong weightedSumOut = new MutableLong(); @@ -228,7 +249,8 @@ private boolean modifyChunk(LongChunk prevDoubleValues, LongCh if (totalNormal > 0) { final long existingWeightedSum = weightedSum.getUnsafe(destination); - final long totalWeightedSum = NullSafeAddition.plusLong(existingWeightedSum, newWeightedSum - prevWeightedSum); + final long totalWeightedSum = + NullSafeAddition.plusLong(existingWeightedSum, newWeightedSum - prevWeightedSum); if (totalWeightedSum != existingWeightedSum) { weightedSum.set(destination, totalWeightedSum); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongWeightRecordingInternalOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongWeightRecordingInternalOperator.java index 724e6b56d34..d7b8de1e652 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongWeightRecordingInternalOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/LongWeightRecordingInternalOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; @@ -25,43 +25,54 @@ class LongWeightRecordingInternalOperator implements IterativeChunkedAggregation } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - ((Context)context).add(values); + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + ((Context) context).add(values); } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - ((Context)context).remove(values); + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + ((Context) context).remove(values); } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - ((Context)context).add(values); + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + ((Context) context).add(values); return false; } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - ((Context)context).remove(values); + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + ((Context) context).remove(values); return false; } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - ((Context)context).add(newValues); - ((Context)context).remove(previousValues); + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + ((Context) context).add(newValues); + ((Context) context).remove(previousValues); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { - ((Context)context).add(newValues); - ((Context)context).remove(previousValues); + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { + ((Context) context).add(newValues); + ((Context) context).remove(previousValues); return false; } @Override - public void ensureCapacity(long tableSize) { - } + public void ensureCapacity(long tableSize) {} @Override public Map> getResultColumns() { @@ -69,8 +80,7 @@ public void ensureCapacity(long tableSize) { } @Override - public void startTrackingPrevValues() { - } + public void startTrackingPrevValues() {} class Context implements SingletonContext, BucketedContext { private final ToLongFunctor addCastKernel; @@ -86,11 +96,11 @@ private Context(ChunkType chunkType, int size) { } void add(Chunk values) { - weightAddChunk = addCastKernel.apply((Chunk)values); + weightAddChunk = addCastKernel.apply((Chunk) values); } void remove(Chunk values) { - weightRemoveChunk = removeCastKernel.apply((Chunk)values); + weightRemoveChunk = removeCastKernel.apply((Chunk) values); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/NonNullCounter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/NonNullCounter.java index 3fa46a1eb6e..a2b7acc9c7a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/NonNullCounter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/NonNullCounter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.util.QueryConstants; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/NoopStateChangeRecorder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/NoopStateChangeRecorder.java index ca0ba2a349f..52a74907dcc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/NoopStateChangeRecorder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/NoopStateChangeRecorder.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import java.util.function.LongConsumer; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/NullColumnAggregationTransformer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/NullColumnAggregationTransformer.java index be555776710..166cd4a622c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/NullColumnAggregationTransformer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/NullColumnAggregationTransformer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ObjectAddOnlySortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ObjectAddOnlySortedFirstOrLastChunkedOperator.java index 9569a2fbdda..f7e59f1bd36 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ObjectAddOnlySortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ObjectAddOnlySortedFirstOrLastChunkedOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAddOnlySortedFirstOrLastChunkedOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAddOnlySortedFirstOrLastChunkedOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.Table; @@ -47,12 +46,12 @@ public void ensureCapacity(final long tableSize) { @Override public void addChunk(final BucketedContext bucketedContext, // Unused - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - @NotNull final IntChunk destinations, - @NotNull final IntChunk startPositions, - @NotNull final IntChunk length, - @NotNull final WritableBooleanChunk stateModified) { + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + @NotNull final IntChunk destinations, + @NotNull final IntChunk startPositions, + @NotNull final IntChunk length, + @NotNull final WritableBooleanChunk stateModified) { final ObjectChunk typedValues = values.asObjectChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -64,18 +63,18 @@ public void addChunk(final BucketedContext bucketedContext, // Unused @Override public boolean addChunk(final SingletonContext singletonContext, // Unused - final int chunkSize, - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - final long destination) { + final int chunkSize, + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + final long destination) { return addChunk(values.asObjectChunk(), inputRowKeys, 0, inputRowKeys.size(), destination); } private boolean addChunk(@NotNull final ObjectChunk values, - @NotNull final LongChunk indices, - final int start, - final int length, - final long destination) { + @NotNull final LongChunk indices, + final int start, + final int length, + final long destination) { if (length == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ObjectBlinkSortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ObjectBlinkSortedFirstOrLastChunkedOperator.java index a54f8f02641..c5d7dfd2507 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ObjectBlinkSortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ObjectBlinkSortedFirstOrLastChunkedOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharBlinkSortedFirstOrLastChunkedOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharBlinkSortedFirstOrLastChunkedOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; @@ -67,12 +66,12 @@ public void resetForStep(@NotNull final TableUpdate upstream, final int starting @Override public void addChunk(final BucketedContext bucketedContext, // Unused - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - @NotNull final IntChunk destinations, - @NotNull final IntChunk startPositions, - @NotNull final IntChunk length, - @NotNull final WritableBooleanChunk stateModified) { + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + @NotNull final IntChunk destinations, + @NotNull final IntChunk startPositions, + @NotNull final IntChunk length, + @NotNull final WritableBooleanChunk stateModified) { final ObjectChunk typedValues = values.asObjectChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -84,18 +83,18 @@ public void addChunk(final BucketedContext bucketedContext, // Unused @Override public boolean addChunk(final SingletonContext singletonContext, // Unused - final int chunkSize, - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - final long destination) { + final int chunkSize, + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + final long destination) { return addChunk(values.asObjectChunk(), inputRowKeys, 0, inputRowKeys.size(), destination); } private boolean addChunk(@NotNull final ObjectChunk values, - @NotNull final LongChunk indices, - final int start, - final int length, - final long destination) { + @NotNull final LongChunk indices, + final int start, + final int length, + final long destination) { if (length == 0) { return false; } @@ -149,7 +148,8 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne "downstream.removed.empty() && downstream.shifted.empty()"); // In a combo-agg, we may get modifications from other operators that we didn't record as modifications in // our redirections, so we separately track updated destinations. - try (final RowSequence changedDestinations = isCombo ? changedDestinationsBuilder.build() : downstream.modified().union(downstream.added())) { + try (final RowSequence changedDestinations = + isCombo ? changedDestinationsBuilder.build() : downstream.modified().union(downstream.added())) { copyStreamToResult(changedDestinations); } redirections = null; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ObjectChunkedAddOnlyMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ObjectChunkedAddOnlyMinMaxOperator.java index fb28820f45d..2dc35b5fb3f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ObjectChunkedAddOnlyMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ObjectChunkedAddOnlyMinMaxOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedAddOnlyMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedAddOnlyMinMaxOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -61,7 +60,7 @@ private Object min(ObjectChunk values, MutableInt chunkNonNull, int c } private Object max(ObjectChunk values, MutableInt chunkNonNull, int chunkStart, int chunkEnd) { - int nonNull =0; + int nonNull = 0; Object value = null; for (int ii = chunkStart; ii < chunkEnd; ++ii) { final Object candidate = values.get(ii); @@ -86,7 +85,10 @@ private Object max(Object a, Object b) { } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ObjectChunk asObjectChunk = values.asObjectChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -96,27 +98,36 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asObjectChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { throw new UnsupportedOperationException(); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { throw new UnsupportedOperationException(); } @@ -126,7 +137,8 @@ private boolean addChunk(ObjectChunk values, long dest } final MutableInt chunkNonNull = new MutableInt(0); final int chunkEnd = chunkStart + chunkSize; - final Object chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) : max(values, chunkNonNull, chunkStart, chunkEnd); + final Object chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) + : max(values, chunkNonNull, chunkStart, chunkEnd); if (chunkNonNull.intValue() == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/OperatorAggregationStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/OperatorAggregationStateManager.java index f41266f6124..9d3aeee0cbe 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/OperatorAggregationStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/OperatorAggregationStateManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.ColumnSource; @@ -16,7 +16,8 @@ interface OperatorAggregationStateManager { SafeCloseable makeAggregationStateBuildContext(ColumnSource[] buildSources, long maxSize); - void add(final SafeCloseable bc, RowSequence rowSequence, ColumnSource[] sources, MutableInt nextOutputPosition, WritableIntChunk outputPositions); + void add(final SafeCloseable bc, RowSequence rowSequence, ColumnSource[] sources, MutableInt nextOutputPosition, + WritableIntChunk outputPositions); ColumnSource[] getKeyHashTableSources(); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/OperatorAggregationStateManagerOpenAddressedAlternateBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/OperatorAggregationStateManagerOpenAddressedAlternateBase.java index 9ee4eac83b8..fd6b5274e38 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/OperatorAggregationStateManagerOpenAddressedAlternateBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/OperatorAggregationStateManagerOpenAddressedAlternateBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/OperatorAggregationStateManagerOpenAddressedBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/OperatorAggregationStateManagerOpenAddressedBase.java index aa363f5fe02..de70ef8cd97 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/OperatorAggregationStateManagerOpenAddressedBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/OperatorAggregationStateManagerOpenAddressedBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/OperatorAggregationStateManagerTypedBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/OperatorAggregationStateManagerTypedBase.java index 7d77b335832..c32f2c3cbfd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/OperatorAggregationStateManagerTypedBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/OperatorAggregationStateManagerTypedBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/PartitionByChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/PartitionByChunkedOperator.java index ad0c4c2fd74..35184f65f10 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/PartitionByChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/PartitionByChunkedOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.api.agg.Partition; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ReAvgVarOrderingContext.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ReAvgVarOrderingContext.java index 740e57029fb..57d489f0fd2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ReAvgVarOrderingContext.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ReAvgVarOrderingContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.IntChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/RollupConstants.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/RollupConstants.java index 8a0f2b6e217..f7b5cd73f0e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/RollupConstants.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/RollupConstants.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; /** diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortAddOnlySortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortAddOnlySortedFirstOrLastChunkedOperator.java index 7072e753ef2..8f711660d94 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortAddOnlySortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortAddOnlySortedFirstOrLastChunkedOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAddOnlySortedFirstOrLastChunkedOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAddOnlySortedFirstOrLastChunkedOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.Table; @@ -47,12 +46,12 @@ public void ensureCapacity(final long tableSize) { @Override public void addChunk(final BucketedContext bucketedContext, // Unused - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - @NotNull final IntChunk destinations, - @NotNull final IntChunk startPositions, - @NotNull final IntChunk length, - @NotNull final WritableBooleanChunk stateModified) { + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + @NotNull final IntChunk destinations, + @NotNull final IntChunk startPositions, + @NotNull final IntChunk length, + @NotNull final WritableBooleanChunk stateModified) { final ShortChunk typedValues = values.asShortChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -64,18 +63,18 @@ public void addChunk(final BucketedContext bucketedContext, // Unused @Override public boolean addChunk(final SingletonContext singletonContext, // Unused - final int chunkSize, - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - final long destination) { + final int chunkSize, + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + final long destination) { return addChunk(values.asShortChunk(), inputRowKeys, 0, inputRowKeys.size(), destination); } private boolean addChunk(@NotNull final ShortChunk values, - @NotNull final LongChunk indices, - final int start, - final int length, - final long destination) { + @NotNull final LongChunk indices, + final int start, + final int length, + final long destination) { if (length == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortBlinkSortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortBlinkSortedFirstOrLastChunkedOperator.java index 9d85246ed84..89e08011ed4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortBlinkSortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortBlinkSortedFirstOrLastChunkedOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharBlinkSortedFirstOrLastChunkedOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharBlinkSortedFirstOrLastChunkedOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; @@ -67,12 +66,12 @@ public void resetForStep(@NotNull final TableUpdate upstream, final int starting @Override public void addChunk(final BucketedContext bucketedContext, // Unused - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - @NotNull final IntChunk destinations, - @NotNull final IntChunk startPositions, - @NotNull final IntChunk length, - @NotNull final WritableBooleanChunk stateModified) { + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + @NotNull final IntChunk destinations, + @NotNull final IntChunk startPositions, + @NotNull final IntChunk length, + @NotNull final WritableBooleanChunk stateModified) { final ShortChunk typedValues = values.asShortChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -84,18 +83,18 @@ public void addChunk(final BucketedContext bucketedContext, // Unused @Override public boolean addChunk(final SingletonContext singletonContext, // Unused - final int chunkSize, - @NotNull final Chunk values, - @NotNull final LongChunk inputRowKeys, - final long destination) { + final int chunkSize, + @NotNull final Chunk values, + @NotNull final LongChunk inputRowKeys, + final long destination) { return addChunk(values.asShortChunk(), inputRowKeys, 0, inputRowKeys.size(), destination); } private boolean addChunk(@NotNull final ShortChunk values, - @NotNull final LongChunk indices, - final int start, - final int length, - final long destination) { + @NotNull final LongChunk indices, + final int start, + final int length, + final long destination) { if (length == 0) { return false; } @@ -149,7 +148,8 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne "downstream.removed.empty() && downstream.shifted.empty()"); // In a combo-agg, we may get modifications from other operators that we didn't record as modifications in // our redirections, so we separately track updated destinations. - try (final RowSequence changedDestinations = isCombo ? changedDestinationsBuilder.build() : downstream.modified().union(downstream.added())) { + try (final RowSequence changedDestinations = + isCombo ? changedDestinationsBuilder.build() : downstream.modified().union(downstream.added())) { copyStreamToResult(changedDestinations); } redirections = null; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortChunkedAddOnlyMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortChunkedAddOnlyMinMaxOperator.java index bb3064ce5ce..6ea77775356 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortChunkedAddOnlyMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortChunkedAddOnlyMinMaxOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedAddOnlyMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedAddOnlyMinMaxOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -61,7 +60,7 @@ private short min(ShortChunk values, MutableInt chunkNonNull, int chunkStart, } private short max(ShortChunk values, MutableInt chunkNonNull, int chunkStart, int chunkEnd) { - int nonNull =0; + int nonNull = 0; short value = QueryConstants.NULL_SHORT; for (int ii = chunkStart; ii < chunkEnd; ++ii) { final short candidate = values.get(ii); @@ -86,7 +85,10 @@ private short max(short a, short b) { } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ShortChunk asShortChunk = values.asShortChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -96,27 +98,36 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { throw new UnsupportedOperationException(); } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asShortChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { throw new UnsupportedOperationException(); } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { throw new UnsupportedOperationException(); } @@ -126,7 +137,8 @@ private boolean addChunk(ShortChunk values, long destination, } final MutableInt chunkNonNull = new MutableInt(0); final int chunkEnd = chunkStart + chunkSize; - final short chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) : max(values, chunkNonNull, chunkStart, chunkEnd); + final short chunkValue = minimum ? min(values, chunkNonNull, chunkStart, chunkEnd) + : max(values, chunkNonNull, chunkStart, chunkEnd); if (chunkNonNull.intValue() == 0) { return false; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortChunkedAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortChunkedAvgOperator.java index c45f5e8e9e7..cdbff6599ef 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortChunkedAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortChunkedAvgOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedAvgOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -45,7 +44,10 @@ class ShortChunkedAvgOperator implements IterativeChunkedAggregationOperator { } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ShortChunk asShortChunk = values.asShortChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -55,7 +57,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ShortChunk asShortChunk = values.asShortChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -65,15 +70,17 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asShortChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asShortChunk(), destination, 0, values.size()); } - + private boolean addChunk(ShortChunk values, long destination, int chunkStart, int chunkSize) { final MutableInt chunkNonNull = new MutableInt(0); final ShortChunk asShortChunk = values.asShortChunk(); @@ -83,7 +90,7 @@ private boolean addChunk(ShortChunk values, long destination, final long newCount = nonNullCount.addNonNullUnsafe(destination, chunkNonNull.intValue()); final long newSum = plusLong(runningSum.getUnsafe(destination), chunkSum); runningSum.set(destination, newSum); - resultColumn.set(destination, (double)newSum / newCount); + resultColumn.set(destination, (double) newSum / newCount); } else if (nonNullCount.onlyNullsUnsafe(destination)) { resultColumn.set(destination, Double.NaN); } else { @@ -103,7 +110,7 @@ private boolean removeChunk(ShortChunk values, long destinatio final long newCount = nonNullCount.addNonNullUnsafe(destination, -chunkNonNull.intValue()); final long newSum = minusLong(runningSum.getUnsafe(destination), chunkSum); runningSum.set(destination, newSum); - resultColumn.set(destination, (double)newSum / newCount); + resultColumn.set(destination, (double) newSum / newCount); return true; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortChunkedSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortChunkedSumOperator.java index 9ddf7704e79..f1717e90baa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortChunkedSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortChunkedSumOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedSumOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedSumOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -42,7 +41,10 @@ public class ShortChunkedSumOperator implements IterativeChunkedAggregationOpera } @Override - public void addChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ShortChunk asShortChunk = values.asShortChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -52,7 +54,10 @@ public void addChunk(BucketedContext context, Chunk values, Lo } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ShortChunk asShortChunk = values.asShortChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -62,12 +67,14 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asShortChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asShortChunk(), destination, 0, values.size()); } @@ -78,22 +85,28 @@ private boolean addChunk(ShortChunk values, long destination, } @Override - public void modifyChunk(BucketedContext context, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void modifyChunk(BucketedContext context, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ShortChunk newAsShortChunk = newValues.asShortChunk(); final ShortChunk oldAsShortChunk = previousValues.asShortChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); final long destination = destinations.get(startPosition); - stateModified.set(ii, modifyChunk(oldAsShortChunk, newAsShortChunk, destination, startPosition, length.get(ii))); + stateModified.set(ii, + modifyChunk(oldAsShortChunk, newAsShortChunk, destination, startPosition, length.get(ii))); } } @Override - public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, Chunk newValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext context, int chunkSize, Chunk previousValues, + Chunk newValues, LongChunk postShiftRowKeys, long destination) { return modifyChunk(previousValues.asShortChunk(), newValues.asShortChunk(), destination, 0, newValues.size()); } - private boolean modifyChunk(ShortChunk oldValues, ShortChunk newValues, long destination, int chunkStart, int chunkSize) { + private boolean modifyChunk(ShortChunk oldValues, ShortChunk newValues, + long destination, int chunkStart, int chunkSize) { final MutableInt oldNonNullCount = new MutableInt(0); final MutableInt newNonNullCount = new MutableInt(0); final long oldSum = doSum(chunkStart, chunkSize, oldNonNullCount, oldValues); @@ -107,7 +120,8 @@ private boolean removeChunk(ShortChunk values, long destinatio return updateInternal(destination, -sum, -nonNullCount.intValue()); } - private long doSum(int chunkStart, int chunkSize, MutableInt nonNullCount, ShortChunk asShortChunk) { + private long doSum(int chunkStart, int chunkSize, MutableInt nonNullCount, + ShortChunk asShortChunk) { if (absolute) { return SumShortChunk.sumShortChunkAbs(asShortChunk, chunkStart, chunkSize, nonNullCount); } else { @@ -192,7 +206,8 @@ public Chunk getChunk(@NotNull GetContext context, long firstK } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { resultColumn.fillChunk(context, destination, rowSequence); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortChunkedVarOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortChunkedVarOperator.java index d1ede63b39e..f5c1c7d2f3b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortChunkedVarOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ShortChunkedVarOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedVarOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedVarOperator and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; @@ -44,7 +43,10 @@ class ShortChunkedVarOperator implements IterativeChunkedAggregationOperator { } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ShortChunk asShortChunk = values.asShortChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -54,7 +56,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } @Override - public void removeChunk(BucketedContext context, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext context, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final ShortChunk asShortChunk = values.asShortChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int startPosition = startPositions.get(ii); @@ -64,12 +69,14 @@ public void removeChunk(BucketedContext context, Chunk values, } @Override - public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return addChunk(values.asShortChunk(), destination, 0, values.size()); } @Override - public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext context, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { return removeChunk(values.asShortChunk(), destination, 0, values.size()); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SortedFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SortedFirstOrLastChunkedOperator.java index 84f1416cf59..981be222e52 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SortedFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SortedFirstOrLastChunkedOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.ChunkLengths; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StateChangeRecorder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StateChangeRecorder.java index 7e55434ba74..b104895b43f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StateChangeRecorder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StateChangeRecorder.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import java.util.function.LongConsumer; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticChunkedOperatorAggregationStateManagerOpenAddressedBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticChunkedOperatorAggregationStateManagerOpenAddressedBase.java index 7e5e2f86fa6..f5f52cc9c3f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticChunkedOperatorAggregationStateManagerOpenAddressedBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticChunkedOperatorAggregationStateManagerOpenAddressedBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.WritableIntChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticChunkedOperatorAggregationStateManagerTypedBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticChunkedOperatorAggregationStateManagerTypedBase.java index 26d492d449f..c1efc7110c1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticChunkedOperatorAggregationStateManagerTypedBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticChunkedOperatorAggregationStateManagerTypedBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticColumnSourceTransformer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticColumnSourceTransformer.java index d8840318cfb..851288525be 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticColumnSourceTransformer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticColumnSourceTransformer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticFirstOrLastChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticFirstOrLastChunkedOperator.java index 96b72fd4903..32f6bc870f7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticFirstOrLastChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticFirstOrLastChunkedOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticSymbolTableChunkedOperatorAggregationStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticSymbolTableChunkedOperatorAggregationStateManager.java index 738fcef2ae8..a1b8c54ebb2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticSymbolTableChunkedOperatorAggregationStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/StaticSymbolTableChunkedOperatorAggregationStateManager.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.LongChunk; @@ -54,7 +57,8 @@ public SafeCloseable makeAggregationStateBuildContext(final ColumnSource[] bu } @Override - public void add(final SafeCloseable bc, final RowSequence rowSequence, final ColumnSource[] sources, final MutableInt nextOutputPosition, final WritableIntChunk outputPositions) { + public void add(final SafeCloseable bc, final RowSequence rowSequence, final ColumnSource[] sources, + final MutableInt nextOutputPosition, final WritableIntChunk outputPositions) { if (rowSequence.isEmpty()) { return; } @@ -64,9 +68,9 @@ public void add(final SafeCloseable bc, final RowSequence rowSequence, final Col final int maxChunkSize = Math.min(rowSequence.intSize(), CHUNK_SIZE); try (final RowSequence.Iterator rsIt = rowSequence.getRowSequenceIterator(); - final ChunkSource.FillContext fillContext = mappedKeySource.makeFillContext(maxChunkSize); - final WritableLongChunk symbolTableValues = WritableLongChunk.makeWritableChunk(tableSize); - final WritableIntChunk symbolLookupChunk = WritableIntChunk.makeWritableChunk(maxChunkSize)) { + final ChunkSource.FillContext fillContext = mappedKeySource.makeFillContext(maxChunkSize); + final WritableLongChunk symbolTableValues = WritableLongChunk.makeWritableChunk(tableSize); + final WritableIntChunk symbolLookupChunk = WritableIntChunk.makeWritableChunk(maxChunkSize)) { symbolTableValues.setSize(0); @@ -74,7 +78,8 @@ public void add(final SafeCloseable bc, final RowSequence rowSequence, final Col while (rsIt.hasMore()) { final RowSequence nextKeys = rsIt.getNextRowSequenceWithLength(maxChunkSize); - final LongChunk symbolSourceChunk = mappedKeySource.fillChunkWithSymbolSource(fillContext, symbolLookupChunk, nextKeys); + final LongChunk symbolSourceChunk = + mappedKeySource.fillChunkWithSymbolSource(fillContext, symbolLookupChunk, nextKeys); final int chunkSize = symbolLookupChunk.size(); for (int ii = 0; ii < chunkSize; ii++) { @@ -104,7 +109,8 @@ public void add(final SafeCloseable bc, final RowSequence rowSequence, final Col nextOutputPosition.setValue(nextPosition); } - private void updateKeyHashTableSources(final WritableLongChunk symbolTableValues, final int firstNewPosition) { + private void updateKeyHashTableSources(final WritableLongChunk symbolTableValues, + final int firstNewPosition) { keyColumn.ensureCapacity(nextPosition); final ColumnSource symbolColumnSource = symbolTable.getColumnSource(SymbolTableSource.SYMBOL_COLUMN_NAME); @@ -126,7 +132,7 @@ private void updateKeyHashTableSources(final WritableLongChunk symbolTa @Override public ColumnSource[] getKeyHashTableSources() { - return new ColumnSource[]{keyColumn}; + return new ColumnSource[] {keyColumn}; } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumBigDecimalChunk.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumBigDecimalChunk.java index 3fc3c72ddb9..b1308864ef9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumBigDecimalChunk.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumBigDecimalChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.ObjectChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumBigIntegerChunk.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumBigIntegerChunk.java index aeaeae07962..92c557111d1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumBigIntegerChunk.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumBigIntegerChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.ObjectChunk; @@ -10,10 +10,11 @@ import java.math.BigInteger; -class SumBigIntegerChunk { +class SumBigIntegerChunk { private SumBigIntegerChunk() {} // static use only - static BigInteger sumBigIntegerChunk(ObjectChunk values, int chunkStart, int chunkSize, MutableInt chunkNonNull) { + static BigInteger sumBigIntegerChunk(ObjectChunk values, int chunkStart, + int chunkSize, MutableInt chunkNonNull) { BigInteger partialSum = BigInteger.ZERO; for (int ii = chunkStart; ii < chunkStart + chunkSize; ++ii) { @@ -26,7 +27,8 @@ static BigInteger sumBigIntegerChunk(ObjectChunk v return partialSum; } - static BigInteger sumBigIntegerChunkAbs(ObjectChunk values, int chunkStart, int chunkSize, MutableInt chunkNonNull) { + static BigInteger sumBigIntegerChunkAbs(ObjectChunk values, int chunkStart, + int chunkSize, MutableInt chunkNonNull) { BigInteger partialSum = BigInteger.ZERO; for (int ii = chunkStart; ii < chunkStart + chunkSize; ++ii) { @@ -39,7 +41,8 @@ static BigInteger sumBigIntegerChunkAbs(ObjectChunk values, int chunkStart, int chunkSize, MutableInt chunkNonNull, MutableObject sum2out) { + static BigInteger sum2BigIntegerChunk(ObjectChunk values, int chunkStart, + int chunkSize, MutableInt chunkNonNull, MutableObject sum2out) { final int end = chunkStart + chunkSize; BigInteger sum = BigInteger.ZERO; BigInteger sum2 = BigInteger.ZERO; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumByteChunk.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumByteChunk.java index 19858b67d46..998f89abea4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumByteChunk.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumByteChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SumCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SumCharChunk and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.Any; @@ -45,14 +44,15 @@ public static long sumByteChunk(ByteChunk values, int chunkStart, /** * Produce the sum and sum of squares of a byteacter chunk, as doubles. */ - static double sum2ByteChunk(ByteChunk values, int chunkStart, int chunkSize, MutableInt nonNullCount, MutableDouble sum2out) { + static double sum2ByteChunk(ByteChunk values, int chunkStart, int chunkSize, MutableInt nonNullCount, + MutableDouble sum2out) { final int end = chunkStart + chunkSize; double sum = 0; double sum2 = 0; for (int ii = chunkStart; ii < end; ++ii) { final byte value = values.get(ii); if (value != QueryConstants.NULL_BYTE) { - //noinspection UnnecessaryLocalVariable + // noinspection UnnecessaryLocalVariable final double doubleValue = value; sum += doubleValue; sum2 += doubleValue * doubleValue; @@ -68,13 +68,14 @@ static private byte abs(byte val) { if (val == QueryConstants.NULL_BYTE) { return val; } else if (val < 0) { - return (byte)-val; + return (byte) -val; } else { return val; } } - static long sumByteChunkAbs(ByteChunk values, int chunkStart, int chunkSize, MutableInt nonNullCount) { + static long sumByteChunkAbs(ByteChunk values, int chunkStart, int chunkSize, + MutableInt nonNullCount) { final int end = chunkStart + chunkSize; long sum = 0; for (int ii = chunkStart; ii < end; ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumCharChunk.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumCharChunk.java index 183758b2931..353041b3c31 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumCharChunk.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumCharChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.Any; @@ -40,14 +40,15 @@ public static long sumCharChunk(CharChunk values, int chunkStart, /** * Produce the sum and sum of squares of a character chunk, as doubles. */ - static double sum2CharChunk(CharChunk values, int chunkStart, int chunkSize, MutableInt nonNullCount, MutableDouble sum2out) { + static double sum2CharChunk(CharChunk values, int chunkStart, int chunkSize, MutableInt nonNullCount, + MutableDouble sum2out) { final int end = chunkStart + chunkSize; double sum = 0; double sum2 = 0; for (int ii = chunkStart; ii < end; ++ii) { final char value = values.get(ii); if (value != QueryConstants.NULL_CHAR) { - //noinspection UnnecessaryLocalVariable + // noinspection UnnecessaryLocalVariable final double doubleValue = value; sum += doubleValue; sum2 += doubleValue * doubleValue; @@ -63,13 +64,14 @@ static private char abs(char val) { if (val == QueryConstants.NULL_CHAR) { return val; } else if (val < 0) { - return (char)-val; + return (char) -val; } else { return val; } } - static long sumCharChunkAbs(CharChunk values, int chunkStart, int chunkSize, MutableInt nonNullCount) { + static long sumCharChunkAbs(CharChunk values, int chunkStart, int chunkSize, + MutableInt nonNullCount) { final int end = chunkStart + chunkSize; long sum = 0; for (int ii = chunkStart; ii < end; ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumDoubleChunk.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumDoubleChunk.java index 4ad831e72c2..8943f3d32fb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumDoubleChunk.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumDoubleChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SumFloatChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SumFloatChunk and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.Values; @@ -18,10 +17,10 @@ class SumDoubleChunk { private SumDoubleChunk() {} // static use only static double sumDoubleChunk(DoubleChunk values, int chunkStart, int chunkSize, - MutableInt chunkNormalCount, - MutableInt chunkNanCount, - MutableInt chunkInfinityCount, - MutableInt chunkMinusInfinityCount) { + MutableInt chunkNormalCount, + MutableInt chunkNanCount, + MutableInt chunkInfinityCount, + MutableInt chunkMinusInfinityCount) { final int end = chunkStart + chunkSize; double sum = 0; for (int ii = chunkStart; ii < end; ++ii) { @@ -42,11 +41,11 @@ static double sumDoubleChunk(DoubleChunk values, int chunkStar } static double sum2DoubleChunk(DoubleChunk values, int chunkStart, int chunkSize, - MutableInt chunkNormalCount, - MutableInt chunkNanCount, - MutableInt chunkInfinityCount, - MutableInt chunkMinusInfinityCount, - MutableDouble sum2out) { + MutableInt chunkNormalCount, + MutableInt chunkNanCount, + MutableInt chunkInfinityCount, + MutableInt chunkMinusInfinityCount, + MutableDouble sum2out) { final int end = chunkStart + chunkSize; double sum = 0; double sum2 = 0; @@ -74,9 +73,9 @@ static double sum2DoubleChunk(DoubleChunk values, int chunkSta } static double sumDoubleChunkAbs(DoubleChunk values, int chunkStart, int chunkSize, - MutableInt chunkNormalCount, - MutableInt chunkNanCount, - MutableInt chunkInfinityCount) { + MutableInt chunkNormalCount, + MutableInt chunkNanCount, + MutableInt chunkInfinityCount) { final int end = chunkStart + chunkSize; double sum = 0; for (int ii = chunkStart; ii < end; ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumFloatChunk.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumFloatChunk.java index 28d5caf529d..531be8b70a6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumFloatChunk.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumFloatChunk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.Values; @@ -13,10 +13,10 @@ class SumFloatChunk { private SumFloatChunk() {} // static use only static double sumFloatChunk(FloatChunk values, int chunkStart, int chunkSize, - MutableInt chunkNormalCount, - MutableInt chunkNanCount, - MutableInt chunkInfinityCount, - MutableInt chunkMinusInfinityCount) { + MutableInt chunkNormalCount, + MutableInt chunkNanCount, + MutableInt chunkInfinityCount, + MutableInt chunkMinusInfinityCount) { final int end = chunkStart + chunkSize; double sum = 0; for (int ii = chunkStart; ii < end; ++ii) { @@ -37,11 +37,11 @@ static double sumFloatChunk(FloatChunk values, int chunkStart, } static double sum2FloatChunk(FloatChunk values, int chunkStart, int chunkSize, - MutableInt chunkNormalCount, - MutableInt chunkNanCount, - MutableInt chunkInfinityCount, - MutableInt chunkMinusInfinityCount, - MutableDouble sum2out) { + MutableInt chunkNormalCount, + MutableInt chunkNanCount, + MutableInt chunkInfinityCount, + MutableInt chunkMinusInfinityCount, + MutableDouble sum2out) { final int end = chunkStart + chunkSize; double sum = 0; double sum2 = 0; @@ -69,9 +69,9 @@ static double sum2FloatChunk(FloatChunk values, int chunkStart } static double sumFloatChunkAbs(FloatChunk values, int chunkStart, int chunkSize, - MutableInt chunkNormalCount, - MutableInt chunkNanCount, - MutableInt chunkInfinityCount) { + MutableInt chunkNormalCount, + MutableInt chunkNanCount, + MutableInt chunkInfinityCount) { final int end = chunkStart + chunkSize; double sum = 0; for (int ii = chunkStart; ii < end; ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumIntChunk.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumIntChunk.java index 94df81feb0c..e620c82a6f9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumIntChunk.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumIntChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SumCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SumCharChunk and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.Any; @@ -45,14 +44,15 @@ public static long sumIntChunk(IntChunk values, int chunkStart, i /** * Produce the sum and sum of squares of a intacter chunk, as doubles. */ - static double sum2IntChunk(IntChunk values, int chunkStart, int chunkSize, MutableInt nonNullCount, MutableDouble sum2out) { + static double sum2IntChunk(IntChunk values, int chunkStart, int chunkSize, MutableInt nonNullCount, + MutableDouble sum2out) { final int end = chunkStart + chunkSize; double sum = 0; double sum2 = 0; for (int ii = chunkStart; ii < end; ++ii) { final int value = values.get(ii); if (value != QueryConstants.NULL_INT) { - //noinspection UnnecessaryLocalVariable + // noinspection UnnecessaryLocalVariable final double doubleValue = value; sum += doubleValue; sum2 += doubleValue * doubleValue; @@ -68,13 +68,14 @@ static private int abs(int val) { if (val == QueryConstants.NULL_INT) { return val; } else if (val < 0) { - return (int)-val; + return (int) -val; } else { return val; } } - static long sumIntChunkAbs(IntChunk values, int chunkStart, int chunkSize, MutableInt nonNullCount) { + static long sumIntChunkAbs(IntChunk values, int chunkStart, int chunkSize, + MutableInt nonNullCount) { final int end = chunkStart + chunkSize; long sum = 0; for (int ii = chunkStart; ii < end; ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumLongChunk.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumLongChunk.java index 24a46eec557..2da350638df 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumLongChunk.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumLongChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SumCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SumCharChunk and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.Any; @@ -45,14 +44,15 @@ public static long sumLongChunk(LongChunk values, int chunkStart, /** * Produce the sum and sum of squares of a longacter chunk, as doubles. */ - static double sum2LongChunk(LongChunk values, int chunkStart, int chunkSize, MutableInt nonNullCount, MutableDouble sum2out) { + static double sum2LongChunk(LongChunk values, int chunkStart, int chunkSize, MutableInt nonNullCount, + MutableDouble sum2out) { final int end = chunkStart + chunkSize; double sum = 0; double sum2 = 0; for (int ii = chunkStart; ii < end; ++ii) { final long value = values.get(ii); if (value != QueryConstants.NULL_LONG) { - //noinspection UnnecessaryLocalVariable + // noinspection UnnecessaryLocalVariable final double doubleValue = value; sum += doubleValue; sum2 += doubleValue * doubleValue; @@ -68,13 +68,14 @@ static private long abs(long val) { if (val == QueryConstants.NULL_LONG) { return val; } else if (val < 0) { - return (long)-val; + return (long) -val; } else { return val; } } - static long sumLongChunkAbs(LongChunk values, int chunkStart, int chunkSize, MutableInt nonNullCount) { + static long sumLongChunkAbs(LongChunk values, int chunkStart, int chunkSize, + MutableInt nonNullCount) { final int end = chunkStart + chunkSize; long sum = 0; for (int ii = chunkStart; ii < end; ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumShortChunk.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumShortChunk.java index fd86761d134..bc4d6dfc62e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumShortChunk.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/SumShortChunk.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SumCharChunk and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SumCharChunk and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by; import io.deephaven.chunk.attributes.Any; @@ -45,14 +44,15 @@ public static long sumShortChunk(ShortChunk values, int chunkStar /** * Produce the sum and sum of squares of a shortacter chunk, as doubles. */ - static double sum2ShortChunk(ShortChunk values, int chunkStart, int chunkSize, MutableInt nonNullCount, MutableDouble sum2out) { + static double sum2ShortChunk(ShortChunk values, int chunkStart, int chunkSize, MutableInt nonNullCount, + MutableDouble sum2out) { final int end = chunkStart + chunkSize; double sum = 0; double sum2 = 0; for (int ii = chunkStart; ii < end; ++ii) { final short value = values.get(ii); if (value != QueryConstants.NULL_SHORT) { - //noinspection UnnecessaryLocalVariable + // noinspection UnnecessaryLocalVariable final double doubleValue = value; sum += doubleValue; sum2 += doubleValue * doubleValue; @@ -68,13 +68,14 @@ static private short abs(short val) { if (val == QueryConstants.NULL_SHORT) { return val; } else if (val < 0) { - return (short)-val; + return (short) -val; } else { return val; } } - static long sumShortChunkAbs(ShortChunk values, int chunkStart, int chunkSize, MutableInt nonNullCount) { + static long sumShortChunkAbs(ShortChunk values, int chunkStart, int chunkSize, + MutableInt nonNullCount) { final int end = chunkStart + chunkSize; long sum = 0; for (int ii = chunkStart; ii < end; ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/TDigestPercentileOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/TDigestPercentileOperator.java index d716db5473a..2711780cf1a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/TDigestPercentileOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/TDigestPercentileOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import com.tdunning.math.stats.TDigest; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/TreeConstants.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/TreeConstants.java index de3d009b671..1c5f5fd7e59 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/TreeConstants.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/TreeConstants.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/UnionObjectUtils.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/UnionObjectUtils.java index 729a8c000cc..27945d68fe3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/UnionObjectUtils.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/UnionObjectUtils.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.api.object.UnionObject; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/UniqueRowKeyChunkedOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/UniqueRowKeyChunkedOperator.java index a4fd0876a89..0eb2a7510e9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/UniqueRowKeyChunkedOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/UniqueRowKeyChunkedOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/AlternatingColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/AlternatingColumnSource.java index cb64898ea7f..b958837c8f1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/AlternatingColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/AlternatingColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.alternatingcolumnsource; import io.deephaven.base.WeakReferenceManager; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/AlternatingColumnSourceUnorderedMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/AlternatingColumnSourceUnorderedMergeKernel.java index 133f08daddc..d51f15888d0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/AlternatingColumnSourceUnorderedMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/AlternatingColumnSourceUnorderedMergeKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.alternatingcolumnsource; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/AlternatingFillContextWithUnordered.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/AlternatingFillContextWithUnordered.java index a320214728a..cfd050d5245 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/AlternatingFillContextWithUnordered.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/AlternatingFillContextWithUnordered.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.alternatingcolumnsource; import io.deephaven.chunk.ResettableWritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/AlternatingGetContext.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/AlternatingGetContext.java index 07dc8d64be6..06406d69c3e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/AlternatingGetContext.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/AlternatingGetContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.alternatingcolumnsource; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/BaseAlternatingFillContext.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/BaseAlternatingFillContext.java index 77d579621e4..3ee9bc25bd2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/BaseAlternatingFillContext.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/BaseAlternatingFillContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.alternatingcolumnsource; import io.deephaven.chunk.ResettableWritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/ByteAlternatingColumnSourceUnorderedMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/ByteAlternatingColumnSourceUnorderedMergeKernel.java index 3cb2bf82156..fc9ceba4a3e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/ByteAlternatingColumnSourceUnorderedMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/ByteAlternatingColumnSourceUnorderedMergeKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAlternatingColumnSourceUnorderedMergeKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAlternatingColumnSourceUnorderedMergeKernel and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.alternatingcolumnsource; import io.deephaven.chunk.*; @@ -15,13 +14,15 @@ import static io.deephaven.engine.table.impl.by.alternatingcolumnsource.AlternatingColumnSource.ALTERNATE_SWITCH_MASK; public class ByteAlternatingColumnSourceUnorderedMergeKernel implements AlternatingColumnSourceUnorderedMergeKernel { - public static ByteAlternatingColumnSourceUnorderedMergeKernel INSTANCE = new ByteAlternatingColumnSourceUnorderedMergeKernel(); + public static ByteAlternatingColumnSourceUnorderedMergeKernel INSTANCE = + new ByteAlternatingColumnSourceUnorderedMergeKernel(); // static use only private ByteAlternatingColumnSourceUnorderedMergeKernel() {} @Override - public void mergeContext(WritableChunk dest, LongChunk outerKeys, Chunk src, int alternatePosition) { + public void mergeContext(WritableChunk dest, LongChunk outerKeys, + Chunk src, int alternatePosition) { final WritableByteChunk destAsByte = dest.asWritableByteChunk(); final ByteChunk srcAsByte = src.asByteChunk(); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/CharAlternatingColumnSourceUnorderedMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/CharAlternatingColumnSourceUnorderedMergeKernel.java index acd09fbeef4..81fde3f9248 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/CharAlternatingColumnSourceUnorderedMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/CharAlternatingColumnSourceUnorderedMergeKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.alternatingcolumnsource; import io.deephaven.chunk.*; @@ -10,13 +10,15 @@ import static io.deephaven.engine.table.impl.by.alternatingcolumnsource.AlternatingColumnSource.ALTERNATE_SWITCH_MASK; public class CharAlternatingColumnSourceUnorderedMergeKernel implements AlternatingColumnSourceUnorderedMergeKernel { - public static CharAlternatingColumnSourceUnorderedMergeKernel INSTANCE = new CharAlternatingColumnSourceUnorderedMergeKernel(); + public static CharAlternatingColumnSourceUnorderedMergeKernel INSTANCE = + new CharAlternatingColumnSourceUnorderedMergeKernel(); // static use only private CharAlternatingColumnSourceUnorderedMergeKernel() {} @Override - public void mergeContext(WritableChunk dest, LongChunk outerKeys, Chunk src, int alternatePosition) { + public void mergeContext(WritableChunk dest, LongChunk outerKeys, + Chunk src, int alternatePosition) { final WritableCharChunk destAsChar = dest.asWritableCharChunk(); final CharChunk srcAsChar = src.asCharChunk(); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/DoubleAlternatingColumnSourceUnorderedMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/DoubleAlternatingColumnSourceUnorderedMergeKernel.java index f78254d59ac..f11c924f73a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/DoubleAlternatingColumnSourceUnorderedMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/DoubleAlternatingColumnSourceUnorderedMergeKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAlternatingColumnSourceUnorderedMergeKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAlternatingColumnSourceUnorderedMergeKernel and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.alternatingcolumnsource; import io.deephaven.chunk.*; @@ -15,13 +14,15 @@ import static io.deephaven.engine.table.impl.by.alternatingcolumnsource.AlternatingColumnSource.ALTERNATE_SWITCH_MASK; public class DoubleAlternatingColumnSourceUnorderedMergeKernel implements AlternatingColumnSourceUnorderedMergeKernel { - public static DoubleAlternatingColumnSourceUnorderedMergeKernel INSTANCE = new DoubleAlternatingColumnSourceUnorderedMergeKernel(); + public static DoubleAlternatingColumnSourceUnorderedMergeKernel INSTANCE = + new DoubleAlternatingColumnSourceUnorderedMergeKernel(); // static use only private DoubleAlternatingColumnSourceUnorderedMergeKernel() {} @Override - public void mergeContext(WritableChunk dest, LongChunk outerKeys, Chunk src, int alternatePosition) { + public void mergeContext(WritableChunk dest, LongChunk outerKeys, + Chunk src, int alternatePosition) { final WritableDoubleChunk destAsDouble = dest.asWritableDoubleChunk(); final DoubleChunk srcAsDouble = src.asDoubleChunk(); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/FloatAlternatingColumnSourceUnorderedMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/FloatAlternatingColumnSourceUnorderedMergeKernel.java index b298d174908..2f8d64deec7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/FloatAlternatingColumnSourceUnorderedMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/FloatAlternatingColumnSourceUnorderedMergeKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAlternatingColumnSourceUnorderedMergeKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAlternatingColumnSourceUnorderedMergeKernel and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.alternatingcolumnsource; import io.deephaven.chunk.*; @@ -15,13 +14,15 @@ import static io.deephaven.engine.table.impl.by.alternatingcolumnsource.AlternatingColumnSource.ALTERNATE_SWITCH_MASK; public class FloatAlternatingColumnSourceUnorderedMergeKernel implements AlternatingColumnSourceUnorderedMergeKernel { - public static FloatAlternatingColumnSourceUnorderedMergeKernel INSTANCE = new FloatAlternatingColumnSourceUnorderedMergeKernel(); + public static FloatAlternatingColumnSourceUnorderedMergeKernel INSTANCE = + new FloatAlternatingColumnSourceUnorderedMergeKernel(); // static use only private FloatAlternatingColumnSourceUnorderedMergeKernel() {} @Override - public void mergeContext(WritableChunk dest, LongChunk outerKeys, Chunk src, int alternatePosition) { + public void mergeContext(WritableChunk dest, LongChunk outerKeys, + Chunk src, int alternatePosition) { final WritableFloatChunk destAsFloat = dest.asWritableFloatChunk(); final FloatChunk srcAsFloat = src.asFloatChunk(); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/IntAlternatingColumnSourceUnorderedMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/IntAlternatingColumnSourceUnorderedMergeKernel.java index 0bc767cc34c..9de2b006efc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/IntAlternatingColumnSourceUnorderedMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/IntAlternatingColumnSourceUnorderedMergeKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAlternatingColumnSourceUnorderedMergeKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAlternatingColumnSourceUnorderedMergeKernel and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.alternatingcolumnsource; import io.deephaven.chunk.*; @@ -15,13 +14,15 @@ import static io.deephaven.engine.table.impl.by.alternatingcolumnsource.AlternatingColumnSource.ALTERNATE_SWITCH_MASK; public class IntAlternatingColumnSourceUnorderedMergeKernel implements AlternatingColumnSourceUnorderedMergeKernel { - public static IntAlternatingColumnSourceUnorderedMergeKernel INSTANCE = new IntAlternatingColumnSourceUnorderedMergeKernel(); + public static IntAlternatingColumnSourceUnorderedMergeKernel INSTANCE = + new IntAlternatingColumnSourceUnorderedMergeKernel(); // static use only private IntAlternatingColumnSourceUnorderedMergeKernel() {} @Override - public void mergeContext(WritableChunk dest, LongChunk outerKeys, Chunk src, int alternatePosition) { + public void mergeContext(WritableChunk dest, LongChunk outerKeys, + Chunk src, int alternatePosition) { final WritableIntChunk destAsInt = dest.asWritableIntChunk(); final IntChunk srcAsInt = src.asIntChunk(); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/LongAlternatingColumnSourceUnorderedMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/LongAlternatingColumnSourceUnorderedMergeKernel.java index aa2758a4372..9c3467dbbc4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/LongAlternatingColumnSourceUnorderedMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/LongAlternatingColumnSourceUnorderedMergeKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAlternatingColumnSourceUnorderedMergeKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAlternatingColumnSourceUnorderedMergeKernel and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.alternatingcolumnsource; import io.deephaven.chunk.*; @@ -15,13 +14,15 @@ import static io.deephaven.engine.table.impl.by.alternatingcolumnsource.AlternatingColumnSource.ALTERNATE_SWITCH_MASK; public class LongAlternatingColumnSourceUnorderedMergeKernel implements AlternatingColumnSourceUnorderedMergeKernel { - public static LongAlternatingColumnSourceUnorderedMergeKernel INSTANCE = new LongAlternatingColumnSourceUnorderedMergeKernel(); + public static LongAlternatingColumnSourceUnorderedMergeKernel INSTANCE = + new LongAlternatingColumnSourceUnorderedMergeKernel(); // static use only private LongAlternatingColumnSourceUnorderedMergeKernel() {} @Override - public void mergeContext(WritableChunk dest, LongChunk outerKeys, Chunk src, int alternatePosition) { + public void mergeContext(WritableChunk dest, LongChunk outerKeys, + Chunk src, int alternatePosition) { final WritableLongChunk destAsLong = dest.asWritableLongChunk(); final LongChunk srcAsLong = src.asLongChunk(); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/ObjectAlternatingColumnSourceUnorderedMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/ObjectAlternatingColumnSourceUnorderedMergeKernel.java index ebe42a26230..ad68d2b43b3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/ObjectAlternatingColumnSourceUnorderedMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/ObjectAlternatingColumnSourceUnorderedMergeKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAlternatingColumnSourceUnorderedMergeKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAlternatingColumnSourceUnorderedMergeKernel and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.alternatingcolumnsource; import io.deephaven.chunk.*; @@ -15,13 +14,15 @@ import static io.deephaven.engine.table.impl.by.alternatingcolumnsource.AlternatingColumnSource.ALTERNATE_SWITCH_MASK; public class ObjectAlternatingColumnSourceUnorderedMergeKernel implements AlternatingColumnSourceUnorderedMergeKernel { - public static ObjectAlternatingColumnSourceUnorderedMergeKernel INSTANCE = new ObjectAlternatingColumnSourceUnorderedMergeKernel(); + public static ObjectAlternatingColumnSourceUnorderedMergeKernel INSTANCE = + new ObjectAlternatingColumnSourceUnorderedMergeKernel(); // static use only private ObjectAlternatingColumnSourceUnorderedMergeKernel() {} @Override - public void mergeContext(WritableChunk dest, LongChunk outerKeys, Chunk src, int alternatePosition) { + public void mergeContext(WritableChunk dest, LongChunk outerKeys, + Chunk src, int alternatePosition) { final WritableObjectChunk destAsObject = dest.asWritableObjectChunk(); final ObjectChunk srcAsObject = src.asObjectChunk(); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/ShortAlternatingColumnSourceUnorderedMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/ShortAlternatingColumnSourceUnorderedMergeKernel.java index 8d7c4012446..2d8fe896da2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/ShortAlternatingColumnSourceUnorderedMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/alternatingcolumnsource/ShortAlternatingColumnSourceUnorderedMergeKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAlternatingColumnSourceUnorderedMergeKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAlternatingColumnSourceUnorderedMergeKernel and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.alternatingcolumnsource; import io.deephaven.chunk.*; @@ -15,13 +14,15 @@ import static io.deephaven.engine.table.impl.by.alternatingcolumnsource.AlternatingColumnSource.ALTERNATE_SWITCH_MASK; public class ShortAlternatingColumnSourceUnorderedMergeKernel implements AlternatingColumnSourceUnorderedMergeKernel { - public static ShortAlternatingColumnSourceUnorderedMergeKernel INSTANCE = new ShortAlternatingColumnSourceUnorderedMergeKernel(); + public static ShortAlternatingColumnSourceUnorderedMergeKernel INSTANCE = + new ShortAlternatingColumnSourceUnorderedMergeKernel(); // static use only private ShortAlternatingColumnSourceUnorderedMergeKernel() {} @Override - public void mergeContext(WritableChunk dest, LongChunk outerKeys, Chunk src, int alternatePosition) { + public void mergeContext(WritableChunk dest, LongChunk outerKeys, + Chunk src, int alternatePosition) { final WritableShortChunk destAsShort = dest.asWritableShortChunk(); final ShortChunk srcAsShort = src.asShortChunk(); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/rollup/NullColumns.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/rollup/NullColumns.java index 0cf924f02ea..bf91d52ca40 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/rollup/NullColumns.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/rollup/NullColumns.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.rollup; import io.deephaven.annotations.BuildableStyle; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/rollup/RollupAggregation.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/rollup/RollupAggregation.java index ae1b8a233f0..ff2f57e8fbe 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/rollup/RollupAggregation.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/rollup/RollupAggregation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.rollup; import io.deephaven.api.agg.Aggregation; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/rollup/RollupAggregationBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/rollup/RollupAggregationBase.java index 56634905254..e9a98c631e3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/rollup/RollupAggregationBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/rollup/RollupAggregationBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.rollup; import io.deephaven.api.agg.Aggregation; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/rollup/RollupAggregationOutputs.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/rollup/RollupAggregationOutputs.java index d989538c5e1..d6f707a9f17 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/rollup/RollupAggregationOutputs.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/rollup/RollupAggregationOutputs.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.rollup; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/BucketSsmDistinctContext.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/BucketSsmDistinctContext.java index e8c646992bf..afffc65a7df 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/BucketSsmDistinctContext.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/BucketSsmDistinctContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmcountdistinct; import io.deephaven.chunk.attributes.ChunkLengths; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/BucketSsmDistinctRollupContext.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/BucketSsmDistinctRollupContext.java index abd42cc50d7..37c92f9ddd7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/BucketSsmDistinctRollupContext.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/BucketSsmDistinctRollupContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmcountdistinct; import io.deephaven.chunk.attributes.ChunkLengths; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/ByteSsmBackedSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/ByteSsmBackedSource.java index 58986514fe4..8253bd67aec 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/ByteSsmBackedSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/ByteSsmBackedSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsmBackedSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsmBackedSource and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct; import io.deephaven.vector.ByteVector; @@ -20,27 +19,27 @@ * A {@link SsmBackedColumnSource} for Bytes. */ public class ByteSsmBackedSource extends AbstractColumnSource - implements ColumnSourceGetDefaults.ForObject, - MutableColumnSourceGetDefaults.ForObject, - SsmBackedColumnSource { + implements ColumnSourceGetDefaults.ForObject, + MutableColumnSourceGetDefaults.ForObject, + SsmBackedColumnSource { private final ObjectArraySource underlying; private boolean trackingPrevious = false; - //region Constructor + // region Constructor public ByteSsmBackedSource() { super(ByteVector.class, byte.class); underlying = new ObjectArraySource<>(ByteSegmentedSortedMultiset.class, byte.class); } - //endregion Constructor + // endregion Constructor - //region SsmBackedColumnSource + // region SsmBackedColumnSource @Override public ByteSegmentedSortedMultiset getOrCreate(long key) { ByteSegmentedSortedMultiset ssm = underlying.getUnsafe(key); - if(ssm == null) { - //region CreateNew + if (ssm == null) { + // region CreateNew underlying.set(key, ssm = new ByteSegmentedSortedMultiset(SsmDistinctContext.NODE_SIZE)); - //endregion CreateNew + // endregion CreateNew } ssm.setTrackDeltas(trackingPrevious); return ssm; @@ -65,7 +64,7 @@ public void ensureCapacity(long capacity) { public ObjectArraySource getUnderlyingSource() { return underlying; } - //endregion + // endregion @Override public boolean isImmutable() { @@ -93,7 +92,7 @@ public void startTrackingPrevValues() { public void clearDeltas(RowSet indices) { indices.iterator().forEachLong(key -> { final ByteSegmentedSortedMultiset ssm = getCurrentSsm(key); - if(ssm != null) { + if (ssm != null) { ssm.clearDeltas(); } return true; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/CharSsmBackedSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/CharSsmBackedSource.java index fecfdcd23c7..57e0bb58bb0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/CharSsmBackedSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/CharSsmBackedSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmcountdistinct; import io.deephaven.vector.CharVector; @@ -15,27 +15,27 @@ * A {@link SsmBackedColumnSource} for Characters. */ public class CharSsmBackedSource extends AbstractColumnSource - implements ColumnSourceGetDefaults.ForObject, - MutableColumnSourceGetDefaults.ForObject, - SsmBackedColumnSource { + implements ColumnSourceGetDefaults.ForObject, + MutableColumnSourceGetDefaults.ForObject, + SsmBackedColumnSource { private final ObjectArraySource underlying; private boolean trackingPrevious = false; - //region Constructor + // region Constructor public CharSsmBackedSource() { super(CharVector.class, char.class); underlying = new ObjectArraySource<>(CharSegmentedSortedMultiset.class, char.class); } - //endregion Constructor + // endregion Constructor - //region SsmBackedColumnSource + // region SsmBackedColumnSource @Override public CharSegmentedSortedMultiset getOrCreate(long key) { CharSegmentedSortedMultiset ssm = underlying.getUnsafe(key); - if(ssm == null) { - //region CreateNew + if (ssm == null) { + // region CreateNew underlying.set(key, ssm = new CharSegmentedSortedMultiset(SsmDistinctContext.NODE_SIZE)); - //endregion CreateNew + // endregion CreateNew } ssm.setTrackDeltas(trackingPrevious); return ssm; @@ -60,7 +60,7 @@ public void ensureCapacity(long capacity) { public ObjectArraySource getUnderlyingSource() { return underlying; } - //endregion + // endregion @Override public boolean isImmutable() { @@ -88,7 +88,7 @@ public void startTrackingPrevValues() { public void clearDeltas(RowSet indices) { indices.iterator().forEachLong(key -> { final CharSegmentedSortedMultiset ssm = getCurrentSsm(key); - if(ssm != null) { + if (ssm != null) { ssm.clearDeltas(); } return true; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/DoubleSsmBackedSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/DoubleSsmBackedSource.java index c09c1e08b2b..3de9fc05507 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/DoubleSsmBackedSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/DoubleSsmBackedSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsmBackedSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsmBackedSource and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct; import io.deephaven.vector.DoubleVector; @@ -20,27 +19,27 @@ * A {@link SsmBackedColumnSource} for Doubles. */ public class DoubleSsmBackedSource extends AbstractColumnSource - implements ColumnSourceGetDefaults.ForObject, - MutableColumnSourceGetDefaults.ForObject, - SsmBackedColumnSource { + implements ColumnSourceGetDefaults.ForObject, + MutableColumnSourceGetDefaults.ForObject, + SsmBackedColumnSource { private final ObjectArraySource underlying; private boolean trackingPrevious = false; - //region Constructor + // region Constructor public DoubleSsmBackedSource() { super(DoubleVector.class, double.class); underlying = new ObjectArraySource<>(DoubleSegmentedSortedMultiset.class, double.class); } - //endregion Constructor + // endregion Constructor - //region SsmBackedColumnSource + // region SsmBackedColumnSource @Override public DoubleSegmentedSortedMultiset getOrCreate(long key) { DoubleSegmentedSortedMultiset ssm = underlying.getUnsafe(key); - if(ssm == null) { - //region CreateNew + if (ssm == null) { + // region CreateNew underlying.set(key, ssm = new DoubleSegmentedSortedMultiset(SsmDistinctContext.NODE_SIZE)); - //endregion CreateNew + // endregion CreateNew } ssm.setTrackDeltas(trackingPrevious); return ssm; @@ -65,7 +64,7 @@ public void ensureCapacity(long capacity) { public ObjectArraySource getUnderlyingSource() { return underlying; } - //endregion + // endregion @Override public boolean isImmutable() { @@ -93,7 +92,7 @@ public void startTrackingPrevValues() { public void clearDeltas(RowSet indices) { indices.iterator().forEachLong(key -> { final DoubleSegmentedSortedMultiset ssm = getCurrentSsm(key); - if(ssm != null) { + if (ssm != null) { ssm.clearDeltas(); } return true; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/FloatSsmBackedSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/FloatSsmBackedSource.java index c3a6ee76319..3aa3000ef01 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/FloatSsmBackedSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/FloatSsmBackedSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsmBackedSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsmBackedSource and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct; import io.deephaven.vector.FloatVector; @@ -20,27 +19,27 @@ * A {@link SsmBackedColumnSource} for Floats. */ public class FloatSsmBackedSource extends AbstractColumnSource - implements ColumnSourceGetDefaults.ForObject, - MutableColumnSourceGetDefaults.ForObject, - SsmBackedColumnSource { + implements ColumnSourceGetDefaults.ForObject, + MutableColumnSourceGetDefaults.ForObject, + SsmBackedColumnSource { private final ObjectArraySource underlying; private boolean trackingPrevious = false; - //region Constructor + // region Constructor public FloatSsmBackedSource() { super(FloatVector.class, float.class); underlying = new ObjectArraySource<>(FloatSegmentedSortedMultiset.class, float.class); } - //endregion Constructor + // endregion Constructor - //region SsmBackedColumnSource + // region SsmBackedColumnSource @Override public FloatSegmentedSortedMultiset getOrCreate(long key) { FloatSegmentedSortedMultiset ssm = underlying.getUnsafe(key); - if(ssm == null) { - //region CreateNew + if (ssm == null) { + // region CreateNew underlying.set(key, ssm = new FloatSegmentedSortedMultiset(SsmDistinctContext.NODE_SIZE)); - //endregion CreateNew + // endregion CreateNew } ssm.setTrackDeltas(trackingPrevious); return ssm; @@ -65,7 +64,7 @@ public void ensureCapacity(long capacity) { public ObjectArraySource getUnderlyingSource() { return underlying; } - //endregion + // endregion @Override public boolean isImmutable() { @@ -93,7 +92,7 @@ public void startTrackingPrevValues() { public void clearDeltas(RowSet indices) { indices.iterator().forEachLong(key -> { final FloatSegmentedSortedMultiset ssm = getCurrentSsm(key); - if(ssm != null) { + if (ssm != null) { ssm.clearDeltas(); } return true; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/InstantSsmSourceWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/InstantSsmSourceWrapper.java index 8bb54dc3142..206527db198 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/InstantSsmSourceWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/InstantSsmSourceWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmcountdistinct; import io.deephaven.vector.LongVector; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/IntSsmBackedSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/IntSsmBackedSource.java index 2a3224d71e7..5464d70b961 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/IntSsmBackedSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/IntSsmBackedSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsmBackedSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsmBackedSource and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct; import io.deephaven.vector.IntVector; @@ -20,27 +19,27 @@ * A {@link SsmBackedColumnSource} for Integers. */ public class IntSsmBackedSource extends AbstractColumnSource - implements ColumnSourceGetDefaults.ForObject, - MutableColumnSourceGetDefaults.ForObject, - SsmBackedColumnSource { + implements ColumnSourceGetDefaults.ForObject, + MutableColumnSourceGetDefaults.ForObject, + SsmBackedColumnSource { private final ObjectArraySource underlying; private boolean trackingPrevious = false; - //region Constructor + // region Constructor public IntSsmBackedSource() { super(IntVector.class, int.class); underlying = new ObjectArraySource<>(IntSegmentedSortedMultiset.class, int.class); } - //endregion Constructor + // endregion Constructor - //region SsmBackedColumnSource + // region SsmBackedColumnSource @Override public IntSegmentedSortedMultiset getOrCreate(long key) { IntSegmentedSortedMultiset ssm = underlying.getUnsafe(key); - if(ssm == null) { - //region CreateNew + if (ssm == null) { + // region CreateNew underlying.set(key, ssm = new IntSegmentedSortedMultiset(SsmDistinctContext.NODE_SIZE)); - //endregion CreateNew + // endregion CreateNew } ssm.setTrackDeltas(trackingPrevious); return ssm; @@ -65,7 +64,7 @@ public void ensureCapacity(long capacity) { public ObjectArraySource getUnderlyingSource() { return underlying; } - //endregion + // endregion @Override public boolean isImmutable() { @@ -93,7 +92,7 @@ public void startTrackingPrevValues() { public void clearDeltas(RowSet indices) { indices.iterator().forEachLong(key -> { final IntSegmentedSortedMultiset ssm = getCurrentSsm(key); - if(ssm != null) { + if (ssm != null) { ssm.clearDeltas(); } return true; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/LongSsmBackedSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/LongSsmBackedSource.java index 6a036a0ca78..c2565cb5445 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/LongSsmBackedSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/LongSsmBackedSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsmBackedSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsmBackedSource and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct; import io.deephaven.vector.LongVector; @@ -20,27 +19,27 @@ * A {@link SsmBackedColumnSource} for Longs. */ public class LongSsmBackedSource extends AbstractColumnSource - implements ColumnSourceGetDefaults.ForObject, - MutableColumnSourceGetDefaults.ForObject, - SsmBackedColumnSource { + implements ColumnSourceGetDefaults.ForObject, + MutableColumnSourceGetDefaults.ForObject, + SsmBackedColumnSource { private final ObjectArraySource underlying; private boolean trackingPrevious = false; - //region Constructor + // region Constructor public LongSsmBackedSource() { super(LongVector.class, long.class); underlying = new ObjectArraySource<>(LongSegmentedSortedMultiset.class, long.class); } - //endregion Constructor + // endregion Constructor - //region SsmBackedColumnSource + // region SsmBackedColumnSource @Override public LongSegmentedSortedMultiset getOrCreate(long key) { LongSegmentedSortedMultiset ssm = underlying.getUnsafe(key); - if(ssm == null) { - //region CreateNew + if (ssm == null) { + // region CreateNew underlying.set(key, ssm = new LongSegmentedSortedMultiset(SsmDistinctContext.NODE_SIZE)); - //endregion CreateNew + // endregion CreateNew } ssm.setTrackDeltas(trackingPrevious); return ssm; @@ -65,7 +64,7 @@ public void ensureCapacity(long capacity) { public ObjectArraySource getUnderlyingSource() { return underlying; } - //endregion + // endregion @Override public boolean isImmutable() { @@ -93,7 +92,7 @@ public void startTrackingPrevValues() { public void clearDeltas(RowSet indices) { indices.iterator().forEachLong(key -> { final LongSegmentedSortedMultiset ssm = getCurrentSsm(key); - if(ssm != null) { + if (ssm != null) { ssm.clearDeltas(); } return true; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/ObjectSsmBackedSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/ObjectSsmBackedSource.java index e0c9a28299b..507f8d66b8c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/ObjectSsmBackedSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/ObjectSsmBackedSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsmBackedSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsmBackedSource and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct; import java.util.Objects; @@ -22,27 +21,27 @@ * A {@link SsmBackedColumnSource} for Objects. */ public class ObjectSsmBackedSource extends AbstractColumnSource - implements ColumnSourceGetDefaults.ForObject, - MutableColumnSourceGetDefaults.ForObject, - SsmBackedColumnSource { + implements ColumnSourceGetDefaults.ForObject, + MutableColumnSourceGetDefaults.ForObject, + SsmBackedColumnSource { private final ObjectArraySource underlying; private boolean trackingPrevious = false; - //region Constructor + // region Constructor public ObjectSsmBackedSource(Class type) { super(ObjectVector.class, type); underlying = new ObjectArraySource<>(ObjectSegmentedSortedMultiset.class, type); } - //endregion Constructor + // endregion Constructor - //region SsmBackedColumnSource + // region SsmBackedColumnSource @Override public ObjectSegmentedSortedMultiset getOrCreate(long key) { ObjectSegmentedSortedMultiset ssm = underlying.getUnsafe(key); - if(ssm == null) { - //region CreateNew + if (ssm == null) { + // region CreateNew underlying.set(key, ssm = new ObjectSegmentedSortedMultiset(SsmDistinctContext.NODE_SIZE, Object.class)); - //endregion CreateNew + // endregion CreateNew } ssm.setTrackDeltas(trackingPrevious); return ssm; @@ -67,7 +66,7 @@ public void ensureCapacity(long capacity) { public ObjectArraySource getUnderlyingSource() { return underlying; } - //endregion + // endregion @Override public boolean isImmutable() { @@ -95,7 +94,7 @@ public void startTrackingPrevValues() { public void clearDeltas(RowSet indices) { indices.iterator().forEachLong(key -> { final ObjectSegmentedSortedMultiset ssm = getCurrentSsm(key); - if(ssm != null) { + if (ssm != null) { ssm.clearDeltas(); } return true; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/ShortSsmBackedSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/ShortSsmBackedSource.java index 8ad4fbf8ee2..48711e17eab 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/ShortSsmBackedSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/ShortSsmBackedSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsmBackedSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsmBackedSource and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct; import io.deephaven.vector.ShortVector; @@ -20,27 +19,27 @@ * A {@link SsmBackedColumnSource} for Shorts. */ public class ShortSsmBackedSource extends AbstractColumnSource - implements ColumnSourceGetDefaults.ForObject, - MutableColumnSourceGetDefaults.ForObject, - SsmBackedColumnSource { + implements ColumnSourceGetDefaults.ForObject, + MutableColumnSourceGetDefaults.ForObject, + SsmBackedColumnSource { private final ObjectArraySource underlying; private boolean trackingPrevious = false; - //region Constructor + // region Constructor public ShortSsmBackedSource() { super(ShortVector.class, short.class); underlying = new ObjectArraySource<>(ShortSegmentedSortedMultiset.class, short.class); } - //endregion Constructor + // endregion Constructor - //region SsmBackedColumnSource + // region SsmBackedColumnSource @Override public ShortSegmentedSortedMultiset getOrCreate(long key) { ShortSegmentedSortedMultiset ssm = underlying.getUnsafe(key); - if(ssm == null) { - //region CreateNew + if (ssm == null) { + // region CreateNew underlying.set(key, ssm = new ShortSegmentedSortedMultiset(SsmDistinctContext.NODE_SIZE)); - //endregion CreateNew + // endregion CreateNew } ssm.setTrackDeltas(trackingPrevious); return ssm; @@ -65,7 +64,7 @@ public void ensureCapacity(long capacity) { public ObjectArraySource getUnderlyingSource() { return underlying; } - //endregion + // endregion @Override public boolean isImmutable() { @@ -93,7 +92,7 @@ public void startTrackingPrevValues() { public void clearDeltas(RowSet indices) { indices.iterator().forEachLong(key -> { final ShortSegmentedSortedMultiset ssm = getCurrentSsm(key); - if(ssm != null) { + if (ssm != null) { ssm.clearDeltas(); } return true; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/SsmBackedColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/SsmBackedColumnSource.java index 7b02374e894..033e28cc19d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/SsmBackedColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/SsmBackedColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmcountdistinct; import io.deephaven.vector.Vector; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/SsmDistinctContext.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/SsmDistinctContext.java index fdfa261c25b..943151b3860 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/SsmDistinctContext.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/SsmDistinctContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmcountdistinct; import io.deephaven.chunk.attributes.ChunkLengths; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/SsmDistinctRollupContext.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/SsmDistinctRollupContext.java index 7b80d216bdc..a733cf43150 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/SsmDistinctRollupContext.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/SsmDistinctRollupContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmcountdistinct; import io.deephaven.chunk.attributes.ChunkLengths; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ByteChunkedCountDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ByteChunkedCountDistinctOperator.java index 95f586980a1..e33ce8f316c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ByteChunkedCountDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ByteChunkedCountDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedCountDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedCountDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.count; import io.deephaven.engine.context.ExecutionContext; @@ -54,7 +53,7 @@ public class ByteChunkedCountDistinctOperator implements IterativeChunkedAggrega public ByteChunkedCountDistinctOperator(// region Constructor // endregion Constructor - String name, boolean countNulls, boolean exposeInternal) { + String name, boolean countNulls, boolean exposeInternal) { this.name = name; this.countNull = countNulls; this.exposeInternal = exposeInternal; @@ -67,10 +66,11 @@ public ByteChunkedCountDistinctOperator(// region Constructor removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -78,12 +78,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - ByteCompactKernel.compactAndCount((WritableByteChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + ByteCompactKernel.compactAndCount((WritableByteChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -95,15 +99,20 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -115,8 +124,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -127,8 +138,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -140,8 +155,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -164,27 +181,31 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - ByteCompactKernel.compactAndCount((WritableByteChunk) context.valueCopy, context.counts, countNull); + ByteCompactKernel.compactAndCount((WritableByteChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -194,7 +215,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -210,7 +232,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -227,9 +250,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return setResult(ssm, destination); } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -241,7 +264,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(ByteChunkedCountDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -257,10 +280,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, resultColumn); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -271,7 +295,7 @@ public void ensureCapacity(long tableSize) { public void startTrackingPrevValues() { resultColumn.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } @@ -289,9 +313,9 @@ public boolean requiresRunFinds() { return true; } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private ByteSegmentedSortedMultiset ssmForSlot(long destination) { return ssms.getOrCreate(destination); } @@ -302,12 +326,12 @@ private void clearSsm(long destination) { private boolean setResult(ByteSegmentedSortedMultiset ssm, long destination) { final long expectedResult = ssm.size() == 0 ? QueryConstants.NULL_LONG : ssm.size(); - final boolean countChanged = resultColumn.getAndSetUnsafe(destination, expectedResult) != expectedResult; + final boolean countChanged = resultColumn.getAndSetUnsafe(destination, expectedResult) != expectedResult; return countChanged || (exposeInternal && (ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0)); } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Byte, size); @@ -317,5 +341,5 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Byte, size); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ByteRollupCountDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ByteRollupCountDistinctOperator.java index d98933a6e9f..2d11644359b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ByteRollupCountDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ByteRollupCountDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupCountDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupCountDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.count; import io.deephaven.engine.context.ExecutionContext; @@ -49,10 +48,10 @@ public class ByteRollupCountDistinctOperator implements IterativeChunkedAggregat private WritableRowSet touchedStates; public ByteRollupCountDistinctOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls) { this.name = name; this.countNull = countNulls; this.resultColumn = new LongArraySource(); @@ -64,32 +63,32 @@ public ByteRollupCountDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ByteSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -97,15 +96,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = ByteCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableByteChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = ByteCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableByteChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -116,8 +116,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -130,8 +134,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); final boolean anyAdded = ssm.insert(valueSlice, countSlice); updateResult(ssm.size(), destination); @@ -140,30 +146,30 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ByteSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -171,15 +177,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableByteChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -190,8 +197,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -205,8 +216,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -218,30 +231,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ByteSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -249,15 +262,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableByteChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -266,8 +280,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -281,8 +299,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -311,54 +331,58 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); updateResult(ssm.size(), destination); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ByteSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), countNull); + ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -372,43 +396,46 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ByteSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableByteChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), countNull); + ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -425,42 +452,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ByteSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableByteChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), countNull); + ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); ByteSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -487,9 +517,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu updateResult(newSize, destination); return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -510,7 +540,8 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, resultColumn); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -521,7 +552,7 @@ public boolean requiresRunFinds() { @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } @@ -534,16 +565,16 @@ public void startTrackingPrevValues() { } private static void flushPrevious(ByteRollupCountDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.ssms.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private void updateResult(long count, long destination) { resultColumn.getAndSetUnsafe(destination, count == 0 ? QueryConstants.NULL_LONG : count); } @@ -555,7 +586,7 @@ private ByteSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { ssms.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -568,5 +599,5 @@ public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Byte); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/CharChunkedCountDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/CharChunkedCountDistinctOperator.java index 52170bf6c7f..28701993cbb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/CharChunkedCountDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/CharChunkedCountDistinctOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmcountdistinct.count; import io.deephaven.engine.context.ExecutionContext; @@ -49,7 +49,7 @@ public class CharChunkedCountDistinctOperator implements IterativeChunkedAggrega public CharChunkedCountDistinctOperator(// region Constructor // endregion Constructor - String name, boolean countNulls, boolean exposeInternal) { + String name, boolean countNulls, boolean exposeInternal) { this.name = name; this.countNull = countNulls; this.exposeInternal = exposeInternal; @@ -62,10 +62,11 @@ public CharChunkedCountDistinctOperator(// region Constructor removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -73,12 +74,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - CharCompactKernel.compactAndCount((WritableCharChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + CharCompactKernel.compactAndCount((WritableCharChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -90,15 +95,20 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -110,8 +120,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -122,8 +134,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -135,8 +151,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -159,27 +177,31 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - CharCompactKernel.compactAndCount((WritableCharChunk) context.valueCopy, context.counts, countNull); + CharCompactKernel.compactAndCount((WritableCharChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -189,7 +211,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -205,7 +228,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -222,9 +246,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return setResult(ssm, destination); } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -236,7 +260,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(CharChunkedCountDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -252,10 +276,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, resultColumn); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -266,7 +291,7 @@ public void ensureCapacity(long tableSize) { public void startTrackingPrevValues() { resultColumn.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } @@ -284,9 +309,9 @@ public boolean requiresRunFinds() { return true; } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private CharSegmentedSortedMultiset ssmForSlot(long destination) { return ssms.getOrCreate(destination); } @@ -297,12 +322,12 @@ private void clearSsm(long destination) { private boolean setResult(CharSegmentedSortedMultiset ssm, long destination) { final long expectedResult = ssm.size() == 0 ? QueryConstants.NULL_LONG : ssm.size(); - final boolean countChanged = resultColumn.getAndSetUnsafe(destination, expectedResult) != expectedResult; + final boolean countChanged = resultColumn.getAndSetUnsafe(destination, expectedResult) != expectedResult; return countChanged || (exposeInternal && (ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0)); } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Char, size); @@ -312,5 +337,5 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Char, size); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/CharRollupCountDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/CharRollupCountDistinctOperator.java index 1e0349aa201..503234aa918 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/CharRollupCountDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/CharRollupCountDistinctOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmcountdistinct.count; import io.deephaven.engine.context.ExecutionContext; @@ -44,10 +44,10 @@ public class CharRollupCountDistinctOperator implements IterativeChunkedAggregat private WritableRowSet touchedStates; public CharRollupCountDistinctOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls) { this.name = name; this.countNull = countNulls; this.resultColumn = new LongArraySource(); @@ -59,32 +59,32 @@ public CharRollupCountDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final CharSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -92,15 +92,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = CharCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableCharChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = CharCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableCharChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -111,8 +112,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -125,8 +130,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); final boolean anyAdded = ssm.insert(valueSlice, countSlice); updateResult(ssm.size(), destination); @@ -135,30 +142,30 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final CharSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -166,15 +173,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableCharChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -185,8 +193,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -200,8 +212,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -213,30 +227,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final CharSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -244,15 +258,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableCharChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -261,8 +276,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -276,8 +295,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -306,54 +327,58 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); updateResult(ssm.size(), destination); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final CharSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), countNull); + CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -367,43 +392,46 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final CharSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableCharChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), countNull); + CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -420,42 +448,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final CharSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableCharChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), countNull); + CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); CharSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -482,9 +513,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu updateResult(newSize, destination); return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -505,7 +536,8 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, resultColumn); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -516,7 +548,7 @@ public boolean requiresRunFinds() { @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } @@ -529,16 +561,16 @@ public void startTrackingPrevValues() { } private static void flushPrevious(CharRollupCountDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.ssms.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private void updateResult(long count, long destination) { resultColumn.getAndSetUnsafe(destination, count == 0 ? QueryConstants.NULL_LONG : count); } @@ -550,7 +582,7 @@ private CharSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { ssms.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -563,5 +595,5 @@ public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Char); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/DoubleChunkedCountDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/DoubleChunkedCountDistinctOperator.java index ff4d8558df3..355dcb4c23d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/DoubleChunkedCountDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/DoubleChunkedCountDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedCountDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedCountDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.count; import io.deephaven.engine.context.ExecutionContext; @@ -54,7 +53,7 @@ public class DoubleChunkedCountDistinctOperator implements IterativeChunkedAggre public DoubleChunkedCountDistinctOperator(// region Constructor // endregion Constructor - String name, boolean countNulls, boolean exposeInternal) { + String name, boolean countNulls, boolean exposeInternal) { this.name = name; this.countNull = countNulls; this.exposeInternal = exposeInternal; @@ -67,10 +66,11 @@ public DoubleChunkedCountDistinctOperator(// region Constructor removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -78,12 +78,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - DoubleCompactKernel.compactAndCount((WritableDoubleChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + DoubleCompactKernel.compactAndCount((WritableDoubleChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -95,15 +99,20 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -115,8 +124,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -127,8 +138,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -140,8 +155,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -164,27 +181,31 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - DoubleCompactKernel.compactAndCount((WritableDoubleChunk) context.valueCopy, context.counts, countNull); + DoubleCompactKernel.compactAndCount((WritableDoubleChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -194,7 +215,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -210,7 +232,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -227,9 +250,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return setResult(ssm, destination); } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -241,7 +264,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(DoubleChunkedCountDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -257,10 +280,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, resultColumn); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -271,7 +295,7 @@ public void ensureCapacity(long tableSize) { public void startTrackingPrevValues() { resultColumn.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } @@ -289,9 +313,9 @@ public boolean requiresRunFinds() { return true; } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private DoubleSegmentedSortedMultiset ssmForSlot(long destination) { return ssms.getOrCreate(destination); } @@ -302,12 +326,12 @@ private void clearSsm(long destination) { private boolean setResult(DoubleSegmentedSortedMultiset ssm, long destination) { final long expectedResult = ssm.size() == 0 ? QueryConstants.NULL_LONG : ssm.size(); - final boolean countChanged = resultColumn.getAndSetUnsafe(destination, expectedResult) != expectedResult; + final boolean countChanged = resultColumn.getAndSetUnsafe(destination, expectedResult) != expectedResult; return countChanged || (exposeInternal && (ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0)); } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Double, size); @@ -317,5 +341,5 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Double, size); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/DoubleRollupCountDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/DoubleRollupCountDistinctOperator.java index 05f6bb69edc..cd3893a8edf 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/DoubleRollupCountDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/DoubleRollupCountDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupCountDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupCountDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.count; import io.deephaven.engine.context.ExecutionContext; @@ -49,10 +48,10 @@ public class DoubleRollupCountDistinctOperator implements IterativeChunkedAggreg private WritableRowSet touchedStates; public DoubleRollupCountDistinctOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls) { this.name = name; this.countNull = countNulls; this.resultColumn = new LongArraySource(); @@ -64,32 +63,32 @@ public DoubleRollupCountDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final DoubleSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -97,15 +96,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = DoubleCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableDoubleChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = DoubleCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableDoubleChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -116,8 +116,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -130,8 +134,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); final boolean anyAdded = ssm.insert(valueSlice, countSlice); updateResult(ssm.size(), destination); @@ -140,30 +146,30 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final DoubleSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -171,15 +177,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableDoubleChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -190,8 +197,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -205,8 +216,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -218,30 +231,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final DoubleSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -249,15 +262,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableDoubleChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -266,8 +280,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -281,8 +299,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -311,54 +331,58 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); updateResult(ssm.size(), destination); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final DoubleSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), countNull); + DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -372,43 +396,46 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final DoubleSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableDoubleChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), countNull); + DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -425,42 +452,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final DoubleSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableDoubleChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), countNull); + DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); DoubleSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -487,9 +517,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu updateResult(newSize, destination); return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -510,7 +540,8 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, resultColumn); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -521,7 +552,7 @@ public boolean requiresRunFinds() { @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } @@ -534,16 +565,16 @@ public void startTrackingPrevValues() { } private static void flushPrevious(DoubleRollupCountDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.ssms.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private void updateResult(long count, long destination) { resultColumn.getAndSetUnsafe(destination, count == 0 ? QueryConstants.NULL_LONG : count); } @@ -555,7 +586,7 @@ private DoubleSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { ssms.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -568,5 +599,5 @@ public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Double); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/FloatChunkedCountDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/FloatChunkedCountDistinctOperator.java index 6a323f0b8cf..9300b26cabd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/FloatChunkedCountDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/FloatChunkedCountDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedCountDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedCountDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.count; import io.deephaven.engine.context.ExecutionContext; @@ -54,7 +53,7 @@ public class FloatChunkedCountDistinctOperator implements IterativeChunkedAggreg public FloatChunkedCountDistinctOperator(// region Constructor // endregion Constructor - String name, boolean countNulls, boolean exposeInternal) { + String name, boolean countNulls, boolean exposeInternal) { this.name = name; this.countNull = countNulls; this.exposeInternal = exposeInternal; @@ -67,10 +66,11 @@ public FloatChunkedCountDistinctOperator(// region Constructor removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -78,12 +78,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - FloatCompactKernel.compactAndCount((WritableFloatChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + FloatCompactKernel.compactAndCount((WritableFloatChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -95,15 +99,20 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -115,8 +124,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -127,8 +138,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -140,8 +155,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -164,27 +181,31 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - FloatCompactKernel.compactAndCount((WritableFloatChunk) context.valueCopy, context.counts, countNull); + FloatCompactKernel.compactAndCount((WritableFloatChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -194,7 +215,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -210,7 +232,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -227,9 +250,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return setResult(ssm, destination); } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -241,7 +264,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(FloatChunkedCountDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -257,10 +280,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, resultColumn); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -271,7 +295,7 @@ public void ensureCapacity(long tableSize) { public void startTrackingPrevValues() { resultColumn.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } @@ -289,9 +313,9 @@ public boolean requiresRunFinds() { return true; } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private FloatSegmentedSortedMultiset ssmForSlot(long destination) { return ssms.getOrCreate(destination); } @@ -302,12 +326,12 @@ private void clearSsm(long destination) { private boolean setResult(FloatSegmentedSortedMultiset ssm, long destination) { final long expectedResult = ssm.size() == 0 ? QueryConstants.NULL_LONG : ssm.size(); - final boolean countChanged = resultColumn.getAndSetUnsafe(destination, expectedResult) != expectedResult; + final boolean countChanged = resultColumn.getAndSetUnsafe(destination, expectedResult) != expectedResult; return countChanged || (exposeInternal && (ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0)); } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Float, size); @@ -317,5 +341,5 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Float, size); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/FloatRollupCountDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/FloatRollupCountDistinctOperator.java index deef2c866b9..10ff6077263 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/FloatRollupCountDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/FloatRollupCountDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupCountDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupCountDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.count; import io.deephaven.engine.context.ExecutionContext; @@ -49,10 +48,10 @@ public class FloatRollupCountDistinctOperator implements IterativeChunkedAggrega private WritableRowSet touchedStates; public FloatRollupCountDistinctOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls) { this.name = name; this.countNull = countNulls; this.resultColumn = new LongArraySource(); @@ -64,32 +63,32 @@ public FloatRollupCountDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final FloatSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -97,15 +96,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = FloatCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableFloatChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = FloatCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableFloatChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -116,8 +116,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -130,8 +134,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); final boolean anyAdded = ssm.insert(valueSlice, countSlice); updateResult(ssm.size(), destination); @@ -140,30 +146,30 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final FloatSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -171,15 +177,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableFloatChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -190,8 +197,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -205,8 +216,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -218,30 +231,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final FloatSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -249,15 +262,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableFloatChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -266,8 +280,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -281,8 +299,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -311,54 +331,58 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); updateResult(ssm.size(), destination); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final FloatSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), countNull); + FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -372,43 +396,46 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final FloatSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableFloatChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), countNull); + FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -425,42 +452,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final FloatSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableFloatChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), countNull); + FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); FloatSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -487,9 +517,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu updateResult(newSize, destination); return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -510,7 +540,8 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, resultColumn); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -521,7 +552,7 @@ public boolean requiresRunFinds() { @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } @@ -534,16 +565,16 @@ public void startTrackingPrevValues() { } private static void flushPrevious(FloatRollupCountDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.ssms.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private void updateResult(long count, long destination) { resultColumn.getAndSetUnsafe(destination, count == 0 ? QueryConstants.NULL_LONG : count); } @@ -555,7 +586,7 @@ private FloatSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { ssms.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -568,5 +599,5 @@ public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Float); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/IntChunkedCountDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/IntChunkedCountDistinctOperator.java index a223b21d742..7b0b2ea1ac7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/IntChunkedCountDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/IntChunkedCountDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedCountDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedCountDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.count; import io.deephaven.engine.context.ExecutionContext; @@ -54,7 +53,7 @@ public class IntChunkedCountDistinctOperator implements IterativeChunkedAggregat public IntChunkedCountDistinctOperator(// region Constructor // endregion Constructor - String name, boolean countNulls, boolean exposeInternal) { + String name, boolean countNulls, boolean exposeInternal) { this.name = name; this.countNull = countNulls; this.exposeInternal = exposeInternal; @@ -67,10 +66,11 @@ public IntChunkedCountDistinctOperator(// region Constructor removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -78,12 +78,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - IntCompactKernel.compactAndCount((WritableIntChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + IntCompactKernel.compactAndCount((WritableIntChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -95,15 +99,20 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -115,8 +124,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -127,8 +138,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -140,8 +155,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -164,27 +181,31 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - IntCompactKernel.compactAndCount((WritableIntChunk) context.valueCopy, context.counts, countNull); + IntCompactKernel.compactAndCount((WritableIntChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -194,7 +215,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -210,7 +232,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -227,9 +250,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return setResult(ssm, destination); } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -241,7 +264,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(IntChunkedCountDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -257,10 +280,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, resultColumn); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -271,7 +295,7 @@ public void ensureCapacity(long tableSize) { public void startTrackingPrevValues() { resultColumn.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } @@ -289,9 +313,9 @@ public boolean requiresRunFinds() { return true; } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private IntSegmentedSortedMultiset ssmForSlot(long destination) { return ssms.getOrCreate(destination); } @@ -302,12 +326,12 @@ private void clearSsm(long destination) { private boolean setResult(IntSegmentedSortedMultiset ssm, long destination) { final long expectedResult = ssm.size() == 0 ? QueryConstants.NULL_LONG : ssm.size(); - final boolean countChanged = resultColumn.getAndSetUnsafe(destination, expectedResult) != expectedResult; + final boolean countChanged = resultColumn.getAndSetUnsafe(destination, expectedResult) != expectedResult; return countChanged || (exposeInternal && (ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0)); } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Int, size); @@ -317,5 +341,5 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Int, size); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/IntRollupCountDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/IntRollupCountDistinctOperator.java index 7f229440c83..b946b499208 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/IntRollupCountDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/IntRollupCountDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupCountDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupCountDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.count; import io.deephaven.engine.context.ExecutionContext; @@ -49,10 +48,10 @@ public class IntRollupCountDistinctOperator implements IterativeChunkedAggregati private WritableRowSet touchedStates; public IntRollupCountDistinctOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls) { this.name = name; this.countNull = countNulls; this.resultColumn = new LongArraySource(); @@ -64,32 +63,32 @@ public IntRollupCountDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final IntSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -97,15 +96,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = IntCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableIntChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = IntCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableIntChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -116,8 +116,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -130,8 +134,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); final boolean anyAdded = ssm.insert(valueSlice, countSlice); updateResult(ssm.size(), destination); @@ -140,30 +146,30 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final IntSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -171,15 +177,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableIntChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -190,8 +197,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -205,8 +216,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -218,30 +231,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final IntSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -249,15 +262,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableIntChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -266,8 +280,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -281,8 +299,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -311,54 +331,58 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); updateResult(ssm.size(), destination); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final IntSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), countNull); + IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -372,43 +396,46 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final IntSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableIntChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), countNull); + IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -425,42 +452,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final IntSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableIntChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), countNull); + IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); IntSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -487,9 +517,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu updateResult(newSize, destination); return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -510,7 +540,8 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, resultColumn); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -521,7 +552,7 @@ public boolean requiresRunFinds() { @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } @@ -534,16 +565,16 @@ public void startTrackingPrevValues() { } private static void flushPrevious(IntRollupCountDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.ssms.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private void updateResult(long count, long destination) { resultColumn.getAndSetUnsafe(destination, count == 0 ? QueryConstants.NULL_LONG : count); } @@ -555,7 +586,7 @@ private IntSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { ssms.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -568,5 +599,5 @@ public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Int); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/LongChunkedCountDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/LongChunkedCountDistinctOperator.java index a0eda766c2d..8dce18d1695 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/LongChunkedCountDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/LongChunkedCountDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedCountDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedCountDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.count; import io.deephaven.engine.context.ExecutionContext; @@ -54,7 +53,7 @@ public class LongChunkedCountDistinctOperator implements IterativeChunkedAggrega public LongChunkedCountDistinctOperator(// region Constructor // endregion Constructor - String name, boolean countNulls, boolean exposeInternal) { + String name, boolean countNulls, boolean exposeInternal) { this.name = name; this.countNull = countNulls; this.exposeInternal = exposeInternal; @@ -67,10 +66,11 @@ public LongChunkedCountDistinctOperator(// region Constructor removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -78,12 +78,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - LongCompactKernel.compactAndCount((WritableLongChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + LongCompactKernel.compactAndCount((WritableLongChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -95,15 +99,20 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -115,8 +124,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -127,8 +138,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -140,8 +155,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -164,27 +181,31 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - LongCompactKernel.compactAndCount((WritableLongChunk) context.valueCopy, context.counts, countNull); + LongCompactKernel.compactAndCount((WritableLongChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -194,7 +215,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -210,7 +232,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -227,9 +250,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return setResult(ssm, destination); } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -241,7 +264,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(LongChunkedCountDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -257,10 +280,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, resultColumn); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -271,7 +295,7 @@ public void ensureCapacity(long tableSize) { public void startTrackingPrevValues() { resultColumn.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } @@ -289,9 +313,9 @@ public boolean requiresRunFinds() { return true; } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private LongSegmentedSortedMultiset ssmForSlot(long destination) { return ssms.getOrCreate(destination); } @@ -302,12 +326,12 @@ private void clearSsm(long destination) { private boolean setResult(LongSegmentedSortedMultiset ssm, long destination) { final long expectedResult = ssm.size() == 0 ? QueryConstants.NULL_LONG : ssm.size(); - final boolean countChanged = resultColumn.getAndSetUnsafe(destination, expectedResult) != expectedResult; + final boolean countChanged = resultColumn.getAndSetUnsafe(destination, expectedResult) != expectedResult; return countChanged || (exposeInternal && (ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0)); } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Long, size); @@ -317,5 +341,5 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Long, size); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/LongRollupCountDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/LongRollupCountDistinctOperator.java index 1cae2d93fd3..55044824fa4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/LongRollupCountDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/LongRollupCountDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupCountDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupCountDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.count; import io.deephaven.engine.context.ExecutionContext; @@ -49,10 +48,10 @@ public class LongRollupCountDistinctOperator implements IterativeChunkedAggregat private WritableRowSet touchedStates; public LongRollupCountDistinctOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls) { this.name = name; this.countNull = countNulls; this.resultColumn = new LongArraySource(); @@ -64,32 +63,32 @@ public LongRollupCountDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final LongSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -97,15 +96,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = LongCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableLongChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = LongCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableLongChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -116,8 +116,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -130,8 +134,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); final boolean anyAdded = ssm.insert(valueSlice, countSlice); updateResult(ssm.size(), destination); @@ -140,30 +146,30 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final LongSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -171,15 +177,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableLongChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -190,8 +197,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -205,8 +216,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -218,30 +231,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final LongSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -249,15 +262,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableLongChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -266,8 +280,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -281,8 +299,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -311,54 +331,58 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); updateResult(ssm.size(), destination); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final LongSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), countNull); + LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -372,43 +396,46 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final LongSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableLongChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), countNull); + LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -425,42 +452,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final LongSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableLongChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), countNull); + LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); LongSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -487,9 +517,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu updateResult(newSize, destination); return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -510,7 +540,8 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, resultColumn); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -521,7 +552,7 @@ public boolean requiresRunFinds() { @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } @@ -534,16 +565,16 @@ public void startTrackingPrevValues() { } private static void flushPrevious(LongRollupCountDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.ssms.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private void updateResult(long count, long destination) { resultColumn.getAndSetUnsafe(destination, count == 0 ? QueryConstants.NULL_LONG : count); } @@ -555,7 +586,7 @@ private LongSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { ssms.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -568,5 +599,5 @@ public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Long); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ObjectChunkedCountDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ObjectChunkedCountDistinctOperator.java index 2dbfc0def7d..cba9761f85c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ObjectChunkedCountDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ObjectChunkedCountDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedCountDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedCountDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.count; import io.deephaven.engine.context.ExecutionContext; @@ -55,7 +54,7 @@ public class ObjectChunkedCountDistinctOperator implements IterativeChunkedAggre public ObjectChunkedCountDistinctOperator(// region Constructor Class type, // endregion Constructor - String name, boolean countNulls, boolean exposeInternal) { + String name, boolean countNulls, boolean exposeInternal) { this.name = name; this.countNull = countNulls; this.exposeInternal = exposeInternal; @@ -68,10 +67,11 @@ public ObjectChunkedCountDistinctOperator(// region Constructor removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -79,12 +79,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - ObjectCompactKernel.compactAndCount((WritableObjectChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + ObjectCompactKernel.compactAndCount((WritableObjectChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -96,15 +100,20 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -116,8 +125,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -128,8 +139,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -141,8 +156,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -165,27 +182,31 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - ObjectCompactKernel.compactAndCount((WritableObjectChunk) context.valueCopy, context.counts, countNull); + ObjectCompactKernel.compactAndCount((WritableObjectChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -195,7 +216,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -211,7 +233,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -228,9 +251,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return setResult(ssm, destination); } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -242,7 +265,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(ObjectChunkedCountDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -258,10 +281,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, resultColumn); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -272,7 +296,7 @@ public void ensureCapacity(long tableSize) { public void startTrackingPrevValues() { resultColumn.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } @@ -290,9 +314,9 @@ public boolean requiresRunFinds() { return true; } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private ObjectSegmentedSortedMultiset ssmForSlot(long destination) { return ssms.getOrCreate(destination); } @@ -303,12 +327,12 @@ private void clearSsm(long destination) { private boolean setResult(ObjectSegmentedSortedMultiset ssm, long destination) { final long expectedResult = ssm.size() == 0 ? QueryConstants.NULL_LONG : ssm.size(); - final boolean countChanged = resultColumn.getAndSetUnsafe(destination, expectedResult) != expectedResult; + final boolean countChanged = resultColumn.getAndSetUnsafe(destination, expectedResult) != expectedResult; return countChanged || (exposeInternal && (ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0)); } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Object, size); @@ -318,5 +342,5 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Object, size); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ObjectRollupCountDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ObjectRollupCountDistinctOperator.java index ef8777bddde..367cb0605a4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ObjectRollupCountDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ObjectRollupCountDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupCountDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupCountDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.count; import io.deephaven.engine.context.ExecutionContext; @@ -49,11 +48,11 @@ public class ObjectRollupCountDistinctOperator implements IterativeChunkedAggreg private WritableRowSet touchedStates; public ObjectRollupCountDistinctOperator( - // region Constructor + // region Constructor Class type, - // endregion Constructor - String name, - boolean countNulls) { + // endregion Constructor + String name, + boolean countNulls) { this.name = name; this.countNull = countNulls; this.resultColumn = new LongArraySource(); @@ -65,32 +64,32 @@ public ObjectRollupCountDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ObjectSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -98,15 +97,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = ObjectCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableObjectChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = ObjectCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableObjectChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -117,8 +117,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -131,8 +135,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); final boolean anyAdded = ssm.insert(valueSlice, countSlice); updateResult(ssm.size(), destination); @@ -141,30 +147,30 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ObjectSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -172,15 +178,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableObjectChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -191,8 +198,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -206,8 +217,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -219,30 +232,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ObjectSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -250,15 +263,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableObjectChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -267,8 +281,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -282,8 +300,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -312,54 +332,58 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); updateResult(ssm.size(), destination); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ObjectSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), countNull); + ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -373,43 +397,46 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ObjectSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableObjectChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), countNull); + ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -426,42 +453,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ObjectSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableObjectChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), countNull); + ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); ObjectSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -488,9 +518,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu updateResult(newSize, destination); return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -511,7 +541,8 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, resultColumn); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -522,7 +553,7 @@ public boolean requiresRunFinds() { @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } @@ -535,16 +566,16 @@ public void startTrackingPrevValues() { } private static void flushPrevious(ObjectRollupCountDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.ssms.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private void updateResult(long count, long destination) { resultColumn.getAndSetUnsafe(destination, count == 0 ? QueryConstants.NULL_LONG : count); } @@ -556,7 +587,7 @@ private ObjectSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { ssms.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -569,5 +600,5 @@ public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Object); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ShortChunkedCountDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ShortChunkedCountDistinctOperator.java index c2a11387ac8..73fe0d420c2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ShortChunkedCountDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ShortChunkedCountDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedCountDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedCountDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.count; import io.deephaven.engine.context.ExecutionContext; @@ -54,7 +53,7 @@ public class ShortChunkedCountDistinctOperator implements IterativeChunkedAggreg public ShortChunkedCountDistinctOperator(// region Constructor // endregion Constructor - String name, boolean countNulls, boolean exposeInternal) { + String name, boolean countNulls, boolean exposeInternal) { this.name = name; this.countNull = countNulls; this.exposeInternal = exposeInternal; @@ -67,10 +66,11 @@ public ShortChunkedCountDistinctOperator(// region Constructor removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -78,12 +78,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - ShortCompactKernel.compactAndCount((WritableShortChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + ShortCompactKernel.compactAndCount((WritableShortChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -95,15 +99,20 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -115,8 +124,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -127,8 +138,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -140,8 +155,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -164,27 +181,31 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - ShortCompactKernel.compactAndCount((WritableShortChunk) context.valueCopy, context.counts, countNull); + ShortCompactKernel.compactAndCount((WritableShortChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -194,7 +215,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -210,7 +232,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -227,9 +250,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return setResult(ssm, destination); } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -241,7 +264,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(ShortChunkedCountDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -257,10 +280,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, resultColumn); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -271,7 +295,7 @@ public void ensureCapacity(long tableSize) { public void startTrackingPrevValues() { resultColumn.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } @@ -289,9 +313,9 @@ public boolean requiresRunFinds() { return true; } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private ShortSegmentedSortedMultiset ssmForSlot(long destination) { return ssms.getOrCreate(destination); } @@ -302,12 +326,12 @@ private void clearSsm(long destination) { private boolean setResult(ShortSegmentedSortedMultiset ssm, long destination) { final long expectedResult = ssm.size() == 0 ? QueryConstants.NULL_LONG : ssm.size(); - final boolean countChanged = resultColumn.getAndSetUnsafe(destination, expectedResult) != expectedResult; + final boolean countChanged = resultColumn.getAndSetUnsafe(destination, expectedResult) != expectedResult; return countChanged || (exposeInternal && (ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0)); } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Short, size); @@ -317,5 +341,5 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Short, size); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ShortRollupCountDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ShortRollupCountDistinctOperator.java index c1d2790aac4..a2267bb5124 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ShortRollupCountDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/count/ShortRollupCountDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupCountDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupCountDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.count; import io.deephaven.engine.context.ExecutionContext; @@ -49,10 +48,10 @@ public class ShortRollupCountDistinctOperator implements IterativeChunkedAggrega private WritableRowSet touchedStates; public ShortRollupCountDistinctOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls) { this.name = name; this.countNull = countNulls; this.resultColumn = new LongArraySource(); @@ -64,32 +63,32 @@ public ShortRollupCountDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ShortSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -97,15 +96,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = ShortCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableShortChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = ShortCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableShortChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -116,8 +116,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -130,8 +134,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); final boolean anyAdded = ssm.insert(valueSlice, countSlice); updateResult(ssm.size(), destination); @@ -140,30 +146,30 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ShortSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -171,15 +177,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableShortChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -190,8 +197,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -205,8 +216,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -218,30 +231,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ShortSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -249,15 +262,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableShortChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -266,8 +280,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -281,8 +299,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -311,54 +331,58 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); updateResult(ssm.size(), destination); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ShortSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), countNull); + ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -372,43 +396,46 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ShortSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableShortChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), countNull); + ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -425,42 +452,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ShortSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableShortChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), countNull); + ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); ShortSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -487,9 +517,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu updateResult(newSize, destination); return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -510,7 +540,8 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, resultColumn); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -521,7 +552,7 @@ public boolean requiresRunFinds() { @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } @@ -534,16 +565,16 @@ public void startTrackingPrevValues() { } private static void flushPrevious(ShortRollupCountDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.ssms.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private void updateResult(long count, long destination) { resultColumn.getAndSetUnsafe(destination, count == 0 ? QueryConstants.NULL_LONG : count); } @@ -555,7 +586,7 @@ private ShortSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { ssms.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -568,5 +599,5 @@ public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Short); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ByteChunkedDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ByteChunkedDistinctOperator.java index a405e47c3a2..ebdf3491826 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ByteChunkedDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ByteChunkedDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.distinct; import io.deephaven.engine.context.ExecutionContext; @@ -66,10 +65,11 @@ public ByteChunkedDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -77,12 +77,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - ByteCompactKernel.compactAndCount((WritableByteChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + ByteCompactKernel.compactAndCount((WritableByteChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -94,14 +98,19 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); stateModified.set(ii, ssm.insert(valueSlice, countSlice)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -113,8 +122,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); stateModified.set(ii, ssm.remove(removeContext, valueSlice, countSlice)); if (ssm.size() == 0) { clearSsm(destination); @@ -123,8 +134,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -136,8 +151,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -162,28 +179,32 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk } final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - ByteCompactKernel.compactAndCount((WritableByteChunk) context.valueCopy, context.counts, countNull); + ByteCompactKernel.compactAndCount((WritableByteChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -194,7 +215,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -209,7 +231,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -231,9 +254,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -245,7 +268,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(ByteChunkedDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -260,10 +283,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, internalResult.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + internalResult.getUnderlyingSource()); return columns; } @@ -273,19 +297,20 @@ public void ensureCapacity(long tableSize) { @Override public void startTrackingPrevValues() { internalResult.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), ByteChunkedDistinctOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + ByteChunkedDistinctOperator::flushPrevious); touchedStates = RowSetFactory.empty(); } } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Byte, size); @@ -295,9 +320,9 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Byte, size); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private ByteSegmentedSortedMultiset ssmForSlot(long destination) { return internalResult.getOrCreate(destination); } @@ -305,5 +330,5 @@ private ByteSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { internalResult.clear(destination); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ByteRollupDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ByteRollupDistinctOperator.java index 2d7a566edbd..faba048fc96 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ByteRollupDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ByteRollupDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.distinct; import io.deephaven.engine.context.ExecutionContext; @@ -47,10 +46,10 @@ public class ByteRollupDistinctOperator implements IterativeChunkedAggregationOp private WritableRowSet touchedStates; public ByteRollupDistinctOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls) { this.name = name; this.countNull = countNulls; // region SsmCreation @@ -62,32 +61,32 @@ public ByteRollupDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ByteSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -95,15 +94,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = ByteCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableByteChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = ByteCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableByteChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -114,8 +114,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -128,38 +132,40 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); stateModified.set(ii, ssm.insert(valueSlice, countSlice)); } } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ByteSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -167,15 +173,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableByteChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -186,8 +193,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -201,8 +212,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); stateModified.set(ii, ssm.remove(removeContext, valueSlice, countSlice)); if (ssm.size() == 0) { clearSsm(destination); @@ -211,30 +224,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ByteSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -242,15 +255,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableByteChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -259,8 +273,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -274,8 +292,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -300,53 +320,57 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ByteSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), countNull); + ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -357,43 +381,46 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ByteSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableByteChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), countNull); + ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -409,42 +436,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ByteSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableByteChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), countNull); + ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); ByteSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -466,9 +496,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu } return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -488,32 +518,34 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, internalResult.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + internalResult.getUnderlyingSource()); return columns; } @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), ByteRollupDistinctOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + ByteRollupDistinctOperator::flushPrevious); touchedStates = RowSetFactory.empty(); internalResult.startTrackingPrevValues(); } private static void flushPrevious(ByteRollupDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.internalResult.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private ByteSegmentedSortedMultiset ssmForSlot(long destination) { return internalResult.getOrCreate(destination); } @@ -521,7 +553,7 @@ private ByteSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { internalResult.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -533,5 +565,5 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Byte); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/CharChunkedDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/CharChunkedDistinctOperator.java index fc8bc55d01a..c10a87e8802 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/CharChunkedDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/CharChunkedDistinctOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmcountdistinct.distinct; import io.deephaven.engine.context.ExecutionContext; @@ -61,10 +61,11 @@ public CharChunkedDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -72,12 +73,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - CharCompactKernel.compactAndCount((WritableCharChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + CharCompactKernel.compactAndCount((WritableCharChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -89,14 +94,19 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); stateModified.set(ii, ssm.insert(valueSlice, countSlice)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -108,8 +118,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); stateModified.set(ii, ssm.remove(removeContext, valueSlice, countSlice)); if (ssm.size() == 0) { clearSsm(destination); @@ -118,8 +130,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -131,8 +147,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -157,28 +175,32 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk } final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - CharCompactKernel.compactAndCount((WritableCharChunk) context.valueCopy, context.counts, countNull); + CharCompactKernel.compactAndCount((WritableCharChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -189,7 +211,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -204,7 +227,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { CharSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -226,9 +250,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -240,7 +264,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(CharChunkedDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -255,10 +279,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, internalResult.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + internalResult.getUnderlyingSource()); return columns; } @@ -268,19 +293,20 @@ public void ensureCapacity(long tableSize) { @Override public void startTrackingPrevValues() { internalResult.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), CharChunkedDistinctOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + CharChunkedDistinctOperator::flushPrevious); touchedStates = RowSetFactory.empty(); } } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Char, size); @@ -290,9 +316,9 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Char, size); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private CharSegmentedSortedMultiset ssmForSlot(long destination) { return internalResult.getOrCreate(destination); } @@ -300,5 +326,5 @@ private CharSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { internalResult.clear(destination); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/CharRollupDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/CharRollupDistinctOperator.java index 99d4fa9d0f6..62225056c0a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/CharRollupDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/CharRollupDistinctOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmcountdistinct.distinct; import io.deephaven.engine.context.ExecutionContext; @@ -42,10 +42,10 @@ public class CharRollupDistinctOperator implements IterativeChunkedAggregationOp private WritableRowSet touchedStates; public CharRollupDistinctOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls) { this.name = name; this.countNull = countNulls; // region SsmCreation @@ -57,32 +57,32 @@ public CharRollupDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final CharSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -90,15 +90,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = CharCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableCharChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = CharCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableCharChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -109,8 +110,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -123,38 +128,40 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); stateModified.set(ii, ssm.insert(valueSlice, countSlice)); } } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final CharSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -162,15 +169,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableCharChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -181,8 +189,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -196,8 +208,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); stateModified.set(ii, ssm.remove(removeContext, valueSlice, countSlice)); if (ssm.size() == 0) { clearSsm(destination); @@ -206,30 +220,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final CharSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -237,15 +251,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableCharChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -254,8 +269,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -269,8 +288,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -295,53 +316,57 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final CharSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), countNull); + CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -352,43 +377,46 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final CharSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableCharChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), countNull); + CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -404,42 +432,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final CharSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableCharChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), countNull); + CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); CharSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -461,9 +492,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu } return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -483,32 +514,34 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, internalResult.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + internalResult.getUnderlyingSource()); return columns; } @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), CharRollupDistinctOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + CharRollupDistinctOperator::flushPrevious); touchedStates = RowSetFactory.empty(); internalResult.startTrackingPrevValues(); } private static void flushPrevious(CharRollupDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.internalResult.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private CharSegmentedSortedMultiset ssmForSlot(long destination) { return internalResult.getOrCreate(destination); } @@ -516,7 +549,7 @@ private CharSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { internalResult.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -528,5 +561,5 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Char); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/DoubleChunkedDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/DoubleChunkedDistinctOperator.java index 37cfdc67d61..c1046938b13 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/DoubleChunkedDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/DoubleChunkedDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.distinct; import io.deephaven.engine.context.ExecutionContext; @@ -66,10 +65,11 @@ public DoubleChunkedDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -77,12 +77,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - DoubleCompactKernel.compactAndCount((WritableDoubleChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + DoubleCompactKernel.compactAndCount((WritableDoubleChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -94,14 +98,19 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); stateModified.set(ii, ssm.insert(valueSlice, countSlice)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -113,8 +122,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); stateModified.set(ii, ssm.remove(removeContext, valueSlice, countSlice)); if (ssm.size() == 0) { clearSsm(destination); @@ -123,8 +134,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -136,8 +151,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -162,28 +179,32 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk } final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - DoubleCompactKernel.compactAndCount((WritableDoubleChunk) context.valueCopy, context.counts, countNull); + DoubleCompactKernel.compactAndCount((WritableDoubleChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -194,7 +215,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -209,7 +231,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -231,9 +254,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -245,7 +268,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(DoubleChunkedDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -260,10 +283,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, internalResult.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + internalResult.getUnderlyingSource()); return columns; } @@ -273,19 +297,20 @@ public void ensureCapacity(long tableSize) { @Override public void startTrackingPrevValues() { internalResult.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), DoubleChunkedDistinctOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + DoubleChunkedDistinctOperator::flushPrevious); touchedStates = RowSetFactory.empty(); } } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Double, size); @@ -295,9 +320,9 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Double, size); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private DoubleSegmentedSortedMultiset ssmForSlot(long destination) { return internalResult.getOrCreate(destination); } @@ -305,5 +330,5 @@ private DoubleSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { internalResult.clear(destination); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/DoubleRollupDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/DoubleRollupDistinctOperator.java index 8a2d0be4b63..6b4e7c5fa49 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/DoubleRollupDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/DoubleRollupDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.distinct; import io.deephaven.engine.context.ExecutionContext; @@ -47,10 +46,10 @@ public class DoubleRollupDistinctOperator implements IterativeChunkedAggregation private WritableRowSet touchedStates; public DoubleRollupDistinctOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls) { this.name = name; this.countNull = countNulls; // region SsmCreation @@ -62,32 +61,32 @@ public DoubleRollupDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final DoubleSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -95,15 +94,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = DoubleCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableDoubleChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = DoubleCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableDoubleChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -114,8 +114,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -128,38 +132,40 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); stateModified.set(ii, ssm.insert(valueSlice, countSlice)); } } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final DoubleSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -167,15 +173,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableDoubleChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -186,8 +193,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -201,8 +212,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); stateModified.set(ii, ssm.remove(removeContext, valueSlice, countSlice)); if (ssm.size() == 0) { clearSsm(destination); @@ -211,30 +224,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final DoubleSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -242,15 +255,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableDoubleChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -259,8 +273,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -274,8 +292,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -300,53 +320,57 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final DoubleSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), countNull); + DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -357,43 +381,46 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final DoubleSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableDoubleChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), countNull); + DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -409,42 +436,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final DoubleSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableDoubleChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), countNull); + DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); DoubleSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -466,9 +496,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu } return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -488,32 +518,34 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, internalResult.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + internalResult.getUnderlyingSource()); return columns; } @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), DoubleRollupDistinctOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + DoubleRollupDistinctOperator::flushPrevious); touchedStates = RowSetFactory.empty(); internalResult.startTrackingPrevValues(); } private static void flushPrevious(DoubleRollupDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.internalResult.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private DoubleSegmentedSortedMultiset ssmForSlot(long destination) { return internalResult.getOrCreate(destination); } @@ -521,7 +553,7 @@ private DoubleSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { internalResult.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -533,5 +565,5 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Double); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/FloatChunkedDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/FloatChunkedDistinctOperator.java index 6ac6043d2ae..b6932315762 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/FloatChunkedDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/FloatChunkedDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.distinct; import io.deephaven.engine.context.ExecutionContext; @@ -66,10 +65,11 @@ public FloatChunkedDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -77,12 +77,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - FloatCompactKernel.compactAndCount((WritableFloatChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + FloatCompactKernel.compactAndCount((WritableFloatChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -94,14 +98,19 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); stateModified.set(ii, ssm.insert(valueSlice, countSlice)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -113,8 +122,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); stateModified.set(ii, ssm.remove(removeContext, valueSlice, countSlice)); if (ssm.size() == 0) { clearSsm(destination); @@ -123,8 +134,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -136,8 +151,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -162,28 +179,32 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk } final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - FloatCompactKernel.compactAndCount((WritableFloatChunk) context.valueCopy, context.counts, countNull); + FloatCompactKernel.compactAndCount((WritableFloatChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -194,7 +215,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -209,7 +231,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -231,9 +254,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -245,7 +268,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(FloatChunkedDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -260,10 +283,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, internalResult.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + internalResult.getUnderlyingSource()); return columns; } @@ -273,19 +297,20 @@ public void ensureCapacity(long tableSize) { @Override public void startTrackingPrevValues() { internalResult.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), FloatChunkedDistinctOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + FloatChunkedDistinctOperator::flushPrevious); touchedStates = RowSetFactory.empty(); } } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Float, size); @@ -295,9 +320,9 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Float, size); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private FloatSegmentedSortedMultiset ssmForSlot(long destination) { return internalResult.getOrCreate(destination); } @@ -305,5 +330,5 @@ private FloatSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { internalResult.clear(destination); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/FloatRollupDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/FloatRollupDistinctOperator.java index ebf48e73dc1..ad251b33b42 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/FloatRollupDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/FloatRollupDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.distinct; import io.deephaven.engine.context.ExecutionContext; @@ -47,10 +46,10 @@ public class FloatRollupDistinctOperator implements IterativeChunkedAggregationO private WritableRowSet touchedStates; public FloatRollupDistinctOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls) { this.name = name; this.countNull = countNulls; // region SsmCreation @@ -62,32 +61,32 @@ public FloatRollupDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final FloatSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -95,15 +94,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = FloatCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableFloatChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = FloatCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableFloatChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -114,8 +114,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -128,38 +132,40 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); stateModified.set(ii, ssm.insert(valueSlice, countSlice)); } } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final FloatSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -167,15 +173,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableFloatChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -186,8 +193,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -201,8 +212,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); stateModified.set(ii, ssm.remove(removeContext, valueSlice, countSlice)); if (ssm.size() == 0) { clearSsm(destination); @@ -211,30 +224,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final FloatSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -242,15 +255,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableFloatChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -259,8 +273,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -274,8 +292,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -300,53 +320,57 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final FloatSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), countNull); + FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -357,43 +381,46 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final FloatSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableFloatChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), countNull); + FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -409,42 +436,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final FloatSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableFloatChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), countNull); + FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); FloatSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -466,9 +496,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu } return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -488,32 +518,34 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, internalResult.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + internalResult.getUnderlyingSource()); return columns; } @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), FloatRollupDistinctOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + FloatRollupDistinctOperator::flushPrevious); touchedStates = RowSetFactory.empty(); internalResult.startTrackingPrevValues(); } private static void flushPrevious(FloatRollupDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.internalResult.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private FloatSegmentedSortedMultiset ssmForSlot(long destination) { return internalResult.getOrCreate(destination); } @@ -521,7 +553,7 @@ private FloatSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { internalResult.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -533,5 +565,5 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Float); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/IntChunkedDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/IntChunkedDistinctOperator.java index 3d2f572a016..5c14c90845c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/IntChunkedDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/IntChunkedDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.distinct; import io.deephaven.engine.context.ExecutionContext; @@ -66,10 +65,11 @@ public IntChunkedDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -77,12 +77,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - IntCompactKernel.compactAndCount((WritableIntChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + IntCompactKernel.compactAndCount((WritableIntChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -94,14 +98,19 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); stateModified.set(ii, ssm.insert(valueSlice, countSlice)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -113,8 +122,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); stateModified.set(ii, ssm.remove(removeContext, valueSlice, countSlice)); if (ssm.size() == 0) { clearSsm(destination); @@ -123,8 +134,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -136,8 +151,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -162,28 +179,32 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk } final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - IntCompactKernel.compactAndCount((WritableIntChunk) context.valueCopy, context.counts, countNull); + IntCompactKernel.compactAndCount((WritableIntChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -194,7 +215,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -209,7 +231,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { IntSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -231,9 +254,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -245,7 +268,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(IntChunkedDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -260,10 +283,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, internalResult.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + internalResult.getUnderlyingSource()); return columns; } @@ -273,19 +297,20 @@ public void ensureCapacity(long tableSize) { @Override public void startTrackingPrevValues() { internalResult.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), IntChunkedDistinctOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + IntChunkedDistinctOperator::flushPrevious); touchedStates = RowSetFactory.empty(); } } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Int, size); @@ -295,9 +320,9 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Int, size); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private IntSegmentedSortedMultiset ssmForSlot(long destination) { return internalResult.getOrCreate(destination); } @@ -305,5 +330,5 @@ private IntSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { internalResult.clear(destination); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/IntRollupDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/IntRollupDistinctOperator.java index 988346fa715..ff12c7e23a4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/IntRollupDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/IntRollupDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.distinct; import io.deephaven.engine.context.ExecutionContext; @@ -47,10 +46,10 @@ public class IntRollupDistinctOperator implements IterativeChunkedAggregationOpe private WritableRowSet touchedStates; public IntRollupDistinctOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls) { this.name = name; this.countNull = countNulls; // region SsmCreation @@ -62,32 +61,32 @@ public IntRollupDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final IntSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -95,15 +94,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = IntCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableIntChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = IntCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableIntChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -114,8 +114,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -128,38 +132,40 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); stateModified.set(ii, ssm.insert(valueSlice, countSlice)); } } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final IntSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -167,15 +173,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableIntChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -186,8 +193,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -201,8 +212,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); stateModified.set(ii, ssm.remove(removeContext, valueSlice, countSlice)); if (ssm.size() == 0) { clearSsm(destination); @@ -211,30 +224,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final IntSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -242,15 +255,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableIntChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -259,8 +273,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -274,8 +292,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -300,53 +320,57 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final IntSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), countNull); + IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -357,43 +381,46 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final IntSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableIntChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), countNull); + IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -409,42 +436,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final IntSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableIntChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), countNull); + IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); IntSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -466,9 +496,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu } return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -488,32 +518,34 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, internalResult.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + internalResult.getUnderlyingSource()); return columns; } @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), IntRollupDistinctOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + IntRollupDistinctOperator::flushPrevious); touchedStates = RowSetFactory.empty(); internalResult.startTrackingPrevValues(); } private static void flushPrevious(IntRollupDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.internalResult.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private IntSegmentedSortedMultiset ssmForSlot(long destination) { return internalResult.getOrCreate(destination); } @@ -521,7 +553,7 @@ private IntSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { internalResult.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -533,5 +565,5 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Int); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/LongChunkedDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/LongChunkedDistinctOperator.java index 1543d226ecb..7e51ab37c2e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/LongChunkedDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/LongChunkedDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.distinct; import java.time.Instant; @@ -76,10 +75,11 @@ public LongChunkedDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -87,12 +87,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - LongCompactKernel.compactAndCount((WritableLongChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + LongCompactKernel.compactAndCount((WritableLongChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -104,14 +108,19 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); stateModified.set(ii, ssm.insert(valueSlice, countSlice)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -123,8 +132,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); stateModified.set(ii, ssm.remove(removeContext, valueSlice, countSlice)); if (ssm.size() == 0) { clearSsm(destination); @@ -133,8 +144,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -146,8 +161,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -172,28 +189,32 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk } final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - LongCompactKernel.compactAndCount((WritableLongChunk) context.valueCopy, context.counts, countNull); + LongCompactKernel.compactAndCount((WritableLongChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -204,7 +225,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -219,7 +241,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { LongSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -241,9 +264,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -255,7 +278,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(LongChunkedDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -270,10 +293,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, internalResult.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + internalResult.getUnderlyingSource()); return columns; } @@ -283,19 +307,20 @@ public void ensureCapacity(long tableSize) { @Override public void startTrackingPrevValues() { internalResult.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), LongChunkedDistinctOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + LongChunkedDistinctOperator::flushPrevious); touchedStates = RowSetFactory.empty(); } } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Long, size); @@ -305,9 +330,9 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Long, size); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private LongSegmentedSortedMultiset ssmForSlot(long destination) { return internalResult.getOrCreate(destination); } @@ -315,5 +340,5 @@ private LongSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { internalResult.clear(destination); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/LongRollupDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/LongRollupDistinctOperator.java index afc6219e64b..1ffafe1436a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/LongRollupDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/LongRollupDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.distinct; import java.time.Instant; @@ -52,11 +51,11 @@ public class LongRollupDistinctOperator implements IterativeChunkedAggregationOp private WritableRowSet touchedStates; public LongRollupDistinctOperator( - // region Constructor + // region Constructor Class type, - // endregion Constructor - String name, - boolean countNulls) { + // endregion Constructor + String name, + boolean countNulls) { this.name = name; this.countNull = countNulls; // region SsmCreation @@ -72,32 +71,32 @@ public LongRollupDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final LongSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -105,15 +104,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = LongCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableLongChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = LongCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableLongChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -124,8 +124,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -138,38 +142,40 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); stateModified.set(ii, ssm.insert(valueSlice, countSlice)); } } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final LongSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -177,15 +183,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableLongChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -196,8 +203,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -211,8 +222,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); stateModified.set(ii, ssm.remove(removeContext, valueSlice, countSlice)); if (ssm.size() == 0) { clearSsm(destination); @@ -221,30 +234,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final LongSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -252,15 +265,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableLongChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -269,8 +283,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -284,8 +302,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -310,53 +330,57 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final LongSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), countNull); + LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -367,43 +391,46 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final LongSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableLongChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), countNull); + LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -419,42 +446,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final LongSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableLongChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), countNull); + LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); LongSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -476,9 +506,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu } return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -498,32 +528,34 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, internalResult.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + internalResult.getUnderlyingSource()); return columns; } @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), LongRollupDistinctOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + LongRollupDistinctOperator::flushPrevious); touchedStates = RowSetFactory.empty(); internalResult.startTrackingPrevValues(); } private static void flushPrevious(LongRollupDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.internalResult.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private LongSegmentedSortedMultiset ssmForSlot(long destination) { return internalResult.getOrCreate(destination); } @@ -531,7 +563,7 @@ private LongSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { internalResult.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -543,5 +575,5 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Long); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ObjectChunkedDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ObjectChunkedDistinctOperator.java index 40f41fb3c20..e58c487d1ff 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ObjectChunkedDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ObjectChunkedDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.distinct; import io.deephaven.engine.context.ExecutionContext; @@ -67,10 +66,11 @@ public ObjectChunkedDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -78,12 +78,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - ObjectCompactKernel.compactAndCount((WritableObjectChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + ObjectCompactKernel.compactAndCount((WritableObjectChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -95,14 +99,19 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); stateModified.set(ii, ssm.insert(valueSlice, countSlice)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -114,8 +123,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); stateModified.set(ii, ssm.remove(removeContext, valueSlice, countSlice)); if (ssm.size() == 0) { clearSsm(destination); @@ -124,8 +135,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -137,8 +152,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -163,28 +180,32 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk } final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - ObjectCompactKernel.compactAndCount((WritableObjectChunk) context.valueCopy, context.counts, countNull); + ObjectCompactKernel.compactAndCount((WritableObjectChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -195,7 +216,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -210,7 +232,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -232,9 +255,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -246,7 +269,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(ObjectChunkedDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -261,10 +284,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, internalResult.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + internalResult.getUnderlyingSource()); return columns; } @@ -274,19 +298,20 @@ public void ensureCapacity(long tableSize) { @Override public void startTrackingPrevValues() { internalResult.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), ObjectChunkedDistinctOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + ObjectChunkedDistinctOperator::flushPrevious); touchedStates = RowSetFactory.empty(); } } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Object, size); @@ -296,9 +321,9 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Object, size); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private ObjectSegmentedSortedMultiset ssmForSlot(long destination) { return internalResult.getOrCreate(destination); } @@ -306,5 +331,5 @@ private ObjectSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { internalResult.clear(destination); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ObjectRollupDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ObjectRollupDistinctOperator.java index c6a12079b80..27792b64d0d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ObjectRollupDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ObjectRollupDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.distinct; import io.deephaven.engine.context.ExecutionContext; @@ -47,11 +46,11 @@ public class ObjectRollupDistinctOperator implements IterativeChunkedAggregation private WritableRowSet touchedStates; public ObjectRollupDistinctOperator( - // region Constructor + // region Constructor Class type, - // endregion Constructor - String name, - boolean countNulls) { + // endregion Constructor + String name, + boolean countNulls) { this.name = name; this.countNull = countNulls; // region SsmCreation @@ -63,32 +62,32 @@ public ObjectRollupDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ObjectSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -96,15 +95,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = ObjectCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableObjectChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = ObjectCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableObjectChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -115,8 +115,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -129,38 +133,40 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); stateModified.set(ii, ssm.insert(valueSlice, countSlice)); } } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ObjectSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -168,15 +174,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableObjectChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -187,8 +194,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -202,8 +213,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); stateModified.set(ii, ssm.remove(removeContext, valueSlice, countSlice)); if (ssm.size() == 0) { clearSsm(destination); @@ -212,30 +225,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ObjectSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -243,15 +256,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableObjectChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -260,8 +274,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -275,8 +293,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -301,53 +321,57 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ObjectSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), countNull); + ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -358,43 +382,46 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ObjectSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableObjectChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), countNull); + ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -410,42 +437,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ObjectSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableObjectChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), countNull); + ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); ObjectSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -467,9 +497,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu } return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -489,32 +519,34 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, internalResult.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + internalResult.getUnderlyingSource()); return columns; } @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), ObjectRollupDistinctOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + ObjectRollupDistinctOperator::flushPrevious); touchedStates = RowSetFactory.empty(); internalResult.startTrackingPrevValues(); } private static void flushPrevious(ObjectRollupDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.internalResult.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private ObjectSegmentedSortedMultiset ssmForSlot(long destination) { return internalResult.getOrCreate(destination); } @@ -522,7 +554,7 @@ private ObjectSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { internalResult.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -534,5 +566,5 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Object); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ShortChunkedDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ShortChunkedDistinctOperator.java index ae3b0295257..7fe53759cee 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ShortChunkedDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ShortChunkedDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.distinct; import io.deephaven.engine.context.ExecutionContext; @@ -66,10 +65,11 @@ public ShortChunkedDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -77,12 +77,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - ShortCompactKernel.compactAndCount((WritableShortChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + ShortCompactKernel.compactAndCount((WritableShortChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -94,14 +98,19 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); stateModified.set(ii, ssm.insert(valueSlice, countSlice)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -113,8 +122,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); stateModified.set(ii, ssm.remove(removeContext, valueSlice, countSlice)); if (ssm.size() == 0) { clearSsm(destination); @@ -123,8 +134,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -136,8 +151,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -162,28 +179,32 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk } final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - ShortCompactKernel.compactAndCount((WritableShortChunk) context.valueCopy, context.counts, countNull); + ShortCompactKernel.compactAndCount((WritableShortChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -194,7 +215,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -209,7 +231,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -231,9 +254,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -245,7 +268,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(ShortChunkedDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -260,10 +283,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, internalResult.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + internalResult.getUnderlyingSource()); return columns; } @@ -273,19 +297,20 @@ public void ensureCapacity(long tableSize) { @Override public void startTrackingPrevValues() { internalResult.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), ShortChunkedDistinctOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + ShortChunkedDistinctOperator::flushPrevious); touchedStates = RowSetFactory.empty(); } } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Short, size); @@ -295,9 +320,9 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Short, size); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private ShortSegmentedSortedMultiset ssmForSlot(long destination) { return internalResult.getOrCreate(destination); } @@ -305,5 +330,5 @@ private ShortSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { internalResult.clear(destination); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ShortRollupDistinctOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ShortRollupDistinctOperator.java index 6dbcb55b6cf..8afb4097a66 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ShortRollupDistinctOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/distinct/ShortRollupDistinctOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupDistinctOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupDistinctOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.distinct; import io.deephaven.engine.context.ExecutionContext; @@ -47,10 +46,10 @@ public class ShortRollupDistinctOperator implements IterativeChunkedAggregationO private WritableRowSet touchedStates; public ShortRollupDistinctOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls) { this.name = name; this.countNull = countNulls; // region SsmCreation @@ -62,32 +61,32 @@ public ShortRollupDistinctOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ShortSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -95,15 +94,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = ShortCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableShortChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = ShortCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableShortChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -114,8 +114,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -128,38 +132,40 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); stateModified.set(ii, ssm.insert(valueSlice, countSlice)); } } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ShortSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -167,15 +173,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableShortChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -186,8 +193,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -201,8 +212,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); stateModified.set(ii, ssm.remove(removeContext, valueSlice, countSlice)); if (ssm.size() == 0) { clearSsm(destination); @@ -211,30 +224,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ShortSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -242,15 +255,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableShortChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -259,8 +273,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -274,8 +292,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -300,53 +320,57 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ShortSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), countNull); + ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -357,43 +381,46 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ShortSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableShortChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), countNull); + ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -409,42 +436,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ShortSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableShortChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), countNull); + ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); ShortSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -466,9 +496,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu } return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -488,32 +518,34 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, internalResult.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + internalResult.getUnderlyingSource()); return columns; } @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), ShortRollupDistinctOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + ShortRollupDistinctOperator::flushPrevious); touchedStates = RowSetFactory.empty(); internalResult.startTrackingPrevValues(); } private static void flushPrevious(ShortRollupDistinctOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.internalResult.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private ShortSegmentedSortedMultiset ssmForSlot(long destination) { return internalResult.getOrCreate(destination); } @@ -521,7 +553,7 @@ private ShortSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { internalResult.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -533,5 +565,5 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Short); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ByteChunkedUniqueOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ByteChunkedUniqueOperator.java index 1367ac25d85..18f6ab1a6d4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ByteChunkedUniqueOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ByteChunkedUniqueOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedUniqueOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedUniqueOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.unique; import io.deephaven.engine.context.ExecutionContext; @@ -37,8 +36,8 @@ import java.util.function.Supplier; /** - * This operator computes the single unique value of a particular aggregated state. If there are no values at all - * the 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. + * This operator computes the single unique value of a particular aggregated state. If there are no values at all the + * 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. */ public class ByteChunkedUniqueOperator implements IterativeChunkedAggregationOperator { private final String name; @@ -78,10 +77,11 @@ public ByteChunkedUniqueOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -89,12 +89,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - ByteCompactKernel.compactAndCount((WritableByteChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + ByteCompactKernel.compactAndCount((WritableByteChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -106,15 +110,20 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -126,8 +135,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -138,8 +149,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -151,8 +166,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -175,27 +192,31 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - ByteCompactKernel.compactAndCount((WritableByteChunk) context.valueCopy, context.counts, countNull); + ByteCompactKernel.compactAndCount((WritableByteChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -205,7 +226,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -221,7 +243,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -238,9 +261,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return setResult(ssm, destination); } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -252,7 +275,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(ByteChunkedUniqueOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -268,10 +291,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -281,20 +305,21 @@ public void ensureCapacity(long tableSize) { @Override public void startTrackingPrevValues() { internalResult.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } ssms.startTrackingPrevValues(); - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), ByteChunkedUniqueOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + ByteChunkedUniqueOperator::flushPrevious); touchedStates = RowSetFactory.empty(); } } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Byte, size); @@ -304,9 +329,9 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Byte, size); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private ByteSegmentedSortedMultiset ssmForSlot(long destination) { return ssms.getOrCreate(destination); } @@ -317,9 +342,9 @@ private void clearSsm(long destination) { private boolean setResult(ByteSegmentedSortedMultiset ssm, long destination) { final boolean resultChanged; - if(ssm.isEmpty()) { + if (ssm.isEmpty()) { resultChanged = internalResult.getAndSetUnsafe(destination, onlyNullsSentinel) != onlyNullsSentinel; - } else if(ssm.size() == 1) { + } else if (ssm.size() == 1) { final byte newValue = ssm.get(0); resultChanged = internalResult.getAndSetUnsafe(destination, newValue) != newValue; } else { @@ -328,5 +353,5 @@ private boolean setResult(ByteSegmentedSortedMultiset ssm, long destination) { return resultChanged || (exposeInternal && (ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0)); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ByteRollupUniqueOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ByteRollupUniqueOperator.java index 8bc707960c8..a235c42fce2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ByteRollupUniqueOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ByteRollupUniqueOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupUniqueOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupUniqueOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.unique; import io.deephaven.engine.context.ExecutionContext; @@ -34,8 +33,8 @@ import java.util.function.Supplier; /** - * This operator computes the single unique value of a particular aggregated state. If there are no values at all - * the 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. + * This operator computes the single unique value of a particular aggregated state. If there are no values at all the + * 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. * * it is intended to be used at the second, and higher levels of rollup. */ @@ -54,12 +53,12 @@ public class ByteRollupUniqueOperator implements IterativeChunkedAggregationOper private WritableRowSet touchedStates; public ByteRollupUniqueOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls, - byte onlyNullsSentinel, - byte nonUniqueSentinel) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls, + byte onlyNullsSentinel, + byte nonUniqueSentinel) { this.name = name; this.countNull = countNulls; this.nonUniqueSentinel = nonUniqueSentinel; @@ -76,32 +75,32 @@ public ByteRollupUniqueOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ByteSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -109,15 +108,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = ByteCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableByteChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = ByteCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableByteChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -128,8 +128,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -142,8 +146,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); final boolean anyAdded = ssm.insert(valueSlice, countSlice); updateResult(ssm, destination); stateModified.set(ii, anyAdded); @@ -151,30 +157,30 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ByteSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -182,15 +188,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableByteChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -201,8 +208,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -216,8 +227,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -229,30 +242,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ByteSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -260,15 +273,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableByteChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -277,8 +291,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -292,8 +310,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -319,104 +339,111 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); updateResult(ssm, destination); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ByteSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), countNull); + ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; } final ByteSegmentedSortedMultiset ssm = ssmForSlot(destination); - final boolean anyAdded =ssm.insert(updatedValues, context.counts.get()); + final boolean anyAdded = ssm.insert(updatedValues, context.counts.get()); updateResult(ssm, destination); return anyAdded; } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ByteSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableByteChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), countNull); + ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -433,42 +460,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ByteSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableByteChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), countNull); + ByteCompactKernel.compactAndCount(context.valueCopy.get().asWritableByteChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); ByteSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -491,9 +521,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu updateResult(ssm, destination); return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -514,37 +544,39 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), ByteRollupUniqueOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + ByteRollupUniqueOperator::flushPrevious); touchedStates = RowSetFactory.empty(); ssms.startTrackingPrevValues(); internalResult.startTrackingPrevValues(); } private static void flushPrevious(ByteRollupUniqueOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.ssms.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private void updateResult(ByteSegmentedSortedMultiset ssm, long destination) { - if(ssm.isEmpty()) { + if (ssm.isEmpty()) { internalResult.set(destination, onlyNullsSentinel); - } else if(ssm.size() == 1) { + } else if (ssm.size() == 1) { internalResult.set(destination, ssm.get(0)); } else { internalResult.set(destination, nonUniqueSentinel); @@ -558,7 +590,7 @@ private ByteSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { ssms.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -571,5 +603,5 @@ public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Byte); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/CharChunkedUniqueOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/CharChunkedUniqueOperator.java index f3e835cd17d..659fa360a60 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/CharChunkedUniqueOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/CharChunkedUniqueOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmcountdistinct.unique; import io.deephaven.engine.context.ExecutionContext; @@ -32,8 +32,8 @@ import java.util.function.Supplier; /** - * This operator computes the single unique value of a particular aggregated state. If there are no values at all - * the 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. + * This operator computes the single unique value of a particular aggregated state. If there are no values at all the + * 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. */ public class CharChunkedUniqueOperator implements IterativeChunkedAggregationOperator { private final String name; @@ -73,10 +73,11 @@ public CharChunkedUniqueOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -84,12 +85,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - CharCompactKernel.compactAndCount((WritableCharChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + CharCompactKernel.compactAndCount((WritableCharChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -101,15 +106,20 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -121,8 +131,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -133,8 +145,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -146,8 +162,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -170,27 +188,31 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - CharCompactKernel.compactAndCount((WritableCharChunk) context.valueCopy, context.counts, countNull); + CharCompactKernel.compactAndCount((WritableCharChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -200,7 +222,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -216,7 +239,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -233,9 +257,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return setResult(ssm, destination); } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -247,7 +271,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(CharChunkedUniqueOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -263,10 +287,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -276,20 +301,21 @@ public void ensureCapacity(long tableSize) { @Override public void startTrackingPrevValues() { internalResult.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } ssms.startTrackingPrevValues(); - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), CharChunkedUniqueOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + CharChunkedUniqueOperator::flushPrevious); touchedStates = RowSetFactory.empty(); } } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Char, size); @@ -299,9 +325,9 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Char, size); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private CharSegmentedSortedMultiset ssmForSlot(long destination) { return ssms.getOrCreate(destination); } @@ -312,9 +338,9 @@ private void clearSsm(long destination) { private boolean setResult(CharSegmentedSortedMultiset ssm, long destination) { final boolean resultChanged; - if(ssm.isEmpty()) { + if (ssm.isEmpty()) { resultChanged = internalResult.getAndSetUnsafe(destination, onlyNullsSentinel) != onlyNullsSentinel; - } else if(ssm.size() == 1) { + } else if (ssm.size() == 1) { final char newValue = ssm.get(0); resultChanged = internalResult.getAndSetUnsafe(destination, newValue) != newValue; } else { @@ -323,5 +349,5 @@ private boolean setResult(CharSegmentedSortedMultiset ssm, long destination) { return resultChanged || (exposeInternal && (ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0)); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/CharRollupUniqueOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/CharRollupUniqueOperator.java index a6bfddddc22..ce7b6ef1c53 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/CharRollupUniqueOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/CharRollupUniqueOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmcountdistinct.unique; import io.deephaven.engine.context.ExecutionContext; @@ -29,8 +29,8 @@ import java.util.function.Supplier; /** - * This operator computes the single unique value of a particular aggregated state. If there are no values at all - * the 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. + * This operator computes the single unique value of a particular aggregated state. If there are no values at all the + * 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. * * it is intended to be used at the second, and higher levels of rollup. */ @@ -49,12 +49,12 @@ public class CharRollupUniqueOperator implements IterativeChunkedAggregationOper private WritableRowSet touchedStates; public CharRollupUniqueOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls, - char onlyNullsSentinel, - char nonUniqueSentinel) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls, + char onlyNullsSentinel, + char nonUniqueSentinel) { this.name = name; this.countNull = countNulls; this.nonUniqueSentinel = nonUniqueSentinel; @@ -71,32 +71,32 @@ public CharRollupUniqueOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final CharSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -104,15 +104,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = CharCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableCharChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = CharCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableCharChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -123,8 +124,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -137,8 +142,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); final boolean anyAdded = ssm.insert(valueSlice, countSlice); updateResult(ssm, destination); stateModified.set(ii, anyAdded); @@ -146,30 +153,30 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final CharSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -177,15 +184,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableCharChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -196,8 +204,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -211,8 +223,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -224,30 +238,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final CharSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -255,15 +269,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableCharChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -272,8 +287,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -287,8 +306,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -314,104 +335,111 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); updateResult(ssm, destination); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final CharSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), countNull); + CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; } final CharSegmentedSortedMultiset ssm = ssmForSlot(destination); - final boolean anyAdded =ssm.insert(updatedValues, context.counts.get()); + final boolean anyAdded = ssm.insert(updatedValues, context.counts.get()); updateResult(ssm, destination); return anyAdded; } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final CharSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableCharChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), countNull); + CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -428,42 +456,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final CharSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableCharChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), countNull); + CharCompactKernel.compactAndCount(context.valueCopy.get().asWritableCharChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); CharSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -486,9 +517,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu updateResult(ssm, destination); return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -509,37 +540,39 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), CharRollupUniqueOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + CharRollupUniqueOperator::flushPrevious); touchedStates = RowSetFactory.empty(); ssms.startTrackingPrevValues(); internalResult.startTrackingPrevValues(); } private static void flushPrevious(CharRollupUniqueOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.ssms.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private void updateResult(CharSegmentedSortedMultiset ssm, long destination) { - if(ssm.isEmpty()) { + if (ssm.isEmpty()) { internalResult.set(destination, onlyNullsSentinel); - } else if(ssm.size() == 1) { + } else if (ssm.size() == 1) { internalResult.set(destination, ssm.get(0)); } else { internalResult.set(destination, nonUniqueSentinel); @@ -553,7 +586,7 @@ private CharSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { ssms.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -566,5 +599,5 @@ public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Char); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/DoubleChunkedUniqueOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/DoubleChunkedUniqueOperator.java index 567ee5a8afa..9f041c96da1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/DoubleChunkedUniqueOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/DoubleChunkedUniqueOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedUniqueOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedUniqueOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.unique; import io.deephaven.engine.context.ExecutionContext; @@ -37,8 +36,8 @@ import java.util.function.Supplier; /** - * This operator computes the single unique value of a particular aggregated state. If there are no values at all - * the 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. + * This operator computes the single unique value of a particular aggregated state. If there are no values at all the + * 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. */ public class DoubleChunkedUniqueOperator implements IterativeChunkedAggregationOperator { private final String name; @@ -78,10 +77,11 @@ public DoubleChunkedUniqueOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -89,12 +89,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - DoubleCompactKernel.compactAndCount((WritableDoubleChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + DoubleCompactKernel.compactAndCount((WritableDoubleChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -106,15 +110,20 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -126,8 +135,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -138,8 +149,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -151,8 +166,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -175,27 +192,31 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - DoubleCompactKernel.compactAndCount((WritableDoubleChunk) context.valueCopy, context.counts, countNull); + DoubleCompactKernel.compactAndCount((WritableDoubleChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -205,7 +226,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -221,7 +243,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -238,9 +261,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return setResult(ssm, destination); } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -252,7 +275,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(DoubleChunkedUniqueOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -268,10 +291,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -281,20 +305,21 @@ public void ensureCapacity(long tableSize) { @Override public void startTrackingPrevValues() { internalResult.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } ssms.startTrackingPrevValues(); - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), DoubleChunkedUniqueOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + DoubleChunkedUniqueOperator::flushPrevious); touchedStates = RowSetFactory.empty(); } } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Double, size); @@ -304,9 +329,9 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Double, size); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private DoubleSegmentedSortedMultiset ssmForSlot(long destination) { return ssms.getOrCreate(destination); } @@ -317,9 +342,9 @@ private void clearSsm(long destination) { private boolean setResult(DoubleSegmentedSortedMultiset ssm, long destination) { final boolean resultChanged; - if(ssm.isEmpty()) { + if (ssm.isEmpty()) { resultChanged = internalResult.getAndSetUnsafe(destination, onlyNullsSentinel) != onlyNullsSentinel; - } else if(ssm.size() == 1) { + } else if (ssm.size() == 1) { final double newValue = ssm.get(0); resultChanged = internalResult.getAndSetUnsafe(destination, newValue) != newValue; } else { @@ -328,5 +353,5 @@ private boolean setResult(DoubleSegmentedSortedMultiset ssm, long destination) { return resultChanged || (exposeInternal && (ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0)); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/DoubleRollupUniqueOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/DoubleRollupUniqueOperator.java index 021ae65fab1..5adbcce737d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/DoubleRollupUniqueOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/DoubleRollupUniqueOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupUniqueOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupUniqueOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.unique; import io.deephaven.engine.context.ExecutionContext; @@ -34,8 +33,8 @@ import java.util.function.Supplier; /** - * This operator computes the single unique value of a particular aggregated state. If there are no values at all - * the 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. + * This operator computes the single unique value of a particular aggregated state. If there are no values at all the + * 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. * * it is intended to be used at the second, and higher levels of rollup. */ @@ -54,12 +53,12 @@ public class DoubleRollupUniqueOperator implements IterativeChunkedAggregationOp private WritableRowSet touchedStates; public DoubleRollupUniqueOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls, - double onlyNullsSentinel, - double nonUniqueSentinel) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls, + double onlyNullsSentinel, + double nonUniqueSentinel) { this.name = name; this.countNull = countNulls; this.nonUniqueSentinel = nonUniqueSentinel; @@ -76,32 +75,32 @@ public DoubleRollupUniqueOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final DoubleSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -109,15 +108,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = DoubleCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableDoubleChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = DoubleCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableDoubleChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -128,8 +128,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -142,8 +146,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); final boolean anyAdded = ssm.insert(valueSlice, countSlice); updateResult(ssm, destination); stateModified.set(ii, anyAdded); @@ -151,30 +157,30 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final DoubleSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -182,15 +188,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableDoubleChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -201,8 +208,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -216,8 +227,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -229,30 +242,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final DoubleSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -260,15 +273,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableDoubleChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -277,8 +291,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -292,8 +310,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -319,104 +339,111 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); updateResult(ssm, destination); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final DoubleSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), countNull); + DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; } final DoubleSegmentedSortedMultiset ssm = ssmForSlot(destination); - final boolean anyAdded =ssm.insert(updatedValues, context.counts.get()); + final boolean anyAdded = ssm.insert(updatedValues, context.counts.get()); updateResult(ssm, destination); return anyAdded; } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final DoubleSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableDoubleChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), countNull); + DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -433,42 +460,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final DoubleSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableDoubleChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), countNull); + DoubleCompactKernel.compactAndCount(context.valueCopy.get().asWritableDoubleChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); DoubleSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -491,9 +521,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu updateResult(ssm, destination); return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -514,37 +544,39 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), DoubleRollupUniqueOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + DoubleRollupUniqueOperator::flushPrevious); touchedStates = RowSetFactory.empty(); ssms.startTrackingPrevValues(); internalResult.startTrackingPrevValues(); } private static void flushPrevious(DoubleRollupUniqueOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.ssms.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private void updateResult(DoubleSegmentedSortedMultiset ssm, long destination) { - if(ssm.isEmpty()) { + if (ssm.isEmpty()) { internalResult.set(destination, onlyNullsSentinel); - } else if(ssm.size() == 1) { + } else if (ssm.size() == 1) { internalResult.set(destination, ssm.get(0)); } else { internalResult.set(destination, nonUniqueSentinel); @@ -558,7 +590,7 @@ private DoubleSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { ssms.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -571,5 +603,5 @@ public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Double); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/FloatChunkedUniqueOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/FloatChunkedUniqueOperator.java index 0ee147e8aa5..3db1e8ff9ea 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/FloatChunkedUniqueOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/FloatChunkedUniqueOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedUniqueOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedUniqueOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.unique; import io.deephaven.engine.context.ExecutionContext; @@ -37,8 +36,8 @@ import java.util.function.Supplier; /** - * This operator computes the single unique value of a particular aggregated state. If there are no values at all - * the 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. + * This operator computes the single unique value of a particular aggregated state. If there are no values at all the + * 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. */ public class FloatChunkedUniqueOperator implements IterativeChunkedAggregationOperator { private final String name; @@ -78,10 +77,11 @@ public FloatChunkedUniqueOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -89,12 +89,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - FloatCompactKernel.compactAndCount((WritableFloatChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + FloatCompactKernel.compactAndCount((WritableFloatChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -106,15 +110,20 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -126,8 +135,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -138,8 +149,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -151,8 +166,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -175,27 +192,31 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - FloatCompactKernel.compactAndCount((WritableFloatChunk) context.valueCopy, context.counts, countNull); + FloatCompactKernel.compactAndCount((WritableFloatChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -205,7 +226,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -221,7 +243,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -238,9 +261,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return setResult(ssm, destination); } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -252,7 +275,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(FloatChunkedUniqueOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -268,10 +291,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -281,20 +305,21 @@ public void ensureCapacity(long tableSize) { @Override public void startTrackingPrevValues() { internalResult.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } ssms.startTrackingPrevValues(); - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), FloatChunkedUniqueOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + FloatChunkedUniqueOperator::flushPrevious); touchedStates = RowSetFactory.empty(); } } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Float, size); @@ -304,9 +329,9 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Float, size); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private FloatSegmentedSortedMultiset ssmForSlot(long destination) { return ssms.getOrCreate(destination); } @@ -317,9 +342,9 @@ private void clearSsm(long destination) { private boolean setResult(FloatSegmentedSortedMultiset ssm, long destination) { final boolean resultChanged; - if(ssm.isEmpty()) { + if (ssm.isEmpty()) { resultChanged = internalResult.getAndSetUnsafe(destination, onlyNullsSentinel) != onlyNullsSentinel; - } else if(ssm.size() == 1) { + } else if (ssm.size() == 1) { final float newValue = ssm.get(0); resultChanged = internalResult.getAndSetUnsafe(destination, newValue) != newValue; } else { @@ -328,5 +353,5 @@ private boolean setResult(FloatSegmentedSortedMultiset ssm, long destination) { return resultChanged || (exposeInternal && (ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0)); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/FloatRollupUniqueOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/FloatRollupUniqueOperator.java index 521d1a93631..d886bbe62fb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/FloatRollupUniqueOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/FloatRollupUniqueOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupUniqueOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupUniqueOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.unique; import io.deephaven.engine.context.ExecutionContext; @@ -34,8 +33,8 @@ import java.util.function.Supplier; /** - * This operator computes the single unique value of a particular aggregated state. If there are no values at all - * the 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. + * This operator computes the single unique value of a particular aggregated state. If there are no values at all the + * 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. * * it is intended to be used at the second, and higher levels of rollup. */ @@ -54,12 +53,12 @@ public class FloatRollupUniqueOperator implements IterativeChunkedAggregationOpe private WritableRowSet touchedStates; public FloatRollupUniqueOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls, - float onlyNullsSentinel, - float nonUniqueSentinel) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls, + float onlyNullsSentinel, + float nonUniqueSentinel) { this.name = name; this.countNull = countNulls; this.nonUniqueSentinel = nonUniqueSentinel; @@ -76,32 +75,32 @@ public FloatRollupUniqueOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final FloatSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -109,15 +108,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = FloatCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableFloatChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = FloatCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableFloatChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -128,8 +128,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -142,8 +146,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); final boolean anyAdded = ssm.insert(valueSlice, countSlice); updateResult(ssm, destination); stateModified.set(ii, anyAdded); @@ -151,30 +157,30 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final FloatSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -182,15 +188,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableFloatChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -201,8 +208,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -216,8 +227,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -229,30 +242,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final FloatSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -260,15 +273,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableFloatChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -277,8 +291,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -292,8 +310,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -319,104 +339,111 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); updateResult(ssm, destination); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final FloatSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), countNull); + FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; } final FloatSegmentedSortedMultiset ssm = ssmForSlot(destination); - final boolean anyAdded =ssm.insert(updatedValues, context.counts.get()); + final boolean anyAdded = ssm.insert(updatedValues, context.counts.get()); updateResult(ssm, destination); return anyAdded; } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final FloatSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableFloatChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), countNull); + FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -433,42 +460,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final FloatSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableFloatChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), countNull); + FloatCompactKernel.compactAndCount(context.valueCopy.get().asWritableFloatChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); FloatSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -491,9 +521,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu updateResult(ssm, destination); return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -514,37 +544,39 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), FloatRollupUniqueOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + FloatRollupUniqueOperator::flushPrevious); touchedStates = RowSetFactory.empty(); ssms.startTrackingPrevValues(); internalResult.startTrackingPrevValues(); } private static void flushPrevious(FloatRollupUniqueOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.ssms.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private void updateResult(FloatSegmentedSortedMultiset ssm, long destination) { - if(ssm.isEmpty()) { + if (ssm.isEmpty()) { internalResult.set(destination, onlyNullsSentinel); - } else if(ssm.size() == 1) { + } else if (ssm.size() == 1) { internalResult.set(destination, ssm.get(0)); } else { internalResult.set(destination, nonUniqueSentinel); @@ -558,7 +590,7 @@ private FloatSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { ssms.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -571,5 +603,5 @@ public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Float); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/IntChunkedUniqueOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/IntChunkedUniqueOperator.java index 22aa4071b76..7b605396b9e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/IntChunkedUniqueOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/IntChunkedUniqueOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedUniqueOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedUniqueOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.unique; import io.deephaven.engine.context.ExecutionContext; @@ -37,8 +36,8 @@ import java.util.function.Supplier; /** - * This operator computes the single unique value of a particular aggregated state. If there are no values at all - * the 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. + * This operator computes the single unique value of a particular aggregated state. If there are no values at all the + * 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. */ public class IntChunkedUniqueOperator implements IterativeChunkedAggregationOperator { private final String name; @@ -78,10 +77,11 @@ public IntChunkedUniqueOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -89,12 +89,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - IntCompactKernel.compactAndCount((WritableIntChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + IntCompactKernel.compactAndCount((WritableIntChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -106,15 +110,20 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -126,8 +135,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -138,8 +149,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -151,8 +166,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -175,27 +192,31 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - IntCompactKernel.compactAndCount((WritableIntChunk) context.valueCopy, context.counts, countNull); + IntCompactKernel.compactAndCount((WritableIntChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -205,7 +226,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -221,7 +243,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -238,9 +261,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return setResult(ssm, destination); } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -252,7 +275,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(IntChunkedUniqueOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -268,10 +291,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -281,20 +305,21 @@ public void ensureCapacity(long tableSize) { @Override public void startTrackingPrevValues() { internalResult.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } ssms.startTrackingPrevValues(); - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), IntChunkedUniqueOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + IntChunkedUniqueOperator::flushPrevious); touchedStates = RowSetFactory.empty(); } } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Int, size); @@ -304,9 +329,9 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Int, size); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private IntSegmentedSortedMultiset ssmForSlot(long destination) { return ssms.getOrCreate(destination); } @@ -317,9 +342,9 @@ private void clearSsm(long destination) { private boolean setResult(IntSegmentedSortedMultiset ssm, long destination) { final boolean resultChanged; - if(ssm.isEmpty()) { + if (ssm.isEmpty()) { resultChanged = internalResult.getAndSetUnsafe(destination, onlyNullsSentinel) != onlyNullsSentinel; - } else if(ssm.size() == 1) { + } else if (ssm.size() == 1) { final int newValue = ssm.get(0); resultChanged = internalResult.getAndSetUnsafe(destination, newValue) != newValue; } else { @@ -328,5 +353,5 @@ private boolean setResult(IntSegmentedSortedMultiset ssm, long destination) { return resultChanged || (exposeInternal && (ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0)); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/IntRollupUniqueOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/IntRollupUniqueOperator.java index bd1bd06bfab..01e1708ae9d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/IntRollupUniqueOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/IntRollupUniqueOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupUniqueOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupUniqueOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.unique; import io.deephaven.engine.context.ExecutionContext; @@ -34,8 +33,8 @@ import java.util.function.Supplier; /** - * This operator computes the single unique value of a particular aggregated state. If there are no values at all - * the 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. + * This operator computes the single unique value of a particular aggregated state. If there are no values at all the + * 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. * * it is intended to be used at the second, and higher levels of rollup. */ @@ -54,12 +53,12 @@ public class IntRollupUniqueOperator implements IterativeChunkedAggregationOpera private WritableRowSet touchedStates; public IntRollupUniqueOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls, - int onlyNullsSentinel, - int nonUniqueSentinel) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls, + int onlyNullsSentinel, + int nonUniqueSentinel) { this.name = name; this.countNull = countNulls; this.nonUniqueSentinel = nonUniqueSentinel; @@ -76,32 +75,32 @@ public IntRollupUniqueOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final IntSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -109,15 +108,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = IntCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableIntChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = IntCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableIntChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -128,8 +128,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -142,8 +146,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); final boolean anyAdded = ssm.insert(valueSlice, countSlice); updateResult(ssm, destination); stateModified.set(ii, anyAdded); @@ -151,30 +157,30 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final IntSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -182,15 +188,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableIntChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -201,8 +208,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -216,8 +227,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -229,30 +242,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final IntSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -260,15 +273,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableIntChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -277,8 +291,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -292,8 +310,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -319,104 +339,111 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); updateResult(ssm, destination); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final IntSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), countNull); + IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; } final IntSegmentedSortedMultiset ssm = ssmForSlot(destination); - final boolean anyAdded =ssm.insert(updatedValues, context.counts.get()); + final boolean anyAdded = ssm.insert(updatedValues, context.counts.get()); updateResult(ssm, destination); return anyAdded; } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final IntSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableIntChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), countNull); + IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -433,42 +460,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final IntSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableIntChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), countNull); + IntCompactKernel.compactAndCount(context.valueCopy.get().asWritableIntChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); IntSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -491,9 +521,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu updateResult(ssm, destination); return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -514,37 +544,39 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), IntRollupUniqueOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + IntRollupUniqueOperator::flushPrevious); touchedStates = RowSetFactory.empty(); ssms.startTrackingPrevValues(); internalResult.startTrackingPrevValues(); } private static void flushPrevious(IntRollupUniqueOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.ssms.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private void updateResult(IntSegmentedSortedMultiset ssm, long destination) { - if(ssm.isEmpty()) { + if (ssm.isEmpty()) { internalResult.set(destination, onlyNullsSentinel); - } else if(ssm.size() == 1) { + } else if (ssm.size() == 1) { internalResult.set(destination, ssm.get(0)); } else { internalResult.set(destination, nonUniqueSentinel); @@ -558,7 +590,7 @@ private IntSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { ssms.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -571,5 +603,5 @@ public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Int); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/LongChunkedUniqueOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/LongChunkedUniqueOperator.java index 9588274adf9..5482c650043 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/LongChunkedUniqueOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/LongChunkedUniqueOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedUniqueOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedUniqueOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.unique; import java.time.Instant; @@ -42,8 +41,8 @@ import java.util.function.Supplier; /** - * This operator computes the single unique value of a particular aggregated state. If there are no values at all - * the 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. + * This operator computes the single unique value of a particular aggregated state. If there are no values at all the + * 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. */ public class LongChunkedUniqueOperator implements IterativeChunkedAggregationOperator { private final String name; @@ -88,10 +87,11 @@ public LongChunkedUniqueOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -99,12 +99,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - LongCompactKernel.compactAndCount((WritableLongChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + LongCompactKernel.compactAndCount((WritableLongChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -116,15 +120,20 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -136,8 +145,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -148,8 +159,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -161,8 +176,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -185,27 +202,31 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - LongCompactKernel.compactAndCount((WritableLongChunk) context.valueCopy, context.counts, countNull); + LongCompactKernel.compactAndCount((WritableLongChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -215,7 +236,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -231,7 +253,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -248,9 +271,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return setResult(ssm, destination); } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -262,7 +285,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(LongChunkedUniqueOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -278,10 +301,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -291,20 +315,21 @@ public void ensureCapacity(long tableSize) { @Override public void startTrackingPrevValues() { internalResult.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } ssms.startTrackingPrevValues(); - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), LongChunkedUniqueOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + LongChunkedUniqueOperator::flushPrevious); touchedStates = RowSetFactory.empty(); } } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Long, size); @@ -314,9 +339,9 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Long, size); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private LongSegmentedSortedMultiset ssmForSlot(long destination) { return ssms.getOrCreate(destination); } @@ -327,9 +352,9 @@ private void clearSsm(long destination) { private boolean setResult(LongSegmentedSortedMultiset ssm, long destination) { final boolean resultChanged; - if(ssm.isEmpty()) { + if (ssm.isEmpty()) { resultChanged = internalResult.getAndSetUnsafe(destination, onlyNullsSentinel) != onlyNullsSentinel; - } else if(ssm.size() == 1) { + } else if (ssm.size() == 1) { final long newValue = ssm.get(0); resultChanged = internalResult.getAndSetUnsafe(destination, newValue) != newValue; } else { @@ -338,5 +363,5 @@ private boolean setResult(LongSegmentedSortedMultiset ssm, long destination) { return resultChanged || (exposeInternal && (ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0)); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/LongRollupUniqueOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/LongRollupUniqueOperator.java index 3b75888c9eb..b55fdee80fa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/LongRollupUniqueOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/LongRollupUniqueOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupUniqueOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupUniqueOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.unique; import java.time.Instant; @@ -39,8 +38,8 @@ import java.util.function.Supplier; /** - * This operator computes the single unique value of a particular aggregated state. If there are no values at all - * the 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. + * This operator computes the single unique value of a particular aggregated state. If there are no values at all the + * 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. * * it is intended to be used at the second, and higher levels of rollup. */ @@ -59,13 +58,13 @@ public class LongRollupUniqueOperator implements IterativeChunkedAggregationOper private WritableRowSet touchedStates; public LongRollupUniqueOperator( - // region Constructor + // region Constructor Class type, - // endregion Constructor - String name, - boolean countNulls, - long onlyNullsSentinel, - long nonUniqueSentinel) { + // endregion Constructor + String name, + boolean countNulls, + long onlyNullsSentinel, + long nonUniqueSentinel) { this.name = name; this.countNull = countNulls; this.nonUniqueSentinel = nonUniqueSentinel; @@ -86,32 +85,32 @@ public LongRollupUniqueOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final LongSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -119,15 +118,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = LongCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableLongChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = LongCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableLongChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -138,8 +138,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -152,8 +156,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); final boolean anyAdded = ssm.insert(valueSlice, countSlice); updateResult(ssm, destination); stateModified.set(ii, anyAdded); @@ -161,30 +167,30 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final LongSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -192,15 +198,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableLongChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -211,8 +218,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -226,8 +237,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -239,30 +252,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final LongSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -270,15 +283,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableLongChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -287,8 +301,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -302,8 +320,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -329,104 +349,111 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); updateResult(ssm, destination); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final LongSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), countNull); + LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; } final LongSegmentedSortedMultiset ssm = ssmForSlot(destination); - final boolean anyAdded =ssm.insert(updatedValues, context.counts.get()); + final boolean anyAdded = ssm.insert(updatedValues, context.counts.get()); updateResult(ssm, destination); return anyAdded; } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final LongSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableLongChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), countNull); + LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -443,42 +470,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final LongSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableLongChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), countNull); + LongCompactKernel.compactAndCount(context.valueCopy.get().asWritableLongChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); LongSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -501,9 +531,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu updateResult(ssm, destination); return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -524,37 +554,39 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), LongRollupUniqueOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + LongRollupUniqueOperator::flushPrevious); touchedStates = RowSetFactory.empty(); ssms.startTrackingPrevValues(); internalResult.startTrackingPrevValues(); } private static void flushPrevious(LongRollupUniqueOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.ssms.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private void updateResult(LongSegmentedSortedMultiset ssm, long destination) { - if(ssm.isEmpty()) { + if (ssm.isEmpty()) { internalResult.set(destination, onlyNullsSentinel); - } else if(ssm.size() == 1) { + } else if (ssm.size() == 1) { internalResult.set(destination, ssm.get(0)); } else { internalResult.set(destination, nonUniqueSentinel); @@ -568,7 +600,7 @@ private LongSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { ssms.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -581,5 +613,5 @@ public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Long); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ObjectChunkedUniqueOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ObjectChunkedUniqueOperator.java index 01da2f46bd8..b55eeff554e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ObjectChunkedUniqueOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ObjectChunkedUniqueOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedUniqueOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedUniqueOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.unique; import io.deephaven.engine.context.ExecutionContext; @@ -37,8 +36,8 @@ import java.util.function.Supplier; /** - * This operator computes the single unique value of a particular aggregated state. If there are no values at all - * the 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. + * This operator computes the single unique value of a particular aggregated state. If there are no values at all the + * 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. */ public class ObjectChunkedUniqueOperator implements IterativeChunkedAggregationOperator { private final String name; @@ -79,10 +78,11 @@ public ObjectChunkedUniqueOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -90,12 +90,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - ObjectCompactKernel.compactAndCount((WritableObjectChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + ObjectCompactKernel.compactAndCount((WritableObjectChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -107,15 +111,20 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -127,8 +136,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -139,8 +150,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -152,8 +167,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -176,27 +193,31 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - ObjectCompactKernel.compactAndCount((WritableObjectChunk) context.valueCopy, context.counts, countNull); + ObjectCompactKernel.compactAndCount((WritableObjectChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -206,7 +227,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -222,7 +244,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -239,9 +262,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return setResult(ssm, destination); } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -253,7 +276,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(ObjectChunkedUniqueOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -269,10 +292,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -282,20 +306,21 @@ public void ensureCapacity(long tableSize) { @Override public void startTrackingPrevValues() { internalResult.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } ssms.startTrackingPrevValues(); - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), ObjectChunkedUniqueOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + ObjectChunkedUniqueOperator::flushPrevious); touchedStates = RowSetFactory.empty(); } } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Object, size); @@ -305,9 +330,9 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Object, size); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private ObjectSegmentedSortedMultiset ssmForSlot(long destination) { return ssms.getOrCreate(destination); } @@ -318,9 +343,9 @@ private void clearSsm(long destination) { private boolean setResult(ObjectSegmentedSortedMultiset ssm, long destination) { final boolean resultChanged; - if(ssm.isEmpty()) { + if (ssm.isEmpty()) { resultChanged = internalResult.getAndSetUnsafe(destination, onlyNullsSentinel) != onlyNullsSentinel; - } else if(ssm.size() == 1) { + } else if (ssm.size() == 1) { final Object newValue = ssm.get(0); resultChanged = internalResult.getAndSetUnsafe(destination, newValue) != newValue; } else { @@ -329,5 +354,5 @@ private boolean setResult(ObjectSegmentedSortedMultiset ssm, long destination) { return resultChanged || (exposeInternal && (ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0)); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ObjectRollupUniqueOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ObjectRollupUniqueOperator.java index 99cc4c7cba3..bda2527039d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ObjectRollupUniqueOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ObjectRollupUniqueOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupUniqueOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupUniqueOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.unique; import io.deephaven.engine.context.ExecutionContext; @@ -34,8 +33,8 @@ import java.util.function.Supplier; /** - * This operator computes the single unique value of a particular aggregated state. If there are no values at all - * the 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. + * This operator computes the single unique value of a particular aggregated state. If there are no values at all the + * 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. * * it is intended to be used at the second, and higher levels of rollup. */ @@ -54,13 +53,13 @@ public class ObjectRollupUniqueOperator implements IterativeChunkedAggregationOp private WritableRowSet touchedStates; public ObjectRollupUniqueOperator( - // region Constructor + // region Constructor Class type, - // endregion Constructor - String name, - boolean countNulls, - Object onlyNullsSentinel, - Object nonUniqueSentinel) { + // endregion Constructor + String name, + boolean countNulls, + Object onlyNullsSentinel, + Object nonUniqueSentinel) { this.name = name; this.countNull = countNulls; this.nonUniqueSentinel = nonUniqueSentinel; @@ -77,32 +76,32 @@ public ObjectRollupUniqueOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ObjectSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -110,15 +109,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = ObjectCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableObjectChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = ObjectCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableObjectChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -129,8 +129,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -143,8 +147,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); final boolean anyAdded = ssm.insert(valueSlice, countSlice); updateResult(ssm, destination); stateModified.set(ii, anyAdded); @@ -152,30 +158,30 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ObjectSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -183,15 +189,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableObjectChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -202,8 +209,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -217,8 +228,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -230,30 +243,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ObjectSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -261,15 +274,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableObjectChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -278,8 +292,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -293,8 +311,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -320,104 +340,111 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); updateResult(ssm, destination); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ObjectSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), countNull); + ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; } final ObjectSegmentedSortedMultiset ssm = ssmForSlot(destination); - final boolean anyAdded =ssm.insert(updatedValues, context.counts.get()); + final boolean anyAdded = ssm.insert(updatedValues, context.counts.get()); updateResult(ssm, destination); return anyAdded; } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ObjectSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableObjectChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), countNull); + ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -434,42 +461,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ObjectSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableObjectChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), countNull); + ObjectCompactKernel.compactAndCount(context.valueCopy.get().asWritableObjectChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); ObjectSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -492,9 +522,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu updateResult(ssm, destination); return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -515,37 +545,39 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), ObjectRollupUniqueOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + ObjectRollupUniqueOperator::flushPrevious); touchedStates = RowSetFactory.empty(); ssms.startTrackingPrevValues(); internalResult.startTrackingPrevValues(); } private static void flushPrevious(ObjectRollupUniqueOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.ssms.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private void updateResult(ObjectSegmentedSortedMultiset ssm, long destination) { - if(ssm.isEmpty()) { + if (ssm.isEmpty()) { internalResult.set(destination, onlyNullsSentinel); - } else if(ssm.size() == 1) { + } else if (ssm.size() == 1) { internalResult.set(destination, ssm.get(0)); } else { internalResult.set(destination, nonUniqueSentinel); @@ -559,7 +591,7 @@ private ObjectSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { ssms.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -572,5 +604,5 @@ public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Object); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ShortChunkedUniqueOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ShortChunkedUniqueOperator.java index db1c2c441c6..cf6c0f7ba8d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ShortChunkedUniqueOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ShortChunkedUniqueOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkedUniqueOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkedUniqueOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.unique; import io.deephaven.engine.context.ExecutionContext; @@ -37,8 +36,8 @@ import java.util.function.Supplier; /** - * This operator computes the single unique value of a particular aggregated state. If there are no values at all - * the 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. + * This operator computes the single unique value of a particular aggregated state. If there are no values at all the + * 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. */ public class ShortChunkedUniqueOperator implements IterativeChunkedAggregationOperator { private final String name; @@ -78,10 +77,11 @@ public ShortChunkedUniqueOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates @NotNull - private BucketSsmDistinctContext getAndUpdateContext(Chunk values, IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { - final BucketSsmDistinctContext context = (BucketSsmDistinctContext)bucketedContext; + private BucketSsmDistinctContext getAndUpdateContext(Chunk values, + IntChunk startPositions, IntChunk length, BucketedContext bucketedContext) { + final BucketSsmDistinctContext context = (BucketSsmDistinctContext) bucketedContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); @@ -89,12 +89,16 @@ private BucketSsmDistinctContext getAndUpdateContext(Chunk val context.lengthCopy.setSize(length.size()); context.lengthCopy.copyFromChunk(length, 0, 0, length.size()); - ShortCompactKernel.compactAndCount((WritableShortChunk) context.valueCopy, context.counts, startPositions, context.lengthCopy, countNull); + ShortCompactKernel.compactAndCount((WritableShortChunk) context.valueCopy, context.counts, + startPositions, context.lengthCopy, countNull); return context; } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -106,15 +110,20 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(startPosition); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { final BucketSsmDistinctContext context = getAndUpdateContext(values, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -126,8 +135,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -138,8 +149,12 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctContext context = getAndUpdateContext(preValues, startPositions, length, bucketedContext); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctContext context = + getAndUpdateContext(preValues, startPositions, length, bucketedContext); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, startPositions.size(), false); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -151,8 +166,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(startPosition); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -175,27 +192,31 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts, startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy, startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts, startPosition, runLength); ssm.insert(valueSlice, countSlice); stateModified.set(ii, setResult(ssm, destination)); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates @NotNull private SsmDistinctContext getAndUpdateContext(Chunk values, SingletonContext singletonContext) { final SsmDistinctContext context = (SsmDistinctContext) singletonContext; context.valueCopy.setSize(values.size()); context.valueCopy.copyFromChunk(values, 0, 0, values.size()); - ShortCompactKernel.compactAndCount((WritableShortChunk) context.valueCopy, context.counts, countNull); + ShortCompactKernel.compactAndCount((WritableShortChunk) context.valueCopy, context.counts, + countNull); return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); if (context.valueCopy.size() > 0) { @@ -205,7 +226,8 @@ public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk< } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(values, singletonContext); if (context.valueCopy.size() == 0) { return false; @@ -221,7 +243,8 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { final SsmDistinctContext context = getAndUpdateContext(preValues, singletonContext); if (context.valueCopy.size() > 0) { final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); @@ -238,9 +261,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu return setResult(ssm, destination); } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -252,7 +275,7 @@ public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet ne } private static void flushPrevious(ShortChunkedUniqueOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } @@ -268,10 +291,11 @@ public void ensureCapacity(long tableSize) { @Override public Map> getResultColumns() { - if(exposeInternal) { + if (exposeInternal) { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @@ -281,20 +305,21 @@ public void ensureCapacity(long tableSize) { @Override public void startTrackingPrevValues() { internalResult.startTrackingPrevValues(); - if(exposeInternal) { + if (exposeInternal) { if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } ssms.startTrackingPrevValues(); - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), ShortChunkedUniqueOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + ShortChunkedUniqueOperator::flushPrevious); touchedStates = RowSetFactory.empty(); } } - //endregion + // endregion - //region Contexts + // region Contexts @Override public BucketedContext makeBucketedContext(int size) { return new BucketSsmDistinctContext(ChunkType.Short, size); @@ -304,9 +329,9 @@ public BucketedContext makeBucketedContext(int size) { public SingletonContext makeSingletonContext(int size) { return new SsmDistinctContext(ChunkType.Short, size); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private ShortSegmentedSortedMultiset ssmForSlot(long destination) { return ssms.getOrCreate(destination); } @@ -317,9 +342,9 @@ private void clearSsm(long destination) { private boolean setResult(ShortSegmentedSortedMultiset ssm, long destination) { final boolean resultChanged; - if(ssm.isEmpty()) { + if (ssm.isEmpty()) { resultChanged = internalResult.getAndSetUnsafe(destination, onlyNullsSentinel) != onlyNullsSentinel; - } else if(ssm.size() == 1) { + } else if (ssm.size() == 1) { final short newValue = ssm.get(0); resultChanged = internalResult.getAndSetUnsafe(destination, newValue) != newValue; } else { @@ -328,5 +353,5 @@ private boolean setResult(ShortSegmentedSortedMultiset ssm, long destination) { return resultChanged || (exposeInternal && (ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0)); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ShortRollupUniqueOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ShortRollupUniqueOperator.java index 0a57859d2f8..58e3a094a36 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ShortRollupUniqueOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmcountdistinct/unique/ShortRollupUniqueOperator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollupUniqueOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollupUniqueOperator and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmcountdistinct.unique; import io.deephaven.engine.context.ExecutionContext; @@ -34,8 +33,8 @@ import java.util.function.Supplier; /** - * This operator computes the single unique value of a particular aggregated state. If there are no values at all - * the 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. + * This operator computes the single unique value of a particular aggregated state. If there are no values at all the + * 'no value key' is used. If there are more than one values for the state, the 'non unique key' is used. * * it is intended to be used at the second, and higher levels of rollup. */ @@ -54,12 +53,12 @@ public class ShortRollupUniqueOperator implements IterativeChunkedAggregationOpe private WritableRowSet touchedStates; public ShortRollupUniqueOperator( - // region Constructor - // endregion Constructor - String name, - boolean countNulls, - short onlyNullsSentinel, - short nonUniqueSentinel) { + // region Constructor + // endregion Constructor + String name, + boolean countNulls, + short onlyNullsSentinel, + short nonUniqueSentinel) { this.name = name; this.countNull = countNulls; this.nonUniqueSentinel = nonUniqueSentinel; @@ -76,32 +75,32 @@ public ShortRollupUniqueOperator( removeContextFactory = SegmentedSortedMultiSet.makeRemoveContextFactory(SsmDistinctContext.NODE_SIZE); } - //region Bucketed Updates + // region Bucketed Updates private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupContext bucketedContext, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); bucketedContext.lengthCopy.setSize(lengths.size()); bucketedContext.starts.setSize(lengths.size()); - if(bucketedContext.valueCopy.get() != null) { + if (bucketedContext.valueCopy.get() != null) { bucketedContext.valueCopy.get().setSize(0); bucketedContext.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { bucketedContext.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ShortSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } @@ -109,15 +108,16 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo ssm.fillKeyChunk(bucketedContext.valueCopy.get(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. bucketedContext.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { bucketedContext.counts.ensureCapacityPreserve(currentPos + newLength); bucketedContext.counts.get().setSize(currentPos + newLength); - newLength = ShortCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableShortChunk(), bucketedContext.counts.get(), currentPos, newLength, countNull); + newLength = ShortCompactKernel.compactAndCount(bucketedContext.valueCopy.get().asWritableShortChunk(), + bucketedContext.counts.get(), currentPos, newLength, countNull); } bucketedContext.lengthCopy.set(ii, newLength); @@ -128,8 +128,12 @@ private BucketSsmDistinctRollupContext updateAddValues(BucketSsmDistinctRollupCo } @Override - public void addChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateAddValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void addChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateAddValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); for (int ii = 0; ii < startPositions.size(); ++ii) { final int runLength = context.lengthCopy.get(ii); @@ -142,8 +146,10 @@ public void addChunk(BucketedContext bucketedContext, Chunk va final long destination = destinations.get(origStartPos); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); final boolean anyAdded = ssm.insert(valueSlice, countSlice); updateResult(ssm, destination); stateModified.set(ii, anyAdded); @@ -151,30 +157,30 @@ public void addChunk(BucketedContext bucketedContext, Chunk va } private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ShortSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } @@ -182,15 +188,16 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu ssm.fillRemovedChunk(context.valueCopy.get().asWritableShortChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -201,8 +208,12 @@ private BucketSsmDistinctRollupContext updateRemoveValues(BucketSsmDistinctRollu } @Override - public void removeChunk(BucketedContext bucketedContext, Chunk values, LongChunk inputRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, values, startPositions, length); + public void removeChunk(BucketedContext bucketedContext, Chunk values, + LongChunk inputRowKeys, IntChunk destinations, + IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, values, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); for (int ii = 0; ii < startPositions.size(); ++ii) { @@ -216,8 +227,10 @@ public void removeChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPos); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { clearSsm(destination); @@ -229,30 +242,30 @@ public void removeChunk(BucketedContext bucketedContext, Chunk } private void updateModifyAddValues(BucketSsmDistinctRollupContext context, - Chunk inputs, - IntChunk starts, - IntChunk lengths) { + Chunk inputs, + IntChunk starts, + IntChunk lengths) { final ObjectChunk inputValues = inputs.asObjectChunk(); context.lengthCopy.setSize(lengths.size()); context.starts.setSize(lengths.size()); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } // Now fill the valueCopy set with the expanded underlying SSMs int currentPos = 0; - for(int ii = 0; ii< starts.size(); ii++) { + for (int ii = 0; ii < starts.size(); ii++) { context.starts.set(ii, currentPos); final int startPos = starts.get(ii); final int curLength = lengths.get(ii); int newLength = 0; - for(int kk = startPos; kk < startPos + curLength; kk++) { + for (int kk = startPos; kk < startPos + curLength; kk++) { final ShortSegmentedSortedMultiset ssm = inputValues.get(kk); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } @@ -260,15 +273,16 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, ssm.fillAddedChunk(context.valueCopy.get().asWritableShortChunk(), currentPos + newLength); newLength += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos + newLength); } // If we wrote anything into values, compact and count them, and recompute the updated length - if(newLength > 0) { + if (newLength > 0) { context.counts.ensureCapacityPreserve(currentPos + newLength); context.counts.get().setSize(currentPos + newLength); - newLength = ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), currentPos, newLength, countNull); + newLength = ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), + context.counts.get(), currentPos, newLength, countNull); } context.lengthCopy.set(ii, newLength); @@ -277,8 +291,12 @@ private void updateModifyAddValues(BucketSsmDistinctRollupContext context, } @Override - public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, IntChunk destinations, IntChunk startPositions, IntChunk length, WritableBooleanChunk stateModified) { - final BucketSsmDistinctRollupContext context = updateRemoveValues((BucketSsmDistinctRollupContext)bucketedContext, preValues, startPositions, length); + public void modifyChunk(BucketedContext bucketedContext, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, + IntChunk destinations, IntChunk startPositions, IntChunk length, + WritableBooleanChunk stateModified) { + final BucketSsmDistinctRollupContext context = + updateRemoveValues((BucketSsmDistinctRollupContext) bucketedContext, preValues, startPositions, length); final SegmentedSortedMultiSet.RemoveContext removeContext = removeContextFactory.get(); context.ssmsToMaybeClear.fillWithValue(0, destinations.size(), false); @@ -292,8 +310,10 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk final long destination = destinations.get(origStartPosition); final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.remove(removeContext, valueSlice, countSlice); if (ssm.size() == 0) { context.ssmsToMaybeClear.set(ii, true); @@ -319,104 +339,111 @@ public void modifyChunk(BucketedContext bucketedContext, Chunk continue; } - final WritableChunk valueSlice = context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); - final WritableIntChunk countSlice = context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); + final WritableChunk valueSlice = + context.valueResettable.resetFromChunk(context.valueCopy.get(), startPosition, runLength); + final WritableIntChunk countSlice = + context.countResettable.resetFromChunk(context.counts.get(), startPosition, runLength); ssm.insert(valueSlice, countSlice); updateResult(ssm, destination); stateModified.set(ii, ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0); } } - //endregion + // endregion - //region Singleton Updates + // region Singleton Updates private SsmDistinctRollupContext updateAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ShortSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.intSize()) == 0) { + if (ssm == null || (size = ssm.intSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillKeyChunk(context.valueCopy.get(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), countNull); + ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext)singletonContext, values); + public boolean addChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = updateAddValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; } final ShortSegmentedSortedMultiset ssm = ssmForSlot(destination); - final boolean anyAdded =ssm.insert(updatedValues, context.counts.get()); + final boolean anyAdded = ssm.insert(updatedValues, context.counts.get()); updateResult(ssm, destination); return anyAdded; } private SsmDistinctRollupContext updateRemoveValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return context; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ShortSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getRemovedSize()) == 0) { + if (ssm == null || (size = ssm.getRemovedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillRemovedChunk(context.valueCopy.get().asWritableShortChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), countNull); + ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), + countNull); } return context; } @Override - public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, LongChunk inputRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, values); + public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chunk values, + LongChunk inputRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, values); final WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues == null || updatedValues.size() == 0) { return false; @@ -433,42 +460,45 @@ public boolean removeChunk(SingletonContext singletonContext, int chunkSize, Chu } private void updateModifyAddValues(SsmDistinctRollupContext context, - Chunk inputs) { + Chunk inputs) { final ObjectChunk values = inputs.asObjectChunk(); - if(context.valueCopy.get() != null) { + if (context.valueCopy.get() != null) { context.valueCopy.get().setSize(0); context.counts.get().setSize(0); } - if(values.size() == 0) { + if (values.size() == 0) { return; } int currentPos = 0; - for(int ii = 0; ii < values.size(); ii++) { + for (int ii = 0; ii < values.size(); ii++) { final ShortSegmentedSortedMultiset ssm = values.get(ii); final int size; - if(ssm == null || (size = ssm.getAddedSize()) == 0) { + if (ssm == null || (size = ssm.getAddedSize()) == 0) { continue; } context.valueCopy.ensureCapacityPreserve(currentPos + size); ssm.fillAddedChunk(context.valueCopy.get().asWritableShortChunk(), currentPos); currentPos += size; - //we have to do this every time otherwise ensureCapacityPreserve will not do anything. + // we have to do this every time otherwise ensureCapacityPreserve will not do anything. context.valueCopy.get().setSize(currentPos); } - if(currentPos > 0) { + if (currentPos > 0) { context.counts.ensureCapacityPreserve(currentPos); context.counts.get().setSize(currentPos); - ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), countNull); + ShortCompactKernel.compactAndCount(context.valueCopy.get().asWritableShortChunk(), context.counts.get(), + countNull); } } @Override - public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, Chunk postValues, LongChunk postShiftRowKeys, long destination) { - final SsmDistinctRollupContext context = updateRemoveValues((SsmDistinctRollupContext)singletonContext, preValues); + public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chunk preValues, + Chunk postValues, LongChunk postShiftRowKeys, long destination) { + final SsmDistinctRollupContext context = + updateRemoveValues((SsmDistinctRollupContext) singletonContext, preValues); ShortSegmentedSortedMultiset ssm = null; WritableChunk updatedValues = context.valueCopy.get(); if (updatedValues != null && updatedValues.size() > 0) { @@ -491,9 +521,9 @@ public boolean modifyChunk(SingletonContext singletonContext, int chunkSize, Chu updateResult(ssm, destination); return ssm.getAddedSize() > 0 || ssm.getRemovedSize() > 0; } - //endregion + // endregion - //region IterativeOperator / DistinctAggregationOperator + // region IterativeOperator / DistinctAggregationOperator @Override public void propagateUpdates(@NotNull TableUpdate downstream, @NotNull RowSet newDestinations) { if (touchedStates != null) { @@ -514,37 +544,39 @@ public void ensureCapacity(long tableSize) { public Map> getResultColumns() { final Map> columns = new LinkedHashMap<>(); columns.put(name, externalResult); - columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, ssms.getUnderlyingSource()); + columns.put(name + RollupConstants.ROLLUP_DISTINCT_SSM_COLUMN_ID + RollupConstants.ROLLUP_COLUMN_SUFFIX, + ssms.getUnderlyingSource()); return columns; } @Override public void startTrackingPrevValues() { - if(prevFlusher != null) { + if (prevFlusher != null) { throw new IllegalStateException("startTrackingPrevValues must only be called once"); } - prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), ShortRollupUniqueOperator::flushPrevious); + prevFlusher = new UpdateCommitter<>(this, ExecutionContext.getContext().getUpdateGraph(), + ShortRollupUniqueOperator::flushPrevious); touchedStates = RowSetFactory.empty(); ssms.startTrackingPrevValues(); internalResult.startTrackingPrevValues(); } private static void flushPrevious(ShortRollupUniqueOperator op) { - if(op.touchedStates == null || op.touchedStates.isEmpty()) { + if (op.touchedStates == null || op.touchedStates.isEmpty()) { return; } op.ssms.clearDeltas(op.touchedStates); op.touchedStates.clear(); } - //endregion + // endregion - //region Private Helpers + // region Private Helpers private void updateResult(ShortSegmentedSortedMultiset ssm, long destination) { - if(ssm.isEmpty()) { + if (ssm.isEmpty()) { internalResult.set(destination, onlyNullsSentinel); - } else if(ssm.size() == 1) { + } else if (ssm.size() == 1) { internalResult.set(destination, ssm.get(0)); } else { internalResult.set(destination, nonUniqueSentinel); @@ -558,7 +590,7 @@ private ShortSegmentedSortedMultiset ssmForSlot(long destination) { private void clearSsm(long destination) { ssms.clear(destination); } - //endregion + // endregion // region Contexts @Override @@ -571,5 +603,5 @@ public SingletonContext makeSingletonContext(int size) { return new SsmDistinctRollupContext(ChunkType.Short); } - //endregion + // endregion } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/BooleanSetResult.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/BooleanSetResult.java index 02615054fa2..a32895bcbd8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/BooleanSetResult.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/BooleanSetResult.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmminmax; import io.deephaven.engine.table.WritableColumnSource; @@ -26,7 +26,7 @@ public boolean setResult(SegmentedSortedMultiSet ssm, long destination) { newResult = null; } else { final ObjectSegmentedSortedMultiset objectSsm = (ObjectSegmentedSortedMultiset) ssm; - newResult = (Boolean)(minimum ? objectSsm.getMinObject() : objectSsm.getMaxObject()); + newResult = (Boolean) (minimum ? objectSsm.getMinObject() : objectSsm.getMaxObject()); } return setResult(destination, newResult); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/ByteSetResult.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/ByteSetResult.java index 0e55b8fb2d3..c462fcf580f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/ByteSetResult.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/ByteSetResult.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSetResult and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSetResult and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmminmax; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/CharSetResult.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/CharSetResult.java index 5c0736c980b..21019f5dd29 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/CharSetResult.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/CharSetResult.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmminmax; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/DoubleSetResult.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/DoubleSetResult.java index 76ad3ad5921..8b93c4a008f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/DoubleSetResult.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/DoubleSetResult.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSetResult and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSetResult and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmminmax; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/FloatSetResult.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/FloatSetResult.java index 014e4e63368..c338676b723 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/FloatSetResult.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/FloatSetResult.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSetResult and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSetResult and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmminmax; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/InstantSetResult.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/InstantSetResult.java index 24d25cd5137..64eadc075c9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/InstantSetResult.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/InstantSetResult.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmminmax; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/IntSetResult.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/IntSetResult.java index b2f6ba30c66..008d1f392da 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/IntSetResult.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/IntSetResult.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSetResult and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSetResult and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmminmax; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/LongSetResult.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/LongSetResult.java index 84ad8715c5b..84ad614956f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/LongSetResult.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/LongSetResult.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSetResult and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSetResult and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmminmax; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/ObjectSetResult.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/ObjectSetResult.java index c803c5dd2be..e24f94c50b1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/ObjectSetResult.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/ObjectSetResult.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSetResult and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSetResult and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmminmax; import java.util.Objects; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/ShortSetResult.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/ShortSetResult.java index 0b2b5b435ee..4df039ffc24 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/ShortSetResult.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/ShortSetResult.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSetResult and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSetResult and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmminmax; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/SsmChunkedMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/SsmChunkedMinMaxOperator.java index 12d637c1a7f..5681bf5f2cc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/SsmChunkedMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmminmax/SsmChunkedMinMaxOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmminmax; import io.deephaven.chunk.attributes.ChunkLengths; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/BooleanPercentileTypeHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/BooleanPercentileTypeHelper.java index a26d4c47777..5bc118722c9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/BooleanPercentileTypeHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/BooleanPercentileTypeHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.chunk.attributes.ChunkLengths; @@ -44,7 +44,7 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet ssmLo.moveBackToFront(ssmHi, loSize - targetLo); } - return setResult(destination, (Boolean)((ObjectSegmentedSortedMultiset)ssmLo).getMaxObject()); + return setResult(destination, (Boolean) ((ObjectSegmentedSortedMultiset) ssmLo).getMaxObject()); } } @@ -60,16 +60,17 @@ private boolean setResult(long destination, Boolean newResult) { } @Override - public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { final ObjectChunk asObjectChunk = valueCopy.asObjectChunk(); - final ObjectSegmentedSortedMultiset ssmLo = (ObjectSegmentedSortedMultiset)segmentedSortedMultiSet; + final ObjectSegmentedSortedMultiset ssmLo = (ObjectSegmentedSortedMultiset) segmentedSortedMultiSet; final Object hiValue = ssmLo.getMaxObject(); final int result = upperBound(asObjectChunk, startPosition, startPosition + runLength, hiValue); final long hiCount = ssmLo.getMaxCount(); if (result > startPosition && asObjectChunk.get(result - 1) == hiValue && counts.get(result - 1) > hiCount) { - leftOvers.setValue((int)(counts.get(result - 1) - hiCount)); + leftOvers.setValue((int) (counts.get(result - 1) - hiCount)); } else { leftOvers.setValue(0); } @@ -78,9 +79,10 @@ public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength) { final ObjectChunk asObjectChunk = valueCopy.asObjectChunk(); - final ObjectSegmentedSortedMultiset ssmLo = (ObjectSegmentedSortedMultiset)segmentedSortedMultiSet; + final ObjectSegmentedSortedMultiset ssmLo = (ObjectSegmentedSortedMultiset) segmentedSortedMultiSet; final Object hiValue = ssmLo.getMaxObject(); final int result = upperBound(asObjectChunk, startPosition, startPosition + runLength, hiValue); @@ -97,7 +99,8 @@ public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valuesToSearch, int lo, int hi, Object searchValue) { + private static int upperBound(ObjectChunk valuesToSearch, int lo, int hi, + Object searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final Object testValue = valuesToSearch.get(mid); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/BytePercentileTypeHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/BytePercentileTypeHelper.java index af7ecc715ac..ad5558ba817 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/BytePercentileTypeHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/BytePercentileTypeHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPercentileTypeHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPercentileTypeHelper and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.chunk.attributes.ChunkLengths; @@ -49,7 +48,7 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet ssmLo.moveBackToFront(ssmHi, loSize - targetLo); } - return setResult(destination, ((ByteSegmentedSortedMultiset)ssmLo).getMaxByte()); + return setResult(destination, ((ByteSegmentedSortedMultiset) ssmLo).getMaxByte()); } } @@ -64,16 +63,18 @@ private boolean setResult(long destination, byte newResult) { } @Override - public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { final ByteChunk asByteChunk = valueCopy.asByteChunk(); - final ByteSegmentedSortedMultiset ssmLo = (ByteSegmentedSortedMultiset)segmentedSortedMultiSet; + final ByteSegmentedSortedMultiset ssmLo = (ByteSegmentedSortedMultiset) segmentedSortedMultiSet; final byte hiValue = ssmLo.getMaxByte(); final int result = upperBound(asByteChunk, startPosition, startPosition + runLength, hiValue); final long hiCount = ssmLo.getMaxCount(); - if (result > startPosition && ByteComparisons.eq(asByteChunk.get(result - 1), hiValue) && counts.get(result - 1) > hiCount) { - leftOvers.setValue((int)(counts.get(result - 1) - hiCount)); + if (result > startPosition && ByteComparisons.eq(asByteChunk.get(result - 1), hiValue) + && counts.get(result - 1) > hiCount) { + leftOvers.setValue((int) (counts.get(result - 1) - hiCount)); } else { leftOvers.setValue(0); } @@ -82,9 +83,10 @@ public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength) { final ByteChunk asByteChunk = valueCopy.asByteChunk(); - final ByteSegmentedSortedMultiset ssmLo = (ByteSegmentedSortedMultiset)segmentedSortedMultiSet; + final ByteSegmentedSortedMultiset ssmLo = (ByteSegmentedSortedMultiset) segmentedSortedMultiSet; final byte hiValue = ssmLo.getMaxByte(); final int result = upperBound(asByteChunk, startPosition, startPosition + runLength, hiValue); @@ -123,4 +125,4 @@ private static int doComparison(byte lhs, byte rhs) { private static boolean gt(byte lhs, byte rhs) { return doComparison(lhs, rhs) > 0; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/BytePercentileTypeMedianHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/BytePercentileTypeMedianHelper.java index 1a53c117b64..c8c50d25cfe 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/BytePercentileTypeMedianHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/BytePercentileTypeMedianHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPercentileTypeMedianHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPercentileTypeMedianHelper and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.engine.table.WritableColumnSource; @@ -23,7 +22,7 @@ public class BytePercentileTypeMedianHelper extends BytePercentileTypeHelper { super(percentile, null); this.percentile = percentile; // region resultColumn - this.resultColumn = (DoubleArraySource)resultColumn; + this.resultColumn = (DoubleArraySource) resultColumn; // endregion } @@ -37,7 +36,7 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet if (totalSize == 0) { newResult = NULL_DOUBLE; } else { - final long targetLo = (int)((totalSize - 1) * percentile) + 1; + final long targetLo = (int) ((totalSize - 1) * percentile) + 1; if (loSize < targetLo) { ssmHi.moveFrontToBack(ssmLo, targetLo - loSize); } else if (loSize > targetLo) { @@ -46,10 +45,11 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet if (ssmLo.totalSize() == ssmHi.totalSize()) { // region averageEvenlyDivided - return setResult(destination, (((ByteSegmentedSortedMultiset)ssmLo).getMaxByte() + ((ByteSegmentedSortedMultiset)ssmHi).getMinByte()) / 2.0); + return setResult(destination, (((ByteSegmentedSortedMultiset) ssmLo).getMaxByte() + + ((ByteSegmentedSortedMultiset) ssmHi).getMinByte()) / 2.0); // endregion averageEvenlyDivided } else { - return setResult(destination, ((ByteSegmentedSortedMultiset)ssmLo).getMaxByte()); + return setResult(destination, ((ByteSegmentedSortedMultiset) ssmLo).getMaxByte()); } } return setResult(destination, newResult); @@ -64,4 +64,4 @@ private boolean setResult(long destination, double newResult) { final double oldResult = resultColumn.getAndSetUnsafe(destination, newResult); return oldResult != newResult; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/CharPercentileTypeHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/CharPercentileTypeHelper.java index 4cf34c7c58d..e1a7dc44e2c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/CharPercentileTypeHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/CharPercentileTypeHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.chunk.attributes.ChunkLengths; @@ -44,7 +44,7 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet ssmLo.moveBackToFront(ssmHi, loSize - targetLo); } - return setResult(destination, ((CharSegmentedSortedMultiset)ssmLo).getMaxChar()); + return setResult(destination, ((CharSegmentedSortedMultiset) ssmLo).getMaxChar()); } } @@ -59,16 +59,18 @@ private boolean setResult(long destination, char newResult) { } @Override - public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { final CharChunk asCharChunk = valueCopy.asCharChunk(); - final CharSegmentedSortedMultiset ssmLo = (CharSegmentedSortedMultiset)segmentedSortedMultiSet; + final CharSegmentedSortedMultiset ssmLo = (CharSegmentedSortedMultiset) segmentedSortedMultiSet; final char hiValue = ssmLo.getMaxChar(); final int result = upperBound(asCharChunk, startPosition, startPosition + runLength, hiValue); final long hiCount = ssmLo.getMaxCount(); - if (result > startPosition && CharComparisons.eq(asCharChunk.get(result - 1), hiValue) && counts.get(result - 1) > hiCount) { - leftOvers.setValue((int)(counts.get(result - 1) - hiCount)); + if (result > startPosition && CharComparisons.eq(asCharChunk.get(result - 1), hiValue) + && counts.get(result - 1) > hiCount) { + leftOvers.setValue((int) (counts.get(result - 1) - hiCount)); } else { leftOvers.setValue(0); } @@ -77,9 +79,10 @@ public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength) { final CharChunk asCharChunk = valueCopy.asCharChunk(); - final CharSegmentedSortedMultiset ssmLo = (CharSegmentedSortedMultiset)segmentedSortedMultiSet; + final CharSegmentedSortedMultiset ssmLo = (CharSegmentedSortedMultiset) segmentedSortedMultiSet; final char hiValue = ssmLo.getMaxChar(); final int result = upperBound(asCharChunk, startPosition, startPosition + runLength, hiValue); @@ -118,4 +121,4 @@ private static int doComparison(char lhs, char rhs) { private static boolean gt(char lhs, char rhs) { return doComparison(lhs, rhs) > 0; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/CharPercentileTypeMedianHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/CharPercentileTypeMedianHelper.java index 42864c4e39d..7df2ca5b1d2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/CharPercentileTypeMedianHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/CharPercentileTypeMedianHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.engine.table.WritableColumnSource; @@ -18,7 +18,7 @@ public class CharPercentileTypeMedianHelper extends CharPercentileTypeHelper { super(percentile, null); this.percentile = percentile; // region resultColumn - this.resultColumn = (DoubleArraySource)resultColumn; + this.resultColumn = (DoubleArraySource) resultColumn; // endregion } @@ -32,7 +32,7 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet if (totalSize == 0) { newResult = NULL_DOUBLE; } else { - final long targetLo = (int)((totalSize - 1) * percentile) + 1; + final long targetLo = (int) ((totalSize - 1) * percentile) + 1; if (loSize < targetLo) { ssmHi.moveFrontToBack(ssmLo, targetLo - loSize); } else if (loSize > targetLo) { @@ -41,10 +41,11 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet if (ssmLo.totalSize() == ssmHi.totalSize()) { // region averageEvenlyDivided - return setResult(destination, (((CharSegmentedSortedMultiset)ssmLo).getMaxChar() + ((CharSegmentedSortedMultiset)ssmHi).getMinChar()) / 2.0); + return setResult(destination, (((CharSegmentedSortedMultiset) ssmLo).getMaxChar() + + ((CharSegmentedSortedMultiset) ssmHi).getMinChar()) / 2.0); // endregion averageEvenlyDivided } else { - return setResult(destination, ((CharSegmentedSortedMultiset)ssmLo).getMaxChar()); + return setResult(destination, ((CharSegmentedSortedMultiset) ssmLo).getMaxChar()); } } return setResult(destination, newResult); @@ -59,4 +60,4 @@ private boolean setResult(long destination, double newResult) { final double oldResult = resultColumn.getAndSetUnsafe(destination, newResult); return oldResult != newResult; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/DoublePercentileTypeHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/DoublePercentileTypeHelper.java index c0def03af67..6c33ef8571a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/DoublePercentileTypeHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/DoublePercentileTypeHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPercentileTypeHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPercentileTypeHelper and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.chunk.attributes.ChunkLengths; @@ -49,7 +48,7 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet ssmLo.moveBackToFront(ssmHi, loSize - targetLo); } - return setResult(destination, ((DoubleSegmentedSortedMultiset)ssmLo).getMaxDouble()); + return setResult(destination, ((DoubleSegmentedSortedMultiset) ssmLo).getMaxDouble()); } } @@ -64,16 +63,18 @@ private boolean setResult(long destination, double newResult) { } @Override - public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { final DoubleChunk asDoubleChunk = valueCopy.asDoubleChunk(); - final DoubleSegmentedSortedMultiset ssmLo = (DoubleSegmentedSortedMultiset)segmentedSortedMultiSet; + final DoubleSegmentedSortedMultiset ssmLo = (DoubleSegmentedSortedMultiset) segmentedSortedMultiSet; final double hiValue = ssmLo.getMaxDouble(); final int result = upperBound(asDoubleChunk, startPosition, startPosition + runLength, hiValue); final long hiCount = ssmLo.getMaxCount(); - if (result > startPosition && DoubleComparisons.eq(asDoubleChunk.get(result - 1), hiValue) && counts.get(result - 1) > hiCount) { - leftOvers.setValue((int)(counts.get(result - 1) - hiCount)); + if (result > startPosition && DoubleComparisons.eq(asDoubleChunk.get(result - 1), hiValue) + && counts.get(result - 1) > hiCount) { + leftOvers.setValue((int) (counts.get(result - 1) - hiCount)); } else { leftOvers.setValue(0); } @@ -82,9 +83,10 @@ public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength) { final DoubleChunk asDoubleChunk = valueCopy.asDoubleChunk(); - final DoubleSegmentedSortedMultiset ssmLo = (DoubleSegmentedSortedMultiset)segmentedSortedMultiSet; + final DoubleSegmentedSortedMultiset ssmLo = (DoubleSegmentedSortedMultiset) segmentedSortedMultiSet; final double hiValue = ssmLo.getMaxDouble(); final int result = upperBound(asDoubleChunk, startPosition, startPosition + runLength, hiValue); @@ -123,4 +125,4 @@ private static int doComparison(double lhs, double rhs) { private static boolean gt(double lhs, double rhs) { return doComparison(lhs, rhs) > 0; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/DoublePercentileTypeMedianHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/DoublePercentileTypeMedianHelper.java index 3ada481d66b..0bce7523a67 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/DoublePercentileTypeMedianHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/DoublePercentileTypeMedianHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatPercentileTypeMedianHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatPercentileTypeMedianHelper and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.engine.table.WritableColumnSource; @@ -22,7 +21,7 @@ public class DoublePercentileTypeMedianHelper extends DoublePercentileTypeHelper DoublePercentileTypeMedianHelper(double percentile, WritableColumnSource resultColumn) { super(percentile, resultColumn); this.percentile = percentile; - this.resultColumn = (DoubleArraySource)resultColumn; + this.resultColumn = (DoubleArraySource) resultColumn; } @Override @@ -34,7 +33,7 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet if (totalSize == 0) { return setResult(destination, NULL_DOUBLE); } else { - final long targetLo = (int)((totalSize - 1) * percentile) + 1; + final long targetLo = (int) ((totalSize - 1) * percentile) + 1; if (loSize < targetLo) { ssmHi.moveFrontToBack(ssmLo, targetLo - loSize); } else if (loSize > targetLo) { @@ -42,10 +41,11 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet } if (ssmLo.totalSize() == ssmHi.totalSize()) { - final double divisor = (double)2.0; - return setResult(destination, (((DoubleSegmentedSortedMultiset)ssmLo).getMaxDouble() + ((DoubleSegmentedSortedMultiset)ssmHi).getMinDouble()) / divisor); + final double divisor = (double) 2.0; + return setResult(destination, (((DoubleSegmentedSortedMultiset) ssmLo).getMaxDouble() + + ((DoubleSegmentedSortedMultiset) ssmHi).getMinDouble()) / divisor); } else { - return setResult(destination, ((DoubleSegmentedSortedMultiset)ssmLo).getMaxDouble()); + return setResult(destination, ((DoubleSegmentedSortedMultiset) ssmLo).getMaxDouble()); } } } @@ -59,4 +59,4 @@ private boolean setResult(long destination, double newResult) { final double oldResult = resultColumn.getAndSetUnsafe(destination, newResult); return oldResult != newResult; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/FloatPercentileTypeHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/FloatPercentileTypeHelper.java index 124c724f991..f265641f89b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/FloatPercentileTypeHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/FloatPercentileTypeHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPercentileTypeHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPercentileTypeHelper and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.chunk.attributes.ChunkLengths; @@ -49,7 +48,7 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet ssmLo.moveBackToFront(ssmHi, loSize - targetLo); } - return setResult(destination, ((FloatSegmentedSortedMultiset)ssmLo).getMaxFloat()); + return setResult(destination, ((FloatSegmentedSortedMultiset) ssmLo).getMaxFloat()); } } @@ -64,16 +63,18 @@ private boolean setResult(long destination, float newResult) { } @Override - public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { final FloatChunk asFloatChunk = valueCopy.asFloatChunk(); - final FloatSegmentedSortedMultiset ssmLo = (FloatSegmentedSortedMultiset)segmentedSortedMultiSet; + final FloatSegmentedSortedMultiset ssmLo = (FloatSegmentedSortedMultiset) segmentedSortedMultiSet; final float hiValue = ssmLo.getMaxFloat(); final int result = upperBound(asFloatChunk, startPosition, startPosition + runLength, hiValue); final long hiCount = ssmLo.getMaxCount(); - if (result > startPosition && FloatComparisons.eq(asFloatChunk.get(result - 1), hiValue) && counts.get(result - 1) > hiCount) { - leftOvers.setValue((int)(counts.get(result - 1) - hiCount)); + if (result > startPosition && FloatComparisons.eq(asFloatChunk.get(result - 1), hiValue) + && counts.get(result - 1) > hiCount) { + leftOvers.setValue((int) (counts.get(result - 1) - hiCount)); } else { leftOvers.setValue(0); } @@ -82,9 +83,10 @@ public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength) { final FloatChunk asFloatChunk = valueCopy.asFloatChunk(); - final FloatSegmentedSortedMultiset ssmLo = (FloatSegmentedSortedMultiset)segmentedSortedMultiSet; + final FloatSegmentedSortedMultiset ssmLo = (FloatSegmentedSortedMultiset) segmentedSortedMultiSet; final float hiValue = ssmLo.getMaxFloat(); final int result = upperBound(asFloatChunk, startPosition, startPosition + runLength, hiValue); @@ -123,4 +125,4 @@ private static int doComparison(float lhs, float rhs) { private static boolean gt(float lhs, float rhs) { return doComparison(lhs, rhs) > 0; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/FloatPercentileTypeMedianHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/FloatPercentileTypeMedianHelper.java index 0a0921bf5b7..d1ae8ce959b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/FloatPercentileTypeMedianHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/FloatPercentileTypeMedianHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.engine.table.WritableColumnSource; @@ -17,7 +17,7 @@ public class FloatPercentileTypeMedianHelper extends FloatPercentileTypeHelper { FloatPercentileTypeMedianHelper(double percentile, WritableColumnSource resultColumn) { super(percentile, resultColumn); this.percentile = percentile; - this.resultColumn = (FloatArraySource)resultColumn; + this.resultColumn = (FloatArraySource) resultColumn; } @Override @@ -29,7 +29,7 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet if (totalSize == 0) { return setResult(destination, NULL_FLOAT); } else { - final long targetLo = (int)((totalSize - 1) * percentile) + 1; + final long targetLo = (int) ((totalSize - 1) * percentile) + 1; if (loSize < targetLo) { ssmHi.moveFrontToBack(ssmLo, targetLo - loSize); } else if (loSize > targetLo) { @@ -37,10 +37,11 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet } if (ssmLo.totalSize() == ssmHi.totalSize()) { - final float divisor = (float)2.0; - return setResult(destination, (((FloatSegmentedSortedMultiset)ssmLo).getMaxFloat() + ((FloatSegmentedSortedMultiset)ssmHi).getMinFloat()) / divisor); + final float divisor = (float) 2.0; + return setResult(destination, (((FloatSegmentedSortedMultiset) ssmLo).getMaxFloat() + + ((FloatSegmentedSortedMultiset) ssmHi).getMinFloat()) / divisor); } else { - return setResult(destination, ((FloatSegmentedSortedMultiset)ssmLo).getMaxFloat()); + return setResult(destination, ((FloatSegmentedSortedMultiset) ssmLo).getMaxFloat()); } } } @@ -54,4 +55,4 @@ private boolean setResult(long destination, float newResult) { final float oldResult = resultColumn.getAndSetUnsafe(destination, newResult); return oldResult != newResult; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/InstantPercentileTypeHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/InstantPercentileTypeHelper.java index 923b82c1286..57ef8942864 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/InstantPercentileTypeHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/InstantPercentileTypeHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.chunk.attributes.ChunkLengths; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/IntPercentileTypeHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/IntPercentileTypeHelper.java index a90e351f97b..766a0e4ddea 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/IntPercentileTypeHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/IntPercentileTypeHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPercentileTypeHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPercentileTypeHelper and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.chunk.attributes.ChunkLengths; @@ -49,7 +48,7 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet ssmLo.moveBackToFront(ssmHi, loSize - targetLo); } - return setResult(destination, ((IntSegmentedSortedMultiset)ssmLo).getMaxInt()); + return setResult(destination, ((IntSegmentedSortedMultiset) ssmLo).getMaxInt()); } } @@ -64,16 +63,18 @@ private boolean setResult(long destination, int newResult) { } @Override - public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { final IntChunk asIntChunk = valueCopy.asIntChunk(); - final IntSegmentedSortedMultiset ssmLo = (IntSegmentedSortedMultiset)segmentedSortedMultiSet; + final IntSegmentedSortedMultiset ssmLo = (IntSegmentedSortedMultiset) segmentedSortedMultiSet; final int hiValue = ssmLo.getMaxInt(); final int result = upperBound(asIntChunk, startPosition, startPosition + runLength, hiValue); final long hiCount = ssmLo.getMaxCount(); - if (result > startPosition && IntComparisons.eq(asIntChunk.get(result - 1), hiValue) && counts.get(result - 1) > hiCount) { - leftOvers.setValue((int)(counts.get(result - 1) - hiCount)); + if (result > startPosition && IntComparisons.eq(asIntChunk.get(result - 1), hiValue) + && counts.get(result - 1) > hiCount) { + leftOvers.setValue((int) (counts.get(result - 1) - hiCount)); } else { leftOvers.setValue(0); } @@ -82,9 +83,10 @@ public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength) { final IntChunk asIntChunk = valueCopy.asIntChunk(); - final IntSegmentedSortedMultiset ssmLo = (IntSegmentedSortedMultiset)segmentedSortedMultiSet; + final IntSegmentedSortedMultiset ssmLo = (IntSegmentedSortedMultiset) segmentedSortedMultiSet; final int hiValue = ssmLo.getMaxInt(); final int result = upperBound(asIntChunk, startPosition, startPosition + runLength, hiValue); @@ -123,4 +125,4 @@ private static int doComparison(int lhs, int rhs) { private static boolean gt(int lhs, int rhs) { return doComparison(lhs, rhs) > 0; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/IntPercentileTypeMedianHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/IntPercentileTypeMedianHelper.java index da6c7eb8a51..f25101ed09d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/IntPercentileTypeMedianHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/IntPercentileTypeMedianHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPercentileTypeMedianHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPercentileTypeMedianHelper and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.engine.table.WritableColumnSource; @@ -23,7 +22,7 @@ public class IntPercentileTypeMedianHelper extends IntPercentileTypeHelper { super(percentile, null); this.percentile = percentile; // region resultColumn - this.resultColumn = (DoubleArraySource)resultColumn; + this.resultColumn = (DoubleArraySource) resultColumn; // endregion } @@ -37,7 +36,7 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet if (totalSize == 0) { newResult = NULL_DOUBLE; } else { - final long targetLo = (int)((totalSize - 1) * percentile) + 1; + final long targetLo = (int) ((totalSize - 1) * percentile) + 1; if (loSize < targetLo) { ssmHi.moveFrontToBack(ssmLo, targetLo - loSize); } else if (loSize > targetLo) { @@ -46,10 +45,11 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet if (ssmLo.totalSize() == ssmHi.totalSize()) { // region averageEvenlyDivided - return setResult(destination, (((IntSegmentedSortedMultiset)ssmLo).getMaxInt() + ((IntSegmentedSortedMultiset)ssmHi).getMinInt()) / 2.0); + return setResult(destination, (((IntSegmentedSortedMultiset) ssmLo).getMaxInt() + + ((IntSegmentedSortedMultiset) ssmHi).getMinInt()) / 2.0); // endregion averageEvenlyDivided } else { - return setResult(destination, ((IntSegmentedSortedMultiset)ssmLo).getMaxInt()); + return setResult(destination, ((IntSegmentedSortedMultiset) ssmLo).getMaxInt()); } } return setResult(destination, newResult); @@ -64,4 +64,4 @@ private boolean setResult(long destination, double newResult) { final double oldResult = resultColumn.getAndSetUnsafe(destination, newResult); return oldResult != newResult; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/LongPercentileTypeHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/LongPercentileTypeHelper.java index 721d929a179..8e153e7c123 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/LongPercentileTypeHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/LongPercentileTypeHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPercentileTypeHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPercentileTypeHelper and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.chunk.attributes.ChunkLengths; @@ -49,7 +48,7 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet ssmLo.moveBackToFront(ssmHi, loSize - targetLo); } - return setResult(destination, ((LongSegmentedSortedMultiset)ssmLo).getMaxLong()); + return setResult(destination, ((LongSegmentedSortedMultiset) ssmLo).getMaxLong()); } } @@ -64,16 +63,18 @@ private boolean setResult(long destination, long newResult) { } @Override - public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { final LongChunk asLongChunk = valueCopy.asLongChunk(); - final LongSegmentedSortedMultiset ssmLo = (LongSegmentedSortedMultiset)segmentedSortedMultiSet; + final LongSegmentedSortedMultiset ssmLo = (LongSegmentedSortedMultiset) segmentedSortedMultiSet; final long hiValue = ssmLo.getMaxLong(); final int result = upperBound(asLongChunk, startPosition, startPosition + runLength, hiValue); final long hiCount = ssmLo.getMaxCount(); - if (result > startPosition && LongComparisons.eq(asLongChunk.get(result - 1), hiValue) && counts.get(result - 1) > hiCount) { - leftOvers.setValue((int)(counts.get(result - 1) - hiCount)); + if (result > startPosition && LongComparisons.eq(asLongChunk.get(result - 1), hiValue) + && counts.get(result - 1) > hiCount) { + leftOvers.setValue((int) (counts.get(result - 1) - hiCount)); } else { leftOvers.setValue(0); } @@ -82,9 +83,10 @@ public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength) { final LongChunk asLongChunk = valueCopy.asLongChunk(); - final LongSegmentedSortedMultiset ssmLo = (LongSegmentedSortedMultiset)segmentedSortedMultiSet; + final LongSegmentedSortedMultiset ssmLo = (LongSegmentedSortedMultiset) segmentedSortedMultiSet; final long hiValue = ssmLo.getMaxLong(); final int result = upperBound(asLongChunk, startPosition, startPosition + runLength, hiValue); @@ -123,4 +125,4 @@ private static int doComparison(long lhs, long rhs) { private static boolean gt(long lhs, long rhs) { return doComparison(lhs, rhs) > 0; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/LongPercentileTypeMedianHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/LongPercentileTypeMedianHelper.java index 412be9e4ce2..5b38daed15c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/LongPercentileTypeMedianHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/LongPercentileTypeMedianHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPercentileTypeMedianHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPercentileTypeMedianHelper and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.engine.table.WritableColumnSource; @@ -23,7 +22,7 @@ public class LongPercentileTypeMedianHelper extends LongPercentileTypeHelper { super(percentile, null); this.percentile = percentile; // region resultColumn - this.resultColumn = (DoubleArraySource)resultColumn; + this.resultColumn = (DoubleArraySource) resultColumn; // endregion } @@ -37,7 +36,7 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet if (totalSize == 0) { newResult = NULL_DOUBLE; } else { - final long targetLo = (int)((totalSize - 1) * percentile) + 1; + final long targetLo = (int) ((totalSize - 1) * percentile) + 1; if (loSize < targetLo) { ssmHi.moveFrontToBack(ssmLo, targetLo - loSize); } else if (loSize > targetLo) { @@ -46,10 +45,11 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet if (ssmLo.totalSize() == ssmHi.totalSize()) { // region averageEvenlyDivided - return setResult(destination, (((LongSegmentedSortedMultiset)ssmLo).getMaxLong() + ((LongSegmentedSortedMultiset)ssmHi).getMinLong()) / 2.0); + return setResult(destination, (((LongSegmentedSortedMultiset) ssmLo).getMaxLong() + + ((LongSegmentedSortedMultiset) ssmHi).getMinLong()) / 2.0); // endregion averageEvenlyDivided } else { - return setResult(destination, ((LongSegmentedSortedMultiset)ssmLo).getMaxLong()); + return setResult(destination, ((LongSegmentedSortedMultiset) ssmLo).getMaxLong()); } } return setResult(destination, newResult); @@ -64,4 +64,4 @@ private boolean setResult(long destination, double newResult) { final double oldResult = resultColumn.getAndSetUnsafe(destination, newResult); return oldResult != newResult; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/ObjectPercentileTypeHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/ObjectPercentileTypeHelper.java index ed17fe05e91..6d5db3e55a4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/ObjectPercentileTypeHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/ObjectPercentileTypeHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPercentileTypeHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPercentileTypeHelper and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmpercentile; import java.util.Objects; @@ -50,7 +49,7 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet ssmLo.moveBackToFront(ssmHi, loSize - targetLo); } - return setResult(destination, ((ObjectSegmentedSortedMultiset)ssmLo).getMaxObject()); + return setResult(destination, ((ObjectSegmentedSortedMultiset) ssmLo).getMaxObject()); } } @@ -65,16 +64,18 @@ private boolean setResult(long destination, Object newResult) { } @Override - public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { final ObjectChunk asObjectChunk = valueCopy.asObjectChunk(); - final ObjectSegmentedSortedMultiset ssmLo = (ObjectSegmentedSortedMultiset)segmentedSortedMultiSet; + final ObjectSegmentedSortedMultiset ssmLo = (ObjectSegmentedSortedMultiset) segmentedSortedMultiSet; final Object hiValue = ssmLo.getMaxObject(); final int result = upperBound(asObjectChunk, startPosition, startPosition + runLength, hiValue); final long hiCount = ssmLo.getMaxCount(); - if (result > startPosition && ObjectComparisons.eq(asObjectChunk.get(result - 1), hiValue) && counts.get(result - 1) > hiCount) { - leftOvers.setValue((int)(counts.get(result - 1) - hiCount)); + if (result > startPosition && ObjectComparisons.eq(asObjectChunk.get(result - 1), hiValue) + && counts.get(result - 1) > hiCount) { + leftOvers.setValue((int) (counts.get(result - 1) - hiCount)); } else { leftOvers.setValue(0); } @@ -83,9 +84,10 @@ public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength) { final ObjectChunk asObjectChunk = valueCopy.asObjectChunk(); - final ObjectSegmentedSortedMultiset ssmLo = (ObjectSegmentedSortedMultiset)segmentedSortedMultiSet; + final ObjectSegmentedSortedMultiset ssmLo = (ObjectSegmentedSortedMultiset) segmentedSortedMultiSet; final Object hiValue = ssmLo.getMaxObject(); final int result = upperBound(asObjectChunk, startPosition, startPosition + runLength, hiValue); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/ShortPercentileTypeHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/ShortPercentileTypeHelper.java index 636afef0114..4011a59152a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/ShortPercentileTypeHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/ShortPercentileTypeHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPercentileTypeHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPercentileTypeHelper and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.chunk.attributes.ChunkLengths; @@ -49,7 +48,7 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet ssmLo.moveBackToFront(ssmHi, loSize - targetLo); } - return setResult(destination, ((ShortSegmentedSortedMultiset)ssmLo).getMaxShort()); + return setResult(destination, ((ShortSegmentedSortedMultiset) ssmLo).getMaxShort()); } } @@ -64,16 +63,18 @@ private boolean setResult(long destination, short newResult) { } @Override - public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength, MutableInt leftOvers) { final ShortChunk asShortChunk = valueCopy.asShortChunk(); - final ShortSegmentedSortedMultiset ssmLo = (ShortSegmentedSortedMultiset)segmentedSortedMultiSet; + final ShortSegmentedSortedMultiset ssmLo = (ShortSegmentedSortedMultiset) segmentedSortedMultiSet; final short hiValue = ssmLo.getMaxShort(); final int result = upperBound(asShortChunk, startPosition, startPosition + runLength, hiValue); final long hiCount = ssmLo.getMaxCount(); - if (result > startPosition && ShortComparisons.eq(asShortChunk.get(result - 1), hiValue) && counts.get(result - 1) > hiCount) { - leftOvers.setValue((int)(counts.get(result - 1) - hiCount)); + if (result > startPosition && ShortComparisons.eq(asShortChunk.get(result - 1), hiValue) + && counts.get(result - 1) > hiCount) { + leftOvers.setValue((int) (counts.get(result - 1) - hiCount)); } else { leftOvers.setValue(0); } @@ -82,9 +83,10 @@ public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, IntChunk counts, int startPosition, int runLength) { + public int pivot(SegmentedSortedMultiSet segmentedSortedMultiSet, Chunk valueCopy, + IntChunk counts, int startPosition, int runLength) { final ShortChunk asShortChunk = valueCopy.asShortChunk(); - final ShortSegmentedSortedMultiset ssmLo = (ShortSegmentedSortedMultiset)segmentedSortedMultiSet; + final ShortSegmentedSortedMultiset ssmLo = (ShortSegmentedSortedMultiset) segmentedSortedMultiSet; final short hiValue = ssmLo.getMaxShort(); final int result = upperBound(asShortChunk, startPosition, startPosition + runLength, hiValue); @@ -123,4 +125,4 @@ private static int doComparison(short lhs, short rhs) { private static boolean gt(short lhs, short rhs) { return doComparison(lhs, rhs) > 0; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/ShortPercentileTypeMedianHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/ShortPercentileTypeMedianHelper.java index 874c529c14a..4193533bf68 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/ShortPercentileTypeMedianHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/ShortPercentileTypeMedianHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPercentileTypeMedianHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPercentileTypeMedianHelper and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.engine.table.WritableColumnSource; @@ -23,7 +22,7 @@ public class ShortPercentileTypeMedianHelper extends ShortPercentileTypeHelper { super(percentile, null); this.percentile = percentile; // region resultColumn - this.resultColumn = (DoubleArraySource)resultColumn; + this.resultColumn = (DoubleArraySource) resultColumn; // endregion } @@ -37,7 +36,7 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet if (totalSize == 0) { newResult = NULL_DOUBLE; } else { - final long targetLo = (int)((totalSize - 1) * percentile) + 1; + final long targetLo = (int) ((totalSize - 1) * percentile) + 1; if (loSize < targetLo) { ssmHi.moveFrontToBack(ssmLo, targetLo - loSize); } else if (loSize > targetLo) { @@ -46,10 +45,11 @@ public boolean setResult(SegmentedSortedMultiSet ssmLo, SegmentedSortedMultiSet if (ssmLo.totalSize() == ssmHi.totalSize()) { // region averageEvenlyDivided - return setResult(destination, (((ShortSegmentedSortedMultiset)ssmLo).getMaxShort() + ((ShortSegmentedSortedMultiset)ssmHi).getMinShort()) / 2.0); + return setResult(destination, (((ShortSegmentedSortedMultiset) ssmLo).getMaxShort() + + ((ShortSegmentedSortedMultiset) ssmHi).getMinShort()) / 2.0); // endregion averageEvenlyDivided } else { - return setResult(destination, ((ShortSegmentedSortedMultiset)ssmLo).getMaxShort()); + return setResult(destination, ((ShortSegmentedSortedMultiset) ssmLo).getMaxShort()); } } return setResult(destination, newResult); @@ -64,4 +64,4 @@ private boolean setResult(long destination, double newResult) { final double oldResult = resultColumn.getAndSetUnsafe(destination, newResult); return oldResult != newResult; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/SsmChunkedPercentileOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/SsmChunkedPercentileOperator.java index b37044f97ba..ba942ca7d90 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/SsmChunkedPercentileOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/ssmpercentile/SsmChunkedPercentileOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.ssmpercentile; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/HasherConfig.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/HasherConfig.java index d1024c861a4..331cc32ab79 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/HasherConfig.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/HasherConfig.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.typed; import com.squareup.javapoet.CodeBlock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/TypedAggregationFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/TypedAggregationFactory.java index 62f07f36ec1..dc70b0400b0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/TypedAggregationFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/TypedAggregationFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by.typed; import com.squareup.javapoet.CodeBlock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByte.java index a263e0c7709..fc2d2960766 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteByte.java index 26e08308b5a..18ab83457cc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteChar.java index c680c00215d..2cea7d80a54 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteDouble.java index a2e211c4ce0..f088557fa3f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteFloat.java index 2ba4809e603..fe2465a7dd8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteInt.java index e3051355029..da24b0ce8de 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteLong.java index 34cbc3f930d..5fd0c4583dc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteObject.java index 52c5a8b8067..bb16de7fefd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteShort.java index 314a41df846..4b57f3993b7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherByteShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherChar.java index c72fa20bce4..797442686aa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharByte.java index b59b2ee4bdc..8204e5cf5b4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharChar.java index e5ad6033643..1882b1e938a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharDouble.java index 6382aabc4ec..a7ca34dd0ee 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharFloat.java index ef26c16b971..2128d647982 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharInt.java index ef2e4d1004e..fb65c887244 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharLong.java index f36d4058286..7f8dae4d1b1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharObject.java index bd4266c9bb3..ad66a6585d6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharShort.java index b72fd22a710..33d15720efb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherCharShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDouble.java index 7083ac57c15..13182576c08 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleByte.java index 40fbde7733e..864a051e897 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleChar.java index 1d45e583f8f..09ecdbe0852 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleDouble.java index a034406afad..d85aa05899a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleFloat.java index 6c8640555c2..7521ef8bbff 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleInt.java index 879aa8a04ff..87300d021b7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleLong.java index 7dc2a42109f..c694fcb6f46 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleObject.java index 8d2e532825e..6e94c382acc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleShort.java index 85f1caeca19..0a3e5ffba21 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherDoubleShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloat.java index fde7f2c5d13..0b297c82e28 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatByte.java index 42e1f38b53f..95d6b0900f2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatChar.java index 77db0687c2d..0b52c0d4993 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatDouble.java index f7d768e98b4..45ac96dec4e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatFloat.java index 6d538945242..588729bf6bb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatInt.java index c7e65088258..ade719c7d99 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatLong.java index be427a46e0e..d53b9666cfa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatObject.java index d5543a3a171..93c4d5ce75a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatShort.java index dfad5c9feeb..ff115f86c8c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherFloatShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherInt.java index bce5067b1cb..56722b58a95 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntByte.java index 0cdcacc9be3..9efb0d3addc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntChar.java index 7fd11d42630..ecb1136488f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntDouble.java index 8633db78543..3e31ade61cb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntFloat.java index ffbc461e18d..db69359fa81 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntInt.java index c460472efaf..7603037a445 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntLong.java index 5a30651de67..1a5c872cb2e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntObject.java index 534dcf439b5..f702859dd0f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntShort.java index 30238c5af4d..ce96c8dce56 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherIntShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLong.java index a21e3a9177f..58336962c88 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongByte.java index 2c28d2a0736..baff9009c34 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongChar.java index 737ef884672..bdb73cc21d1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongDouble.java index 3be465fc2a5..e6e1d61ca9d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongFloat.java index a1404c78cb0..9b2b0973360 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongInt.java index 36f1272b8c2..4a1f669e901 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongLong.java index 3a9d1061967..85935f632bf 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongObject.java index be6873103f9..ba0a9b63d77 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongShort.java index 2d12913c556..d5ef400c600 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherLongShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObject.java index 90c0876884c..fed83e882d3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectByte.java index 7d149e4d856..a4024744a6e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectChar.java index d85c70bcb64..43a4a4bedaa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectDouble.java index 34c05515fb8..81dbe34af5d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectFloat.java index 82a2a1a3993..660ac226ce8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectInt.java index 3afd97d82cc..10e854a075e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectLong.java index b24bcf773f0..15f0f25fcb7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectObject.java index 879b3382d66..f2a877369d4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectShort.java index 092d6b5f785..31e3e53ccd7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherObjectShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShort.java index 750638b7041..83d8003b595 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortByte.java index 9b35ba6ed7f..5acffa9fb59 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortChar.java index 356decd6bdb..d746d61ec23 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortDouble.java index 9301181315e..bebf4eef4a2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortFloat.java index fc064c1cb01..aa082b626fd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortInt.java index ecd52866826..0d7ce727ea0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortLong.java index 4f3759dc520..1b7d8ae2a49 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortObject.java index 864c0261453..0e6f5706cfd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortShort.java index 62041001e4f..0967549677e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/IncrementalAggHasherShortShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/TypedHashDispatcher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/TypedHashDispatcher.java index 7a35f3c18e1..fd1dadb4089 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/TypedHashDispatcher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incagg/gen/TypedHashDispatcher.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.replicators.ReplicateTypedHashers -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incagg.gen; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByte.java index 7ab767aea5f..1f724cc6334 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteByte.java index 47ebf10b221..30f1b54a78c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteChar.java index da16cabd3ec..d140b8f95a1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteDouble.java index ecb33421869..b6124a280d8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteFloat.java index 80080e9e7b5..7cdfe32a962 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteInt.java index a54ad3521b3..98d48e71b64 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteLong.java index a2788fda890..aabe8933dbb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteObject.java index da5d1f0e91f..0d34c75328e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteShort.java index 5bb102985ce..8832cb8da05 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherByteShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherChar.java index b550e81d220..86820867e47 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharByte.java index 343a3db6a26..4d8dabdb0cc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharChar.java index 3f82c512ce9..5041b5f671e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharDouble.java index f91b253f399..23b290386e8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharFloat.java index 9d39d966117..dbc60659221 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharInt.java index 5bbd0805a06..d19d496c961 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharLong.java index e84b250ae35..1e3ae83a1c0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharObject.java index 37763b91e2c..e7710a4b0d6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharShort.java index eae41c7fd30..b3cf032ce82 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherCharShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDouble.java index bf557e33d5c..82416fd1852 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleByte.java index 0452803695c..769b6150595 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleChar.java index cbfd39d82f5..12a0ac3860b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleDouble.java index bbe4fa04792..2df6f8839d3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleFloat.java index ae2de918bd7..c02187b1102 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleInt.java index d8e65404767..1561e34009f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleLong.java index c11065a4382..c4f05d68b9a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleObject.java index 9019b61be3d..537c6673a1d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleShort.java index 9b2a899ee9c..0a65e73c58c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherDoubleShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloat.java index 2ed104d2734..e81809cc7b6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatByte.java index edb1cbadd93..0cffb9f4c2e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatChar.java index 9bb7706a780..8b7012d578d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatDouble.java index a10768495df..03742ed989b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatFloat.java index c533dd83615..cad9c25a45c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatInt.java index a8e653935bf..0b229295c60 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatLong.java index 52bc5d1d041..93e4d930f7e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatObject.java index a4e346c2b2a..b7df7dcd58b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatShort.java index 065d74e8ee1..e2953ce48fa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherFloatShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherInt.java index bbadd007b16..bccff0bdeaa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntByte.java index 9e203afcc4f..03e29753624 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntChar.java index fc66e7a82ce..9f36e6e9f23 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntDouble.java index 273dc4c03da..21bd128f42c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntFloat.java index bbdc51e3b4f..271410951c0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntInt.java index ae6aec11df2..1b8245da12d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntLong.java index c9270a93d40..ee7c762b4d8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntObject.java index 1a275b649df..3db9edc2a12 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntShort.java index 685016c7ef4..97b85021a71 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherIntShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLong.java index 50799c3ced3..ff959fd558c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongByte.java index c961d68c1d1..859953e1673 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongChar.java index c6d10194fad..559e8cae2b4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongDouble.java index 83b0e06ff5e..bd89eb1e23a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongFloat.java index cfd7d52b7ac..334f56633fa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongInt.java index c901d2f0bc5..5260c3530ad 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongLong.java index 202e675f416..945218677ff 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongObject.java index 3064e9e340e..ee1c19331e6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongShort.java index e284ae9110e..75cb9076d69 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherLongShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObject.java index 7becd4448fc..d78b96ef955 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectByte.java index 605be5f3d42..b1e71bab170 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectChar.java index 5e5845cdc68..ce15e231891 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectDouble.java index 7f8fcdb7a19..1936315fdc7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectFloat.java index 511db9251ef..5b64643f229 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectInt.java index b34609e37b4..889aaff30c7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectLong.java index 8543adf23b6..035277c8366 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectObject.java index 13c3c6ef8e6..36599e283dc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectShort.java index ffd6caa3760..09e4f6f4341 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherObjectShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShort.java index 318a1cc47a6..33a1def09e9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortByte.java index 8165e032218..23e3f21a867 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortChar.java index 1b25ba42b81..6fd86c7d427 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortDouble.java index f899a0b93ca..73882d2f9f4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortFloat.java index e750c2db21e..7d63ed8fc08 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortInt.java index 2f42d4569b0..bc5e061adae 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortLong.java index 65c1998bf8c..b41c099ff12 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortObject.java index a8b8f357aac..ad30ab7d49a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortShort.java index e4319bc2565..5b17636ce27 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/IncrementalAggOpenHasherShortShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/TypedHashDispatcher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/TypedHashDispatcher.java index 4b9688dff29..435905a44ba 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/TypedHashDispatcher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/incopenagg/gen/TypedHashDispatcher.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.replicators.ReplicateTypedHashers -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.incopenagg.gen; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByte.java index 6c80e94cfe4..57abad3bcbf 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteByte.java index a00dc74afae..60c91420987 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteChar.java index 91c71aaeb34..8e6d3e43238 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteDouble.java index 92368cbb9ae..f3cba389c39 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteFloat.java index 7c49ceee630..3cb87198501 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteInt.java index 085e6289abf..25b96e2f9da 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteLong.java index 7a56a837742..7eda5602deb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteObject.java index 6e7997a0610..9cbf6909a14 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteShort.java index bd84e236fb9..628ea08d34f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherByteShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherChar.java index 5a6d2be32a6..24c510a616e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharByte.java index 56ff318ca8a..6ac2608c971 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharChar.java index d1d0b7e1d89..e521bd21b25 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharDouble.java index 28eac4a1220..c334aadb70e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharFloat.java index 475aeda1434..f17864211e6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharInt.java index d2996a78b4a..d755e6652c3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharLong.java index 2707e20ea34..96e770a2868 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharObject.java index 42a0363b844..4adfd2016ca 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharShort.java index fe46cf72593..51cee4a789d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherCharShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDouble.java index 2f8fa113989..efbc7428c9d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleByte.java index 4dbb1f30cdb..db099a225ae 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleChar.java index 0636a2d998c..ad978961c19 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleDouble.java index a1457476260..337f1381a67 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleFloat.java index 9bcefa0e0aa..4d81a56d51a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleInt.java index 57edd91a2d2..77d61b1b239 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleLong.java index a393a98ce51..d1b845ff430 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleObject.java index ade6f7eb212..43847e122ea 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleShort.java index d8c2b509304..1f2a1f23499 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherDoubleShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloat.java index e2db472d581..a5f76e2a48b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatByte.java index f5c842fb73f..5d8c9af9ec3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatChar.java index b382868d2c9..1f0fe2a2d02 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatDouble.java index 64d9dced2f1..dc6aed0e187 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatFloat.java index 43b232b32a3..45f46a8f7d6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatInt.java index ab405170f83..5c1afcd9063 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatLong.java index e43ba13e911..d9382e0f0c8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatObject.java index 0dc9bccc344..40f5a130559 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatShort.java index b2bed9ceb97..e67e8d8985b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherFloatShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherInt.java index 72274cd8973..e11ed42dc3b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntByte.java index dde53b42021..0b00f035df1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntChar.java index 9092d94ebde..97d8c88d703 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntDouble.java index 82c71530f5e..fe19bc1c369 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntFloat.java index b726b3f5615..5397bf83296 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntInt.java index c528061f37a..ef0a4d48054 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntLong.java index 57068f2863f..569be4e3f27 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntObject.java index 482827f5e9b..eedb8c2809c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntShort.java index 7808a1494fb..cd45a264d9b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherIntShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLong.java index 0f19df42333..92abdba418c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongByte.java index d8dd6869e26..6fde7896651 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongChar.java index af6a18eb503..e4e31942bac 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongDouble.java index ae81f354e99..b78abaa3948 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongFloat.java index 9892f69b23f..fa7eb31c02c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongInt.java index 17398f2faa6..42ead289abd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongLong.java index 75a709d512d..8a5972d0714 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongObject.java index 6cc5991edd3..1e96dac4dd8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongShort.java index 9c8fbf030d4..777f8802038 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherLongShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObject.java index 3914cabbf03..4ebe22c1533 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectByte.java index 79adaefff66..8f9d45a493e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectChar.java index 6b1c53f6cb3..5baf6d6815e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectDouble.java index 7828b6134cc..836e70e5e1a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectFloat.java index aabf08e0433..00d40164755 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectInt.java index 8bc590e7ca5..c67751a26a7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectLong.java index 5730141271e..3cdaa4da9b2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectObject.java index eba752e0b0f..bf1ed405048 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectShort.java index 21e6a3809e8..fc42aa1754d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherObjectShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShort.java index fc4baa46757..1e40b00382d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortByte.java index 0c5e67e18e8..2e92c5a816e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortChar.java index 9da2f64922b..037ec7fb999 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortDouble.java index 50f9e3ee3e3..a306ed33f0a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortFloat.java index c01784a09f4..97030c9c239 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortInt.java index 547490d0310..e4692aa41f6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortLong.java index ef028ed946a..6742c9d7191 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortObject.java index eb916ebb424..f0c2963d01b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortShort.java index 85adaf0b870..56b69b43491 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/StaticAggHasherShortShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/TypedHashDispatcher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/TypedHashDispatcher.java index 8dbb6a5e327..dbad18d91f1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/TypedHashDispatcher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticagg/gen/TypedHashDispatcher.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.replicators.ReplicateTypedHashers -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticagg.gen; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByte.java index 47b74bd177e..fd482cfe325 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteByte.java index 3c0b80377bd..484ea59addd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteChar.java index 10d199181c6..04150716116 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteDouble.java index 8cd2c90601b..3092884c546 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteFloat.java index 5dc96630dd8..5316c57d195 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteInt.java index 8d4787eb4d2..c6501199148 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteLong.java index bf2b08f5ec9..42fb55a9ba8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteObject.java index 9d96e62b763..ef4210e9057 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteShort.java index 0a3bac09598..ea0e940da9d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherByteShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherChar.java index 614b5c11ad2..8b7f73c0115 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharByte.java index 13d1f4d7fdb..4ab1664c640 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharChar.java index db545ac3f5e..5ba7970ae1e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharDouble.java index e82b810807a..61cd6e47e8d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharFloat.java index 3186def8be1..f446dbe134d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharInt.java index 9f394f90e2f..851fecc4760 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharLong.java index 4f1c4247613..cc4e31ca18f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharObject.java index daa72b76d54..0138edd9402 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharShort.java index 2dc6042d99a..5fe895eb9d5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherCharShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDouble.java index 467a16ec208..21da31085e8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleByte.java index 0413d4dfe43..259096a8f6c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleChar.java index 17a040d0b06..0558bda424e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleDouble.java index 8457f670aef..26ad5e9bea0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleFloat.java index 9fb4642d9c4..78c0e59666a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleInt.java index 7059aec2b68..2f38445600d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleLong.java index fe6f02bc90b..0774e8ef94c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleObject.java index 233b0a3f76c..7d93eef50bf 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleShort.java index aba6acd1eed..ddc3ce7a977 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherDoubleShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloat.java index abb608ad73d..21aa6744e73 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatByte.java index 3adc9a202ee..e2ca9259a89 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatChar.java index 55049dee2fe..5afb0cceb17 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatDouble.java index cb3fee5b1f1..f53d24ae838 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatFloat.java index 5eeaf0aca01..3b4d13209c0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatInt.java index bc21b696c35..1b35739c0a5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatLong.java index 844b8f0a884..fdeafc9bc02 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatObject.java index 57d09e2fc70..2cf76d1586a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatShort.java index 20f1cff629c..2e3280a8db3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherFloatShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherInt.java index 5061eb093aa..4f0fc7ce56d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntByte.java index 71fb7f7e023..975196685a6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntChar.java index 9b3e1ce9667..d175bc62c42 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntDouble.java index fdb1ac578a8..009f61452e6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntFloat.java index 0b599c2cc6f..6769ed4c915 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntInt.java index 9910a1b2a99..b0e1dd0f75d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntLong.java index b5475f7e22a..20086fba97b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntObject.java index d5099082bce..68721772fe8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntShort.java index d0507f0bac5..352f4f65360 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherIntShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLong.java index f32c3e9f8c6..1962e3fdbfc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongByte.java index 730e16dffc3..a96b9cc6a66 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongChar.java index 931d12ef4ff..c3be1cbff52 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongDouble.java index 81b53832585..783e1d8651d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongFloat.java index 3fa4bf0c3f4..d422e8a8272 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongInt.java index bdc28559b7b..6fe97f248fb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongLong.java index 0665ed19b81..78b263ff607 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongObject.java index c923f2ab491..7544d296260 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongShort.java index ef54279639e..242b9234142 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherLongShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObject.java index 5a68698ed49..8a15f4c92c8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectByte.java index 8bedda7448f..60fb48687cd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectChar.java index a6f2bae6e5c..4d18927b241 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectDouble.java index 268ea5bdadb..dd716cd1661 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectFloat.java index c91119f5af5..6c6d802933a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectInt.java index f45e5ea956f..c427be0000a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectLong.java index 4b7548d6c7e..191e3400221 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectObject.java index 9937b38d3fc..341ad436f4d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectShort.java index 3a98690efab..41c2c6f97a8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherObjectShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShort.java index b591ccb3641..8e795a1834e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortByte.java index c47ddc58ee7..ad5b9377567 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortChar.java index a8b09d90da5..a883f69f9e4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortDouble.java index f2cb1d84486..7622ad7bc0a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortFloat.java index 76cd69ee824..4a3305ab9c0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortInt.java index 2a11fc7f7b3..ff6b97c6ceb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortLong.java index a8fe50d3fac..982958c9441 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortObject.java index df0adaf387f..a37209555d0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortShort.java index 4a768ac8195..861b9bd31e4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/StaticAggOpenHasherShortShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/TypedHashDispatcher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/TypedHashDispatcher.java index 1de27c7dbe9..5ea549c9a76 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/TypedHashDispatcher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/by/typed/staticopenagg/gen/TypedHashDispatcher.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.replicators.ReplicateTypedHashers -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkattributes/DictionaryKeys.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkattributes/DictionaryKeys.java index 98261ae0add..f4be694d3ec 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkattributes/DictionaryKeys.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkattributes/DictionaryKeys.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.chunkattributes; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkattributes/EncodedObjects.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkattributes/EncodedObjects.java index 61fabeda571..0f08ea79728 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkattributes/EncodedObjects.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkattributes/EncodedObjects.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.chunkattributes; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkattributes/StringSetBitmasks.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkattributes/StringSetBitmasks.java index e17b07156c7..7482d5a99e3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkattributes/StringSetBitmasks.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkattributes/StringSetBitmasks.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.chunkattributes; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/BooleanChunkFiller.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/BooleanChunkFiller.java index 217f263391b..5b7c314388b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/BooleanChunkFiller.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/BooleanChunkFiller.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkFiller and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkFiller and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.chunkfillers; import io.deephaven.engine.table.ElementSource; @@ -24,7 +23,8 @@ public final class BooleanChunkFiller implements ChunkFiller { public static final BooleanChunkFiller INSTANCE = new BooleanChunkFiller(); @Override - public final void fillByRanges(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableBooleanChunk typedDest = dest.asWritableBooleanChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -37,7 +37,8 @@ public final void fillByRanges(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableBooleanChunk typedDest = dest.asWritableBooleanChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -48,7 +49,8 @@ public final void fillByIndices(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableBooleanChunk typedDest = dest.asWritableBooleanChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk @@ -60,7 +62,8 @@ public final void fillByIndices(final ElementSource src, final LongChunk dest) { + public final void fillPrevByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableBooleanChunk typedDest = dest.asWritableBooleanChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -73,7 +76,8 @@ public final void fillPrevByRanges(final ElementSource src, final RowSequence ke } @Override - public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableBooleanChunk typedDest = dest.asWritableBooleanChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -84,7 +88,8 @@ public final void fillPrevByIndices(final ElementSource src, final RowSequence k } @Override - public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableBooleanChunk typedDest = dest.asWritableBooleanChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/ByteChunkFiller.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/ByteChunkFiller.java index a6388ae9ea7..d54b367318a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/ByteChunkFiller.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/ByteChunkFiller.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkFiller and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkFiller and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.chunkfillers; import io.deephaven.engine.table.ElementSource; @@ -24,7 +23,8 @@ public final class ByteChunkFiller implements ChunkFiller { public static final ByteChunkFiller INSTANCE = new ByteChunkFiller(); @Override - public final void fillByRanges(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableByteChunk typedDest = dest.asWritableByteChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -37,7 +37,8 @@ public final void fillByRanges(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableByteChunk typedDest = dest.asWritableByteChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -48,7 +49,8 @@ public final void fillByIndices(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableByteChunk typedDest = dest.asWritableByteChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk @@ -60,7 +62,8 @@ public final void fillByIndices(final ElementSource src, final LongChunk dest) { + public final void fillPrevByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableByteChunk typedDest = dest.asWritableByteChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -73,7 +76,8 @@ public final void fillPrevByRanges(final ElementSource src, final RowSequence ke } @Override - public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableByteChunk typedDest = dest.asWritableByteChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -84,7 +88,8 @@ public final void fillPrevByIndices(final ElementSource src, final RowSequence k } @Override - public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableByteChunk typedDest = dest.asWritableByteChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/CharChunkFiller.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/CharChunkFiller.java index ded7c4d6fa8..0ea396739a0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/CharChunkFiller.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/CharChunkFiller.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.chunkfillers; import io.deephaven.engine.table.ElementSource; @@ -19,7 +19,8 @@ public final class CharChunkFiller implements ChunkFiller { public static final CharChunkFiller INSTANCE = new CharChunkFiller(); @Override - public final void fillByRanges(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableCharChunk typedDest = dest.asWritableCharChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -32,7 +33,8 @@ public final void fillByRanges(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableCharChunk typedDest = dest.asWritableCharChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -43,7 +45,8 @@ public final void fillByIndices(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableCharChunk typedDest = dest.asWritableCharChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk @@ -55,7 +58,8 @@ public final void fillByIndices(final ElementSource src, final LongChunk dest) { + public final void fillPrevByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableCharChunk typedDest = dest.asWritableCharChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -68,7 +72,8 @@ public final void fillPrevByRanges(final ElementSource src, final RowSequence ke } @Override - public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableCharChunk typedDest = dest.asWritableCharChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -79,7 +84,8 @@ public final void fillPrevByIndices(final ElementSource src, final RowSequence k } @Override - public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableCharChunk typedDest = dest.asWritableCharChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/ChunkFiller.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/ChunkFiller.java index 55206120be4..a4eac9e4f07 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/ChunkFiller.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/ChunkFiller.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.chunkfillers; import io.deephaven.engine.table.ElementSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/DoubleChunkFiller.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/DoubleChunkFiller.java index 478537b641c..bdd4ad2ddf0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/DoubleChunkFiller.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/DoubleChunkFiller.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkFiller and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkFiller and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.chunkfillers; import io.deephaven.engine.table.ElementSource; @@ -24,7 +23,8 @@ public final class DoubleChunkFiller implements ChunkFiller { public static final DoubleChunkFiller INSTANCE = new DoubleChunkFiller(); @Override - public final void fillByRanges(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableDoubleChunk typedDest = dest.asWritableDoubleChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -37,7 +37,8 @@ public final void fillByRanges(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableDoubleChunk typedDest = dest.asWritableDoubleChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -48,7 +49,8 @@ public final void fillByIndices(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableDoubleChunk typedDest = dest.asWritableDoubleChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk @@ -60,7 +62,8 @@ public final void fillByIndices(final ElementSource src, final LongChunk dest) { + public final void fillPrevByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableDoubleChunk typedDest = dest.asWritableDoubleChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -73,7 +76,8 @@ public final void fillPrevByRanges(final ElementSource src, final RowSequence ke } @Override - public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableDoubleChunk typedDest = dest.asWritableDoubleChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -84,7 +88,8 @@ public final void fillPrevByIndices(final ElementSource src, final RowSequence k } @Override - public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableDoubleChunk typedDest = dest.asWritableDoubleChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/FloatChunkFiller.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/FloatChunkFiller.java index e639aee5d51..5ac02dddabb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/FloatChunkFiller.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/FloatChunkFiller.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkFiller and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkFiller and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.chunkfillers; import io.deephaven.engine.table.ElementSource; @@ -24,7 +23,8 @@ public final class FloatChunkFiller implements ChunkFiller { public static final FloatChunkFiller INSTANCE = new FloatChunkFiller(); @Override - public final void fillByRanges(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableFloatChunk typedDest = dest.asWritableFloatChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -37,7 +37,8 @@ public final void fillByRanges(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableFloatChunk typedDest = dest.asWritableFloatChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -48,7 +49,8 @@ public final void fillByIndices(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableFloatChunk typedDest = dest.asWritableFloatChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk @@ -60,7 +62,8 @@ public final void fillByIndices(final ElementSource src, final LongChunk dest) { + public final void fillPrevByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableFloatChunk typedDest = dest.asWritableFloatChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -73,7 +76,8 @@ public final void fillPrevByRanges(final ElementSource src, final RowSequence ke } @Override - public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableFloatChunk typedDest = dest.asWritableFloatChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -84,7 +88,8 @@ public final void fillPrevByIndices(final ElementSource src, final RowSequence k } @Override - public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableFloatChunk typedDest = dest.asWritableFloatChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/IntChunkFiller.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/IntChunkFiller.java index 54c1c7dd589..023099fc45c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/IntChunkFiller.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/IntChunkFiller.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkFiller and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkFiller and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.chunkfillers; import io.deephaven.engine.table.ElementSource; @@ -24,7 +23,8 @@ public final class IntChunkFiller implements ChunkFiller { public static final IntChunkFiller INSTANCE = new IntChunkFiller(); @Override - public final void fillByRanges(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableIntChunk typedDest = dest.asWritableIntChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -37,7 +37,8 @@ public final void fillByRanges(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableIntChunk typedDest = dest.asWritableIntChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -48,7 +49,8 @@ public final void fillByIndices(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableIntChunk typedDest = dest.asWritableIntChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk @@ -60,7 +62,8 @@ public final void fillByIndices(final ElementSource src, final LongChunk dest) { + public final void fillPrevByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableIntChunk typedDest = dest.asWritableIntChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -73,7 +76,8 @@ public final void fillPrevByRanges(final ElementSource src, final RowSequence ke } @Override - public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableIntChunk typedDest = dest.asWritableIntChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -84,7 +88,8 @@ public final void fillPrevByIndices(final ElementSource src, final RowSequence k } @Override - public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableIntChunk typedDest = dest.asWritableIntChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/LongChunkFiller.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/LongChunkFiller.java index 8d0c1c74b64..29396c838f8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/LongChunkFiller.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/LongChunkFiller.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkFiller and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkFiller and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.chunkfillers; import io.deephaven.engine.table.ElementSource; @@ -24,7 +23,8 @@ public final class LongChunkFiller implements ChunkFiller { public static final LongChunkFiller INSTANCE = new LongChunkFiller(); @Override - public final void fillByRanges(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableLongChunk typedDest = dest.asWritableLongChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -37,7 +37,8 @@ public final void fillByRanges(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableLongChunk typedDest = dest.asWritableLongChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -48,7 +49,8 @@ public final void fillByIndices(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableLongChunk typedDest = dest.asWritableLongChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk @@ -60,7 +62,8 @@ public final void fillByIndices(final ElementSource src, final LongChunk dest) { + public final void fillPrevByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableLongChunk typedDest = dest.asWritableLongChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -73,7 +76,8 @@ public final void fillPrevByRanges(final ElementSource src, final RowSequence ke } @Override - public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableLongChunk typedDest = dest.asWritableLongChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -84,7 +88,8 @@ public final void fillPrevByIndices(final ElementSource src, final RowSequence k } @Override - public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableLongChunk typedDest = dest.asWritableLongChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/ObjectChunkFiller.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/ObjectChunkFiller.java index b07a0b82c84..d26c5cacd74 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/ObjectChunkFiller.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/ObjectChunkFiller.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkFiller and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkFiller and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.chunkfillers; import io.deephaven.engine.table.ElementSource; @@ -24,7 +23,8 @@ public final class ObjectChunkFiller implements ChunkFiller { public static final ObjectChunkFiller INSTANCE = new ObjectChunkFiller(); @Override - public final void fillByRanges(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableObjectChunk typedDest = dest.asWritableObjectChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -37,7 +37,8 @@ public final void fillByRanges(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableObjectChunk typedDest = dest.asWritableObjectChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -48,7 +49,8 @@ public final void fillByIndices(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableObjectChunk typedDest = dest.asWritableObjectChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk @@ -60,7 +62,8 @@ public final void fillByIndices(final ElementSource src, final LongChunk dest) { + public final void fillPrevByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableObjectChunk typedDest = dest.asWritableObjectChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -73,7 +76,8 @@ public final void fillPrevByRanges(final ElementSource src, final RowSequence ke } @Override - public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableObjectChunk typedDest = dest.asWritableObjectChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -84,7 +88,8 @@ public final void fillPrevByIndices(final ElementSource src, final RowSequence k } @Override - public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableObjectChunk typedDest = dest.asWritableObjectChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/ShortChunkFiller.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/ShortChunkFiller.java index 2934c3dd42f..df35a734afe 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/ShortChunkFiller.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfillers/ShortChunkFiller.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkFiller and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkFiller and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.chunkfillers; import io.deephaven.engine.table.ElementSource; @@ -24,7 +23,8 @@ public final class ShortChunkFiller implements ChunkFiller { public static final ShortChunkFiller INSTANCE = new ShortChunkFiller(); @Override - public final void fillByRanges(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableShortChunk typedDest = dest.asWritableShortChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -37,7 +37,8 @@ public final void fillByRanges(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableShortChunk typedDest = dest.asWritableShortChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -48,7 +49,8 @@ public final void fillByIndices(final ElementSource src, final RowSequence keys, } @Override - public final void fillByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableShortChunk typedDest = dest.asWritableShortChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk @@ -60,7 +62,8 @@ public final void fillByIndices(final ElementSource src, final LongChunk dest) { + public final void fillPrevByRanges(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableShortChunk typedDest = dest.asWritableShortChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeyRanges((start, end) -> { @@ -73,7 +76,8 @@ public final void fillPrevByRanges(final ElementSource src, final RowSequence ke } @Override - public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final RowSequence keys, + final WritableChunk dest) { final WritableShortChunk typedDest = dest.asWritableShortChunk(); final MutableInt destPos = new MutableInt(0); keys.forAllRowKeys(v -> { @@ -84,7 +88,8 @@ public final void fillPrevByIndices(final ElementSource src, final RowSequence k } @Override - public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, final WritableChunk dest) { + public final void fillPrevByIndices(final ElementSource src, final LongChunk chunk, + final WritableChunk dest) { final WritableShortChunk typedDest = dest.asWritableShortChunk(); final int sz = chunk.size(); // Calling setSize early provides a more informative exception if the destination chunk diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ByteChunkMatchFilterFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ByteChunkMatchFilterFactory.java index 6db745255a5..24ddc5b788d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ByteChunkMatchFilterFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ByteChunkMatchFilterFactory.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkMatchFilterFactory and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkMatchFilterFactory and run "./gradlew replicateChunkFilters" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.chunkfilter; import io.deephaven.chunk.*; @@ -16,15 +15,15 @@ /** * Creates chunk filters for byte values. * - * The strategy is that for one, two, or three values we have specialized - * classes that will do the appropriate simple equality check. + * The strategy is that for one, two, or three values we have specialized classes that will do the appropriate simple + * equality check. * * For more values, we use a trove set and check contains for each value in the chunk. */ public class ByteChunkMatchFilterFactory { private ByteChunkMatchFilterFactory() {} // static use only - public static ChunkFilter.ByteChunkFilter makeFilter(boolean invertMatch, byte ... values) { + public static ChunkFilter.ByteChunkFilter makeFilter(boolean invertMatch, byte... values) { if (invertMatch) { if (values.length == 1) { return new InverseSingleValueByteChunkFilter(values[0]); @@ -58,7 +57,8 @@ private SingleValueByteChunkFilter(byte value) { } @Override - public void filter(ByteChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ByteChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (values.get(ii) == value) { @@ -76,7 +76,8 @@ private InverseSingleValueByteChunkFilter(byte value) { } @Override - public void filter(ByteChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ByteChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (values.get(ii) != value) { @@ -96,7 +97,8 @@ private TwoValueByteChunkFilter(byte value1, byte value2) { } @Override - public void filter(ByteChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ByteChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final byte checkValue = values.get(ii); @@ -117,7 +119,8 @@ private InverseTwoValueByteChunkFilter(byte value1, byte value2) { } @Override - public void filter(ByteChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ByteChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final byte checkValue = values.get(ii); @@ -140,7 +143,8 @@ private ThreeValueByteChunkFilter(byte value1, byte value2, byte value3) { } @Override - public void filter(ByteChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ByteChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final byte checkValue = values.get(ii); @@ -163,7 +167,8 @@ private InverseThreeValueByteChunkFilter(byte value1, byte value2, byte value3) } @Override - public void filter(ByteChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ByteChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final byte checkValue = values.get(ii); @@ -177,12 +182,13 @@ public void filter(ByteChunk values, LongChunk private static class MultiValueByteChunkFilter implements ChunkFilter.ByteChunkFilter { private final TByteHashSet values; - private MultiValueByteChunkFilter(byte ... values) { + private MultiValueByteChunkFilter(byte... values) { this.values = new TByteHashSet(values); } @Override - public void filter(ByteChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ByteChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final byte checkValue = values.get(ii); @@ -196,12 +202,13 @@ public void filter(ByteChunk values, LongChunk private static class InverseMultiValueByteChunkFilter implements ChunkFilter.ByteChunkFilter { private final TByteHashSet values; - private InverseMultiValueByteChunkFilter(byte ... values) { + private InverseMultiValueByteChunkFilter(byte... values) { this.values = new TByteHashSet(values); } @Override - public void filter(ByteChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ByteChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final byte checkValue = values.get(ii); @@ -211,4 +218,4 @@ public void filter(ByteChunk values, LongChunk } } } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ByteRangeComparator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ByteRangeComparator.java index a8a298f4b60..4390d3268f6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ByteRangeComparator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ByteRangeComparator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRangeComparator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRangeComparator and run "./gradlew replicateChunkFilters" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.chunkfilter; import io.deephaven.util.compare.ByteComparisons; @@ -25,7 +24,8 @@ private abstract static class ByteByteFilter implements ChunkFilter.ByteChunkFil this.upper = upper; } - abstract public void filter(ByteChunk values, LongChunk keys, WritableLongChunk results); + abstract public void filter(ByteChunk values, LongChunk keys, + WritableLongChunk results); } static class ByteByteInclusiveInclusiveFilter extends ByteByteFilter { @@ -33,7 +33,8 @@ private ByteByteInclusiveInclusiveFilter(byte lower, byte upper) { super(lower, upper); } - public void filter(ByteChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ByteChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final byte value = values.get(ii); @@ -49,7 +50,8 @@ private ByteByteInclusiveExclusiveFilter(byte lower, byte upper) { super(lower, upper); } - public void filter(ByteChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ByteChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final byte value = values.get(ii); @@ -65,7 +67,8 @@ private ByteByteExclusiveInclusiveFilter(byte lower, byte upper) { super(lower, upper); } - public void filter(ByteChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ByteChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final byte value = values.get(ii); @@ -81,7 +84,8 @@ private ByteByteExclusiveExclusiveFilter(byte lower, byte upper) { super(lower, upper); } - public void filter(ByteChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ByteChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final byte value = values.get(ii); @@ -92,7 +96,8 @@ public void filter(ByteChunk values, LongChunk } } - public static ChunkFilter.ByteChunkFilter makeByteFilter(byte lower, byte upper, boolean lowerInclusive, boolean upperInclusive) { + public static ChunkFilter.ByteChunkFilter makeByteFilter(byte lower, byte upper, boolean lowerInclusive, + boolean upperInclusive) { if (lowerInclusive) { if (upperInclusive) { return new ByteByteInclusiveInclusiveFilter(lower, upper); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/CharChunkMatchFilterFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/CharChunkMatchFilterFactory.java index 00ebd91aed3..1a432399764 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/CharChunkMatchFilterFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/CharChunkMatchFilterFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.chunkfilter; import io.deephaven.chunk.*; @@ -11,15 +11,15 @@ /** * Creates chunk filters for char values. * - * The strategy is that for one, two, or three values we have specialized - * classes that will do the appropriate simple equality check. + * The strategy is that for one, two, or three values we have specialized classes that will do the appropriate simple + * equality check. * * For more values, we use a trove set and check contains for each value in the chunk. */ public class CharChunkMatchFilterFactory { private CharChunkMatchFilterFactory() {} // static use only - public static ChunkFilter.CharChunkFilter makeFilter(boolean invertMatch, char ... values) { + public static ChunkFilter.CharChunkFilter makeFilter(boolean invertMatch, char... values) { if (invertMatch) { if (values.length == 1) { return new InverseSingleValueCharChunkFilter(values[0]); @@ -53,7 +53,8 @@ private SingleValueCharChunkFilter(char value) { } @Override - public void filter(CharChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(CharChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (values.get(ii) == value) { @@ -71,7 +72,8 @@ private InverseSingleValueCharChunkFilter(char value) { } @Override - public void filter(CharChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(CharChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (values.get(ii) != value) { @@ -91,7 +93,8 @@ private TwoValueCharChunkFilter(char value1, char value2) { } @Override - public void filter(CharChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(CharChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final char checkValue = values.get(ii); @@ -112,7 +115,8 @@ private InverseTwoValueCharChunkFilter(char value1, char value2) { } @Override - public void filter(CharChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(CharChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final char checkValue = values.get(ii); @@ -135,7 +139,8 @@ private ThreeValueCharChunkFilter(char value1, char value2, char value3) { } @Override - public void filter(CharChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(CharChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final char checkValue = values.get(ii); @@ -158,7 +163,8 @@ private InverseThreeValueCharChunkFilter(char value1, char value2, char value3) } @Override - public void filter(CharChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(CharChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final char checkValue = values.get(ii); @@ -172,12 +178,13 @@ public void filter(CharChunk values, LongChunk private static class MultiValueCharChunkFilter implements ChunkFilter.CharChunkFilter { private final TCharHashSet values; - private MultiValueCharChunkFilter(char ... values) { + private MultiValueCharChunkFilter(char... values) { this.values = new TCharHashSet(values); } @Override - public void filter(CharChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(CharChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final char checkValue = values.get(ii); @@ -191,12 +198,13 @@ public void filter(CharChunk values, LongChunk private static class InverseMultiValueCharChunkFilter implements ChunkFilter.CharChunkFilter { private final TCharHashSet values; - private InverseMultiValueCharChunkFilter(char ... values) { + private InverseMultiValueCharChunkFilter(char... values) { this.values = new TCharHashSet(values); } @Override - public void filter(CharChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(CharChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final char checkValue = values.get(ii); @@ -206,4 +214,4 @@ public void filter(CharChunk values, LongChunk } } } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/CharRangeComparator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/CharRangeComparator.java index 7f63c1495aa..6c75bd5a946 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/CharRangeComparator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/CharRangeComparator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.chunkfilter; import io.deephaven.util.compare.CharComparisons; @@ -20,7 +20,8 @@ private abstract static class CharCharFilter implements ChunkFilter.CharChunkFil this.upper = upper; } - abstract public void filter(CharChunk values, LongChunk keys, WritableLongChunk results); + abstract public void filter(CharChunk values, LongChunk keys, + WritableLongChunk results); } static class CharCharInclusiveInclusiveFilter extends CharCharFilter { @@ -28,7 +29,8 @@ private CharCharInclusiveInclusiveFilter(char lower, char upper) { super(lower, upper); } - public void filter(CharChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(CharChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final char value = values.get(ii); @@ -44,7 +46,8 @@ private CharCharInclusiveExclusiveFilter(char lower, char upper) { super(lower, upper); } - public void filter(CharChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(CharChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final char value = values.get(ii); @@ -60,7 +63,8 @@ private CharCharExclusiveInclusiveFilter(char lower, char upper) { super(lower, upper); } - public void filter(CharChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(CharChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final char value = values.get(ii); @@ -76,7 +80,8 @@ private CharCharExclusiveExclusiveFilter(char lower, char upper) { super(lower, upper); } - public void filter(CharChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(CharChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final char value = values.get(ii); @@ -87,7 +92,8 @@ public void filter(CharChunk values, LongChunk } } - public static ChunkFilter.CharChunkFilter makeCharFilter(char lower, char upper, boolean lowerInclusive, boolean upperInclusive) { + public static ChunkFilter.CharChunkFilter makeCharFilter(char lower, char upper, boolean lowerInclusive, + boolean upperInclusive) { if (lowerInclusive) { if (upperInclusive) { return new CharCharInclusiveInclusiveFilter(lower, upper); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ChunkFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ChunkFilter.java index 6fb73115598..562d50b1bba 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ChunkFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ChunkFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.chunkfilter; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ChunkMatchFilterFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ChunkMatchFilterFactory.java index 38ef24dbfa2..ec30fd44f97 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ChunkMatchFilterFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ChunkMatchFilterFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.chunkfilter; import io.deephaven.util.type.ArrayTypeUtils; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/DoubleChunkMatchFilterFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/DoubleChunkMatchFilterFactory.java index 28dc43a222d..1068c96eed2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/DoubleChunkMatchFilterFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/DoubleChunkMatchFilterFactory.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkMatchFilterFactory and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkMatchFilterFactory and run "./gradlew replicateChunkFilters" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.chunkfilter; import io.deephaven.chunk.*; @@ -16,15 +15,15 @@ /** * Creates chunk filters for double values. * - * The strategy is that for one, two, or three values we have specialized - * classes that will do the appropriate simple equality check. + * The strategy is that for one, two, or three values we have specialized classes that will do the appropriate simple + * equality check. * * For more values, we use a trove set and check contains for each value in the chunk. */ public class DoubleChunkMatchFilterFactory { private DoubleChunkMatchFilterFactory() {} // static use only - public static ChunkFilter.DoubleChunkFilter makeFilter(boolean invertMatch, double ... values) { + public static ChunkFilter.DoubleChunkFilter makeFilter(boolean invertMatch, double... values) { if (invertMatch) { if (values.length == 1) { return new InverseSingleValueDoubleChunkFilter(values[0]); @@ -58,7 +57,8 @@ private SingleValueDoubleChunkFilter(double value) { } @Override - public void filter(DoubleChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(DoubleChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (values.get(ii) == value) { @@ -76,7 +76,8 @@ private InverseSingleValueDoubleChunkFilter(double value) { } @Override - public void filter(DoubleChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(DoubleChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (values.get(ii) != value) { @@ -96,7 +97,8 @@ private TwoValueDoubleChunkFilter(double value1, double value2) { } @Override - public void filter(DoubleChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(DoubleChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final double checkValue = values.get(ii); @@ -117,7 +119,8 @@ private InverseTwoValueDoubleChunkFilter(double value1, double value2) { } @Override - public void filter(DoubleChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(DoubleChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final double checkValue = values.get(ii); @@ -140,7 +143,8 @@ private ThreeValueDoubleChunkFilter(double value1, double value2, double value3) } @Override - public void filter(DoubleChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(DoubleChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final double checkValue = values.get(ii); @@ -163,7 +167,8 @@ private InverseThreeValueDoubleChunkFilter(double value1, double value2, double } @Override - public void filter(DoubleChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(DoubleChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final double checkValue = values.get(ii); @@ -177,12 +182,13 @@ public void filter(DoubleChunk values, LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(DoubleChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final double checkValue = values.get(ii); @@ -196,12 +202,13 @@ public void filter(DoubleChunk values, LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(DoubleChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final double checkValue = values.get(ii); @@ -211,4 +218,4 @@ public void filter(DoubleChunk values, LongChunk values, LongChunk keys, WritableLongChunk results); + abstract public void filter(DoubleChunk values, LongChunk keys, + WritableLongChunk results); } static class DoubleDoubleInclusiveInclusiveFilter extends DoubleDoubleFilter { @@ -33,7 +33,8 @@ private DoubleDoubleInclusiveInclusiveFilter(double lower, double upper) { super(lower, upper); } - public void filter(DoubleChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(DoubleChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final double value = values.get(ii); @@ -49,7 +50,8 @@ private DoubleDoubleInclusiveExclusiveFilter(double lower, double upper) { super(lower, upper); } - public void filter(DoubleChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(DoubleChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final double value = values.get(ii); @@ -65,7 +67,8 @@ private DoubleDoubleExclusiveInclusiveFilter(double lower, double upper) { super(lower, upper); } - public void filter(DoubleChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(DoubleChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final double value = values.get(ii); @@ -81,7 +84,8 @@ private DoubleDoubleExclusiveExclusiveFilter(double lower, double upper) { super(lower, upper); } - public void filter(DoubleChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(DoubleChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final double value = values.get(ii); @@ -92,7 +96,8 @@ public void filter(DoubleChunk values, LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(FloatChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (values.get(ii) == value) { @@ -76,7 +76,8 @@ private InverseSingleValueFloatChunkFilter(float value) { } @Override - public void filter(FloatChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(FloatChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (values.get(ii) != value) { @@ -96,7 +97,8 @@ private TwoValueFloatChunkFilter(float value1, float value2) { } @Override - public void filter(FloatChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(FloatChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final float checkValue = values.get(ii); @@ -117,7 +119,8 @@ private InverseTwoValueFloatChunkFilter(float value1, float value2) { } @Override - public void filter(FloatChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(FloatChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final float checkValue = values.get(ii); @@ -140,7 +143,8 @@ private ThreeValueFloatChunkFilter(float value1, float value2, float value3) { } @Override - public void filter(FloatChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(FloatChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final float checkValue = values.get(ii); @@ -163,7 +167,8 @@ private InverseThreeValueFloatChunkFilter(float value1, float value2, float valu } @Override - public void filter(FloatChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(FloatChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final float checkValue = values.get(ii); @@ -177,12 +182,13 @@ public void filter(FloatChunk values, LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(FloatChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final float checkValue = values.get(ii); @@ -196,12 +202,13 @@ public void filter(FloatChunk values, LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(FloatChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final float checkValue = values.get(ii); @@ -211,4 +218,4 @@ public void filter(FloatChunk values, LongChunk values, LongChunk keys, WritableLongChunk results); + abstract public void filter(FloatChunk values, LongChunk keys, + WritableLongChunk results); } static class FloatDoubleInclusiveInclusiveFilter extends FloatFloatFilter { @@ -28,7 +29,8 @@ private FloatDoubleInclusiveInclusiveFilter(float lower, float upper) { super(lower, upper); } - public void filter(FloatChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(FloatChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final float value = values.get(ii); @@ -44,7 +46,8 @@ private FloatDoubleInclusiveExclusiveFilter(float lower, float upper) { super(lower, upper); } - public void filter(FloatChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(FloatChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final float value = values.get(ii); @@ -60,7 +63,8 @@ private FloatDoubleExclusiveInclusiveFilter(float lower, float upper) { super(lower, upper); } - public void filter(FloatChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(FloatChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final float value = values.get(ii); @@ -76,7 +80,8 @@ private FloatDoubleExclusiveExclusiveFilter(float lower, float upper) { super(lower, upper); } - public void filter(FloatChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(FloatChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final float value = values.get(ii); @@ -87,7 +92,8 @@ public void filter(FloatChunk values, LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(IntChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (values.get(ii) == value) { @@ -76,7 +76,8 @@ private InverseSingleValueIntChunkFilter(int value) { } @Override - public void filter(IntChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(IntChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (values.get(ii) != value) { @@ -96,7 +97,8 @@ private TwoValueIntChunkFilter(int value1, int value2) { } @Override - public void filter(IntChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(IntChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final int checkValue = values.get(ii); @@ -117,7 +119,8 @@ private InverseTwoValueIntChunkFilter(int value1, int value2) { } @Override - public void filter(IntChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(IntChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final int checkValue = values.get(ii); @@ -140,7 +143,8 @@ private ThreeValueIntChunkFilter(int value1, int value2, int value3) { } @Override - public void filter(IntChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(IntChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final int checkValue = values.get(ii); @@ -163,7 +167,8 @@ private InverseThreeValueIntChunkFilter(int value1, int value2, int value3) { } @Override - public void filter(IntChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(IntChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final int checkValue = values.get(ii); @@ -177,12 +182,13 @@ public void filter(IntChunk values, LongChunk private static class MultiValueIntChunkFilter implements ChunkFilter.IntChunkFilter { private final TIntHashSet values; - private MultiValueIntChunkFilter(int ... values) { + private MultiValueIntChunkFilter(int... values) { this.values = new TIntHashSet(values); } @Override - public void filter(IntChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(IntChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final int checkValue = values.get(ii); @@ -196,12 +202,13 @@ public void filter(IntChunk values, LongChunk private static class InverseMultiValueIntChunkFilter implements ChunkFilter.IntChunkFilter { private final TIntHashSet values; - private InverseMultiValueIntChunkFilter(int ... values) { + private InverseMultiValueIntChunkFilter(int... values) { this.values = new TIntHashSet(values); } @Override - public void filter(IntChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(IntChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final int checkValue = values.get(ii); @@ -211,4 +218,4 @@ public void filter(IntChunk values, LongChunk } } } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/IntRangeComparator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/IntRangeComparator.java index ba86521d570..16fa808cd24 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/IntRangeComparator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/IntRangeComparator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRangeComparator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRangeComparator and run "./gradlew replicateChunkFilters" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.chunkfilter; import io.deephaven.util.compare.IntComparisons; @@ -25,7 +24,8 @@ private abstract static class IntIntFilter implements ChunkFilter.IntChunkFilter this.upper = upper; } - abstract public void filter(IntChunk values, LongChunk keys, WritableLongChunk results); + abstract public void filter(IntChunk values, LongChunk keys, + WritableLongChunk results); } static class IntIntInclusiveInclusiveFilter extends IntIntFilter { @@ -33,7 +33,8 @@ private IntIntInclusiveInclusiveFilter(int lower, int upper) { super(lower, upper); } - public void filter(IntChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(IntChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final int value = values.get(ii); @@ -49,7 +50,8 @@ private IntIntInclusiveExclusiveFilter(int lower, int upper) { super(lower, upper); } - public void filter(IntChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(IntChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final int value = values.get(ii); @@ -65,7 +67,8 @@ private IntIntExclusiveInclusiveFilter(int lower, int upper) { super(lower, upper); } - public void filter(IntChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(IntChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final int value = values.get(ii); @@ -81,7 +84,8 @@ private IntIntExclusiveExclusiveFilter(int lower, int upper) { super(lower, upper); } - public void filter(IntChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(IntChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final int value = values.get(ii); @@ -92,7 +96,8 @@ public void filter(IntChunk values, LongChunk } } - public static ChunkFilter.IntChunkFilter makeIntFilter(int lower, int upper, boolean lowerInclusive, boolean upperInclusive) { + public static ChunkFilter.IntChunkFilter makeIntFilter(int lower, int upper, boolean lowerInclusive, + boolean upperInclusive) { if (lowerInclusive) { if (upperInclusive) { return new IntIntInclusiveInclusiveFilter(lower, upper); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/LongChunkMatchFilterFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/LongChunkMatchFilterFactory.java index f7f3f2cfc74..e283ece3d82 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/LongChunkMatchFilterFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/LongChunkMatchFilterFactory.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkMatchFilterFactory and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkMatchFilterFactory and run "./gradlew replicateChunkFilters" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.chunkfilter; import io.deephaven.chunk.*; @@ -16,15 +15,15 @@ /** * Creates chunk filters for long values. * - * The strategy is that for one, two, or three values we have specialized - * classes that will do the appropriate simple equality check. + * The strategy is that for one, two, or three values we have specialized classes that will do the appropriate simple + * equality check. * * For more values, we use a trove set and check contains for each value in the chunk. */ public class LongChunkMatchFilterFactory { private LongChunkMatchFilterFactory() {} // static use only - public static ChunkFilter.LongChunkFilter makeFilter(boolean invertMatch, long ... values) { + public static ChunkFilter.LongChunkFilter makeFilter(boolean invertMatch, long... values) { if (invertMatch) { if (values.length == 1) { return new InverseSingleValueLongChunkFilter(values[0]); @@ -58,7 +57,8 @@ private SingleValueLongChunkFilter(long value) { } @Override - public void filter(LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(LongChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (values.get(ii) == value) { @@ -76,7 +76,8 @@ private InverseSingleValueLongChunkFilter(long value) { } @Override - public void filter(LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(LongChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (values.get(ii) != value) { @@ -96,7 +97,8 @@ private TwoValueLongChunkFilter(long value1, long value2) { } @Override - public void filter(LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(LongChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final long checkValue = values.get(ii); @@ -117,7 +119,8 @@ private InverseTwoValueLongChunkFilter(long value1, long value2) { } @Override - public void filter(LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(LongChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final long checkValue = values.get(ii); @@ -140,7 +143,8 @@ private ThreeValueLongChunkFilter(long value1, long value2, long value3) { } @Override - public void filter(LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(LongChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final long checkValue = values.get(ii); @@ -163,7 +167,8 @@ private InverseThreeValueLongChunkFilter(long value1, long value2, long value3) } @Override - public void filter(LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(LongChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final long checkValue = values.get(ii); @@ -177,12 +182,13 @@ public void filter(LongChunk values, LongChunk private static class MultiValueLongChunkFilter implements ChunkFilter.LongChunkFilter { private final TLongHashSet values; - private MultiValueLongChunkFilter(long ... values) { + private MultiValueLongChunkFilter(long... values) { this.values = new TLongHashSet(values); } @Override - public void filter(LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(LongChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final long checkValue = values.get(ii); @@ -196,12 +202,13 @@ public void filter(LongChunk values, LongChunk private static class InverseMultiValueLongChunkFilter implements ChunkFilter.LongChunkFilter { private final TLongHashSet values; - private InverseMultiValueLongChunkFilter(long ... values) { + private InverseMultiValueLongChunkFilter(long... values) { this.values = new TLongHashSet(values); } @Override - public void filter(LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(LongChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final long checkValue = values.get(ii); @@ -211,4 +218,4 @@ public void filter(LongChunk values, LongChunk } } } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/LongRangeComparator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/LongRangeComparator.java index 6e758bce78f..b150b80e880 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/LongRangeComparator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/LongRangeComparator.java @@ -1,9 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRangeComparator and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.chunkfilter; import io.deephaven.util.compare.LongComparisons; @@ -23,7 +20,8 @@ private abstract static class LongLongFilter implements ChunkFilter.LongChunkFil this.upper = upper; } - abstract public void filter(LongChunk values, LongChunk keys, WritableLongChunk results); + abstract public void filter(LongChunk values, LongChunk keys, + WritableLongChunk results); } static class LongLongInclusiveInclusiveFilter extends LongLongFilter { @@ -31,7 +29,8 @@ private LongLongInclusiveInclusiveFilter(long lower, long upper) { super(lower, upper); } - public void filter(LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(LongChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final long value = values.get(ii); @@ -47,7 +46,8 @@ private LongLongInclusiveExclusiveFilter(long lower, long upper) { super(lower, upper); } - public void filter(LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(LongChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final long value = values.get(ii); @@ -63,7 +63,8 @@ private LongLongExclusiveInclusiveFilter(long lower, long upper) { super(lower, upper); } - public void filter(LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(LongChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final long value = values.get(ii); @@ -79,7 +80,8 @@ private LongLongExclusiveExclusiveFilter(long lower, long upper) { super(lower, upper); } - public void filter(LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(LongChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final long value = values.get(ii); @@ -90,7 +92,8 @@ public void filter(LongChunk values, LongChunk } } - public static ChunkFilter.LongChunkFilter makeLongFilter(long lower, long upper, boolean lowerInclusive, boolean upperInclusive) { + public static ChunkFilter.LongChunkFilter makeLongFilter(long lower, long upper, boolean lowerInclusive, + boolean upperInclusive) { if (lowerInclusive) { if (upperInclusive) { return new LongLongInclusiveInclusiveFilter(lower, upper); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ObjectChunkMatchFilterFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ObjectChunkMatchFilterFactory.java index 97dd9de9a3f..0d32524fc33 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ObjectChunkMatchFilterFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/chunkfilter/ObjectChunkMatchFilterFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.chunkfilter; import io.deephaven.chunk.*; @@ -14,7 +14,7 @@ public class ObjectChunkMatchFilterFactory { private ObjectChunkMatchFilterFactory() {} // static use only - public static ChunkFilter.ObjectChunkFilter makeFilter(boolean invert, Object ... values) { + public static ChunkFilter.ObjectChunkFilter makeFilter(boolean invert, Object... values) { if (invert) { if (values.length == 1) { return new InverseSingleValueObjectChunkFilter(values[0]); @@ -48,7 +48,8 @@ private SingleValueObjectChunkFilter(Object value) { } @Override - public void filter(ObjectChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ObjectChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (Objects.equals(values.get(ii), value)) { @@ -66,7 +67,8 @@ private InverseSingleValueObjectChunkFilter(Object value) { } @Override - public void filter(ObjectChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ObjectChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (!Objects.equals(values.get(ii), value)) { @@ -86,7 +88,8 @@ private TwoValueObjectChunkFilter(Object value1, Object value2) { } @Override - public void filter(ObjectChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ObjectChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final Object checkValue = values.get(ii); @@ -107,7 +110,8 @@ private InverseTwoValueObjectChunkFilter(Object value1, Object value2) { } @Override - public void filter(ObjectChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ObjectChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final Object checkValue = values.get(ii); @@ -130,11 +134,13 @@ private ThreeValueObjectChunkFilter(Object value1, Object value2, Object value3) } @Override - public void filter(ObjectChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ObjectChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final Object checkValue = values.get(ii); - if (Objects.equals(checkValue, value1) || Objects.equals(checkValue, value2) || Objects.equals(checkValue, value3)) { + if (Objects.equals(checkValue, value1) || Objects.equals(checkValue, value2) + || Objects.equals(checkValue, value3)) { results.add(keys.get(ii)); } } @@ -152,11 +158,13 @@ private InverseThreeValueObjectChunkFilter(Object value1, Object value2, Object } @Override - public void filter(ObjectChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ObjectChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final Object checkValue = values.get(ii); - if (!(Objects.equals(checkValue, value1) || Objects.equals(checkValue, value2) || Objects.equals(checkValue, value3))) { + if (!(Objects.equals(checkValue, value1) || Objects.equals(checkValue, value2) + || Objects.equals(checkValue, value3))) { results.add(keys.get(ii)); } } @@ -166,12 +174,13 @@ public void filter(ObjectChunk values, LongChunk { private final HashSet values; - private MultiValueObjectChunkFilter(Object ... values) { + private MultiValueObjectChunkFilter(Object... values) { this.values = new HashSet<>(Arrays.asList(values)); } @Override - public void filter(ObjectChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ObjectChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (this.values.contains(values.get(ii))) { @@ -184,12 +193,13 @@ public void filter(ObjectChunk values, LongChunk { private final HashSet values; - private InverseMultiValueObjectChunkFilter(Object ... values) { + private InverseMultiValueObjectChunkFilter(Object... values) { this.values = new HashSet<>(Arrays.asList(values)); } @Override - public void filter(ObjectChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ObjectChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (!this.values.contains(values.get(ii))) { @@ -198,4 +208,4 @@ public void filter(ObjectChunk values, LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ShortChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (values.get(ii) == value) { @@ -76,7 +76,8 @@ private InverseSingleValueShortChunkFilter(short value) { } @Override - public void filter(ShortChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ShortChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { if (values.get(ii) != value) { @@ -96,7 +97,8 @@ private TwoValueShortChunkFilter(short value1, short value2) { } @Override - public void filter(ShortChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ShortChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final short checkValue = values.get(ii); @@ -117,7 +119,8 @@ private InverseTwoValueShortChunkFilter(short value1, short value2) { } @Override - public void filter(ShortChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ShortChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final short checkValue = values.get(ii); @@ -140,7 +143,8 @@ private ThreeValueShortChunkFilter(short value1, short value2, short value3) { } @Override - public void filter(ShortChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ShortChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final short checkValue = values.get(ii); @@ -163,7 +167,8 @@ private InverseThreeValueShortChunkFilter(short value1, short value2, short valu } @Override - public void filter(ShortChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ShortChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final short checkValue = values.get(ii); @@ -177,12 +182,13 @@ public void filter(ShortChunk values, LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ShortChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final short checkValue = values.get(ii); @@ -196,12 +202,13 @@ public void filter(ShortChunk values, LongChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ShortChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final short checkValue = values.get(ii); @@ -211,4 +218,4 @@ public void filter(ShortChunk values, LongChunk values, LongChunk keys, WritableLongChunk results); + abstract public void filter(ShortChunk values, LongChunk keys, + WritableLongChunk results); } static class ShortShortInclusiveInclusiveFilter extends ShortShortFilter { @@ -33,7 +33,8 @@ private ShortShortInclusiveInclusiveFilter(short lower, short upper) { super(lower, upper); } - public void filter(ShortChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ShortChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final short value = values.get(ii); @@ -49,7 +50,8 @@ private ShortShortInclusiveExclusiveFilter(short lower, short upper) { super(lower, upper); } - public void filter(ShortChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ShortChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final short value = values.get(ii); @@ -65,7 +67,8 @@ private ShortShortExclusiveInclusiveFilter(short lower, short upper) { super(lower, upper); } - public void filter(ShortChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ShortChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final short value = values.get(ii); @@ -81,7 +84,8 @@ private ShortShortExclusiveExclusiveFilter(short lower, short upper) { super(lower, upper); } - public void filter(ShortChunk values, LongChunk keys, WritableLongChunk results) { + public void filter(ShortChunk values, LongChunk keys, + WritableLongChunk results) { results.setSize(0); for (int ii = 0; ii < values.size(); ++ii) { final short value = values.get(ii); @@ -92,7 +96,8 @@ public void filter(ShortChunk values, LongChunk chunkToExpand, IntChunk keyRunLengths) { + public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, + IntChunk keyRunLengths) { expandDuplicates(expandedSize, chunkToExpand.asWritableBooleanChunk(), keyRunLengths); } - public static void expandDuplicates(int expandedSize, WritableBooleanChunk chunkToExpand, IntChunk keyRunLengths) { + public static void expandDuplicates(int expandedSize, WritableBooleanChunk chunkToExpand, + IntChunk keyRunLengths) { if (expandedSize == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/ByteDupExpandKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/ByteDupExpandKernel.java index ee8a07a0f97..095b77b6e32 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/ByteDupExpandKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/ByteDupExpandKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharDupExpandKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharDupExpandKernel and run "./gradlew replicateDupExpandKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.dupexpand; import io.deephaven.chunk.*; @@ -18,11 +17,13 @@ public class ByteDupExpandKernel implements DupExpandKernel { private ByteDupExpandKernel() {} // use through the instance @Override - public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, IntChunk keyRunLengths) { + public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, + IntChunk keyRunLengths) { expandDuplicates(expandedSize, chunkToExpand.asWritableByteChunk(), keyRunLengths); } - public static void expandDuplicates(int expandedSize, WritableByteChunk chunkToExpand, IntChunk keyRunLengths) { + public static void expandDuplicates(int expandedSize, WritableByteChunk chunkToExpand, + IntChunk keyRunLengths) { if (expandedSize == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/CharDupExpandKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/CharDupExpandKernel.java index b5cb5ef586e..845d0601e06 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/CharDupExpandKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/CharDupExpandKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.join.dupexpand; import io.deephaven.chunk.*; @@ -13,11 +13,13 @@ public class CharDupExpandKernel implements DupExpandKernel { private CharDupExpandKernel() {} // use through the instance @Override - public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, IntChunk keyRunLengths) { + public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, + IntChunk keyRunLengths) { expandDuplicates(expandedSize, chunkToExpand.asWritableCharChunk(), keyRunLengths); } - public static void expandDuplicates(int expandedSize, WritableCharChunk chunkToExpand, IntChunk keyRunLengths) { + public static void expandDuplicates(int expandedSize, WritableCharChunk chunkToExpand, + IntChunk keyRunLengths) { if (expandedSize == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/DoubleDupExpandKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/DoubleDupExpandKernel.java index a3b031c64b9..8a0481dbc71 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/DoubleDupExpandKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/DoubleDupExpandKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharDupExpandKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharDupExpandKernel and run "./gradlew replicateDupExpandKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.dupexpand; import io.deephaven.chunk.*; @@ -18,11 +17,13 @@ public class DoubleDupExpandKernel implements DupExpandKernel { private DoubleDupExpandKernel() {} // use through the instance @Override - public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, IntChunk keyRunLengths) { + public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, + IntChunk keyRunLengths) { expandDuplicates(expandedSize, chunkToExpand.asWritableDoubleChunk(), keyRunLengths); } - public static void expandDuplicates(int expandedSize, WritableDoubleChunk chunkToExpand, IntChunk keyRunLengths) { + public static void expandDuplicates(int expandedSize, WritableDoubleChunk chunkToExpand, + IntChunk keyRunLengths) { if (expandedSize == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/DupExpandKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/DupExpandKernel.java index 06c919e01d1..4b6fe26e03b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/DupExpandKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/DupExpandKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.join.dupexpand; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/FloatDupExpandKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/FloatDupExpandKernel.java index b7f5edec2e2..b218e201ac3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/FloatDupExpandKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/FloatDupExpandKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharDupExpandKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharDupExpandKernel and run "./gradlew replicateDupExpandKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.dupexpand; import io.deephaven.chunk.*; @@ -18,11 +17,13 @@ public class FloatDupExpandKernel implements DupExpandKernel { private FloatDupExpandKernel() {} // use through the instance @Override - public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, IntChunk keyRunLengths) { + public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, + IntChunk keyRunLengths) { expandDuplicates(expandedSize, chunkToExpand.asWritableFloatChunk(), keyRunLengths); } - public static void expandDuplicates(int expandedSize, WritableFloatChunk chunkToExpand, IntChunk keyRunLengths) { + public static void expandDuplicates(int expandedSize, WritableFloatChunk chunkToExpand, + IntChunk keyRunLengths) { if (expandedSize == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/IntDupExpandKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/IntDupExpandKernel.java index e864f02ddd9..42a9f33e37f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/IntDupExpandKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/IntDupExpandKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharDupExpandKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharDupExpandKernel and run "./gradlew replicateDupExpandKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.dupexpand; import io.deephaven.chunk.*; @@ -18,11 +17,13 @@ public class IntDupExpandKernel implements DupExpandKernel { private IntDupExpandKernel() {} // use through the instance @Override - public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, IntChunk keyRunLengths) { + public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, + IntChunk keyRunLengths) { expandDuplicates(expandedSize, chunkToExpand.asWritableIntChunk(), keyRunLengths); } - public static void expandDuplicates(int expandedSize, WritableIntChunk chunkToExpand, IntChunk keyRunLengths) { + public static void expandDuplicates(int expandedSize, WritableIntChunk chunkToExpand, + IntChunk keyRunLengths) { if (expandedSize == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/LongDupExpandKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/LongDupExpandKernel.java index 6efbc4768ed..de5a7e35052 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/LongDupExpandKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/LongDupExpandKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharDupExpandKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharDupExpandKernel and run "./gradlew replicateDupExpandKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.dupexpand; import io.deephaven.chunk.*; @@ -18,11 +17,13 @@ public class LongDupExpandKernel implements DupExpandKernel { private LongDupExpandKernel() {} // use through the instance @Override - public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, IntChunk keyRunLengths) { + public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, + IntChunk keyRunLengths) { expandDuplicates(expandedSize, chunkToExpand.asWritableLongChunk(), keyRunLengths); } - public static void expandDuplicates(int expandedSize, WritableLongChunk chunkToExpand, IntChunk keyRunLengths) { + public static void expandDuplicates(int expandedSize, WritableLongChunk chunkToExpand, + IntChunk keyRunLengths) { if (expandedSize == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/ObjectDupExpandKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/ObjectDupExpandKernel.java index fbf9393db46..ca6889b93cb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/ObjectDupExpandKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/ObjectDupExpandKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharDupExpandKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharDupExpandKernel and run "./gradlew replicateDupExpandKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.dupexpand; import java.util.Objects; @@ -20,11 +19,13 @@ public class ObjectDupExpandKernel implements DupExpandKernel { private ObjectDupExpandKernel() {} // use through the instance @Override - public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, IntChunk keyRunLengths) { + public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, + IntChunk keyRunLengths) { expandDuplicates(expandedSize, chunkToExpand.asWritableObjectChunk(), keyRunLengths); } - public static void expandDuplicates(int expandedSize, WritableObjectChunk chunkToExpand, IntChunk keyRunLengths) { + public static void expandDuplicates(int expandedSize, WritableObjectChunk chunkToExpand, + IntChunk keyRunLengths) { if (expandedSize == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/ShortDupExpandKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/ShortDupExpandKernel.java index 5c1ec2f2f6f..675615d2903 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/ShortDupExpandKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/dupexpand/ShortDupExpandKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharDupExpandKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharDupExpandKernel and run "./gradlew replicateDupExpandKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.dupexpand; import io.deephaven.chunk.*; @@ -18,11 +17,13 @@ public class ShortDupExpandKernel implements DupExpandKernel { private ShortDupExpandKernel() {} // use through the instance @Override - public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, IntChunk keyRunLengths) { + public void expandDuplicates(int expandedSize, WritableChunk chunkToExpand, + IntChunk keyRunLengths) { expandDuplicates(expandedSize, chunkToExpand.asWritableShortChunk(), keyRunLengths); } - public static void expandDuplicates(int expandedSize, WritableShortChunk chunkToExpand, IntChunk keyRunLengths) { + public static void expandDuplicates(int expandedSize, WritableShortChunk chunkToExpand, + IntChunk keyRunLengths) { if (expandedSize == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ByteNoExactReverseStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ByteNoExactReverseStampKernel.java index 6913205ade0..35a2db5fa3f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ByteNoExactReverseStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ByteNoExactReverseStampKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharNoExactStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ByteNoExactReverseStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.chunk.*; @@ -16,14 +16,17 @@ public class ByteNoExactReverseStampKernel implements StampKernel { static final ByteNoExactReverseStampKernel INSTANCE = new ByteNoExactReverseStampKernel(); + private ByteNoExactReverseStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asByteChunk(), rightStamps.asByteChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(ByteChunk leftStamps, ByteChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(ByteChunk leftStamps, ByteChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -37,7 +40,7 @@ static private void computeRedirections(ByteChunk leftStamps, ByteChunk< final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final byte leftValue = leftStamps.get(li); if (leq(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); @@ -73,6 +76,7 @@ static private void computeRedirections(ByteChunk leftStamps, ByteChunk< } } } + // region comparison functions // note that this is a descending kernel, thus the comparisons here are backwards (e.g., the lt function is in terms of the sort direction, so is implemented by gt) private static int doComparison(byte lhs, byte rhs) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ByteNoExactStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ByteNoExactStampKernel.java index c06328fa679..f422075de40 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ByteNoExactStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ByteNoExactStampKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharNoExactStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharNoExactStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.chunk.*; @@ -16,14 +15,17 @@ public class ByteNoExactStampKernel implements StampKernel { static final ByteNoExactStampKernel INSTANCE = new ByteNoExactStampKernel(); + private ByteNoExactStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asByteChunk(), rightStamps.asByteChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(ByteChunk leftStamps, ByteChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(ByteChunk leftStamps, ByteChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -37,7 +39,7 @@ static private void computeRedirections(ByteChunk leftStamps, ByteChunk< final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final byte leftValue = leftStamps.get(li); if (leq(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); @@ -73,6 +75,7 @@ static private void computeRedirections(ByteChunk leftStamps, ByteChunk< } } } + // region comparison functions private static int doComparison(byte lhs, byte rhs) { return Byte.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ByteReverseStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ByteReverseStampKernel.java index 0d3c4c811a4..c6b4bcc28f1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ByteReverseStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ByteReverseStampKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ByteReverseStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.chunk.*; @@ -16,14 +16,17 @@ public class ByteReverseStampKernel implements StampKernel { static final ByteReverseStampKernel INSTANCE = new ByteReverseStampKernel(); + private ByteReverseStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asByteChunk(), rightStamps.asByteChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(ByteChunk leftStamps, ByteChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(ByteChunk leftStamps, ByteChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -37,13 +40,12 @@ static private void computeRedirections(ByteChunk leftStamps, ByteChunk< final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final byte leftValue = leftStamps.get(li); if (lt(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (eq(leftValue, rightLowValue)) { + } else if (eq(leftValue, rightLowValue)) { leftRedirections.set(li++, rightKeyIndices.get(rightLowIdx)); continue; } @@ -77,6 +79,7 @@ else if (eq(leftValue, rightLowValue)) { } } } + // region comparison functions // note that this is a descending kernel, thus the comparisons here are backwards (e.g., the lt function is in terms of the sort direction, so is implemented by gt) private static int doComparison(byte lhs, byte rhs) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ByteStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ByteStampKernel.java index 377b16944ab..e25472b2303 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ByteStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ByteStampKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.chunk.*; @@ -16,14 +15,17 @@ public class ByteStampKernel implements StampKernel { static final ByteStampKernel INSTANCE = new ByteStampKernel(); + private ByteStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asByteChunk(), rightStamps.asByteChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(ByteChunk leftStamps, ByteChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(ByteChunk leftStamps, ByteChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -37,13 +39,12 @@ static private void computeRedirections(ByteChunk leftStamps, ByteChunk< final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final byte leftValue = leftStamps.get(li); if (lt(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (eq(leftValue, rightLowValue)) { + } else if (eq(leftValue, rightLowValue)) { leftRedirections.set(li++, rightKeyIndices.get(rightLowIdx)); continue; } @@ -77,6 +78,7 @@ else if (eq(leftValue, rightLowValue)) { } } } + // region comparison functions private static int doComparison(byte lhs, byte rhs) { return Byte.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/CharNoExactReverseStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/CharNoExactReverseStampKernel.java index f498b9c1be5..2f713a02397 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/CharNoExactReverseStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/CharNoExactReverseStampKernel.java @@ -1,6 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharNoExactReverseStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.chunk.*; @@ -11,14 +16,17 @@ public class CharNoExactReverseStampKernel implements StampKernel { static final CharNoExactReverseStampKernel INSTANCE = new CharNoExactReverseStampKernel(); + private CharNoExactReverseStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asCharChunk(), rightStamps.asCharChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(CharChunk leftStamps, CharChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(CharChunk leftStamps, CharChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -32,7 +40,7 @@ static private void computeRedirections(CharChunk leftStamps, CharChunk< final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final char leftValue = leftStamps.get(li); if (leq(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); @@ -68,6 +76,7 @@ static private void computeRedirections(CharChunk leftStamps, CharChunk< } } } + // region comparison functions // note that this is a descending kernel, thus the comparisons here are backwards (e.g., the lt function is in terms of the sort direction, so is implemented by gt) private static int doComparison(char lhs, char rhs) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/CharNoExactStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/CharNoExactStampKernel.java index 88b7d5dbe3c..b8d23ddbd5b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/CharNoExactStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/CharNoExactStampKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.chunk.*; @@ -11,14 +11,17 @@ public class CharNoExactStampKernel implements StampKernel { static final CharNoExactStampKernel INSTANCE = new CharNoExactStampKernel(); + private CharNoExactStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asCharChunk(), rightStamps.asCharChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(CharChunk leftStamps, CharChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(CharChunk leftStamps, CharChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -32,7 +35,7 @@ static private void computeRedirections(CharChunk leftStamps, CharChunk< final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final char leftValue = leftStamps.get(li); if (leq(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); @@ -68,6 +71,7 @@ static private void computeRedirections(CharChunk leftStamps, CharChunk< } } } + // region comparison functions private static int doComparison(char lhs, char rhs) { return Character.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/CharReverseStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/CharReverseStampKernel.java index 4c9a90362b4..7b0b7469bc5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/CharReverseStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/CharReverseStampKernel.java @@ -1,6 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharReverseStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.chunk.*; @@ -11,14 +16,17 @@ public class CharReverseStampKernel implements StampKernel { static final CharReverseStampKernel INSTANCE = new CharReverseStampKernel(); + private CharReverseStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asCharChunk(), rightStamps.asCharChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(CharChunk leftStamps, CharChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(CharChunk leftStamps, CharChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -32,13 +40,12 @@ static private void computeRedirections(CharChunk leftStamps, CharChunk< final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final char leftValue = leftStamps.get(li); if (lt(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (eq(leftValue, rightLowValue)) { + } else if (eq(leftValue, rightLowValue)) { leftRedirections.set(li++, rightKeyIndices.get(rightLowIdx)); continue; } @@ -72,6 +79,7 @@ else if (eq(leftValue, rightLowValue)) { } } } + // region comparison functions // note that this is a descending kernel, thus the comparisons here are backwards (e.g., the lt function is in terms of the sort direction, so is implemented by gt) private static int doComparison(char lhs, char rhs) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/CharStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/CharStampKernel.java index c572a566c02..3edc6549f97 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/CharStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/CharStampKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.chunk.*; @@ -11,14 +11,17 @@ public class CharStampKernel implements StampKernel { static final CharStampKernel INSTANCE = new CharStampKernel(); + private CharStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asCharChunk(), rightStamps.asCharChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(CharChunk leftStamps, CharChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(CharChunk leftStamps, CharChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -32,13 +35,12 @@ static private void computeRedirections(CharChunk leftStamps, CharChunk< final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final char leftValue = leftStamps.get(li); if (lt(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (eq(leftValue, rightLowValue)) { + } else if (eq(leftValue, rightLowValue)) { leftRedirections.set(li++, rightKeyIndices.get(rightLowIdx)); continue; } @@ -72,6 +74,7 @@ else if (eq(leftValue, rightLowValue)) { } } } + // region comparison functions private static int doComparison(char lhs, char rhs) { return Character.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/DoubleNoExactReverseStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/DoubleNoExactReverseStampKernel.java index 1b19968fd47..1c861138265 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/DoubleNoExactReverseStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/DoubleNoExactReverseStampKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharNoExactStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DoubleNoExactReverseStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.util.compare.DoubleComparisons; @@ -18,14 +18,17 @@ public class DoubleNoExactReverseStampKernel implements StampKernel { static final DoubleNoExactReverseStampKernel INSTANCE = new DoubleNoExactReverseStampKernel(); + private DoubleNoExactReverseStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asDoubleChunk(), rightStamps.asDoubleChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(DoubleChunk leftStamps, DoubleChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(DoubleChunk leftStamps, DoubleChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -39,7 +42,7 @@ static private void computeRedirections(DoubleChunk leftStamps, DoubleCh final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final double leftValue = leftStamps.get(li); if (leq(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); @@ -75,6 +78,7 @@ static private void computeRedirections(DoubleChunk leftStamps, DoubleCh } } } + // region comparison functions private static int doComparison(double lhs, double rhs) { return -1 * DoubleComparisons.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/DoubleNoExactStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/DoubleNoExactStampKernel.java index 4cfab9a2a42..9761cdf9e3c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/DoubleNoExactStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/DoubleNoExactStampKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharNoExactStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharNoExactStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.util.compare.DoubleComparisons; @@ -18,14 +17,17 @@ public class DoubleNoExactStampKernel implements StampKernel { static final DoubleNoExactStampKernel INSTANCE = new DoubleNoExactStampKernel(); + private DoubleNoExactStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asDoubleChunk(), rightStamps.asDoubleChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(DoubleChunk leftStamps, DoubleChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(DoubleChunk leftStamps, DoubleChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -39,7 +41,7 @@ static private void computeRedirections(DoubleChunk leftStamps, DoubleCh final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final double leftValue = leftStamps.get(li); if (leq(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); @@ -75,6 +77,7 @@ static private void computeRedirections(DoubleChunk leftStamps, DoubleCh } } } + // region comparison functions private static int doComparison(double lhs, double rhs) { return DoubleComparisons.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/DoubleReverseStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/DoubleReverseStampKernel.java index 47dd0215ef1..b645e4d5b74 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/DoubleReverseStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/DoubleReverseStampKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DoubleReverseStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.util.compare.DoubleComparisons; @@ -18,14 +18,17 @@ public class DoubleReverseStampKernel implements StampKernel { static final DoubleReverseStampKernel INSTANCE = new DoubleReverseStampKernel(); + private DoubleReverseStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asDoubleChunk(), rightStamps.asDoubleChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(DoubleChunk leftStamps, DoubleChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(DoubleChunk leftStamps, DoubleChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -39,13 +42,12 @@ static private void computeRedirections(DoubleChunk leftStamps, DoubleCh final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final double leftValue = leftStamps.get(li); if (lt(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (eq(leftValue, rightLowValue)) { + } else if (eq(leftValue, rightLowValue)) { leftRedirections.set(li++, rightKeyIndices.get(rightLowIdx)); continue; } @@ -79,6 +81,7 @@ else if (eq(leftValue, rightLowValue)) { } } } + // region comparison functions private static int doComparison(double lhs, double rhs) { return -1 * DoubleComparisons.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/DoubleStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/DoubleStampKernel.java index 1b5279619c7..ca4fe73549a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/DoubleStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/DoubleStampKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.util.compare.DoubleComparisons; @@ -18,14 +17,17 @@ public class DoubleStampKernel implements StampKernel { static final DoubleStampKernel INSTANCE = new DoubleStampKernel(); + private DoubleStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asDoubleChunk(), rightStamps.asDoubleChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(DoubleChunk leftStamps, DoubleChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(DoubleChunk leftStamps, DoubleChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -39,13 +41,12 @@ static private void computeRedirections(DoubleChunk leftStamps, DoubleCh final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final double leftValue = leftStamps.get(li); if (lt(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (eq(leftValue, rightLowValue)) { + } else if (eq(leftValue, rightLowValue)) { leftRedirections.set(li++, rightKeyIndices.get(rightLowIdx)); continue; } @@ -79,6 +80,7 @@ else if (eq(leftValue, rightLowValue)) { } } } + // region comparison functions private static int doComparison(double lhs, double rhs) { return DoubleComparisons.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/FloatNoExactReverseStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/FloatNoExactReverseStampKernel.java index 16d974b5c62..51bd14cdc72 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/FloatNoExactReverseStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/FloatNoExactReverseStampKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharNoExactStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatNoExactReverseStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.util.compare.FloatComparisons; @@ -18,14 +18,17 @@ public class FloatNoExactReverseStampKernel implements StampKernel { static final FloatNoExactReverseStampKernel INSTANCE = new FloatNoExactReverseStampKernel(); + private FloatNoExactReverseStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asFloatChunk(), rightStamps.asFloatChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(FloatChunk leftStamps, FloatChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(FloatChunk leftStamps, FloatChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -39,7 +42,7 @@ static private void computeRedirections(FloatChunk leftStamps, FloatChun final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final float leftValue = leftStamps.get(li); if (leq(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); @@ -75,6 +78,7 @@ static private void computeRedirections(FloatChunk leftStamps, FloatChun } } } + // region comparison functions private static int doComparison(float lhs, float rhs) { return -1 * FloatComparisons.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/FloatNoExactStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/FloatNoExactStampKernel.java index 7315917f3f5..ef18158cdad 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/FloatNoExactStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/FloatNoExactStampKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharNoExactStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharNoExactStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.util.compare.FloatComparisons; @@ -18,14 +17,17 @@ public class FloatNoExactStampKernel implements StampKernel { static final FloatNoExactStampKernel INSTANCE = new FloatNoExactStampKernel(); + private FloatNoExactStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asFloatChunk(), rightStamps.asFloatChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(FloatChunk leftStamps, FloatChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(FloatChunk leftStamps, FloatChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -39,7 +41,7 @@ static private void computeRedirections(FloatChunk leftStamps, FloatChun final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final float leftValue = leftStamps.get(li); if (leq(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); @@ -75,6 +77,7 @@ static private void computeRedirections(FloatChunk leftStamps, FloatChun } } } + // region comparison functions private static int doComparison(float lhs, float rhs) { return FloatComparisons.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/FloatReverseStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/FloatReverseStampKernel.java index f2f060202c0..caa9c663d3d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/FloatReverseStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/FloatReverseStampKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatReverseStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.util.compare.FloatComparisons; @@ -18,14 +18,17 @@ public class FloatReverseStampKernel implements StampKernel { static final FloatReverseStampKernel INSTANCE = new FloatReverseStampKernel(); + private FloatReverseStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asFloatChunk(), rightStamps.asFloatChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(FloatChunk leftStamps, FloatChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(FloatChunk leftStamps, FloatChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -39,13 +42,12 @@ static private void computeRedirections(FloatChunk leftStamps, FloatChun final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final float leftValue = leftStamps.get(li); if (lt(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (eq(leftValue, rightLowValue)) { + } else if (eq(leftValue, rightLowValue)) { leftRedirections.set(li++, rightKeyIndices.get(rightLowIdx)); continue; } @@ -79,6 +81,7 @@ else if (eq(leftValue, rightLowValue)) { } } } + // region comparison functions private static int doComparison(float lhs, float rhs) { return -1 * FloatComparisons.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/FloatStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/FloatStampKernel.java index 1d701e00eb6..d055cb04d2f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/FloatStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/FloatStampKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.util.compare.FloatComparisons; @@ -18,14 +17,17 @@ public class FloatStampKernel implements StampKernel { static final FloatStampKernel INSTANCE = new FloatStampKernel(); + private FloatStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asFloatChunk(), rightStamps.asFloatChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(FloatChunk leftStamps, FloatChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(FloatChunk leftStamps, FloatChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -39,13 +41,12 @@ static private void computeRedirections(FloatChunk leftStamps, FloatChun final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final float leftValue = leftStamps.get(li); if (lt(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (eq(leftValue, rightLowValue)) { + } else if (eq(leftValue, rightLowValue)) { leftRedirections.set(li++, rightKeyIndices.get(rightLowIdx)); continue; } @@ -79,6 +80,7 @@ else if (eq(leftValue, rightLowValue)) { } } } + // region comparison functions private static int doComparison(float lhs, float rhs) { return FloatComparisons.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/IntNoExactReverseStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/IntNoExactReverseStampKernel.java index 07f65f4ae4a..77d913c75ce 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/IntNoExactReverseStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/IntNoExactReverseStampKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharNoExactStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntNoExactReverseStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.chunk.*; @@ -16,14 +16,17 @@ public class IntNoExactReverseStampKernel implements StampKernel { static final IntNoExactReverseStampKernel INSTANCE = new IntNoExactReverseStampKernel(); + private IntNoExactReverseStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asIntChunk(), rightStamps.asIntChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(IntChunk leftStamps, IntChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(IntChunk leftStamps, IntChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -37,7 +40,7 @@ static private void computeRedirections(IntChunk leftStamps, IntChunk leftStamps, IntChunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asIntChunk(), rightStamps.asIntChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(IntChunk leftStamps, IntChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(IntChunk leftStamps, IntChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -37,7 +39,7 @@ static private void computeRedirections(IntChunk leftStamps, IntChunk leftStamps, IntChunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asIntChunk(), rightStamps.asIntChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(IntChunk leftStamps, IntChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(IntChunk leftStamps, IntChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -37,13 +40,12 @@ static private void computeRedirections(IntChunk leftStamps, IntChunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asIntChunk(), rightStamps.asIntChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(IntChunk leftStamps, IntChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(IntChunk leftStamps, IntChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -37,13 +39,12 @@ static private void computeRedirections(IntChunk leftStamps, IntChunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asLongChunk(), rightStamps.asLongChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(LongChunk leftStamps, LongChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(LongChunk leftStamps, LongChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -37,7 +40,7 @@ static private void computeRedirections(LongChunk leftStamps, LongChunk< final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final long leftValue = leftStamps.get(li); if (leq(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); @@ -73,6 +76,7 @@ static private void computeRedirections(LongChunk leftStamps, LongChunk< } } } + // region comparison functions // note that this is a descending kernel, thus the comparisons here are backwards (e.g., the lt function is in terms of the sort direction, so is implemented by gt) private static int doComparison(long lhs, long rhs) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/LongNoExactStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/LongNoExactStampKernel.java index 7e1e96812f4..86fbead8ba9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/LongNoExactStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/LongNoExactStampKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharNoExactStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharNoExactStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.chunk.*; @@ -16,14 +15,17 @@ public class LongNoExactStampKernel implements StampKernel { static final LongNoExactStampKernel INSTANCE = new LongNoExactStampKernel(); + private LongNoExactStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asLongChunk(), rightStamps.asLongChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(LongChunk leftStamps, LongChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(LongChunk leftStamps, LongChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -37,7 +39,7 @@ static private void computeRedirections(LongChunk leftStamps, LongChunk< final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final long leftValue = leftStamps.get(li); if (leq(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); @@ -73,6 +75,7 @@ static private void computeRedirections(LongChunk leftStamps, LongChunk< } } } + // region comparison functions private static int doComparison(long lhs, long rhs) { return Long.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/LongReverseStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/LongReverseStampKernel.java index 05e76dd4f15..9479fc8ac0b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/LongReverseStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/LongReverseStampKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit LongReverseStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.chunk.*; @@ -16,14 +16,17 @@ public class LongReverseStampKernel implements StampKernel { static final LongReverseStampKernel INSTANCE = new LongReverseStampKernel(); + private LongReverseStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asLongChunk(), rightStamps.asLongChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(LongChunk leftStamps, LongChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(LongChunk leftStamps, LongChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -37,13 +40,12 @@ static private void computeRedirections(LongChunk leftStamps, LongChunk< final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final long leftValue = leftStamps.get(li); if (lt(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (eq(leftValue, rightLowValue)) { + } else if (eq(leftValue, rightLowValue)) { leftRedirections.set(li++, rightKeyIndices.get(rightLowIdx)); continue; } @@ -77,6 +79,7 @@ else if (eq(leftValue, rightLowValue)) { } } } + // region comparison functions // note that this is a descending kernel, thus the comparisons here are backwards (e.g., the lt function is in terms of the sort direction, so is implemented by gt) private static int doComparison(long lhs, long rhs) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/LongStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/LongStampKernel.java index ae94a33494c..dd8fa82b5c2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/LongStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/LongStampKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.chunk.*; @@ -16,14 +15,17 @@ public class LongStampKernel implements StampKernel { static final LongStampKernel INSTANCE = new LongStampKernel(); + private LongStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asLongChunk(), rightStamps.asLongChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(LongChunk leftStamps, LongChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(LongChunk leftStamps, LongChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -37,13 +39,12 @@ static private void computeRedirections(LongChunk leftStamps, LongChunk< final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final long leftValue = leftStamps.get(li); if (lt(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (eq(leftValue, rightLowValue)) { + } else if (eq(leftValue, rightLowValue)) { leftRedirections.set(li++, rightKeyIndices.get(rightLowIdx)); continue; } @@ -77,6 +78,7 @@ else if (eq(leftValue, rightLowValue)) { } } } + // region comparison functions private static int doComparison(long lhs, long rhs) { return Long.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/NullAwareCharNoExactReverseStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/NullAwareCharNoExactReverseStampKernel.java index ef0592b05b5..02b93f6a8c5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/NullAwareCharNoExactReverseStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/NullAwareCharNoExactReverseStampKernel.java @@ -1,9 +1,15 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharNoExactStampKernel and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit NullAwareCharNoExactReverseStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off + + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.util.QueryConstants; @@ -17,14 +23,17 @@ public class NullAwareCharNoExactReverseStampKernel implements StampKernel { static final NullAwareCharNoExactReverseStampKernel INSTANCE = new NullAwareCharNoExactReverseStampKernel(); + private NullAwareCharNoExactReverseStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asCharChunk(), rightStamps.asCharChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(CharChunk leftStamps, CharChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(CharChunk leftStamps, CharChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -38,7 +47,7 @@ static private void computeRedirections(CharChunk leftStamps, CharChunk< final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final char leftValue = leftStamps.get(li); if (leq(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); @@ -74,6 +83,7 @@ static private void computeRedirections(CharChunk leftStamps, CharChunk< } } } + // region comparison functions // note that this is a descending kernel, thus the comparisons here are backwards (e.g., the lt function is in terms of the sort direction, so is implemented by gt) private static int doComparison(char lhs, char rhs) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/NullAwareCharNoExactStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/NullAwareCharNoExactStampKernel.java index 94cb63ba68b..4cb6e024d21 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/NullAwareCharNoExactStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/NullAwareCharNoExactStampKernel.java @@ -1,9 +1,14 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharNoExactStampKernel and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharNoExactStampKernel and run "./gradlew replicateDupCompactKernel" to regenerate +// +// @formatter:off + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.util.QueryConstants; @@ -17,14 +22,17 @@ public class NullAwareCharNoExactStampKernel implements StampKernel { static final NullAwareCharNoExactStampKernel INSTANCE = new NullAwareCharNoExactStampKernel(); + private NullAwareCharNoExactStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asCharChunk(), rightStamps.asCharChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(CharChunk leftStamps, CharChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(CharChunk leftStamps, CharChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -38,7 +46,7 @@ static private void computeRedirections(CharChunk leftStamps, CharChunk< final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final char leftValue = leftStamps.get(li); if (leq(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); @@ -74,6 +82,7 @@ static private void computeRedirections(CharChunk leftStamps, CharChunk< } } } + // region comparison functions private static int doComparison(char lhs, char rhs) { return CharComparisons.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/NullAwareCharReverseStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/NullAwareCharReverseStampKernel.java index 6221013c017..f2cbf0432f2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/NullAwareCharReverseStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/NullAwareCharReverseStampKernel.java @@ -1,9 +1,15 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharStampKernel and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit NullAwareCharReverseStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off + + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.util.QueryConstants; @@ -17,14 +23,17 @@ public class NullAwareCharReverseStampKernel implements StampKernel { static final NullAwareCharReverseStampKernel INSTANCE = new NullAwareCharReverseStampKernel(); + private NullAwareCharReverseStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asCharChunk(), rightStamps.asCharChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(CharChunk leftStamps, CharChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(CharChunk leftStamps, CharChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -38,13 +47,12 @@ static private void computeRedirections(CharChunk leftStamps, CharChunk< final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final char leftValue = leftStamps.get(li); if (lt(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (eq(leftValue, rightLowValue)) { + } else if (eq(leftValue, rightLowValue)) { leftRedirections.set(li++, rightKeyIndices.get(rightLowIdx)); continue; } @@ -78,6 +86,7 @@ else if (eq(leftValue, rightLowValue)) { } } } + // region comparison functions // note that this is a descending kernel, thus the comparisons here are backwards (e.g., the lt function is in terms of the sort direction, so is implemented by gt) private static int doComparison(char lhs, char rhs) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/NullAwareCharStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/NullAwareCharStampKernel.java index 67de395002f..e0cc6202618 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/NullAwareCharStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/NullAwareCharStampKernel.java @@ -1,9 +1,14 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharStampKernel and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharStampKernel and run "./gradlew replicateDupCompactKernel" to regenerate +// +// @formatter:off + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.util.QueryConstants; @@ -17,14 +22,17 @@ public class NullAwareCharStampKernel implements StampKernel { static final NullAwareCharStampKernel INSTANCE = new NullAwareCharStampKernel(); + private NullAwareCharStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asCharChunk(), rightStamps.asCharChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(CharChunk leftStamps, CharChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(CharChunk leftStamps, CharChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -38,13 +46,12 @@ static private void computeRedirections(CharChunk leftStamps, CharChunk< final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final char leftValue = leftStamps.get(li); if (lt(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (eq(leftValue, rightLowValue)) { + } else if (eq(leftValue, rightLowValue)) { leftRedirections.set(li++, rightKeyIndices.get(rightLowIdx)); continue; } @@ -78,6 +85,7 @@ else if (eq(leftValue, rightLowValue)) { } } } + // region comparison functions private static int doComparison(char lhs, char rhs) { return CharComparisons.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ObjectNoExactReverseStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ObjectNoExactReverseStampKernel.java index ff5d2ebc96f..fd24f6ad0a8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ObjectNoExactReverseStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ObjectNoExactReverseStampKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharNoExactStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ObjectNoExactReverseStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.join.stamp; import java.util.Objects; @@ -20,14 +20,17 @@ public class ObjectNoExactReverseStampKernel implements StampKernel { static final ObjectNoExactReverseStampKernel INSTANCE = new ObjectNoExactReverseStampKernel(); + private ObjectNoExactReverseStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asObjectChunk(), rightStamps.asObjectChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(ObjectChunk leftStamps, ObjectChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(ObjectChunk leftStamps, ObjectChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -41,7 +44,7 @@ static private void computeRedirections(ObjectChunk leftStamps, final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final Object leftValue = leftStamps.get(li); if (leq(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); @@ -77,6 +80,7 @@ static private void computeRedirections(ObjectChunk leftStamps, } } } + // region comparison functions // descending comparison private static int doComparison(Object lhs, Object rhs) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ObjectNoExactStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ObjectNoExactStampKernel.java index b97e9fd007d..1ffc2ddf90b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ObjectNoExactStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ObjectNoExactStampKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharNoExactStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharNoExactStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.stamp; import java.util.Objects; @@ -18,14 +17,17 @@ public class ObjectNoExactStampKernel implements StampKernel { static final ObjectNoExactStampKernel INSTANCE = new ObjectNoExactStampKernel(); + private ObjectNoExactStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asObjectChunk(), rightStamps.asObjectChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(ObjectChunk leftStamps, ObjectChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(ObjectChunk leftStamps, ObjectChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -39,7 +41,7 @@ static private void computeRedirections(ObjectChunk leftStamps, final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final Object leftValue = leftStamps.get(li); if (leq(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); @@ -75,6 +77,7 @@ static private void computeRedirections(ObjectChunk leftStamps, } } } + // region comparison functions // ascending comparison private static int doComparison(Object lhs, Object rhs) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ObjectReverseStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ObjectReverseStampKernel.java index 7977e4594c7..2879a4ff776 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ObjectReverseStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ObjectReverseStampKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ObjectReverseStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.join.stamp; import java.util.Objects; @@ -20,14 +20,17 @@ public class ObjectReverseStampKernel implements StampKernel { static final ObjectReverseStampKernel INSTANCE = new ObjectReverseStampKernel(); + private ObjectReverseStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asObjectChunk(), rightStamps.asObjectChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(ObjectChunk leftStamps, ObjectChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(ObjectChunk leftStamps, ObjectChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -41,13 +44,12 @@ static private void computeRedirections(ObjectChunk leftStamps, final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final Object leftValue = leftStamps.get(li); if (lt(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (eq(leftValue, rightLowValue)) { + } else if (eq(leftValue, rightLowValue)) { leftRedirections.set(li++, rightKeyIndices.get(rightLowIdx)); continue; } @@ -81,6 +83,7 @@ else if (eq(leftValue, rightLowValue)) { } } } + // region comparison functions // descending comparison private static int doComparison(Object lhs, Object rhs) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ObjectStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ObjectStampKernel.java index fcc0535ce30..affae91eaee 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ObjectStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ObjectStampKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.stamp; import java.util.Objects; @@ -18,14 +17,17 @@ public class ObjectStampKernel implements StampKernel { static final ObjectStampKernel INSTANCE = new ObjectStampKernel(); + private ObjectStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asObjectChunk(), rightStamps.asObjectChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(ObjectChunk leftStamps, ObjectChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(ObjectChunk leftStamps, ObjectChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -39,13 +41,12 @@ static private void computeRedirections(ObjectChunk leftStamps, final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final Object leftValue = leftStamps.get(li); if (lt(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (eq(leftValue, rightLowValue)) { + } else if (eq(leftValue, rightLowValue)) { leftRedirections.set(li++, rightKeyIndices.get(rightLowIdx)); continue; } @@ -79,6 +80,7 @@ else if (eq(leftValue, rightLowValue)) { } } } + // region comparison functions // ascending comparison private static int doComparison(Object lhs, Object rhs) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ShortNoExactReverseStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ShortNoExactReverseStampKernel.java index 34a90be12a3..255667ba814 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ShortNoExactReverseStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ShortNoExactReverseStampKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharNoExactStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortNoExactReverseStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.chunk.*; @@ -16,14 +16,17 @@ public class ShortNoExactReverseStampKernel implements StampKernel { static final ShortNoExactReverseStampKernel INSTANCE = new ShortNoExactReverseStampKernel(); + private ShortNoExactReverseStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asShortChunk(), rightStamps.asShortChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(ShortChunk leftStamps, ShortChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(ShortChunk leftStamps, ShortChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -37,7 +40,7 @@ static private void computeRedirections(ShortChunk leftStamps, ShortChun final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final short leftValue = leftStamps.get(li); if (leq(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); @@ -73,6 +76,7 @@ static private void computeRedirections(ShortChunk leftStamps, ShortChun } } } + // region comparison functions // note that this is a descending kernel, thus the comparisons here are backwards (e.g., the lt function is in terms of the sort direction, so is implemented by gt) private static int doComparison(short lhs, short rhs) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ShortNoExactStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ShortNoExactStampKernel.java index 3efe1fbbea2..95af381de72 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ShortNoExactStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ShortNoExactStampKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharNoExactStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharNoExactStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.chunk.*; @@ -16,14 +15,17 @@ public class ShortNoExactStampKernel implements StampKernel { static final ShortNoExactStampKernel INSTANCE = new ShortNoExactStampKernel(); + private ShortNoExactStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asShortChunk(), rightStamps.asShortChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(ShortChunk leftStamps, ShortChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(ShortChunk leftStamps, ShortChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -37,7 +39,7 @@ static private void computeRedirections(ShortChunk leftStamps, ShortChun final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final short leftValue = leftStamps.get(li); if (leq(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); @@ -73,6 +75,7 @@ static private void computeRedirections(ShortChunk leftStamps, ShortChun } } } + // region comparison functions private static int doComparison(short lhs, short rhs) { return Short.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ShortReverseStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ShortReverseStampKernel.java index 53a4335d445..32e8513d088 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ShortReverseStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ShortReverseStampKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortReverseStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.chunk.*; @@ -16,14 +16,17 @@ public class ShortReverseStampKernel implements StampKernel { static final ShortReverseStampKernel INSTANCE = new ShortReverseStampKernel(); + private ShortReverseStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asShortChunk(), rightStamps.asShortChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(ShortChunk leftStamps, ShortChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(ShortChunk leftStamps, ShortChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -37,13 +40,12 @@ static private void computeRedirections(ShortChunk leftStamps, ShortChun final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final short leftValue = leftStamps.get(li); if (lt(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (eq(leftValue, rightLowValue)) { + } else if (eq(leftValue, rightLowValue)) { leftRedirections.set(li++, rightKeyIndices.get(rightLowIdx)); continue; } @@ -77,6 +79,7 @@ else if (eq(leftValue, rightLowValue)) { } } } + // region comparison functions // note that this is a descending kernel, thus the comparisons here are backwards (e.g., the lt function is in terms of the sort direction, so is implemented by gt) private static int doComparison(short lhs, short rhs) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ShortStampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ShortStampKernel.java index d84dace7a7c..2d89b92cb89 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ShortStampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/ShortStampKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharStampKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharStampKernel and run "./gradlew replicateStampKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.chunk.*; @@ -16,14 +15,17 @@ public class ShortStampKernel implements StampKernel { static final ShortStampKernel INSTANCE = new ShortStampKernel(); + private ShortStampKernel() {} // static use only @Override - public void computeRedirections(Chunk leftStamps, Chunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + public void computeRedirections(Chunk leftStamps, Chunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { computeRedirections(leftStamps.asShortChunk(), rightStamps.asShortChunk(), rightKeyIndices, leftRedirections); } - static private void computeRedirections(ShortChunk leftStamps, ShortChunk rightStamps, LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { + static private void computeRedirections(ShortChunk leftStamps, ShortChunk rightStamps, + LongChunk rightKeyIndices, WritableLongChunk leftRedirections) { final int leftSize = leftStamps.size(); final int rightSize = rightStamps.size(); if (rightSize == 0) { @@ -37,13 +39,12 @@ static private void computeRedirections(ShortChunk leftStamps, ShortChun final int maxRightIdx = rightSize - 1; - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final short leftValue = leftStamps.get(li); if (lt(leftValue, rightLowValue)) { leftRedirections.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (eq(leftValue, rightLowValue)) { + } else if (eq(leftValue, rightLowValue)) { leftRedirections.set(li++, rightKeyIndices.get(rightLowIdx)); continue; } @@ -77,6 +78,7 @@ else if (eq(leftValue, rightLowValue)) { } } } + // region comparison functions private static int doComparison(short lhs, short rhs) { return Short.compare(lhs, rhs); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/StampKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/StampKernel.java index b30f1e349f9..d641ebca495 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/StampKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/join/stamp/StampKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.join.stamp; import io.deephaven.engine.table.Context; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/lang/JavaExpressionParser.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/lang/JavaExpressionParser.java index 0dd03663749..0e577c57c7c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/lang/JavaExpressionParser.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/lang/JavaExpressionParser.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.lang; import com.github.javaparser.JavaParser; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/lang/QueryLanguageFunctionUtils.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/lang/QueryLanguageFunctionUtils.java index 8c9ea61d11f..4bc446f5084 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/lang/QueryLanguageFunctionUtils.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/lang/QueryLanguageFunctionUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.lang; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/lang/QueryLanguageParser.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/lang/QueryLanguageParser.java index 705111387d6..0f636d9a5b5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/lang/QueryLanguageParser.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/lang/QueryLanguageParser.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.lang; import com.github.javaparser.StaticJavaParser; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/BasicTableDataListener.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/BasicTableDataListener.java index 500b09cbbc8..7b3a0fa3fca 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/BasicTableDataListener.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/BasicTableDataListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import org.jetbrains.annotations.NotNull; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/ColumnLocation.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/ColumnLocation.java index fe6073508bf..63b2a177dd5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/ColumnLocation.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/ColumnLocation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/GroupingProvider.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/GroupingProvider.java index 9e23c16275a..a37361c509b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/GroupingProvider.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/GroupingProvider.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import io.deephaven.base.Pair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/ImmutableTableKey.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/ImmutableTableKey.java index 6c252ffc6ce..3296d8b12cb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/ImmutableTableKey.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/ImmutableTableKey.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import io.deephaven.util.annotations.FinalDefault; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/ImmutableTableLocationKey.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/ImmutableTableLocationKey.java index 0d46e341c6e..407d6df9917 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/ImmutableTableLocationKey.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/ImmutableTableLocationKey.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import io.deephaven.util.annotations.FinalDefault; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/InvalidatedRegionException.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/InvalidatedRegionException.java index 81b5e82bbb5..2b9b956c102 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/InvalidatedRegionException.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/InvalidatedRegionException.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import org.jetbrains.annotations.NotNull; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/KeyRangeGroupingProvider.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/KeyRangeGroupingProvider.java index fbf2d98f2c4..7e47fc4228d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/KeyRangeGroupingProvider.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/KeyRangeGroupingProvider.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableDataException.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableDataException.java index 2ded691a296..0c53e165dc0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableDataException.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableDataException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import io.deephaven.engine.exceptions.CancellationException; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableDataService.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableDataService.java index 6179ee63d22..ccd392534be 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableDataService.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableDataService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import org.jetbrains.annotations.NotNull; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableKey.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableKey.java index 9dcac6a8c24..bebb027822c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableKey.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableKey.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import io.deephaven.base.log.LogOutputAppendable; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocation.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocation.java index a4fb0085240..0771071f05c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocation.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationKey.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationKey.java index 6e7a5f3d1ec..8b67fd1b6bd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationKey.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationKey.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import io.deephaven.base.log.LogOutputAppendable; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationProvider.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationProvider.java index d8991c7d964..84969d6249f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationProvider.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationProvider.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import io.deephaven.util.type.NamedImplementation; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationRemovedException.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationRemovedException.java index e88465f1608..afd684959b5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationRemovedException.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationRemovedException.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationState.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationState.java index d7a255a0660..5c30b65d7d3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationState.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationState.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import io.deephaven.engine.table.impl.sources.regioned.RegionedColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationStateHolder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationStateHolder.java index a7e75e4a2e7..28c7e64e944 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationStateHolder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/TableLocationStateHolder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/UnknownPartitionKeyException.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/UnknownPartitionKeyException.java index e71e1cc3747..b75294e8319 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/UnknownPartitionKeyException.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/UnknownPartitionKeyException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/AbstractColumnLocation.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/AbstractColumnLocation.java index e08db0516b1..bf2b121b625 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/AbstractColumnLocation.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/AbstractColumnLocation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/AbstractTableDataService.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/AbstractTableDataService.java index 92fb20d49c8..3be464123c4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/AbstractTableDataService.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/AbstractTableDataService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.engine.table.impl.locations.TableDataService; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/AbstractTableLocation.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/AbstractTableLocation.java index 85ddd813832..be4949f05bc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/AbstractTableLocation.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/AbstractTableLocation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/AbstractTableLocationProvider.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/AbstractTableLocationProvider.java index 94f29f0a973..121af0942e3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/AbstractTableLocationProvider.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/AbstractTableLocationProvider.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/CompositeTableDataService.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/CompositeTableDataService.java index fded1117149..e9dbbc747ce 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/CompositeTableDataService.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/CompositeTableDataService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/CompositeTableDataServiceConsistencyMonitor.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/CompositeTableDataServiceConsistencyMonitor.java index 8b2e0177cdf..6c113d35ae4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/CompositeTableDataServiceConsistencyMonitor.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/CompositeTableDataServiceConsistencyMonitor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import java.util.function.Supplier; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/FilteredTableDataService.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/FilteredTableDataService.java index d3b25bf3131..8bfbeed184a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/FilteredTableDataService.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/FilteredTableDataService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.base.reference.WeakReferenceWrapper; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/FunctionConsistencyMonitor.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/FunctionConsistencyMonitor.java index 26f4a86596c..19ad7c982e8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/FunctionConsistencyMonitor.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/FunctionConsistencyMonitor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.util.SafeCloseable; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/KnownLocationKeyFinder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/KnownLocationKeyFinder.java index 5710f235e33..4e0af4b1cea 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/KnownLocationKeyFinder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/KnownLocationKeyFinder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.engine.table.impl.locations.ImmutableTableLocationKey; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/NonexistentTableLocation.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/NonexistentTableLocation.java index 9bca3b3087f..42c19821cd3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/NonexistentTableLocation.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/NonexistentTableLocation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.engine.table.impl.locations.ColumnLocation; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/ParallelDeferredGroupingProvider.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/ParallelDeferredGroupingProvider.java index e6cc7ab4e51..845e1bdd617 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/ParallelDeferredGroupingProvider.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/ParallelDeferredGroupingProvider.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.base.Pair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/PartitionedTableLocationKey.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/PartitionedTableLocationKey.java index b4c78d885ff..83f6e619f0f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/PartitionedTableLocationKey.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/PartitionedTableLocationKey.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/PollingTableLocationProvider.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/PollingTableLocationProvider.java index 78e8af673ad..361a18c8c44 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/PollingTableLocationProvider.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/PollingTableLocationProvider.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.engine.table.impl.locations.TableKey; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/RandomGroupingBuilder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/RandomGroupingBuilder.java index e94d5e99e89..df2d4847a46 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/RandomGroupingBuilder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/RandomGroupingBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/RecordingLocationKeyFinder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/RecordingLocationKeyFinder.java index 778497b763f..90ea12323fe 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/RecordingLocationKeyFinder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/RecordingLocationKeyFinder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.engine.table.impl.locations.ImmutableTableLocationKey; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/SingleTableLocationProvider.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/SingleTableLocationProvider.java index 35aee108f5a..a94abd87f5f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/SingleTableLocationProvider.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/SingleTableLocationProvider.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.engine.table.impl.locations.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/StandaloneTableKey.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/StandaloneTableKey.java index 0e83dbb85af..c5296387407 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/StandaloneTableKey.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/StandaloneTableKey.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/StandaloneTableLocationKey.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/StandaloneTableLocationKey.java index ae133c6fa15..a8ff59d8dd3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/StandaloneTableLocationKey.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/StandaloneTableLocationKey.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/SubscriptionAggregator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/SubscriptionAggregator.java index a3457879469..13afc20ce85 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/SubscriptionAggregator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/SubscriptionAggregator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.engine.table.impl.locations.BasicTableDataListener; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/TableLocationFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/TableLocationFactory.java index 84198777d50..ea2d01f0832 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/TableLocationFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/TableLocationFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.engine.table.impl.locations.TableKey; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/TableLocationKeyFinder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/TableLocationKeyFinder.java index c57d6c46c51..8ee98287492 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/TableLocationKeyFinder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/TableLocationKeyFinder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.engine.table.impl.locations.TableLocationKey; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/TableLocationSubscriptionBuffer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/TableLocationSubscriptionBuffer.java index 0ecbcac929a..fae32e8a0a1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/TableLocationSubscriptionBuffer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/TableLocationSubscriptionBuffer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/TableLocationUpdateSubscriptionBuffer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/TableLocationUpdateSubscriptionBuffer.java index 2a4a0166e43..0422d3d703d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/TableLocationUpdateSubscriptionBuffer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/impl/TableLocationUpdateSubscriptionBuffer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/local/FileTableLocationKey.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/local/FileTableLocationKey.java index b9cd4012126..251a1874277 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/local/FileTableLocationKey.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/local/FileTableLocationKey.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.local; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/local/KeyValuePartitionLayout.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/local/KeyValuePartitionLayout.java index bf9ee30b8f5..cdd0ba042e0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/local/KeyValuePartitionLayout.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/local/KeyValuePartitionLayout.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.local; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/local/LocationTableBuilderDefinition.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/local/LocationTableBuilderDefinition.java index f946e057735..52e27a9c787 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/local/LocationTableBuilderDefinition.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/local/LocationTableBuilderDefinition.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.local; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/local/URITableLocationKey.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/local/URITableLocationKey.java index e5852c6dcf2..86f9035d463 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/local/URITableLocationKey.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/local/URITableLocationKey.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FileTableLocationKey and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FileTableLocationKey and run "./gradlew replicateTableLocationKey" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.locations.local; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/util/ExecutorTableDataRefreshService.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/util/ExecutorTableDataRefreshService.java index 3fcb344be42..8c4e016607c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/util/ExecutorTableDataRefreshService.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/util/ExecutorTableDataRefreshService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.util; import io.deephaven.base.stats.Counter; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/util/PartitionParser.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/util/PartitionParser.java index d2237e6e897..f8608f5f6df 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/util/PartitionParser.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/util/PartitionParser.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.util; import io.deephaven.qst.type.ArrayType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/util/TableDataRefreshService.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/util/TableDataRefreshService.java index 92727ce9195..c6b823c3139 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/util/TableDataRefreshService.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/locations/util/TableDataRefreshService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.util; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/IncrementalMultiJoinStateManagerTypedBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/IncrementalMultiJoinStateManagerTypedBase.java index 17fb4d2015d..e0fd72cf2f1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/IncrementalMultiJoinStateManagerTypedBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/IncrementalMultiJoinStateManagerTypedBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.multijoin; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/StaticMultiJoinStateManagerTypedBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/StaticMultiJoinStateManagerTypedBase.java index c662260f42a..cf9ea1d1bb4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/StaticMultiJoinStateManagerTypedBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/StaticMultiJoinStateManagerTypedBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.multijoin; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/TypedMultiJoinFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/TypedMultiJoinFactory.java index e4dda8648af..a6e9c32b780 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/TypedMultiJoinFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/TypedMultiJoinFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.multijoin; import com.squareup.javapoet.CodeBlock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherByte.java index d90e8e6ece5..437d5ac90a6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.incopen.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherChar.java index e4929940c0e..d9811cf8173 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.incopen.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherDouble.java index ccc988612a6..4752db90386 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.incopen.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherFloat.java index 115a25b0ca8..374ccb3b9d7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.incopen.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherInt.java index 9de0920427d..6f36000e630 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.incopen.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherLong.java index 88fe4e58f74..8d6c13e6f17 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.incopen.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherObject.java index eda05056088..e8e1257082c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.incopen.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherShort.java index fc38ea3cfe6..5475416e5dd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/IncrementalMultiJoinHasherShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.incopen.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/TypedHashDispatcher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/TypedHashDispatcher.java index 43af5b40f79..c9cf0c9b8a6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/TypedHashDispatcher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/incopen/gen/TypedHashDispatcher.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.replicators.ReplicateTypedHashers -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.incopen.gen; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherByte.java index 6caae305042..db762273c17 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.staticopen.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherChar.java index cfc9875695c..98595ba3331 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.staticopen.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherDouble.java index 89392db9fc8..7c2dd4d7cce 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.staticopen.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherFloat.java index 44be0a065e5..62b60941fae 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.staticopen.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherInt.java index 76b1f54308c..92eecbcfc3f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.staticopen.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherLong.java index dd4a1d30a90..d8e6c76f697 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.staticopen.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherObject.java index b4fef3aa9b4..4c306ecc640 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.staticopen.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherShort.java index 44d950ee178..a99f3cb186b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/StaticMultiJoinHasherShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.staticopen.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/TypedHashDispatcher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/TypedHashDispatcher.java index 8c4899f215f..4e8cf5b6352 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/TypedHashDispatcher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/multijoin/typed/staticopen/gen/TypedHashDispatcher.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.replicators.ReplicateTypedHashers -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.multijoin.typed.staticopen.gen; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/DuplicateRightRowDecorationException.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/DuplicateRightRowDecorationException.java index 40505981af8..3dd900340c9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/DuplicateRightRowDecorationException.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/DuplicateRightRowDecorationException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.naturaljoin; /** diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/IncrementalNaturalJoinStateManagerTypedBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/IncrementalNaturalJoinStateManagerTypedBase.java index 7969f15cfeb..1506f8649f1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/IncrementalNaturalJoinStateManagerTypedBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/IncrementalNaturalJoinStateManagerTypedBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.naturaljoin; import gnu.trove.list.array.TLongArrayList; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/RightIncrementalNaturalJoinStateManagerTypedBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/RightIncrementalNaturalJoinStateManagerTypedBase.java index 8e49aba0d94..dbdc3a7b295 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/RightIncrementalNaturalJoinStateManagerTypedBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/RightIncrementalNaturalJoinStateManagerTypedBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.naturaljoin; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/StaticHashedNaturalJoinStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/StaticHashedNaturalJoinStateManager.java index a1c2384ac17..dec0dc76261 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/StaticHashedNaturalJoinStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/StaticHashedNaturalJoinStateManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.naturaljoin; import io.deephaven.engine.rowset.RowSet; @@ -22,16 +22,29 @@ protected StaticHashedNaturalJoinStateManager(ColumnSource[] keySourcesForErr super(keySourcesForErrorMessages); } - public abstract void buildFromLeftSide(final Table leftTable, ColumnSource[] leftSources, final IntegerArraySource leftHashSlots); - public abstract void buildFromRightSide(final Table rightTable, ColumnSource [] rightSources); - public abstract void decorateLeftSide(RowSet leftRowSet, ColumnSource [] leftSources, final LongArraySource leftRedirections); - public abstract void decorateWithRightSide(Table rightTable, ColumnSource [] rightSources); + public abstract void buildFromLeftSide(final Table leftTable, ColumnSource[] leftSources, + final IntegerArraySource leftHashSlots); - public abstract WritableRowRedirection buildRowRedirectionFromHashSlot(QueryTable leftTable, boolean exactMatch, IntegerArraySource leftHashSlots, JoinControl.RedirectionType redirectionType); - public abstract WritableRowRedirection buildRowRedirectionFromRedirections(QueryTable leftTable, boolean exactMatch, LongArraySource leftRedirections, JoinControl.RedirectionType redirectionType); - public abstract WritableRowRedirection buildGroupedRowRedirection(QueryTable leftTable, boolean exactMatch, long groupingSize, IntegerArraySource leftHashSlots, ArrayBackedColumnSource leftIndices, JoinControl.RedirectionType redirectionType); + public abstract void buildFromRightSide(final Table rightTable, ColumnSource[] rightSources); - protected WritableRowRedirection buildGroupedRowRedirection(QueryTable leftTable, boolean exactMatch, long groupingSize, LongUnaryOperator groupPositionToRightSide, ArrayBackedColumnSource leftIndices, JoinControl.RedirectionType redirectionType) { + public abstract void decorateLeftSide(RowSet leftRowSet, ColumnSource[] leftSources, + final LongArraySource leftRedirections); + + public abstract void decorateWithRightSide(Table rightTable, ColumnSource[] rightSources); + + public abstract WritableRowRedirection buildRowRedirectionFromHashSlot(QueryTable leftTable, boolean exactMatch, + IntegerArraySource leftHashSlots, JoinControl.RedirectionType redirectionType); + + public abstract WritableRowRedirection buildRowRedirectionFromRedirections(QueryTable leftTable, boolean exactMatch, + LongArraySource leftRedirections, JoinControl.RedirectionType redirectionType); + + public abstract WritableRowRedirection buildGroupedRowRedirection(QueryTable leftTable, boolean exactMatch, + long groupingSize, IntegerArraySource leftHashSlots, ArrayBackedColumnSource leftIndices, + JoinControl.RedirectionType redirectionType); + + protected WritableRowRedirection buildGroupedRowRedirection(QueryTable leftTable, boolean exactMatch, + long groupingSize, LongUnaryOperator groupPositionToRightSide, ArrayBackedColumnSource leftIndices, + JoinControl.RedirectionType redirectionType) { switch (redirectionType) { case Contiguous: { if (!leftTable.isFlat()) { @@ -62,7 +75,8 @@ protected WritableRowRedirection buildGroupedRowRedirection(QueryTable leftTable return new LongColumnSourceWritableRowRedirection(sparseRedirections); } case Hash: { - final WritableRowRedirection rowRedirection = WritableRowRedirectionLockFree.FACTORY.createRowRedirection(leftTable.intSize()); + final WritableRowRedirection rowRedirection = + WritableRowRedirectionLockFree.FACTORY.createRowRedirection(leftTable.intSize()); for (int ii = 0; ii < groupingSize; ++ii) { final long rightSide = groupPositionToRightSide.applyAsLong(ii); @@ -80,16 +94,19 @@ protected WritableRowRedirection buildGroupedRowRedirection(QueryTable leftTable throw new IllegalStateException("Bad redirectionType: " + redirectionType); } - public void errorOnDuplicates(IntegerArraySource leftHashSlots, long size, LongUnaryOperator groupPositionToRightSide, LongUnaryOperator firstLeftKey) { + public void errorOnDuplicates(IntegerArraySource leftHashSlots, long size, + LongUnaryOperator groupPositionToRightSide, LongUnaryOperator firstLeftKey) { for (int ii = 0; ii < size; ++ii) { final long rightSide = groupPositionToRightSide.applyAsLong(ii); if (rightSide == DUPLICATE_RIGHT_VALUE) { - throw new IllegalStateException("Natural Join found duplicate right key for " + extractKeyStringFromSourceTable(firstLeftKey.applyAsLong(ii))); + throw new IllegalStateException("Natural Join found duplicate right key for " + + extractKeyStringFromSourceTable(firstLeftKey.applyAsLong(ii))); } } } - public void errorOnDuplicatesGrouped(IntegerArraySource leftHashSlots, long size, ObjectArraySource rowSetSource) { + public void errorOnDuplicatesGrouped(IntegerArraySource leftHashSlots, long size, + ObjectArraySource rowSetSource) { throw new UnsupportedOperationException(); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/StaticNaturalJoinStateManagerTypedBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/StaticNaturalJoinStateManagerTypedBase.java index 38f22fb273e..95fd2e0c48b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/StaticNaturalJoinStateManagerTypedBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/StaticNaturalJoinStateManagerTypedBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.naturaljoin; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/TypedNaturalJoinFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/TypedNaturalJoinFactory.java index 41a9029a223..224d19dae18 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/TypedNaturalJoinFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/TypedNaturalJoinFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.naturaljoin; import com.squareup.javapoet.CodeBlock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherByte.java index a9362c73c6f..db92b91b31a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.incopen.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherChar.java index c0a50c55e59..2f726855f13 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.incopen.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherDouble.java index 5dd8380680c..356b8252575 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.incopen.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherFloat.java index c2bd492889c..b464daa62a6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.incopen.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherInt.java index 3c8bc9e3caf..72e9935d058 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.incopen.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherLong.java index f07b4477221..42f43bb2bdd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.incopen.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherObject.java index ac17bdbaf68..bc38d2262a0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.incopen.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherShort.java index e5cc709505c..b6073073e36 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/IncrementalNaturalJoinHasherShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.incopen.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/TypedHashDispatcher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/TypedHashDispatcher.java index 344e4f3f44b..024190fd802 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/TypedHashDispatcher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/incopen/gen/TypedHashDispatcher.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.replicators.ReplicateTypedHashers -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.incopen.gen; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherByte.java index 0ddca89dcdf..1f018c9c9e8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.rightincopen.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherChar.java index 1855b4591c7..28f9af4eb01 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.rightincopen.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherDouble.java index 90d7a493ec6..6d13e52cd01 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.rightincopen.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherFloat.java index 1a14c372ddf..99b6759d7e8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.rightincopen.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherInt.java index 4fa10f65ec3..c47a9e95815 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.rightincopen.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherLong.java index 02bac0e2319..4b91cd1950e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.rightincopen.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherObject.java index ac601df2981..7b8c83ff7a8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.rightincopen.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherShort.java index fa4fd3bd45b..fd8e34d1c51 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/RightIncrementalNaturalJoinHasherShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.rightincopen.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/TypedHashDispatcher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/TypedHashDispatcher.java index dce1e4ffb21..7fed0b9a513 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/TypedHashDispatcher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/rightincopen/gen/TypedHashDispatcher.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.replicators.ReplicateTypedHashers -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.rightincopen.gen; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherByte.java index 689079b4f3a..b8c3d38338c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.staticopen.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherChar.java index 3211698b6c4..db5ceb2c55a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.staticopen.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherDouble.java index 4eef63ab75c..b5dd07d293c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.staticopen.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherFloat.java index 5251b01ccaf..0efb811783b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.staticopen.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherInt.java index ceb8e7d65d4..f6a885c3590 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.staticopen.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherLong.java index 0177c6b5c27..646c6c0daf7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.staticopen.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherObject.java index e0d53d03127..f515f6acd60 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.staticopen.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherShort.java index e58babf8186..3a1ddc52a37 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/StaticNaturalJoinHasherShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.staticopen.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/TypedHashDispatcher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/TypedHashDispatcher.java index cc3ad7884c6..e6b103b34bb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/TypedHashDispatcher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/naturaljoin/typed/staticopen/gen/TypedHashDispatcher.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.replicators.ReplicateTypedHashers -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.naturaljoin.typed.staticopen.gen; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/BaseTableTransformationColumn.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/BaseTableTransformationColumn.java index be54278bcd9..507f27a88fd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/BaseTableTransformationColumn.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/BaseTableTransformationColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.partitioned; import io.deephaven.engine.table.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/BiTableTransformationColumn.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/BiTableTransformationColumn.java index 796cef1b07b..2dfe17bd3eb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/BiTableTransformationColumn.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/BiTableTransformationColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.partitioned; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/LongConstantColumn.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/LongConstantColumn.java index 14d476211bf..453be979a3d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/LongConstantColumn.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/LongConstantColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.partitioned; import io.deephaven.chunk.ChunkType; @@ -117,8 +117,7 @@ private static final class OutputFormulaFillContext implements Formula.FillConte private OutputFormulaFillContext() {} @Override - public void close() { - } + public void close() {} } private final class OutputFormula extends Formula { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/PartitionedTableCreatorImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/PartitionedTableCreatorImpl.java index 8a8b70e6745..965ee11a843 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/PartitionedTableCreatorImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/PartitionedTableCreatorImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.partitioned; import com.google.auto.service.AutoService; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/PartitionedTableImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/PartitionedTableImpl.java index f6b39838ad4..95751fba30e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/PartitionedTableImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/PartitionedTableImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.partitioned; import io.deephaven.api.SortColumn; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/PartitionedTableProxyImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/PartitionedTableProxyImpl.java index 5bfa7de3160..24f9111bf77 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/PartitionedTableProxyImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/PartitionedTableProxyImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.partitioned; import io.deephaven.api.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/TableTransformationColumn.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/TableTransformationColumn.java index 6a7cb5db1c1..cf796fe5852 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/TableTransformationColumn.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/partitioned/TableTransformationColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.partitioned; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/BasePerformanceEntry.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/BasePerformanceEntry.java index 4da70a34572..0d67e663faa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/BasePerformanceEntry.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/BasePerformanceEntry.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.perf; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/PerformanceEntry.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/PerformanceEntry.java index 64f06b050a7..bee0649f295 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/PerformanceEntry.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/PerformanceEntry.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.perf; import io.deephaven.auth.AuthContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceLogThreshold.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceLogThreshold.java index c2a9e7dd9bc..a13d0195582 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceLogThreshold.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceLogThreshold.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.perf; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceNugget.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceNugget.java index 0d025506167..bae8b787a96 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceNugget.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceNugget.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.perf; import io.deephaven.auth.AuthContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceRecorder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceRecorder.java index 3673d605bb7..0c3e5a5a72c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceRecorder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceRecorder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.perf; import io.deephaven.util.QueryConstants; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceRecorderImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceRecorderImpl.java index 066bf2fec61..3a3fc57ffbe 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceRecorderImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceRecorderImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.perf; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceRecorderState.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceRecorderState.java index e72aeeb1fb5..0fb96752902 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceRecorderState.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryPerformanceRecorderState.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.perf; import io.deephaven.chunk.util.pools.ChunkPoolInstrumentation; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryState.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryState.java index 8585b970436..77a307eaa69 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryState.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/QueryState.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.perf; public enum QueryState { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/UpdatePerformanceStreamPublisher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/UpdatePerformanceStreamPublisher.java index e2bc5701d0d..69c43bfca23 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/UpdatePerformanceStreamPublisher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/UpdatePerformanceStreamPublisher.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.perf; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/UpdatePerformanceTracker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/UpdatePerformanceTracker.java index 8cf902f16b3..572c1946ea8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/UpdatePerformanceTracker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/perf/UpdatePerformanceTracker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.perf; import io.deephaven.base.clock.Clock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/preview/ArrayPreview.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/preview/ArrayPreview.java index 4307d031acc..d1c742a7ddc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/preview/ArrayPreview.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/preview/ArrayPreview.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.preview; import io.deephaven.vector.Vector; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/preview/ColumnPreviewManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/preview/ColumnPreviewManager.java index e819e8b615d..3a12528b431 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/preview/ColumnPreviewManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/preview/ColumnPreviewManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.preview; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/preview/DisplayWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/preview/DisplayWrapper.java index 3c85579dea5..913471b2f13 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/preview/DisplayWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/preview/DisplayWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.preview; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/preview/PreviewType.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/preview/PreviewType.java index 551c0b9398d..f118626f16c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/preview/PreviewType.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/preview/PreviewType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.preview; import java.io.Serializable; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeJoinOperation.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeJoinOperation.java index 6e8a1354923..5493ba64aea 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeJoinOperation.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeJoinOperation.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.rangejoin; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernel.java index 52598ebb5ea..0c79b222683 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernel.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.rangejoin; import io.deephaven.api.RangeEndRule; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelByte.java index b6eef6d2e86..326370189b0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelByte.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RangeSearchKernelChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RangeSearchKernelChar and run "./gradlew replicateRangeSearchKernels" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.rangejoin; import io.deephaven.api.RangeEndRule; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelChar.java index ea5be44210d..76c1b097969 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelChar.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.rangejoin; import io.deephaven.api.RangeEndRule; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelDouble.java index d4adef50ff4..4676f95c3e2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelDouble.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RangeSearchKernelChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RangeSearchKernelChar and run "./gradlew replicateRangeSearchKernels" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.rangejoin; import io.deephaven.api.RangeEndRule; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelFloat.java index d32ecfd19a2..50b9900a2f6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelFloat.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RangeSearchKernelChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RangeSearchKernelChar and run "./gradlew replicateRangeSearchKernels" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.rangejoin; import io.deephaven.api.RangeEndRule; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelInt.java index c8acab7093b..3c5c00a210c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelInt.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RangeSearchKernelChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RangeSearchKernelChar and run "./gradlew replicateRangeSearchKernels" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.rangejoin; import io.deephaven.api.RangeEndRule; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelLong.java index eef5a21f83a..fed7123a445 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelLong.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RangeSearchKernelChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RangeSearchKernelChar and run "./gradlew replicateRangeSearchKernels" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.rangejoin; import io.deephaven.api.RangeEndRule; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelObject.java index bdb476a8f8c..1732df76690 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelObject.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RangeSearchKernelChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RangeSearchKernelChar and run "./gradlew replicateRangeSearchKernels" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.rangejoin; import io.deephaven.api.RangeEndRule; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelShort.java index 5dd1d7f5fce..44080da0a16 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/RangeSearchKernelShort.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RangeSearchKernelChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RangeSearchKernelChar and run "./gradlew replicateRangeSearchKernels" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.rangejoin; import io.deephaven.api.RangeEndRule; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/SupportedRangeJoinAggregations.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/SupportedRangeJoinAggregations.java index 66deab41172..8ed956ac6e4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/SupportedRangeJoinAggregations.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/SupportedRangeJoinAggregations.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.rangejoin; import io.deephaven.api.Strings; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/ValidFloatingPointFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/ValidFloatingPointFilter.java index cfadcba1fd2..686e4ab7130 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/ValidFloatingPointFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/rangejoin/ValidFloatingPointFilter.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.rangejoin; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/remote/ConstructSnapshot.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/remote/ConstructSnapshot.java index fdbb01bedac..7b680c04814 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/remote/ConstructSnapshot.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/remote/ConstructSnapshot.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.remote; import io.deephaven.base.formatters.FormatBitSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/remote/DeltaUpdates.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/remote/DeltaUpdates.java index babe83200e0..0ff27a9af3d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/remote/DeltaUpdates.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/remote/DeltaUpdates.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.remote; import io.deephaven.engine.table.TableUpdate; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/remote/InitialSnapshot.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/remote/InitialSnapshot.java index 47af1e788bb..44832389d85 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/remote/InitialSnapshot.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/remote/InitialSnapshot.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.remote; import io.deephaven.base.formatters.FormatBitSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/remote/InitialSnapshotTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/remote/InitialSnapshotTable.java index c4410b57ee7..2cd1f3e7170 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/remote/InitialSnapshotTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/remote/InitialSnapshotTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.remote; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/DataDrivenReplayer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/DataDrivenReplayer.java index 2934da6b335..8f8b08c42a3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/DataDrivenReplayer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/DataDrivenReplayer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.replay; import io.deephaven.base.clock.Clock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/FixedStepReplayer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/FixedStepReplayer.java index e76a56709ed..3c8e70fceaa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/FixedStepReplayer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/FixedStepReplayer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.replay; import io.deephaven.base.clock.Clock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/QueryReplayGroupedTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/QueryReplayGroupedTable.java index dcb3c795781..f228f05b460 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/QueryReplayGroupedTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/QueryReplayGroupedTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.replay; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayGroupedFullTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayGroupedFullTable.java index 1eec5b84b18..cbff2136cb1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayGroupedFullTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayGroupedFullTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.replay; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayLastByGroupedTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayLastByGroupedTable.java index d49c0d76afa..1c3cd92e637 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayLastByGroupedTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayLastByGroupedTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.replay; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayTable.java index dc5363f90a1..38791d655a8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.replay; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayTableBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayTableBase.java index c876ad0baef..fa4ae4ae0b1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayTableBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayTableBase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.replay; import io.deephaven.engine.rowset.TrackingRowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/Replayer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/Replayer.java index 2ab6a6ddb07..247fbaab748 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/Replayer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/Replayer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.replay; import io.deephaven.base.clock.Clock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayerHandle.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayerHandle.java index 69591affb3a..83ee36c2af9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayerHandle.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayerHandle.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.replay; import java.io.Serializable; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayerInterface.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayerInterface.java index 4f81a4c5817..0ec02487d00 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayerInterface.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/replay/ReplayerInterface.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.replay; import io.deephaven.base.clock.Clock; @@ -31,8 +31,8 @@ public interface ReplayerInterface { void shutdown(); /** - * Wait a specified interval for the replayer to complete. If the replayer has not completed by the - * end of the interval, the method returns. + * Wait a specified interval for the replayer to complete. If the replayer has not completed by the end of the + * interval, the method returns. * * @param maxTimeMillis maximum number of milliseconds to wait. * @throws IOException problems encountered @@ -63,12 +63,12 @@ public interface ReplayerInterface { * @param timeColumn column in the table containing timestamps * @return dynamic, replayed version of the table. */ - Table replay(Table dataSource,String timeColumn) throws IOException; + Table replay(Table dataSource, String timeColumn) throws IOException; /** - * Prepares a grouped historical table for replaying. This method can be faster than the ungrouped replay, but - * the performance increase comes with a cost. Within a group, the data ordering is maintained. Between groups, - * data ordering is not maintained for a time interval. + * Prepares a grouped historical table for replaying. This method can be faster than the ungrouped replay, but the + * performance increase comes with a cost. Within a group, the data ordering is maintained. Between groups, data + * ordering is not maintained for a time interval. * * @param dataSource historical table to replay * @param timeColumn column in the table containing timestamps diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/AbstractConditionFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/AbstractConditionFilter.java index 04667b2c110..95098cdb5b4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/AbstractConditionFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/AbstractConditionFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.api.util.NameValidator; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/AbstractFormulaColumn.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/AbstractFormulaColumn.java index 0661f8e5548..52111727915 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/AbstractFormulaColumn.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/AbstractFormulaColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/AbstractRangeFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/AbstractRangeFilter.java index 4260d8fa2ae..a967463f1bd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/AbstractRangeFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/AbstractRangeFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.rowset.WritableRowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/AutoTuningIncrementalReleaseFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/AutoTuningIncrementalReleaseFilter.java index 541f815b866..da6a5940991 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/AutoTuningIncrementalReleaseFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/AutoTuningIncrementalReleaseFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.updategraph.TerminalNotification; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/BaseIncrementalReleaseFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/BaseIncrementalReleaseFilter.java index 065558b0f8a..78d8c588417 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/BaseIncrementalReleaseFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/BaseIncrementalReleaseFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ByteRangeFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ByteRangeFilter.java index 0527375f786..c80de6413d8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ByteRangeFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ByteRangeFilter.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRangeFilter and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRangeFilter and run "./gradlew replicateChunkFilters" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.select; import io.deephaven.engine.rowset.RowSet; @@ -43,7 +42,7 @@ public static ByteRangeFilter geq(String columnName, byte x) { public ByteRangeFilter(String columnName, byte val1, byte val2, boolean lowerInclusive, boolean upperInclusive) { super(columnName, lowerInclusive, upperInclusive); - if(ByteComparisons.gt(val1, val2)) { + if (ByteComparisons.gt(val1, val2)) { upper = val1; lower = val2; } else { @@ -75,7 +74,8 @@ public void init(TableDefinition tableDefinition) { final ColumnDefinition def = tableDefinition.getColumn(columnName); if (def == null) { - throw new RuntimeException("Column \"" + columnName + "\" doesn't exist in this table, available columns: " + tableDefinition.getColumnNames()); + throw new RuntimeException("Column \"" + columnName + "\" doesn't exist in this table, available columns: " + + tableDefinition.getColumnNames()); } final Class colClass = TypeUtils.getUnboxedTypeIfBoxed(def.getDataType()); @@ -116,22 +116,25 @@ WritableRowSet binarySearch( return selection.copy(); } - //noinspection unchecked - final ColumnSource byteColumnSource = (ColumnSource)columnSource; + // noinspection unchecked + final ColumnSource byteColumnSource = (ColumnSource) columnSource; final byte startValue = reverse ? upper : lower; final byte endValue = reverse ? lower : upper; final boolean startInclusive = reverse ? upperInclusive : lowerInclusive; final boolean endInclusive = reverse ? lowerInclusive : upperInclusive; - final int compareSign = reverse ? - 1 : 1; + final int compareSign = reverse ? -1 : 1; - long lowerBoundMin = bound(selection, usePrev, byteColumnSource, 0, selection.size(), startValue, startInclusive, compareSign, false); - long upperBoundMin = bound(selection, usePrev, byteColumnSource, lowerBoundMin, selection.size(), endValue, endInclusive, compareSign, true); + long lowerBoundMin = bound(selection, usePrev, byteColumnSource, 0, selection.size(), startValue, + startInclusive, compareSign, false); + long upperBoundMin = bound(selection, usePrev, byteColumnSource, lowerBoundMin, selection.size(), endValue, + endInclusive, compareSign, true); return selection.subSetByPositionRange(lowerBoundMin, upperBoundMin); } - private long bound(RowSet selection, boolean usePrev, ColumnSource longColumnSource, long minPosition, long maxPosition, byte targetValue, boolean inclusive, int compareSign, boolean end) { + private long bound(RowSet selection, boolean usePrev, ColumnSource longColumnSource, long minPosition, + long maxPosition, byte targetValue, boolean inclusive, int compareSign, boolean end) { while (minPosition < maxPosition) { final long midPos = (minPosition + maxPosition) / 2; final long midIdx = selection.get(midPos); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/CharRangeFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/CharRangeFilter.java index 03a6dab0630..7c22ea023ce 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/CharRangeFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/CharRangeFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.rowset.RowSet; @@ -38,7 +38,7 @@ public static CharRangeFilter geq(String columnName, char x) { public CharRangeFilter(String columnName, char val1, char val2, boolean lowerInclusive, boolean upperInclusive) { super(columnName, lowerInclusive, upperInclusive); - if(CharComparisons.gt(val1, val2)) { + if (CharComparisons.gt(val1, val2)) { upper = val1; lower = val2; } else { @@ -70,7 +70,8 @@ public void init(TableDefinition tableDefinition) { final ColumnDefinition def = tableDefinition.getColumn(columnName); if (def == null) { - throw new RuntimeException("Column \"" + columnName + "\" doesn't exist in this table, available columns: " + tableDefinition.getColumnNames()); + throw new RuntimeException("Column \"" + columnName + "\" doesn't exist in this table, available columns: " + + tableDefinition.getColumnNames()); } final Class colClass = TypeUtils.getUnboxedTypeIfBoxed(def.getDataType()); @@ -111,22 +112,25 @@ WritableRowSet binarySearch( return selection.copy(); } - //noinspection unchecked - final ColumnSource charColumnSource = (ColumnSource)columnSource; + // noinspection unchecked + final ColumnSource charColumnSource = (ColumnSource) columnSource; final char startValue = reverse ? upper : lower; final char endValue = reverse ? lower : upper; final boolean startInclusive = reverse ? upperInclusive : lowerInclusive; final boolean endInclusive = reverse ? lowerInclusive : upperInclusive; - final int compareSign = reverse ? - 1 : 1; + final int compareSign = reverse ? -1 : 1; - long lowerBoundMin = bound(selection, usePrev, charColumnSource, 0, selection.size(), startValue, startInclusive, compareSign, false); - long upperBoundMin = bound(selection, usePrev, charColumnSource, lowerBoundMin, selection.size(), endValue, endInclusive, compareSign, true); + long lowerBoundMin = bound(selection, usePrev, charColumnSource, 0, selection.size(), startValue, + startInclusive, compareSign, false); + long upperBoundMin = bound(selection, usePrev, charColumnSource, lowerBoundMin, selection.size(), endValue, + endInclusive, compareSign, true); return selection.subSetByPositionRange(lowerBoundMin, upperBoundMin); } - private long bound(RowSet selection, boolean usePrev, ColumnSource longColumnSource, long minPosition, long maxPosition, char targetValue, boolean inclusive, int compareSign, boolean end) { + private long bound(RowSet selection, boolean usePrev, ColumnSource longColumnSource, long minPosition, + long maxPosition, char targetValue, boolean inclusive, int compareSign, boolean end) { while (minPosition < maxPosition) { final long midPos = (minPosition + maxPosition) / 2; final long midIdx = selection.get(midPos); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ClockFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ClockFilter.java index 400541e7069..71a38223370 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ClockFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ClockFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.clock.Clock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ComparableRangeFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ComparableRangeFilter.java index 227d53094fb..c5ab78e9baa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ComparableRangeFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ComparableRangeFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ComposedFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ComposedFilter.java index 4248b6d9208..9777c518f5b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ComposedFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ComposedFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.table.TableDefinition; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ConditionFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ConditionFilter.java index 3b4f3040ca3..8728d9173bc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ConditionFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ConditionFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.Pair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ConjunctiveFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ConjunctiveFilter.java index 6a102d5da47..91e096a6449 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ConjunctiveFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ConjunctiveFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.api.filter.FilterAnd; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DhFormulaColumn.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DhFormulaColumn.java index 4a807eb2c79..6d788018888 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DhFormulaColumn.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DhFormulaColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.Pair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DisjunctiveFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DisjunctiveFilter.java index 102cddff770..21a493d4b41 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DisjunctiveFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DisjunctiveFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.api.filter.FilterOr; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DoubleRangeFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DoubleRangeFilter.java index 378336e4d60..3c4cc277672 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DoubleRangeFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DoubleRangeFilter.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatRangeFilter and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatRangeFilter and run "./gradlew replicateChunkFilters" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.select; import io.deephaven.engine.rowset.WritableRowSet; @@ -46,7 +45,7 @@ public DoubleRangeFilter(String columnName, double val1, double val2) { public DoubleRangeFilter(String columnName, double val1, double val2, boolean lowerInclusive, boolean upperInclusive) { super(columnName, lowerInclusive, upperInclusive); - if(DoubleComparisons.gt(val1, val2)) { + if (DoubleComparisons.gt(val1, val2)) { upper = val1; lower = val2; } else { @@ -60,7 +59,8 @@ public static WhereFilter makeRange(String columnName, String val) { final double parsed = Double.parseDouble(val); final double offset = Math.pow(10, -precision); final boolean positiveOrZero = parsed >= 0; - return new DoubleRangeFilter(columnName, (double)parsed, (double)(positiveOrZero ? parsed + offset : parsed - offset), positiveOrZero, !positiveOrZero); + return new DoubleRangeFilter(columnName, (double) parsed, + (double) (positiveOrZero ? parsed + offset : parsed - offset), positiveOrZero, !positiveOrZero); } static WhereFilter makeDoubleRangeFilter(String columnName, Condition condition, String value) { @@ -86,7 +86,8 @@ public void init(TableDefinition tableDefinition) { final ColumnDefinition def = tableDefinition.getColumn(columnName); if (def == null) { - throw new RuntimeException("Column \"" + columnName + "\" doesn't exist in this table, available columns: " + tableDefinition.getColumnNames()); + throw new RuntimeException("Column \"" + columnName + "\" doesn't exist in this table, available columns: " + + tableDefinition.getColumnNames()); } chunkFilter = DoubleRangeComparator.makeDoubleFilter(lower, upper, lowerInclusive, upperInclusive); } @@ -117,27 +118,31 @@ WritableRowSet binarySearch( return selection.copy(); } - //noinspection unchecked - final ColumnSource doubleColumnSource = (ColumnSource)columnSource; + // noinspection unchecked + final ColumnSource doubleColumnSource = (ColumnSource) columnSource; final double startValue = reverse ? upper : lower; final double endValue = reverse ? lower : upper; final boolean startInclusive = reverse ? upperInclusive : lowerInclusive; final boolean endInclusive = reverse ? lowerInclusive : upperInclusive; - final int compareSign = reverse ? - 1 : 1; + final int compareSign = reverse ? -1 : 1; - long lowerBoundMin = bound(selection, usePrev, doubleColumnSource, 0, selection.size(), startValue, startInclusive, compareSign, false); - long upperBoundMin = bound(selection, usePrev, doubleColumnSource, lowerBoundMin, selection.size(), endValue, endInclusive, compareSign, true); + long lowerBoundMin = bound(selection, usePrev, doubleColumnSource, 0, selection.size(), startValue, + startInclusive, compareSign, false); + long upperBoundMin = bound(selection, usePrev, doubleColumnSource, lowerBoundMin, selection.size(), endValue, + endInclusive, compareSign, true); return selection.subSetByPositionRange(lowerBoundMin, upperBoundMin); } - private static long bound(RowSet selection, boolean usePrev, ColumnSource doubleColumnSource, long minPosition, long maxPosition, double targetValue, boolean inclusive, int compareSign, boolean end) { + private static long bound(RowSet selection, boolean usePrev, ColumnSource doubleColumnSource, + long minPosition, long maxPosition, double targetValue, boolean inclusive, int compareSign, boolean end) { while (minPosition < maxPosition) { final long midPos = (minPosition + maxPosition) / 2; final long midIdx = selection.get(midPos); - final double compareValue = usePrev ? doubleColumnSource.getPrevDouble(midIdx) : doubleColumnSource.getDouble(midIdx); + final double compareValue = + usePrev ? doubleColumnSource.getPrevDouble(midIdx) : doubleColumnSource.getDouble(midIdx); final int compareResult = compareSign * DoubleComparisons.compare(compareValue, targetValue); if (compareResult < 0) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DownsampledWhereFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DownsampledWhereFilter.java index 9f1c9288844..3d45c6c6edf 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DownsampledWhereFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DownsampledWhereFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.rowset.WritableRowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DynamicWhereFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DynamicWhereFilter.java index 29152e038d5..bbed868385f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DynamicWhereFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/DynamicWhereFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FilterToListImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FilterToListImpl.java index 91d24ceb2f9..eb76a09f86b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FilterToListImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FilterToListImpl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.api.RawString; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FloatRangeFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FloatRangeFilter.java index 397d807c61b..d5f89f0fbe7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FloatRangeFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FloatRangeFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.rowset.WritableRowSet; @@ -41,7 +41,7 @@ public FloatRangeFilter(String columnName, float val1, float val2) { public FloatRangeFilter(String columnName, float val1, float val2, boolean lowerInclusive, boolean upperInclusive) { super(columnName, lowerInclusive, upperInclusive); - if(FloatComparisons.gt(val1, val2)) { + if (FloatComparisons.gt(val1, val2)) { upper = val1; lower = val2; } else { @@ -55,7 +55,8 @@ public static WhereFilter makeRange(String columnName, String val) { final double parsed = Double.parseDouble(val); final double offset = Math.pow(10, -precision); final boolean positiveOrZero = parsed >= 0; - return new FloatRangeFilter(columnName, (float)parsed, (float)(positiveOrZero ? parsed + offset : parsed - offset), positiveOrZero, !positiveOrZero); + return new FloatRangeFilter(columnName, (float) parsed, + (float) (positiveOrZero ? parsed + offset : parsed - offset), positiveOrZero, !positiveOrZero); } static WhereFilter makeFloatRangeFilter(String columnName, Condition condition, String value) { @@ -81,7 +82,8 @@ public void init(TableDefinition tableDefinition) { final ColumnDefinition def = tableDefinition.getColumn(columnName); if (def == null) { - throw new RuntimeException("Column \"" + columnName + "\" doesn't exist in this table, available columns: " + tableDefinition.getColumnNames()); + throw new RuntimeException("Column \"" + columnName + "\" doesn't exist in this table, available columns: " + + tableDefinition.getColumnNames()); } chunkFilter = FloatRangeComparator.makeFloatFilter(lower, upper, lowerInclusive, upperInclusive); } @@ -112,27 +114,31 @@ WritableRowSet binarySearch( return selection.copy(); } - //noinspection unchecked - final ColumnSource floatColumnSource = (ColumnSource)columnSource; + // noinspection unchecked + final ColumnSource floatColumnSource = (ColumnSource) columnSource; final float startValue = reverse ? upper : lower; final float endValue = reverse ? lower : upper; final boolean startInclusive = reverse ? upperInclusive : lowerInclusive; final boolean endInclusive = reverse ? lowerInclusive : upperInclusive; - final int compareSign = reverse ? - 1 : 1; + final int compareSign = reverse ? -1 : 1; - long lowerBoundMin = bound(selection, usePrev, floatColumnSource, 0, selection.size(), startValue, startInclusive, compareSign, false); - long upperBoundMin = bound(selection, usePrev, floatColumnSource, lowerBoundMin, selection.size(), endValue, endInclusive, compareSign, true); + long lowerBoundMin = bound(selection, usePrev, floatColumnSource, 0, selection.size(), startValue, + startInclusive, compareSign, false); + long upperBoundMin = bound(selection, usePrev, floatColumnSource, lowerBoundMin, selection.size(), endValue, + endInclusive, compareSign, true); return selection.subSetByPositionRange(lowerBoundMin, upperBoundMin); } - private static long bound(RowSet selection, boolean usePrev, ColumnSource floatColumnSource, long minPosition, long maxPosition, float targetValue, boolean inclusive, int compareSign, boolean end) { + private static long bound(RowSet selection, boolean usePrev, ColumnSource floatColumnSource, + long minPosition, long maxPosition, float targetValue, boolean inclusive, int compareSign, boolean end) { while (minPosition < maxPosition) { final long midPos = (minPosition + maxPosition) / 2; final long midIdx = selection.get(midPos); - final float compareValue = usePrev ? floatColumnSource.getPrevFloat(midIdx) : floatColumnSource.getFloat(midIdx); + final float compareValue = + usePrev ? floatColumnSource.getPrevFloat(midIdx) : floatColumnSource.getFloat(midIdx); final int compareResult = compareSign * FloatComparisons.compare(compareValue, targetValue); if (compareResult < 0) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/Formula.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/Formula.java index fb81baef7ca..0ff72a554a2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/Formula.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/Formula.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.table.ElementSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaColumn.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaColumn.java index 670b2ff1f51..f405099603f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaColumn.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.Pair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaCompilationException.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaCompilationException.java index f242d221b93..628499c218f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaCompilationException.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaCompilationException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaEvaluationException.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaEvaluationException.java index 3f13200b983..36e40dc6c99 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaEvaluationException.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaEvaluationException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; /** diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaKernelTypedBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaKernelTypedBase.java index df69e6506bb..d3336cf9766 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaKernelTypedBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaKernelTypedBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.table.impl.select.Formula.FillContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaParserConfiguration.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaParserConfiguration.java index dc993d7fc0d..5c28c27ef3b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaParserConfiguration.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaParserConfiguration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.Pair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaUtil.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaUtil.java index f1dee1f240a..c174686f077 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaUtil.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FormulaUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import java.util.List; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FunctionalColumn.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FunctionalColumn.java index 2dda0e38dda..511de8ee358 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FunctionalColumn.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/FunctionalColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/IncrementalReleaseFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/IncrementalReleaseFilter.java index 9ac06007c8e..7cdc5a07ffb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/IncrementalReleaseFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/IncrementalReleaseFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; /** diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/InstantRangeFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/InstantRangeFilter.java index 3fae7cfe932..1089a546ad1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/InstantRangeFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/InstantRangeFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/IntRangeFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/IntRangeFilter.java index 8badf3ed87c..e730768584c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/IntRangeFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/IntRangeFilter.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRangeFilter and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRangeFilter and run "./gradlew replicateChunkFilters" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.select; import io.deephaven.engine.rowset.RowSet; @@ -43,7 +42,7 @@ public static IntRangeFilter geq(String columnName, int x) { public IntRangeFilter(String columnName, int val1, int val2, boolean lowerInclusive, boolean upperInclusive) { super(columnName, lowerInclusive, upperInclusive); - if(IntComparisons.gt(val1, val2)) { + if (IntComparisons.gt(val1, val2)) { upper = val1; lower = val2; } else { @@ -75,7 +74,8 @@ public void init(TableDefinition tableDefinition) { final ColumnDefinition def = tableDefinition.getColumn(columnName); if (def == null) { - throw new RuntimeException("Column \"" + columnName + "\" doesn't exist in this table, available columns: " + tableDefinition.getColumnNames()); + throw new RuntimeException("Column \"" + columnName + "\" doesn't exist in this table, available columns: " + + tableDefinition.getColumnNames()); } final Class colClass = TypeUtils.getUnboxedTypeIfBoxed(def.getDataType()); @@ -116,22 +116,25 @@ WritableRowSet binarySearch( return selection.copy(); } - //noinspection unchecked - final ColumnSource intColumnSource = (ColumnSource)columnSource; + // noinspection unchecked + final ColumnSource intColumnSource = (ColumnSource) columnSource; final int startValue = reverse ? upper : lower; final int endValue = reverse ? lower : upper; final boolean startInclusive = reverse ? upperInclusive : lowerInclusive; final boolean endInclusive = reverse ? lowerInclusive : upperInclusive; - final int compareSign = reverse ? - 1 : 1; + final int compareSign = reverse ? -1 : 1; - long lowerBoundMin = bound(selection, usePrev, intColumnSource, 0, selection.size(), startValue, startInclusive, compareSign, false); - long upperBoundMin = bound(selection, usePrev, intColumnSource, lowerBoundMin, selection.size(), endValue, endInclusive, compareSign, true); + long lowerBoundMin = bound(selection, usePrev, intColumnSource, 0, selection.size(), startValue, + startInclusive, compareSign, false); + long upperBoundMin = bound(selection, usePrev, intColumnSource, lowerBoundMin, selection.size(), endValue, + endInclusive, compareSign, true); return selection.subSetByPositionRange(lowerBoundMin, upperBoundMin); } - private long bound(RowSet selection, boolean usePrev, ColumnSource longColumnSource, long minPosition, long maxPosition, int targetValue, boolean inclusive, int compareSign, boolean end) { + private long bound(RowSet selection, boolean usePrev, ColumnSource longColumnSource, long minPosition, + long maxPosition, int targetValue, boolean inclusive, int compareSign, boolean end) { while (minPosition < maxPosition) { final long midPos = (minPosition + maxPosition) / 2; final long midIdx = selection.get(midPos); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/LongRangeFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/LongRangeFilter.java index f5fc6a7cdaf..a412b35b613 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/LongRangeFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/LongRangeFilter.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRangeFilter and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRangeFilter and run "./gradlew replicateChunkFilters" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.select; import io.deephaven.engine.rowset.RowSet; @@ -43,7 +42,7 @@ public static LongRangeFilter geq(String columnName, long x) { public LongRangeFilter(String columnName, long val1, long val2, boolean lowerInclusive, boolean upperInclusive) { super(columnName, lowerInclusive, upperInclusive); - if(LongComparisons.gt(val1, val2)) { + if (LongComparisons.gt(val1, val2)) { upper = val1; lower = val2; } else { @@ -75,7 +74,8 @@ public void init(TableDefinition tableDefinition) { final ColumnDefinition def = tableDefinition.getColumn(columnName); if (def == null) { - throw new RuntimeException("Column \"" + columnName + "\" doesn't exist in this table, available columns: " + tableDefinition.getColumnNames()); + throw new RuntimeException("Column \"" + columnName + "\" doesn't exist in this table, available columns: " + + tableDefinition.getColumnNames()); } final Class colClass = TypeUtils.getUnboxedTypeIfBoxed(def.getDataType()); @@ -116,22 +116,25 @@ WritableRowSet binarySearch( return selection.copy(); } - //noinspection unchecked - final ColumnSource longColumnSource = (ColumnSource)columnSource; + // noinspection unchecked + final ColumnSource longColumnSource = (ColumnSource) columnSource; final long startValue = reverse ? upper : lower; final long endValue = reverse ? lower : upper; final boolean startInclusive = reverse ? upperInclusive : lowerInclusive; final boolean endInclusive = reverse ? lowerInclusive : upperInclusive; - final int compareSign = reverse ? - 1 : 1; + final int compareSign = reverse ? -1 : 1; - long lowerBoundMin = bound(selection, usePrev, longColumnSource, 0, selection.size(), startValue, startInclusive, compareSign, false); - long upperBoundMin = bound(selection, usePrev, longColumnSource, lowerBoundMin, selection.size(), endValue, endInclusive, compareSign, true); + long lowerBoundMin = bound(selection, usePrev, longColumnSource, 0, selection.size(), startValue, + startInclusive, compareSign, false); + long upperBoundMin = bound(selection, usePrev, longColumnSource, lowerBoundMin, selection.size(), endValue, + endInclusive, compareSign, true); return selection.subSetByPositionRange(lowerBoundMin, upperBoundMin); } - private long bound(RowSet selection, boolean usePrev, ColumnSource longColumnSource, long minPosition, long maxPosition, long targetValue, boolean inclusive, int compareSign, boolean end) { + private long bound(RowSet selection, boolean usePrev, ColumnSource longColumnSource, long minPosition, + long maxPosition, long targetValue, boolean inclusive, int compareSign, boolean end) { while (minPosition < maxPosition) { final long midPos = (minPosition + maxPosition) / 2; final long midIdx = selection.get(midPos); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/MatchFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/MatchFilter.java index 27b7e671973..0cd410d13d8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/MatchFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/MatchFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.api.literal.Literal; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/MatchPairFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/MatchPairFactory.java index 8bcf81fc697..806b719cfbc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/MatchPairFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/MatchPairFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.table.impl.MatchPair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/MultiSourceFunctionalColumn.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/MultiSourceFunctionalColumn.java index 29d77004a69..9f1cb344cc9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/MultiSourceFunctionalColumn.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/MultiSourceFunctionalColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/NullSelectColumn.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/NullSelectColumn.java index 8a544d80048..3cdb2939328 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/NullSelectColumn.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/NullSelectColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.table.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/QueryScopeParamTypeUtil.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/QueryScopeParamTypeUtil.java index eff4220e584..eec62883efc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/QueryScopeParamTypeUtil.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/QueryScopeParamTypeUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import groovy.lang.Closure; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/RangeConditionFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/RangeConditionFilter.java index caed4eab668..374b0a4f0df 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/RangeConditionFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/RangeConditionFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ReindexingFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ReindexingFilter.java index 3934b9d2c72..28d9979db8d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ReindexingFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ReindexingFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import org.jetbrains.annotations.Nullable; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ReinterpretedColumn.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ReinterpretedColumn.java index b76c64456d9..0d258a9072a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ReinterpretedColumn.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ReinterpretedColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/RollingReleaseFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/RollingReleaseFilter.java index dac007e0554..fdd46b07550 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/RollingReleaseFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/RollingReleaseFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SelectColumn.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SelectColumn.java index 31295a0e0ea..480e4d8e10f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SelectColumn.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SelectColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SelectColumnFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SelectColumnFactory.java index 7decc08f4dd..5ea10bc3867 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SelectColumnFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SelectColumnFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.Pair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ShortRangeFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ShortRangeFilter.java index 234123185cf..737f8cf0f3e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ShortRangeFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/ShortRangeFilter.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRangeFilter and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRangeFilter and run "./gradlew replicateChunkFilters" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.select; import io.deephaven.engine.rowset.RowSet; @@ -43,7 +42,7 @@ public static ShortRangeFilter geq(String columnName, short x) { public ShortRangeFilter(String columnName, short val1, short val2, boolean lowerInclusive, boolean upperInclusive) { super(columnName, lowerInclusive, upperInclusive); - if(ShortComparisons.gt(val1, val2)) { + if (ShortComparisons.gt(val1, val2)) { upper = val1; lower = val2; } else { @@ -75,7 +74,8 @@ public void init(TableDefinition tableDefinition) { final ColumnDefinition def = tableDefinition.getColumn(columnName); if (def == null) { - throw new RuntimeException("Column \"" + columnName + "\" doesn't exist in this table, available columns: " + tableDefinition.getColumnNames()); + throw new RuntimeException("Column \"" + columnName + "\" doesn't exist in this table, available columns: " + + tableDefinition.getColumnNames()); } final Class colClass = TypeUtils.getUnboxedTypeIfBoxed(def.getDataType()); @@ -116,22 +116,25 @@ WritableRowSet binarySearch( return selection.copy(); } - //noinspection unchecked - final ColumnSource shortColumnSource = (ColumnSource)columnSource; + // noinspection unchecked + final ColumnSource shortColumnSource = (ColumnSource) columnSource; final short startValue = reverse ? upper : lower; final short endValue = reverse ? lower : upper; final boolean startInclusive = reverse ? upperInclusive : lowerInclusive; final boolean endInclusive = reverse ? lowerInclusive : upperInclusive; - final int compareSign = reverse ? - 1 : 1; + final int compareSign = reverse ? -1 : 1; - long lowerBoundMin = bound(selection, usePrev, shortColumnSource, 0, selection.size(), startValue, startInclusive, compareSign, false); - long upperBoundMin = bound(selection, usePrev, shortColumnSource, lowerBoundMin, selection.size(), endValue, endInclusive, compareSign, true); + long lowerBoundMin = bound(selection, usePrev, shortColumnSource, 0, selection.size(), startValue, + startInclusive, compareSign, false); + long upperBoundMin = bound(selection, usePrev, shortColumnSource, lowerBoundMin, selection.size(), endValue, + endInclusive, compareSign, true); return selection.subSetByPositionRange(lowerBoundMin, upperBoundMin); } - private long bound(RowSet selection, boolean usePrev, ColumnSource longColumnSource, long minPosition, long maxPosition, short targetValue, boolean inclusive, int compareSign, boolean end) { + private long bound(RowSet selection, boolean usePrev, ColumnSource longColumnSource, long minPosition, + long maxPosition, short targetValue, boolean inclusive, int compareSign, boolean end) { while (minPosition < maxPosition) { final long midPos = (minPosition + maxPosition) / 2; final long midIdx = selection.get(midPos); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SimulationClock.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SimulationClock.java index 9a9b5db9ecd..7d201c336ae 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SimulationClock.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SimulationClock.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.clock.Clock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SingleSidedComparableRangeFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SingleSidedComparableRangeFilter.java index 2749780468e..01b04d4561a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SingleSidedComparableRangeFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SingleSidedComparableRangeFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SortedClockFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SortedClockFilter.java index b72b9ff5644..1b591f3b3b0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SortedClockFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SortedClockFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.clock.Clock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SourceColumn.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SourceColumn.java index bebb014aabd..a0f53b462ea 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SourceColumn.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SourceColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.api.JoinAddition; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SwitchColumn.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SwitchColumn.java index d2483b6433c..4e44a7bd3a2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SwitchColumn.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/SwitchColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/TimeSeriesFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/TimeSeriesFilter.java index 8e203d88c78..4ca30178f64 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/TimeSeriesFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/TimeSeriesFilter.java @@ -1,7 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.clock.Clock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/UnsortedClockFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/UnsortedClockFilter.java index e69cd053f58..24980aa316c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/UnsortedClockFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/UnsortedClockFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.clock.Clock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/VectorChunkAdapter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/VectorChunkAdapter.java index 47f1480fdfd..feea8e58f19 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/VectorChunkAdapter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/VectorChunkAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilter.java index e62154dc016..ab40e561ee8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.api.expression.Expression; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterAdapter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterAdapter.java index 6d96b279bf7..1f72630ea22 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterAdapter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterAdapter.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterFactory.java index 29c959ca5f7..0272cc1f320 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterImpl.java index 8686cd1ef49..0fdbe5733a4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterInvertedImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterInvertedImpl.java index 3dbe26c1048..b4838d0827e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterInvertedImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterInvertedImpl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.liveness.LivenessArtifact; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterLivenessArtifactImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterLivenessArtifactImpl.java index 28f6ab86300..3845f24fa71 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterLivenessArtifactImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterLivenessArtifactImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterPatternImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterPatternImpl.java index cadbe1bb488..f3cf1df29b6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterPatternImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereFilterPatternImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereNoneFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereNoneFilter.java index 13afd3d00a2..4495af78636 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereNoneFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WhereNoneFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.rowset.WritableRowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WouldMatchPairFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WouldMatchPairFactory.java index 578a0044acf..81b80b91d10 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WouldMatchPairFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/WouldMatchPairFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.table.WouldMatchPair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/BaseLayer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/BaseLayer.java index f751407b8dc..ecb4207fc4a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/BaseLayer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/BaseLayer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.analyzers; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/ConstantColumnLayer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/ConstantColumnLayer.java index cf9ccfa412d..c5eff7f3132 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/ConstantColumnLayer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/ConstantColumnLayer.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.analyzers; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/DependencyLayerBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/DependencyLayerBase.java index cc37e773af2..4ad846ceba3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/DependencyLayerBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/DependencyLayerBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.analyzers; import io.deephaven.engine.table.ColumnDefinition; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/PreserveColumnLayer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/PreserveColumnLayer.java index 533a9c5e850..8d687cdc8c8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/PreserveColumnLayer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/PreserveColumnLayer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.analyzers; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/RedirectionLayer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/RedirectionLayer.java index 27ca97af1b6..f9f9b44ffb9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/RedirectionLayer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/RedirectionLayer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.analyzers; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/SelectAndViewAnalyzer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/SelectAndViewAnalyzer.java index d2972981e17..42eeb4b933c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/SelectAndViewAnalyzer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/SelectAndViewAnalyzer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.analyzers; import io.deephaven.base.Pair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/SelectAndViewAnalyzerWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/SelectAndViewAnalyzerWrapper.java index 3d70034c809..ec4fcf6f534 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/SelectAndViewAnalyzerWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/SelectAndViewAnalyzerWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.analyzers; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/SelectColumnLayer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/SelectColumnLayer.java index 470b5a822e2..44869a7f24b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/SelectColumnLayer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/SelectColumnLayer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.analyzers; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/SelectOrViewColumnLayer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/SelectOrViewColumnLayer.java index 7c600d04b42..5fbef5b9d74 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/SelectOrViewColumnLayer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/SelectOrViewColumnLayer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.analyzers; import io.deephaven.engine.table.ModifiedColumnSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/StaticFlattenLayer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/StaticFlattenLayer.java index 1ed084934df..9a0cf12a180 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/StaticFlattenLayer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/StaticFlattenLayer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.analyzers; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/ViewColumnLayer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/ViewColumnLayer.java index 74753600f4d..84bdda755a5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/ViewColumnLayer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/analyzers/ViewColumnLayer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.analyzers; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/codegen/FormulaAnalyzer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/codegen/FormulaAnalyzer.java index acc064075d3..7dbd37baa25 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/codegen/FormulaAnalyzer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/codegen/FormulaAnalyzer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.codegen; import io.deephaven.api.util.NameValidator; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/codegen/JavaKernelBuilder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/codegen/JavaKernelBuilder.java index 7eedb5af3f5..e46f6edb9f4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/codegen/JavaKernelBuilder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/codegen/JavaKernelBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.codegen; import io.deephaven.engine.context.QueryCompiler; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/codegen/RichType.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/codegen/RichType.java index edf850471c9..2413ed72620 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/codegen/RichType.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/codegen/RichType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.codegen; import io.deephaven.engine.util.IterableUtils; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaFactory.java index 8712bf97279..3fa8eb25bf5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.formula; import io.deephaven.engine.context.QueryScopeParam; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaKernel.java index 595143b7296..bf057887bb4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.formula; import io.deephaven.engine.table.impl.select.Formula; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaKernelAdapter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaKernelAdapter.java index e8ad68d6496..b4182cc2920 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaKernelAdapter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaKernelAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.formula; import io.deephaven.util.datastructures.LongSizedDataStructure; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaKernelFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaKernelFactory.java index 0a152dda5a2..069c3047753 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaKernelFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaKernelFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.formula; import io.deephaven.engine.context.QueryScopeParam; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaSourceDescriptor.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaSourceDescriptor.java index 41ec48c3e20..3e4c153d767 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaSourceDescriptor.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/formula/FormulaSourceDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.formula; public class FormulaSourceDescriptor { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/ArgumentsChunked.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/ArgumentsChunked.java index d45ff2263e6..7d308336710 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/ArgumentsChunked.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/ArgumentsChunked.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.python; import io.deephaven.engine.util.PyCallableWrapper.ChunkArgument; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/ArgumentsSingular.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/ArgumentsSingular.java index 1f7ee70b5a0..cc225d12cb5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/ArgumentsSingular.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/ArgumentsSingular.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.python; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/DeephavenCompatibleFunction.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/DeephavenCompatibleFunction.java index 6563769bcfb..c02fc1b6c3f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/DeephavenCompatibleFunction.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/DeephavenCompatibleFunction.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.python; import io.deephaven.engine.table.impl.select.ConditionFilter.FilterKernel; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FillContextPython.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FillContextPython.java index 5eb5d0561c1..9eedcc02ce8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FillContextPython.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FillContextPython.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.python; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FilterKernelPythonChunkedFunction.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FilterKernelPythonChunkedFunction.java index f18a6479b91..c8bbe7e8667 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FilterKernelPythonChunkedFunction.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FilterKernelPythonChunkedFunction.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.python; import io.deephaven.engine.table.impl.select.ConditionFilter.FilterKernel; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FilterKernelPythonSingularFunction.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FilterKernelPythonSingularFunction.java index d3d47afdd37..f7a42c84acc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FilterKernelPythonSingularFunction.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FilterKernelPythonSingularFunction.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.python; import io.deephaven.engine.table.impl.select.ConditionFilter.FilterKernel; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FormulaColumnPython.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FormulaColumnPython.java index cc84b09739d..2b181753891 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FormulaColumnPython.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FormulaColumnPython.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.python; import io.deephaven.engine.table.ColumnDefinition; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FormulaKernelPythonChunkedFunction.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FormulaKernelPythonChunkedFunction.java index fd98352efda..6feb1e6d44b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FormulaKernelPythonChunkedFunction.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FormulaKernelPythonChunkedFunction.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.python; import io.deephaven.engine.table.impl.select.Formula.FillContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FormulaKernelPythonSingularFunction.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FormulaKernelPythonSingularFunction.java index 5370564d926..f9e444068ed 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FormulaKernelPythonSingularFunction.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/python/FormulaKernelPythonSingularFunction.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.python; import io.deephaven.engine.table.impl.select.Formula.FillContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/ByteSetInclusionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/ByteSetInclusionKernel.java index 65c3f963f75..b48f89c995a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/ByteSetInclusionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/ByteSetInclusionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSetInclusionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSetInclusionKernel and run "./gradlew replicateSetInclusionKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.select.setinclusion; import io.deephaven.chunk.*; @@ -37,4 +36,4 @@ private void matchValues(ByteChunk values, WritableBooleanChunk matches) } matches.setSize(values.size()); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/CharSetInclusionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/CharSetInclusionKernel.java index a96bc936779..3421c46e85d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/CharSetInclusionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/CharSetInclusionKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.setinclusion; import io.deephaven.chunk.*; @@ -32,4 +32,4 @@ private void matchValues(CharChunk values, WritableBooleanChunk matches) } matches.setSize(values.size()); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/DoubleSetInclusionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/DoubleSetInclusionKernel.java index 93599ba0b64..27bf820aac4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/DoubleSetInclusionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/DoubleSetInclusionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSetInclusionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSetInclusionKernel and run "./gradlew replicateSetInclusionKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.select.setinclusion; import io.deephaven.chunk.*; @@ -37,4 +36,4 @@ private void matchValues(DoubleChunk values, WritableBooleanChunk matche } matches.setSize(values.size()); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/FloatSetInclusionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/FloatSetInclusionKernel.java index e2afb77aec4..6238c6ca2a1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/FloatSetInclusionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/FloatSetInclusionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSetInclusionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSetInclusionKernel and run "./gradlew replicateSetInclusionKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.select.setinclusion; import io.deephaven.chunk.*; @@ -37,4 +36,4 @@ private void matchValues(FloatChunk values, WritableBooleanChunk matches } matches.setSize(values.size()); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/IntSetInclusionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/IntSetInclusionKernel.java index c2f7ddb1896..4d4a6b95e29 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/IntSetInclusionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/IntSetInclusionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSetInclusionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSetInclusionKernel and run "./gradlew replicateSetInclusionKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.select.setinclusion; import io.deephaven.chunk.*; @@ -37,4 +36,4 @@ private void matchValues(IntChunk values, WritableBooleanChunk matches) } matches.setSize(values.size()); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/LongSetInclusionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/LongSetInclusionKernel.java index c89b89095c4..95ca5e3b4fd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/LongSetInclusionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/LongSetInclusionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSetInclusionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSetInclusionKernel and run "./gradlew replicateSetInclusionKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.select.setinclusion; import io.deephaven.chunk.*; @@ -37,4 +36,4 @@ private void matchValues(LongChunk values, WritableBooleanChunk matches) } matches.setSize(values.size()); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/ObjectSetInclusionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/ObjectSetInclusionKernel.java index 73d78398b26..4daf860b08f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/ObjectSetInclusionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/ObjectSetInclusionKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.setinclusion; import io.deephaven.chunk.Chunk; @@ -30,4 +30,4 @@ private void matchValues(ObjectChunk values, WritableBooleanChunk mat } matches.setSize(values.size()); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/SetInclusionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/SetInclusionKernel.java index 5d6431a04ca..915d1f9688a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/SetInclusionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/SetInclusionKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select.setinclusion; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/ShortSetInclusionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/ShortSetInclusionKernel.java index f6cd6946bac..7a4a089b22d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/ShortSetInclusionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/select/setinclusion/ShortSetInclusionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSetInclusionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSetInclusionKernel and run "./gradlew replicateSetInclusionKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.select.setinclusion; import io.deephaven.chunk.*; @@ -37,4 +36,4 @@ private void matchValues(ShortChunk values, WritableBooleanChunk matches } matches.setSize(values.size()); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/snapshot/SnapshotIncrementalListener.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/snapshot/SnapshotIncrementalListener.java index c874afca3ba..599da96a791 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/snapshot/SnapshotIncrementalListener.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/snapshot/SnapshotIncrementalListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.snapshot; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/snapshot/SnapshotInternalListener.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/snapshot/SnapshotInternalListener.java index a807965046f..24bd0d82afb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/snapshot/SnapshotInternalListener.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/snapshot/SnapshotInternalListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.snapshot; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/snapshot/SnapshotUtils.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/snapshot/SnapshotUtils.java index 0b1ce43a446..57208315345 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/snapshot/SnapshotUtils.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/snapshot/SnapshotUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.snapshot; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/ByteSortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/ByteSortKernel.java index 99445e1c717..e44bce615a9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/ByteSortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/ByteSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit LongSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit LongSortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/IntSortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/IntSortKernel.java index 278d639a21e..6d3d95af829 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/IntSortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/IntSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit LongSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit LongSortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/LongMegaMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/LongMegaMergeKernel.java index 82034f0178d..46a079bf084 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/LongMegaMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/LongMegaMergeKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort; import io.deephaven.chunk.attributes.Any; @@ -26,7 +26,8 @@ public interface LongMegaMergeKernel LongMegaMergeKernel makeContext(ChunkType chunkType, SortingOrder order) { + static LongMegaMergeKernel makeContext( + ChunkType chunkType, SortingOrder order) { switch (chunkType) { case Char: if (order == SortingOrder.Ascending) { @@ -83,6 +84,6 @@ static LongMegaMergeKernel valuesDestinationSource, - long destinationOffset, long destinationSize, - LongChunk indexKeys, Chunk valuesToMerge); + long destinationOffset, long destinationSize, + LongChunk indexKeys, Chunk valuesToMerge); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/LongSortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/LongSortKernel.java index b24f0f8ff61..1806f1ffdfc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/LongSortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/LongSortKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/ByteFindRunsKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/ByteFindRunsKernel.java index 2916f03f428..4f26641bdd2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/ByteFindRunsKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/ByteFindRunsKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFindRunsKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFindRunsKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.findruns; import io.deephaven.chunk.*; @@ -126,7 +125,7 @@ public static int compactRuns( } byte last = sortedValues.get(offsetsIn.get(0)); sortedValues.set(0, last); - for(int ri = 1; ri < numRuns; ++ri) { + for (int ri = 1; ri < numRuns; ++ri) { final int nextOffset = offsetsIn.get(ri); final byte next = sortedValues.get(nextOffset); if (leq(next, last)) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/CharFindRunsKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/CharFindRunsKernel.java index 0570f92e2bb..fb421952cc4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/CharFindRunsKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/CharFindRunsKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.findruns; import io.deephaven.chunk.*; @@ -121,7 +121,7 @@ public static int compactRuns( } char last = sortedValues.get(offsetsIn.get(0)); sortedValues.set(0, last); - for(int ri = 1; ri < numRuns; ++ri) { + for (int ri = 1; ri < numRuns; ++ri) { final int nextOffset = offsetsIn.get(ri); final char next = sortedValues.get(nextOffset); if (leq(next, last)) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/DoubleFindRunsKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/DoubleFindRunsKernel.java index 12420d4d2d7..05b167c9530 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/DoubleFindRunsKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/DoubleFindRunsKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFindRunsKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFindRunsKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.findruns; import io.deephaven.chunk.*; @@ -126,7 +125,7 @@ public static int compactRuns( } double last = sortedValues.get(offsetsIn.get(0)); sortedValues.set(0, last); - for(int ri = 1; ri < numRuns; ++ri) { + for (int ri = 1; ri < numRuns; ++ri) { final int nextOffset = offsetsIn.get(ri); final double next = sortedValues.get(nextOffset); if (leq(next, last)) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/FindRunsKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/FindRunsKernel.java index 99265bfac1a..581a5168f4d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/FindRunsKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/FindRunsKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.findruns; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/FloatFindRunsKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/FloatFindRunsKernel.java index b07d88656e3..27c8befcdb9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/FloatFindRunsKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/FloatFindRunsKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFindRunsKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFindRunsKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.findruns; import io.deephaven.chunk.*; @@ -126,7 +125,7 @@ public static int compactRuns( } float last = sortedValues.get(offsetsIn.get(0)); sortedValues.set(0, last); - for(int ri = 1; ri < numRuns; ++ri) { + for (int ri = 1; ri < numRuns; ++ri) { final int nextOffset = offsetsIn.get(ri); final float next = sortedValues.get(nextOffset); if (leq(next, last)) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/IntFindRunsKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/IntFindRunsKernel.java index d760d1685fa..7f447b01c02 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/IntFindRunsKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/IntFindRunsKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFindRunsKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFindRunsKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.findruns; import io.deephaven.chunk.*; @@ -126,7 +125,7 @@ public static int compactRuns( } int last = sortedValues.get(offsetsIn.get(0)); sortedValues.set(0, last); - for(int ri = 1; ri < numRuns; ++ri) { + for (int ri = 1; ri < numRuns; ++ri) { final int nextOffset = offsetsIn.get(ri); final int next = sortedValues.get(nextOffset); if (leq(next, last)) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/LongFindRunsKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/LongFindRunsKernel.java index f686f03dcf4..9c9946c1328 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/LongFindRunsKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/LongFindRunsKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFindRunsKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFindRunsKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.findruns; import io.deephaven.chunk.*; @@ -126,7 +125,7 @@ public static int compactRuns( } long last = sortedValues.get(offsetsIn.get(0)); sortedValues.set(0, last); - for(int ri = 1; ri < numRuns; ++ri) { + for (int ri = 1; ri < numRuns; ++ri) { final int nextOffset = offsetsIn.get(ri); final long next = sortedValues.get(nextOffset); if (leq(next, last)) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/ObjectFindRunsKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/ObjectFindRunsKernel.java index 2e1aaff8d94..e1b7a85cd94 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/ObjectFindRunsKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/ObjectFindRunsKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFindRunsKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFindRunsKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.findruns; import io.deephaven.chunk.*; @@ -126,7 +125,7 @@ public static int compactRuns( } Object last = sortedValues.get(offsetsIn.get(0)); sortedValues.set(0, last); - for(int ri = 1; ri < numRuns; ++ri) { + for (int ri = 1; ri < numRuns; ++ri) { final int nextOffset = offsetsIn.get(ri); final Object next = sortedValues.get(nextOffset); if (leq(next, last)) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/ShortFindRunsKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/ShortFindRunsKernel.java index 9816318df4e..b5e052880b5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/ShortFindRunsKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/findruns/ShortFindRunsKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFindRunsKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFindRunsKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.findruns; import io.deephaven.chunk.*; @@ -126,7 +125,7 @@ public static int compactRuns( } short last = sortedValues.get(offsetsIn.get(0)); sortedValues.set(0, last); - for(int ri = 1; ri < numRuns; ++ri) { + for (int ri = 1; ri < numRuns; ++ri) { final int nextOffset = offsetsIn.get(ri); final short next = sortedValues.get(nextOffset); if (leq(next, last)) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ByteLongMegaMergeDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ByteLongMegaMergeDescendingKernel.java index 5ba94a7fe7e..0584526cddb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ByteLongMegaMergeDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ByteLongMegaMergeDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongMegaMergeDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ByteLongMegaMergeDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ByteLongMegaMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ByteLongMegaMergeKernel.java index eabc2ac4e44..2871d2b1749 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ByteLongMegaMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ByteLongMegaMergeKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongMegaMergeKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongMegaMergeKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/CharLongMegaMergeDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/CharLongMegaMergeDescendingKernel.java index 9a3b1d1ec4f..977cb604230 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/CharLongMegaMergeDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/CharLongMegaMergeDescendingKernel.java @@ -1,6 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongMegaMergeDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/CharLongMegaMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/CharLongMegaMergeKernel.java index 24a3b80fdcd..23cbf00e2e5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/CharLongMegaMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/CharLongMegaMergeKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/DoubleLongMegaMergeDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/DoubleLongMegaMergeDescendingKernel.java index 17bda359247..728186cf441 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/DoubleLongMegaMergeDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/DoubleLongMegaMergeDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongMegaMergeDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DoubleLongMegaMergeDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/DoubleLongMegaMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/DoubleLongMegaMergeKernel.java index b5072610b93..b010b640586 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/DoubleLongMegaMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/DoubleLongMegaMergeKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongMegaMergeKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongMegaMergeKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/FloatLongMegaMergeDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/FloatLongMegaMergeDescendingKernel.java index 98cb3884632..baff0175fcd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/FloatLongMegaMergeDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/FloatLongMegaMergeDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongMegaMergeDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatLongMegaMergeDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/FloatLongMegaMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/FloatLongMegaMergeKernel.java index f38d35fc7bf..8e8c2fdaf94 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/FloatLongMegaMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/FloatLongMegaMergeKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongMegaMergeKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongMegaMergeKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/IntLongMegaMergeDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/IntLongMegaMergeDescendingKernel.java index 5051e7b3184..d31c1831202 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/IntLongMegaMergeDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/IntLongMegaMergeDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongMegaMergeDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntLongMegaMergeDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/IntLongMegaMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/IntLongMegaMergeKernel.java index 2045660a913..d6794f9906e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/IntLongMegaMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/IntLongMegaMergeKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongMegaMergeKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongMegaMergeKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/LongLongMegaMergeDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/LongLongMegaMergeDescendingKernel.java index b268d6f7590..564afb011b6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/LongLongMegaMergeDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/LongLongMegaMergeDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongMegaMergeDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit LongLongMegaMergeDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/LongLongMegaMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/LongLongMegaMergeKernel.java index 6b92a826819..d0d17c32a6c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/LongLongMegaMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/LongLongMegaMergeKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongMegaMergeKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongMegaMergeKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ObjectLongMegaMergeDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ObjectLongMegaMergeDescendingKernel.java index aff52ab548a..1b054282883 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ObjectLongMegaMergeDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ObjectLongMegaMergeDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongMegaMergeDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ObjectLongMegaMergeDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ObjectLongMegaMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ObjectLongMegaMergeKernel.java index 4e67a39a622..99bf4eadd3a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ObjectLongMegaMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ObjectLongMegaMergeKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongMegaMergeKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongMegaMergeKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ShortLongMegaMergeDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ShortLongMegaMergeDescendingKernel.java index 179548e1b97..1dfb8d4ca43 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ShortLongMegaMergeDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ShortLongMegaMergeDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongMegaMergeDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortLongMegaMergeDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ShortLongMegaMergeKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ShortLongMegaMergeKernel.java index 00511c176d3..ef6ef33832e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ShortLongMegaMergeKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/megamerge/ShortLongMegaMergeKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongMegaMergeKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongMegaMergeKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/BytePartitionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/BytePartitionKernel.java index aac401aeac3..8f01b3947f2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/BytePartitionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/BytePartitionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPartitionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPartitionKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.partition; import io.deephaven.chunk.attributes.Any; @@ -41,11 +40,11 @@ private PartitionKernelContext(int chunkSize, int numPartitions, boolean preserv pivotValues = WritableByteChunk.makeWritableChunk(numPartitions - 1); pivotKeys = WritableLongChunk.makeWritableChunk(numPartitions - 1); if (preserveEquality) { - //noinspection unchecked + // noinspection unchecked accumulatedKeys = new WritableLongChunk[numPartitions * 2 - 1]; builders = new RowSetBuilderSequential[numPartitions * 2 - 1]; } else { - //noinspection unchecked + // noinspection unchecked accumulatedKeys = new WritableLongChunk[numPartitions]; builders = new RowSetBuilderSequential[numPartitions]; } @@ -70,13 +69,18 @@ public RowSet[] getPartitions(boolean resetBuilders) { return partitions; } -// public void showPivots() { -// System.out.println("[" + IntStream.range(0, pivotValues.size()).mapToObj(pivotValues::get).map(BytePartitionKernel::format).collect(Collectors.joining(",")) + "]"); -// System.out.println("[" + IntStream.range(0, pivotKeys.size()).mapToObj(pivotKeys::get).map(Object::toString).collect(Collectors.joining(",")) + "]"); -// } - - public ByteLongTuple [] getPivots() { - return IntStream.range(0, pivotValues.size()).mapToObj(ii -> new ByteLongTuple(pivotValues.get(ii), pivotKeys.get(ii))).toArray(ByteLongTuple[]::new); + // public void showPivots() { + // System.out.println("[" + IntStream.range(0, + // pivotValues.size()).mapToObj(pivotValues::get).map(BytePartitionKernel::format).collect(Collectors.joining(",")) + // + "]"); + // System.out.println("[" + IntStream.range(0, + // pivotKeys.size()).mapToObj(pivotKeys::get).map(Object::toString).collect(Collectors.joining(",")) + "]"); + // } + + public ByteLongTuple[] getPivots() { + return IntStream.range(0, pivotValues.size()) + .mapToObj(ii -> new ByteLongTuple(pivotValues.get(ii), pivotKeys.get(ii))) + .toArray(ByteLongTuple[]::new); } @Override @@ -89,22 +93,24 @@ public void close() { } } -// private static String format(byte last) { -// if (last >= 'A' && last <= 'Z') { -// return Byte.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } + // private static String format(byte last) { + // if (last >= 'A' && last <= 'Z') { + // return Byte.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } - public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource columnSource, int chunkSize, int nPartitions, boolean preserveEquality) { + public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource columnSource, + int chunkSize, int nPartitions, boolean preserveEquality) { final PartitionKernelContext context = new PartitionKernelContext(chunkSize, nPartitions, preserveEquality); try (final WritableLongChunk tempPivotKeys = WritableLongChunk.makeWritableChunk(nPartitions * 3); - final WritableByteChunk tempPivotValues = WritableByteChunk.makeWritableChunk(nPartitions * 3)) { + final WritableByteChunk tempPivotValues = WritableByteChunk.makeWritableChunk(nPartitions * 3)) { samplePivots(rowSet, nPartitions, tempPivotKeys, tempPivotValues, columnSource); - // copy from the oversized chunk, which was used for sorting into the chunk which we will use for our binary searches + // copy from the oversized chunk, which was used for sorting into the chunk which we will use for our binary + // searches for (int ii = 0; ii < tempPivotKeys.size(); ++ii) { context.pivotKeys.set(ii, tempPivotKeys.get(ii)); context.pivotValues.set(ii, tempPivotValues.get(ii)); @@ -115,9 +121,10 @@ public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource pivotKeys, WritableByteChunk pivotValues, ColumnSource columnSource) { + private static void samplePivots(RowSet rowSet, int nPartitions, WritableLongChunk pivotKeys, + WritableByteChunk pivotValues, ColumnSource columnSource) { pivotKeys.setSize(0); final int pivotsRequired = nPartitions - 1; final int samplesRequired = pivotsRequired * 3; @@ -150,7 +157,7 @@ private static void samplePivots(RowSet rowSet, int nPartitions, WritableLongChu * * @param context our context, containing the pivots * @param indexKeys a chunk of row keys to partition - * @param values a chunk of values that go with the row keys + * @param values a chunk of values that go with the row keys */ public static void partition(PartitionKernelContext context, LongChunk indexKeys, ByteChunk values) { final int accumulatedChunkSize = context.chunkSize; @@ -165,7 +172,8 @@ public static void partition(PartitionKernelContext context, LongChunk if (context.preserveEquality) { partition = binarySearchPreserve(context.pivotValues, 0, context.pivotValues.size(), searchValue); } else { - partition = binarySearchTieIndex(context.pivotValues, context.pivotKeys, 0, context.pivotValues.size(), searchValue, searchKey); + partition = binarySearchTieIndex(context.pivotValues, context.pivotKeys, 0, + context.pivotValues.size(), searchValue, searchKey); } context.accumulatedKeys[partition].add(searchKey); if (context.accumulatedKeys[partition].size() == accumulatedChunkSize) { @@ -198,7 +206,7 @@ private static int binarySearchPreserve(ByteChunk pivotValues, int lo, int hi, b final byte compareValue = pivotValues.get(mid); if (eq(searchValue, compareValue)) { return mid * 2 + 1; - } else if (lt(searchValue , compareValue)) { + } else if (lt(searchValue, compareValue)) { hi = mid; } else { lo = mid + 1; @@ -207,7 +215,8 @@ private static int binarySearchPreserve(ByteChunk pivotValues, int lo, int hi, b return lo * 2; } - private static int binarySearchTieIndex(ByteChunk pivotValues, LongChunk pivotKeys, int lo, int hi, byte searchValue, long searchKey) { + private static int binarySearchTieIndex(ByteChunk pivotValues, LongChunk pivotKeys, int lo, int hi, + byte searchValue, long searchKey) { while (lo != hi) { final int mid = (lo + hi) / 2; final byte compareValue = pivotValues.get(mid); @@ -243,4 +252,4 @@ private static boolean eq(byte lhs, byte rhs) { private static boolean lt(byte lhs, byte rhs) { return doComparison(lhs, rhs) < 0; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/CharPartitionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/CharPartitionKernel.java index 37498a9caa8..016a93d2d18 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/CharPartitionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/CharPartitionKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.partition; import io.deephaven.chunk.attributes.Any; @@ -36,11 +36,11 @@ private PartitionKernelContext(int chunkSize, int numPartitions, boolean preserv pivotValues = WritableCharChunk.makeWritableChunk(numPartitions - 1); pivotKeys = WritableLongChunk.makeWritableChunk(numPartitions - 1); if (preserveEquality) { - //noinspection unchecked + // noinspection unchecked accumulatedKeys = new WritableLongChunk[numPartitions * 2 - 1]; builders = new RowSetBuilderSequential[numPartitions * 2 - 1]; } else { - //noinspection unchecked + // noinspection unchecked accumulatedKeys = new WritableLongChunk[numPartitions]; builders = new RowSetBuilderSequential[numPartitions]; } @@ -65,13 +65,18 @@ public RowSet[] getPartitions(boolean resetBuilders) { return partitions; } -// public void showPivots() { -// System.out.println("[" + IntStream.range(0, pivotValues.size()).mapToObj(pivotValues::get).map(CharPartitionKernel::format).collect(Collectors.joining(",")) + "]"); -// System.out.println("[" + IntStream.range(0, pivotKeys.size()).mapToObj(pivotKeys::get).map(Object::toString).collect(Collectors.joining(",")) + "]"); -// } - - public CharLongTuple [] getPivots() { - return IntStream.range(0, pivotValues.size()).mapToObj(ii -> new CharLongTuple(pivotValues.get(ii), pivotKeys.get(ii))).toArray(CharLongTuple[]::new); + // public void showPivots() { + // System.out.println("[" + IntStream.range(0, + // pivotValues.size()).mapToObj(pivotValues::get).map(CharPartitionKernel::format).collect(Collectors.joining(",")) + // + "]"); + // System.out.println("[" + IntStream.range(0, + // pivotKeys.size()).mapToObj(pivotKeys::get).map(Object::toString).collect(Collectors.joining(",")) + "]"); + // } + + public CharLongTuple[] getPivots() { + return IntStream.range(0, pivotValues.size()) + .mapToObj(ii -> new CharLongTuple(pivotValues.get(ii), pivotKeys.get(ii))) + .toArray(CharLongTuple[]::new); } @Override @@ -84,22 +89,24 @@ public void close() { } } -// private static String format(char last) { -// if (last >= 'A' && last <= 'Z') { -// return Character.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } + // private static String format(char last) { + // if (last >= 'A' && last <= 'Z') { + // return Character.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } - public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource columnSource, int chunkSize, int nPartitions, boolean preserveEquality) { + public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource columnSource, + int chunkSize, int nPartitions, boolean preserveEquality) { final PartitionKernelContext context = new PartitionKernelContext(chunkSize, nPartitions, preserveEquality); try (final WritableLongChunk tempPivotKeys = WritableLongChunk.makeWritableChunk(nPartitions * 3); - final WritableCharChunk tempPivotValues = WritableCharChunk.makeWritableChunk(nPartitions * 3)) { + final WritableCharChunk tempPivotValues = WritableCharChunk.makeWritableChunk(nPartitions * 3)) { samplePivots(rowSet, nPartitions, tempPivotKeys, tempPivotValues, columnSource); - // copy from the oversized chunk, which was used for sorting into the chunk which we will use for our binary searches + // copy from the oversized chunk, which was used for sorting into the chunk which we will use for our binary + // searches for (int ii = 0; ii < tempPivotKeys.size(); ++ii) { context.pivotKeys.set(ii, tempPivotKeys.get(ii)); context.pivotValues.set(ii, tempPivotValues.get(ii)); @@ -110,9 +117,10 @@ public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource pivotKeys, WritableCharChunk pivotValues, ColumnSource columnSource) { + private static void samplePivots(RowSet rowSet, int nPartitions, WritableLongChunk pivotKeys, + WritableCharChunk pivotValues, ColumnSource columnSource) { pivotKeys.setSize(0); final int pivotsRequired = nPartitions - 1; final int samplesRequired = pivotsRequired * 3; @@ -145,7 +153,7 @@ private static void samplePivots(RowSet rowSet, int nPartitions, WritableLongChu * * @param context our context, containing the pivots * @param indexKeys a chunk of row keys to partition - * @param values a chunk of values that go with the row keys + * @param values a chunk of values that go with the row keys */ public static void partition(PartitionKernelContext context, LongChunk indexKeys, CharChunk values) { final int accumulatedChunkSize = context.chunkSize; @@ -160,7 +168,8 @@ public static void partition(PartitionKernelContext context, LongChunk if (context.preserveEquality) { partition = binarySearchPreserve(context.pivotValues, 0, context.pivotValues.size(), searchValue); } else { - partition = binarySearchTieIndex(context.pivotValues, context.pivotKeys, 0, context.pivotValues.size(), searchValue, searchKey); + partition = binarySearchTieIndex(context.pivotValues, context.pivotKeys, 0, + context.pivotValues.size(), searchValue, searchKey); } context.accumulatedKeys[partition].add(searchKey); if (context.accumulatedKeys[partition].size() == accumulatedChunkSize) { @@ -193,7 +202,7 @@ private static int binarySearchPreserve(CharChunk pivotValues, int lo, int hi, c final char compareValue = pivotValues.get(mid); if (eq(searchValue, compareValue)) { return mid * 2 + 1; - } else if (lt(searchValue , compareValue)) { + } else if (lt(searchValue, compareValue)) { hi = mid; } else { lo = mid + 1; @@ -202,7 +211,8 @@ private static int binarySearchPreserve(CharChunk pivotValues, int lo, int hi, c return lo * 2; } - private static int binarySearchTieIndex(CharChunk pivotValues, LongChunk pivotKeys, int lo, int hi, char searchValue, long searchKey) { + private static int binarySearchTieIndex(CharChunk pivotValues, LongChunk pivotKeys, int lo, int hi, + char searchValue, long searchKey) { while (lo != hi) { final int mid = (lo + hi) / 2; final char compareValue = pivotValues.get(mid); @@ -238,4 +248,4 @@ private static boolean eq(char lhs, char rhs) { private static boolean lt(char lhs, char rhs) { return doComparison(lhs, rhs) < 0; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/DoublePartitionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/DoublePartitionKernel.java index a59f0f4acea..8a96814465a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/DoublePartitionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/DoublePartitionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPartitionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPartitionKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.partition; import io.deephaven.chunk.attributes.Any; @@ -41,11 +40,11 @@ private PartitionKernelContext(int chunkSize, int numPartitions, boolean preserv pivotValues = WritableDoubleChunk.makeWritableChunk(numPartitions - 1); pivotKeys = WritableLongChunk.makeWritableChunk(numPartitions - 1); if (preserveEquality) { - //noinspection unchecked + // noinspection unchecked accumulatedKeys = new WritableLongChunk[numPartitions * 2 - 1]; builders = new RowSetBuilderSequential[numPartitions * 2 - 1]; } else { - //noinspection unchecked + // noinspection unchecked accumulatedKeys = new WritableLongChunk[numPartitions]; builders = new RowSetBuilderSequential[numPartitions]; } @@ -70,13 +69,18 @@ public RowSet[] getPartitions(boolean resetBuilders) { return partitions; } -// public void showPivots() { -// System.out.println("[" + IntStream.range(0, pivotValues.size()).mapToObj(pivotValues::get).map(DoublePartitionKernel::format).collect(Collectors.joining(",")) + "]"); -// System.out.println("[" + IntStream.range(0, pivotKeys.size()).mapToObj(pivotKeys::get).map(Object::toString).collect(Collectors.joining(",")) + "]"); -// } - - public DoubleLongTuple [] getPivots() { - return IntStream.range(0, pivotValues.size()).mapToObj(ii -> new DoubleLongTuple(pivotValues.get(ii), pivotKeys.get(ii))).toArray(DoubleLongTuple[]::new); + // public void showPivots() { + // System.out.println("[" + IntStream.range(0, + // pivotValues.size()).mapToObj(pivotValues::get).map(DoublePartitionKernel::format).collect(Collectors.joining(",")) + // + "]"); + // System.out.println("[" + IntStream.range(0, + // pivotKeys.size()).mapToObj(pivotKeys::get).map(Object::toString).collect(Collectors.joining(",")) + "]"); + // } + + public DoubleLongTuple[] getPivots() { + return IntStream.range(0, pivotValues.size()) + .mapToObj(ii -> new DoubleLongTuple(pivotValues.get(ii), pivotKeys.get(ii))) + .toArray(DoubleLongTuple[]::new); } @Override @@ -89,22 +93,24 @@ public void close() { } } -// private static String format(double last) { -// if (last >= 'A' && last <= 'Z') { -// return Double.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } + // private static String format(double last) { + // if (last >= 'A' && last <= 'Z') { + // return Double.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } - public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource columnSource, int chunkSize, int nPartitions, boolean preserveEquality) { + public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource columnSource, + int chunkSize, int nPartitions, boolean preserveEquality) { final PartitionKernelContext context = new PartitionKernelContext(chunkSize, nPartitions, preserveEquality); try (final WritableLongChunk tempPivotKeys = WritableLongChunk.makeWritableChunk(nPartitions * 3); - final WritableDoubleChunk tempPivotValues = WritableDoubleChunk.makeWritableChunk(nPartitions * 3)) { + final WritableDoubleChunk tempPivotValues = WritableDoubleChunk.makeWritableChunk(nPartitions * 3)) { samplePivots(rowSet, nPartitions, tempPivotKeys, tempPivotValues, columnSource); - // copy from the oversized chunk, which was used for sorting into the chunk which we will use for our binary searches + // copy from the oversized chunk, which was used for sorting into the chunk which we will use for our binary + // searches for (int ii = 0; ii < tempPivotKeys.size(); ++ii) { context.pivotKeys.set(ii, tempPivotKeys.get(ii)); context.pivotValues.set(ii, tempPivotValues.get(ii)); @@ -115,9 +121,10 @@ public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource pivotKeys, WritableDoubleChunk pivotValues, ColumnSource columnSource) { + private static void samplePivots(RowSet rowSet, int nPartitions, WritableLongChunk pivotKeys, + WritableDoubleChunk pivotValues, ColumnSource columnSource) { pivotKeys.setSize(0); final int pivotsRequired = nPartitions - 1; final int samplesRequired = pivotsRequired * 3; @@ -150,7 +157,7 @@ private static void samplePivots(RowSet rowSet, int nPartitions, WritableLongChu * * @param context our context, containing the pivots * @param indexKeys a chunk of row keys to partition - * @param values a chunk of values that go with the row keys + * @param values a chunk of values that go with the row keys */ public static void partition(PartitionKernelContext context, LongChunk indexKeys, DoubleChunk values) { final int accumulatedChunkSize = context.chunkSize; @@ -165,7 +172,8 @@ public static void partition(PartitionKernelContext context, LongChunk if (context.preserveEquality) { partition = binarySearchPreserve(context.pivotValues, 0, context.pivotValues.size(), searchValue); } else { - partition = binarySearchTieIndex(context.pivotValues, context.pivotKeys, 0, context.pivotValues.size(), searchValue, searchKey); + partition = binarySearchTieIndex(context.pivotValues, context.pivotKeys, 0, + context.pivotValues.size(), searchValue, searchKey); } context.accumulatedKeys[partition].add(searchKey); if (context.accumulatedKeys[partition].size() == accumulatedChunkSize) { @@ -198,7 +206,7 @@ private static int binarySearchPreserve(DoubleChunk pivotValues, int lo, int hi, final double compareValue = pivotValues.get(mid); if (eq(searchValue, compareValue)) { return mid * 2 + 1; - } else if (lt(searchValue , compareValue)) { + } else if (lt(searchValue, compareValue)) { hi = mid; } else { lo = mid + 1; @@ -207,7 +215,8 @@ private static int binarySearchPreserve(DoubleChunk pivotValues, int lo, int hi, return lo * 2; } - private static int binarySearchTieIndex(DoubleChunk pivotValues, LongChunk pivotKeys, int lo, int hi, double searchValue, long searchKey) { + private static int binarySearchTieIndex(DoubleChunk pivotValues, LongChunk pivotKeys, int lo, int hi, + double searchValue, long searchKey) { while (lo != hi) { final int mid = (lo + hi) / 2; final double compareValue = pivotValues.get(mid); @@ -243,4 +252,4 @@ private static boolean eq(double lhs, double rhs) { private static boolean lt(double lhs, double rhs) { return doComparison(lhs, rhs) < 0; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/FloatPartitionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/FloatPartitionKernel.java index 76aa7a2a8cf..2a8133bcd4f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/FloatPartitionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/FloatPartitionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPartitionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPartitionKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.partition; import io.deephaven.chunk.attributes.Any; @@ -41,11 +40,11 @@ private PartitionKernelContext(int chunkSize, int numPartitions, boolean preserv pivotValues = WritableFloatChunk.makeWritableChunk(numPartitions - 1); pivotKeys = WritableLongChunk.makeWritableChunk(numPartitions - 1); if (preserveEquality) { - //noinspection unchecked + // noinspection unchecked accumulatedKeys = new WritableLongChunk[numPartitions * 2 - 1]; builders = new RowSetBuilderSequential[numPartitions * 2 - 1]; } else { - //noinspection unchecked + // noinspection unchecked accumulatedKeys = new WritableLongChunk[numPartitions]; builders = new RowSetBuilderSequential[numPartitions]; } @@ -70,13 +69,18 @@ public RowSet[] getPartitions(boolean resetBuilders) { return partitions; } -// public void showPivots() { -// System.out.println("[" + IntStream.range(0, pivotValues.size()).mapToObj(pivotValues::get).map(FloatPartitionKernel::format).collect(Collectors.joining(",")) + "]"); -// System.out.println("[" + IntStream.range(0, pivotKeys.size()).mapToObj(pivotKeys::get).map(Object::toString).collect(Collectors.joining(",")) + "]"); -// } - - public FloatLongTuple [] getPivots() { - return IntStream.range(0, pivotValues.size()).mapToObj(ii -> new FloatLongTuple(pivotValues.get(ii), pivotKeys.get(ii))).toArray(FloatLongTuple[]::new); + // public void showPivots() { + // System.out.println("[" + IntStream.range(0, + // pivotValues.size()).mapToObj(pivotValues::get).map(FloatPartitionKernel::format).collect(Collectors.joining(",")) + // + "]"); + // System.out.println("[" + IntStream.range(0, + // pivotKeys.size()).mapToObj(pivotKeys::get).map(Object::toString).collect(Collectors.joining(",")) + "]"); + // } + + public FloatLongTuple[] getPivots() { + return IntStream.range(0, pivotValues.size()) + .mapToObj(ii -> new FloatLongTuple(pivotValues.get(ii), pivotKeys.get(ii))) + .toArray(FloatLongTuple[]::new); } @Override @@ -89,22 +93,24 @@ public void close() { } } -// private static String format(float last) { -// if (last >= 'A' && last <= 'Z') { -// return Float.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } + // private static String format(float last) { + // if (last >= 'A' && last <= 'Z') { + // return Float.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } - public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource columnSource, int chunkSize, int nPartitions, boolean preserveEquality) { + public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource columnSource, + int chunkSize, int nPartitions, boolean preserveEquality) { final PartitionKernelContext context = new PartitionKernelContext(chunkSize, nPartitions, preserveEquality); try (final WritableLongChunk tempPivotKeys = WritableLongChunk.makeWritableChunk(nPartitions * 3); - final WritableFloatChunk tempPivotValues = WritableFloatChunk.makeWritableChunk(nPartitions * 3)) { + final WritableFloatChunk tempPivotValues = WritableFloatChunk.makeWritableChunk(nPartitions * 3)) { samplePivots(rowSet, nPartitions, tempPivotKeys, tempPivotValues, columnSource); - // copy from the oversized chunk, which was used for sorting into the chunk which we will use for our binary searches + // copy from the oversized chunk, which was used for sorting into the chunk which we will use for our binary + // searches for (int ii = 0; ii < tempPivotKeys.size(); ++ii) { context.pivotKeys.set(ii, tempPivotKeys.get(ii)); context.pivotValues.set(ii, tempPivotValues.get(ii)); @@ -115,9 +121,10 @@ public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource pivotKeys, WritableFloatChunk pivotValues, ColumnSource columnSource) { + private static void samplePivots(RowSet rowSet, int nPartitions, WritableLongChunk pivotKeys, + WritableFloatChunk pivotValues, ColumnSource columnSource) { pivotKeys.setSize(0); final int pivotsRequired = nPartitions - 1; final int samplesRequired = pivotsRequired * 3; @@ -150,7 +157,7 @@ private static void samplePivots(RowSet rowSet, int nPartitions, WritableLongChu * * @param context our context, containing the pivots * @param indexKeys a chunk of row keys to partition - * @param values a chunk of values that go with the row keys + * @param values a chunk of values that go with the row keys */ public static void partition(PartitionKernelContext context, LongChunk indexKeys, FloatChunk values) { final int accumulatedChunkSize = context.chunkSize; @@ -165,7 +172,8 @@ public static void partition(PartitionKernelContext context, LongChunk if (context.preserveEquality) { partition = binarySearchPreserve(context.pivotValues, 0, context.pivotValues.size(), searchValue); } else { - partition = binarySearchTieIndex(context.pivotValues, context.pivotKeys, 0, context.pivotValues.size(), searchValue, searchKey); + partition = binarySearchTieIndex(context.pivotValues, context.pivotKeys, 0, + context.pivotValues.size(), searchValue, searchKey); } context.accumulatedKeys[partition].add(searchKey); if (context.accumulatedKeys[partition].size() == accumulatedChunkSize) { @@ -198,7 +206,7 @@ private static int binarySearchPreserve(FloatChunk pivotValues, int lo, int hi, final float compareValue = pivotValues.get(mid); if (eq(searchValue, compareValue)) { return mid * 2 + 1; - } else if (lt(searchValue , compareValue)) { + } else if (lt(searchValue, compareValue)) { hi = mid; } else { lo = mid + 1; @@ -207,7 +215,8 @@ private static int binarySearchPreserve(FloatChunk pivotValues, int lo, int hi, return lo * 2; } - private static int binarySearchTieIndex(FloatChunk pivotValues, LongChunk pivotKeys, int lo, int hi, float searchValue, long searchKey) { + private static int binarySearchTieIndex(FloatChunk pivotValues, LongChunk pivotKeys, int lo, int hi, + float searchValue, long searchKey) { while (lo != hi) { final int mid = (lo + hi) / 2; final float compareValue = pivotValues.get(mid); @@ -243,4 +252,4 @@ private static boolean eq(float lhs, float rhs) { private static boolean lt(float lhs, float rhs) { return doComparison(lhs, rhs) < 0; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/IntPartitionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/IntPartitionKernel.java index 3d2b21b126f..d983dde47db 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/IntPartitionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/IntPartitionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPartitionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPartitionKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.partition; import io.deephaven.chunk.attributes.Any; @@ -41,11 +40,11 @@ private PartitionKernelContext(int chunkSize, int numPartitions, boolean preserv pivotValues = WritableIntChunk.makeWritableChunk(numPartitions - 1); pivotKeys = WritableLongChunk.makeWritableChunk(numPartitions - 1); if (preserveEquality) { - //noinspection unchecked + // noinspection unchecked accumulatedKeys = new WritableLongChunk[numPartitions * 2 - 1]; builders = new RowSetBuilderSequential[numPartitions * 2 - 1]; } else { - //noinspection unchecked + // noinspection unchecked accumulatedKeys = new WritableLongChunk[numPartitions]; builders = new RowSetBuilderSequential[numPartitions]; } @@ -70,13 +69,18 @@ public RowSet[] getPartitions(boolean resetBuilders) { return partitions; } -// public void showPivots() { -// System.out.println("[" + IntStream.range(0, pivotValues.size()).mapToObj(pivotValues::get).map(IntPartitionKernel::format).collect(Collectors.joining(",")) + "]"); -// System.out.println("[" + IntStream.range(0, pivotKeys.size()).mapToObj(pivotKeys::get).map(Object::toString).collect(Collectors.joining(",")) + "]"); -// } - - public IntLongTuple [] getPivots() { - return IntStream.range(0, pivotValues.size()).mapToObj(ii -> new IntLongTuple(pivotValues.get(ii), pivotKeys.get(ii))).toArray(IntLongTuple[]::new); + // public void showPivots() { + // System.out.println("[" + IntStream.range(0, + // pivotValues.size()).mapToObj(pivotValues::get).map(IntPartitionKernel::format).collect(Collectors.joining(",")) + // + "]"); + // System.out.println("[" + IntStream.range(0, + // pivotKeys.size()).mapToObj(pivotKeys::get).map(Object::toString).collect(Collectors.joining(",")) + "]"); + // } + + public IntLongTuple[] getPivots() { + return IntStream.range(0, pivotValues.size()) + .mapToObj(ii -> new IntLongTuple(pivotValues.get(ii), pivotKeys.get(ii))) + .toArray(IntLongTuple[]::new); } @Override @@ -89,22 +93,24 @@ public void close() { } } -// private static String format(int last) { -// if (last >= 'A' && last <= 'Z') { -// return Integer.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } + // private static String format(int last) { + // if (last >= 'A' && last <= 'Z') { + // return Integer.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } - public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource columnSource, int chunkSize, int nPartitions, boolean preserveEquality) { + public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource columnSource, + int chunkSize, int nPartitions, boolean preserveEquality) { final PartitionKernelContext context = new PartitionKernelContext(chunkSize, nPartitions, preserveEquality); try (final WritableLongChunk tempPivotKeys = WritableLongChunk.makeWritableChunk(nPartitions * 3); - final WritableIntChunk tempPivotValues = WritableIntChunk.makeWritableChunk(nPartitions * 3)) { + final WritableIntChunk tempPivotValues = WritableIntChunk.makeWritableChunk(nPartitions * 3)) { samplePivots(rowSet, nPartitions, tempPivotKeys, tempPivotValues, columnSource); - // copy from the oversized chunk, which was used for sorting into the chunk which we will use for our binary searches + // copy from the oversized chunk, which was used for sorting into the chunk which we will use for our binary + // searches for (int ii = 0; ii < tempPivotKeys.size(); ++ii) { context.pivotKeys.set(ii, tempPivotKeys.get(ii)); context.pivotValues.set(ii, tempPivotValues.get(ii)); @@ -115,9 +121,10 @@ public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource pivotKeys, WritableIntChunk pivotValues, ColumnSource columnSource) { + private static void samplePivots(RowSet rowSet, int nPartitions, WritableLongChunk pivotKeys, + WritableIntChunk pivotValues, ColumnSource columnSource) { pivotKeys.setSize(0); final int pivotsRequired = nPartitions - 1; final int samplesRequired = pivotsRequired * 3; @@ -150,7 +157,7 @@ private static void samplePivots(RowSet rowSet, int nPartitions, WritableLongChu * * @param context our context, containing the pivots * @param indexKeys a chunk of row keys to partition - * @param values a chunk of values that go with the row keys + * @param values a chunk of values that go with the row keys */ public static void partition(PartitionKernelContext context, LongChunk indexKeys, IntChunk values) { final int accumulatedChunkSize = context.chunkSize; @@ -165,7 +172,8 @@ public static void partition(PartitionKernelContext context, LongChunk if (context.preserveEquality) { partition = binarySearchPreserve(context.pivotValues, 0, context.pivotValues.size(), searchValue); } else { - partition = binarySearchTieIndex(context.pivotValues, context.pivotKeys, 0, context.pivotValues.size(), searchValue, searchKey); + partition = binarySearchTieIndex(context.pivotValues, context.pivotKeys, 0, + context.pivotValues.size(), searchValue, searchKey); } context.accumulatedKeys[partition].add(searchKey); if (context.accumulatedKeys[partition].size() == accumulatedChunkSize) { @@ -198,7 +206,7 @@ private static int binarySearchPreserve(IntChunk pivotValues, int lo, int hi, in final int compareValue = pivotValues.get(mid); if (eq(searchValue, compareValue)) { return mid * 2 + 1; - } else if (lt(searchValue , compareValue)) { + } else if (lt(searchValue, compareValue)) { hi = mid; } else { lo = mid + 1; @@ -207,7 +215,8 @@ private static int binarySearchPreserve(IntChunk pivotValues, int lo, int hi, in return lo * 2; } - private static int binarySearchTieIndex(IntChunk pivotValues, LongChunk pivotKeys, int lo, int hi, int searchValue, long searchKey) { + private static int binarySearchTieIndex(IntChunk pivotValues, LongChunk pivotKeys, int lo, int hi, + int searchValue, long searchKey) { while (lo != hi) { final int mid = (lo + hi) / 2; final int compareValue = pivotValues.get(mid); @@ -243,4 +252,4 @@ private static boolean eq(int lhs, int rhs) { private static boolean lt(int lhs, int rhs) { return doComparison(lhs, rhs) < 0; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/LongPartitionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/LongPartitionKernel.java index 3f5e290b23a..57b7d1c3f56 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/LongPartitionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/LongPartitionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPartitionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPartitionKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.partition; import io.deephaven.chunk.attributes.Any; @@ -41,11 +40,11 @@ private PartitionKernelContext(int chunkSize, int numPartitions, boolean preserv pivotValues = WritableLongChunk.makeWritableChunk(numPartitions - 1); pivotKeys = WritableLongChunk.makeWritableChunk(numPartitions - 1); if (preserveEquality) { - //noinspection unchecked + // noinspection unchecked accumulatedKeys = new WritableLongChunk[numPartitions * 2 - 1]; builders = new RowSetBuilderSequential[numPartitions * 2 - 1]; } else { - //noinspection unchecked + // noinspection unchecked accumulatedKeys = new WritableLongChunk[numPartitions]; builders = new RowSetBuilderSequential[numPartitions]; } @@ -70,13 +69,18 @@ public RowSet[] getPartitions(boolean resetBuilders) { return partitions; } -// public void showPivots() { -// System.out.println("[" + IntStream.range(0, pivotValues.size()).mapToObj(pivotValues::get).map(LongPartitionKernel::format).collect(Collectors.joining(",")) + "]"); -// System.out.println("[" + IntStream.range(0, pivotKeys.size()).mapToObj(pivotKeys::get).map(Object::toString).collect(Collectors.joining(",")) + "]"); -// } - - public LongLongTuple [] getPivots() { - return IntStream.range(0, pivotValues.size()).mapToObj(ii -> new LongLongTuple(pivotValues.get(ii), pivotKeys.get(ii))).toArray(LongLongTuple[]::new); + // public void showPivots() { + // System.out.println("[" + IntStream.range(0, + // pivotValues.size()).mapToObj(pivotValues::get).map(LongPartitionKernel::format).collect(Collectors.joining(",")) + // + "]"); + // System.out.println("[" + IntStream.range(0, + // pivotKeys.size()).mapToObj(pivotKeys::get).map(Object::toString).collect(Collectors.joining(",")) + "]"); + // } + + public LongLongTuple[] getPivots() { + return IntStream.range(0, pivotValues.size()) + .mapToObj(ii -> new LongLongTuple(pivotValues.get(ii), pivotKeys.get(ii))) + .toArray(LongLongTuple[]::new); } @Override @@ -89,22 +93,24 @@ public void close() { } } -// private static String format(long last) { -// if (last >= 'A' && last <= 'Z') { -// return Long.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } + // private static String format(long last) { + // if (last >= 'A' && last <= 'Z') { + // return Long.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } - public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource columnSource, int chunkSize, int nPartitions, boolean preserveEquality) { + public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource columnSource, + int chunkSize, int nPartitions, boolean preserveEquality) { final PartitionKernelContext context = new PartitionKernelContext(chunkSize, nPartitions, preserveEquality); try (final WritableLongChunk tempPivotKeys = WritableLongChunk.makeWritableChunk(nPartitions * 3); - final WritableLongChunk tempPivotValues = WritableLongChunk.makeWritableChunk(nPartitions * 3)) { + final WritableLongChunk tempPivotValues = WritableLongChunk.makeWritableChunk(nPartitions * 3)) { samplePivots(rowSet, nPartitions, tempPivotKeys, tempPivotValues, columnSource); - // copy from the oversized chunk, which was used for sorting into the chunk which we will use for our binary searches + // copy from the oversized chunk, which was used for sorting into the chunk which we will use for our binary + // searches for (int ii = 0; ii < tempPivotKeys.size(); ++ii) { context.pivotKeys.set(ii, tempPivotKeys.get(ii)); context.pivotValues.set(ii, tempPivotValues.get(ii)); @@ -115,9 +121,10 @@ public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource pivotKeys, WritableLongChunk pivotValues, ColumnSource columnSource) { + private static void samplePivots(RowSet rowSet, int nPartitions, WritableLongChunk pivotKeys, + WritableLongChunk pivotValues, ColumnSource columnSource) { pivotKeys.setSize(0); final int pivotsRequired = nPartitions - 1; final int samplesRequired = pivotsRequired * 3; @@ -150,7 +157,7 @@ private static void samplePivots(RowSet rowSet, int nPartitions, WritableLongChu * * @param context our context, containing the pivots * @param indexKeys a chunk of row keys to partition - * @param values a chunk of values that go with the row keys + * @param values a chunk of values that go with the row keys */ public static void partition(PartitionKernelContext context, LongChunk indexKeys, LongChunk values) { final int accumulatedChunkSize = context.chunkSize; @@ -165,7 +172,8 @@ public static void partition(PartitionKernelContext context, LongChunk if (context.preserveEquality) { partition = binarySearchPreserve(context.pivotValues, 0, context.pivotValues.size(), searchValue); } else { - partition = binarySearchTieIndex(context.pivotValues, context.pivotKeys, 0, context.pivotValues.size(), searchValue, searchKey); + partition = binarySearchTieIndex(context.pivotValues, context.pivotKeys, 0, + context.pivotValues.size(), searchValue, searchKey); } context.accumulatedKeys[partition].add(searchKey); if (context.accumulatedKeys[partition].size() == accumulatedChunkSize) { @@ -198,7 +206,7 @@ private static int binarySearchPreserve(LongChunk pivotValues, int lo, int hi, l final long compareValue = pivotValues.get(mid); if (eq(searchValue, compareValue)) { return mid * 2 + 1; - } else if (lt(searchValue , compareValue)) { + } else if (lt(searchValue, compareValue)) { hi = mid; } else { lo = mid + 1; @@ -207,7 +215,8 @@ private static int binarySearchPreserve(LongChunk pivotValues, int lo, int hi, l return lo * 2; } - private static int binarySearchTieIndex(LongChunk pivotValues, LongChunk pivotKeys, int lo, int hi, long searchValue, long searchKey) { + private static int binarySearchTieIndex(LongChunk pivotValues, LongChunk pivotKeys, int lo, int hi, + long searchValue, long searchKey) { while (lo != hi) { final int mid = (lo + hi) / 2; final long compareValue = pivotValues.get(mid); @@ -243,4 +252,4 @@ private static boolean eq(long lhs, long rhs) { private static boolean lt(long lhs, long rhs) { return doComparison(lhs, rhs) < 0; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/ObjectPartitionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/ObjectPartitionKernel.java index 00a31a28c00..6b8edf6f203 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/ObjectPartitionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/ObjectPartitionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPartitionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPartitionKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.partition; import java.util.Objects; @@ -43,11 +42,11 @@ private PartitionKernelContext(int chunkSize, int numPartitions, boolean preserv pivotValues = WritableObjectChunk.makeWritableChunk(numPartitions - 1); pivotKeys = WritableLongChunk.makeWritableChunk(numPartitions - 1); if (preserveEquality) { - //noinspection unchecked + // noinspection unchecked accumulatedKeys = new WritableLongChunk[numPartitions * 2 - 1]; builders = new RowSetBuilderSequential[numPartitions * 2 - 1]; } else { - //noinspection unchecked + // noinspection unchecked accumulatedKeys = new WritableLongChunk[numPartitions]; builders = new RowSetBuilderSequential[numPartitions]; } @@ -72,13 +71,18 @@ public RowSet[] getPartitions(boolean resetBuilders) { return partitions; } -// public void showPivots() { -// System.out.println("[" + IntStream.range(0, pivotValues.size()).mapToObj(pivotValues::get).map(ObjectPartitionKernel::format).collect(Collectors.joining(",")) + "]"); -// System.out.println("[" + IntStream.range(0, pivotKeys.size()).mapToObj(pivotKeys::get).map(Object::toString).collect(Collectors.joining(",")) + "]"); -// } + // public void showPivots() { + // System.out.println("[" + IntStream.range(0, + // pivotValues.size()).mapToObj(pivotValues::get).map(ObjectPartitionKernel::format).collect(Collectors.joining(",")) + // + "]"); + // System.out.println("[" + IntStream.range(0, + // pivotKeys.size()).mapToObj(pivotKeys::get).map(Object::toString).collect(Collectors.joining(",")) + "]"); + // } - public ObjectLongTuple [] getPivots() { - return IntStream.range(0, pivotValues.size()).mapToObj(ii -> new ObjectLongTuple(pivotValues.get(ii), pivotKeys.get(ii))).toArray(ObjectLongTuple[]::new); + public ObjectLongTuple[] getPivots() { + return IntStream.range(0, pivotValues.size()) + .mapToObj(ii -> new ObjectLongTuple(pivotValues.get(ii), pivotKeys.get(ii))) + .toArray(ObjectLongTuple[]::new); } @Override @@ -91,22 +95,24 @@ public void close() { } } -// private static String format(Object last) { -// if (last >= 'A' && last <= 'Z') { -// return Object.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } + // private static String format(Object last) { + // if (last >= 'A' && last <= 'Z') { + // return Object.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } - public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource columnSource, int chunkSize, int nPartitions, boolean preserveEquality) { + public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource columnSource, + int chunkSize, int nPartitions, boolean preserveEquality) { final PartitionKernelContext context = new PartitionKernelContext(chunkSize, nPartitions, preserveEquality); try (final WritableLongChunk tempPivotKeys = WritableLongChunk.makeWritableChunk(nPartitions * 3); - final WritableObjectChunk tempPivotValues = WritableObjectChunk.makeWritableChunk(nPartitions * 3)) { + final WritableObjectChunk tempPivotValues = WritableObjectChunk.makeWritableChunk(nPartitions * 3)) { samplePivots(rowSet, nPartitions, tempPivotKeys, tempPivotValues, columnSource); - // copy from the oversized chunk, which was used for sorting into the chunk which we will use for our binary searches + // copy from the oversized chunk, which was used for sorting into the chunk which we will use for our binary + // searches for (int ii = 0; ii < tempPivotKeys.size(); ++ii) { context.pivotKeys.set(ii, tempPivotKeys.get(ii)); context.pivotValues.set(ii, tempPivotValues.get(ii)); @@ -117,9 +123,10 @@ public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource pivotKeys, WritableObjectChunk pivotValues, ColumnSource columnSource) { + private static void samplePivots(RowSet rowSet, int nPartitions, WritableLongChunk pivotKeys, + WritableObjectChunk pivotValues, ColumnSource columnSource) { pivotKeys.setSize(0); final int pivotsRequired = nPartitions - 1; final int samplesRequired = pivotsRequired * 3; @@ -152,7 +159,7 @@ private static void samplePivots(RowSet rowSet, int nPartitions, WritableLongChu * * @param context our context, containing the pivots * @param indexKeys a chunk of row keys to partition - * @param values a chunk of values that go with the row keys + * @param values a chunk of values that go with the row keys */ public static void partition(PartitionKernelContext context, LongChunk indexKeys, ObjectChunk values) { final int accumulatedChunkSize = context.chunkSize; @@ -167,7 +174,8 @@ public static void partition(PartitionKernelContext context, LongChunk if (context.preserveEquality) { partition = binarySearchPreserve(context.pivotValues, 0, context.pivotValues.size(), searchValue); } else { - partition = binarySearchTieIndex(context.pivotValues, context.pivotKeys, 0, context.pivotValues.size(), searchValue, searchKey); + partition = binarySearchTieIndex(context.pivotValues, context.pivotKeys, 0, + context.pivotValues.size(), searchValue, searchKey); } context.accumulatedKeys[partition].add(searchKey); if (context.accumulatedKeys[partition].size() == accumulatedChunkSize) { @@ -200,7 +208,7 @@ private static int binarySearchPreserve(ObjectChunk pivotValues, int lo, int hi, final Object compareValue = pivotValues.get(mid); if (eq(searchValue, compareValue)) { return mid * 2 + 1; - } else if (lt(searchValue , compareValue)) { + } else if (lt(searchValue, compareValue)) { hi = mid; } else { lo = mid + 1; @@ -209,7 +217,8 @@ private static int binarySearchPreserve(ObjectChunk pivotValues, int lo, int hi, return lo * 2; } - private static int binarySearchTieIndex(ObjectChunk pivotValues, LongChunk pivotKeys, int lo, int hi, Object searchValue, long searchKey) { + private static int binarySearchTieIndex(ObjectChunk pivotValues, LongChunk pivotKeys, int lo, int hi, + Object searchValue, long searchKey) { while (lo != hi) { final int mid = (lo + hi) / 2; final Object compareValue = pivotValues.get(mid); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/PartitionUtils.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/PartitionUtils.java index cb01774ec8b..9ef6bbec8bb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/PartitionUtils.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/PartitionUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.partition; import io.deephaven.chunk.WritableLongChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/ShortPartitionKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/ShortPartitionKernel.java index 0a1eadbd9de..05b099b2acc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/ShortPartitionKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/partition/ShortPartitionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPartitionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPartitionKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.partition; import io.deephaven.chunk.attributes.Any; @@ -41,11 +40,11 @@ private PartitionKernelContext(int chunkSize, int numPartitions, boolean preserv pivotValues = WritableShortChunk.makeWritableChunk(numPartitions - 1); pivotKeys = WritableLongChunk.makeWritableChunk(numPartitions - 1); if (preserveEquality) { - //noinspection unchecked + // noinspection unchecked accumulatedKeys = new WritableLongChunk[numPartitions * 2 - 1]; builders = new RowSetBuilderSequential[numPartitions * 2 - 1]; } else { - //noinspection unchecked + // noinspection unchecked accumulatedKeys = new WritableLongChunk[numPartitions]; builders = new RowSetBuilderSequential[numPartitions]; } @@ -70,13 +69,18 @@ public RowSet[] getPartitions(boolean resetBuilders) { return partitions; } -// public void showPivots() { -// System.out.println("[" + IntStream.range(0, pivotValues.size()).mapToObj(pivotValues::get).map(ShortPartitionKernel::format).collect(Collectors.joining(",")) + "]"); -// System.out.println("[" + IntStream.range(0, pivotKeys.size()).mapToObj(pivotKeys::get).map(Object::toString).collect(Collectors.joining(",")) + "]"); -// } - - public ShortLongTuple [] getPivots() { - return IntStream.range(0, pivotValues.size()).mapToObj(ii -> new ShortLongTuple(pivotValues.get(ii), pivotKeys.get(ii))).toArray(ShortLongTuple[]::new); + // public void showPivots() { + // System.out.println("[" + IntStream.range(0, + // pivotValues.size()).mapToObj(pivotValues::get).map(ShortPartitionKernel::format).collect(Collectors.joining(",")) + // + "]"); + // System.out.println("[" + IntStream.range(0, + // pivotKeys.size()).mapToObj(pivotKeys::get).map(Object::toString).collect(Collectors.joining(",")) + "]"); + // } + + public ShortLongTuple[] getPivots() { + return IntStream.range(0, pivotValues.size()) + .mapToObj(ii -> new ShortLongTuple(pivotValues.get(ii), pivotKeys.get(ii))) + .toArray(ShortLongTuple[]::new); } @Override @@ -89,22 +93,24 @@ public void close() { } } -// private static String format(short last) { -// if (last >= 'A' && last <= 'Z') { -// return Short.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } + // private static String format(short last) { + // if (last >= 'A' && last <= 'Z') { + // return Short.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } - public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource columnSource, int chunkSize, int nPartitions, boolean preserveEquality) { + public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource columnSource, + int chunkSize, int nPartitions, boolean preserveEquality) { final PartitionKernelContext context = new PartitionKernelContext(chunkSize, nPartitions, preserveEquality); try (final WritableLongChunk tempPivotKeys = WritableLongChunk.makeWritableChunk(nPartitions * 3); - final WritableShortChunk tempPivotValues = WritableShortChunk.makeWritableChunk(nPartitions * 3)) { + final WritableShortChunk tempPivotValues = WritableShortChunk.makeWritableChunk(nPartitions * 3)) { samplePivots(rowSet, nPartitions, tempPivotKeys, tempPivotValues, columnSource); - // copy from the oversized chunk, which was used for sorting into the chunk which we will use for our binary searches + // copy from the oversized chunk, which was used for sorting into the chunk which we will use for our binary + // searches for (int ii = 0; ii < tempPivotKeys.size(); ++ii) { context.pivotKeys.set(ii, tempPivotKeys.get(ii)); context.pivotValues.set(ii, tempPivotValues.get(ii)); @@ -115,9 +121,10 @@ public static PartitionKernelContext createContext(RowSet rowSet, ColumnSource pivotKeys, WritableShortChunk pivotValues, ColumnSource columnSource) { + private static void samplePivots(RowSet rowSet, int nPartitions, WritableLongChunk pivotKeys, + WritableShortChunk pivotValues, ColumnSource columnSource) { pivotKeys.setSize(0); final int pivotsRequired = nPartitions - 1; final int samplesRequired = pivotsRequired * 3; @@ -150,7 +157,7 @@ private static void samplePivots(RowSet rowSet, int nPartitions, WritableLongChu * * @param context our context, containing the pivots * @param indexKeys a chunk of row keys to partition - * @param values a chunk of values that go with the row keys + * @param values a chunk of values that go with the row keys */ public static void partition(PartitionKernelContext context, LongChunk indexKeys, ShortChunk values) { final int accumulatedChunkSize = context.chunkSize; @@ -165,7 +172,8 @@ public static void partition(PartitionKernelContext context, LongChunk if (context.preserveEquality) { partition = binarySearchPreserve(context.pivotValues, 0, context.pivotValues.size(), searchValue); } else { - partition = binarySearchTieIndex(context.pivotValues, context.pivotKeys, 0, context.pivotValues.size(), searchValue, searchKey); + partition = binarySearchTieIndex(context.pivotValues, context.pivotKeys, 0, + context.pivotValues.size(), searchValue, searchKey); } context.accumulatedKeys[partition].add(searchKey); if (context.accumulatedKeys[partition].size() == accumulatedChunkSize) { @@ -198,7 +206,7 @@ private static int binarySearchPreserve(ShortChunk pivotValues, int lo, int hi, final short compareValue = pivotValues.get(mid); if (eq(searchValue, compareValue)) { return mid * 2 + 1; - } else if (lt(searchValue , compareValue)) { + } else if (lt(searchValue, compareValue)) { hi = mid; } else { lo = mid + 1; @@ -207,7 +215,8 @@ private static int binarySearchPreserve(ShortChunk pivotValues, int lo, int hi, return lo * 2; } - private static int binarySearchTieIndex(ShortChunk pivotValues, LongChunk pivotKeys, int lo, int hi, short searchValue, long searchKey) { + private static int binarySearchTieIndex(ShortChunk pivotValues, LongChunk pivotKeys, int lo, int hi, + short searchValue, long searchKey) { while (lo != hi) { final int mid = (lo + hi) / 2; final short compareValue = pivotValues.get(mid); @@ -243,4 +252,4 @@ private static boolean eq(short lhs, short rhs) { private static boolean lt(short lhs, short rhs) { return doComparison(lhs, rhs) < 0; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/BytePermuteKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/BytePermuteKernel.java index 635c1c6f931..2614c1ebe4e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/BytePermuteKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/BytePermuteKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPermuteKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPermuteKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.permute; import io.deephaven.chunk.*; @@ -13,19 +12,23 @@ import io.deephaven.chunk.attributes.ChunkPositions; public class BytePermuteKernel { - public static void permute(ByteChunk inputValues, IntChunk outputPositions, WritableByteChunk outputValues) { + public static void permute(ByteChunk inputValues, + IntChunk outputPositions, WritableByteChunk outputValues) { for (int ii = 0; ii < outputPositions.size(); ++ii) { outputValues.set(outputPositions.get(ii), inputValues.get(ii)); } } - public static void permuteInput(ByteChunk inputValues, IntChunk inputPositions, WritableByteChunk outputValues) { + public static void permuteInput(ByteChunk inputValues, + IntChunk inputPositions, WritableByteChunk outputValues) { for (int ii = 0; ii < inputPositions.size(); ++ii) { outputValues.set(ii, inputValues.get(inputPositions.get(ii))); } } - public static void permute(IntChunk inputPositions, ByteChunk inputValues, IntChunk outputPositions, WritableByteChunk outputValues) { + public static void permute(IntChunk inputPositions, + ByteChunk inputValues, IntChunk outputPositions, + WritableByteChunk outputValues) { for (int ii = 0; ii < outputPositions.size(); ++ii) { outputValues.set(outputPositions.get(ii), inputValues.get(inputPositions.get(ii))); } @@ -33,18 +36,23 @@ public static void permute(IntChunk inputPositio private static class BytePermuteKernelContext implements PermuteKernel { @Override - public void permute(Chunk inputValues, IntChunk outputPositions, WritableChunk outputValues) { + public void permute(Chunk inputValues, IntChunk outputPositions, + WritableChunk outputValues) { BytePermuteKernel.permute(inputValues.asByteChunk(), outputPositions, outputValues.asWritableByteChunk()); } @Override - public void permute(IntChunk inputPositions, Chunk inputValues, IntChunk outputPositions, WritableChunk outputValues) { - BytePermuteKernel.permute(inputPositions, inputValues.asByteChunk(), outputPositions, outputValues.asWritableByteChunk()); + public void permute(IntChunk inputPositions, Chunk inputValues, + IntChunk outputPositions, WritableChunk outputValues) { + BytePermuteKernel.permute(inputPositions, inputValues.asByteChunk(), outputPositions, + outputValues.asWritableByteChunk()); } @Override - public void permuteInput(Chunk inputValues, IntChunk inputPositions, WritableChunk outputValues) { - BytePermuteKernel.permuteInput(inputValues.asByteChunk(), inputPositions, outputValues.asWritableByteChunk()); + public void permuteInput(Chunk inputValues, + IntChunk inputPositions, WritableChunk outputValues) { + BytePermuteKernel.permuteInput(inputValues.asByteChunk(), inputPositions, + outputValues.asWritableByteChunk()); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/CharPermuteKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/CharPermuteKernel.java index c6e74112bed..c354b0a7f43 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/CharPermuteKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/CharPermuteKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.permute; import io.deephaven.chunk.*; @@ -8,19 +8,23 @@ import io.deephaven.chunk.attributes.ChunkPositions; public class CharPermuteKernel { - public static void permute(CharChunk inputValues, IntChunk outputPositions, WritableCharChunk outputValues) { + public static void permute(CharChunk inputValues, + IntChunk outputPositions, WritableCharChunk outputValues) { for (int ii = 0; ii < outputPositions.size(); ++ii) { outputValues.set(outputPositions.get(ii), inputValues.get(ii)); } } - public static void permuteInput(CharChunk inputValues, IntChunk inputPositions, WritableCharChunk outputValues) { + public static void permuteInput(CharChunk inputValues, + IntChunk inputPositions, WritableCharChunk outputValues) { for (int ii = 0; ii < inputPositions.size(); ++ii) { outputValues.set(ii, inputValues.get(inputPositions.get(ii))); } } - public static void permute(IntChunk inputPositions, CharChunk inputValues, IntChunk outputPositions, WritableCharChunk outputValues) { + public static void permute(IntChunk inputPositions, + CharChunk inputValues, IntChunk outputPositions, + WritableCharChunk outputValues) { for (int ii = 0; ii < outputPositions.size(); ++ii) { outputValues.set(outputPositions.get(ii), inputValues.get(inputPositions.get(ii))); } @@ -28,18 +32,23 @@ public static void permute(IntChunk inputPositio private static class CharPermuteKernelContext implements PermuteKernel { @Override - public void permute(Chunk inputValues, IntChunk outputPositions, WritableChunk outputValues) { + public void permute(Chunk inputValues, IntChunk outputPositions, + WritableChunk outputValues) { CharPermuteKernel.permute(inputValues.asCharChunk(), outputPositions, outputValues.asWritableCharChunk()); } @Override - public void permute(IntChunk inputPositions, Chunk inputValues, IntChunk outputPositions, WritableChunk outputValues) { - CharPermuteKernel.permute(inputPositions, inputValues.asCharChunk(), outputPositions, outputValues.asWritableCharChunk()); + public void permute(IntChunk inputPositions, Chunk inputValues, + IntChunk outputPositions, WritableChunk outputValues) { + CharPermuteKernel.permute(inputPositions, inputValues.asCharChunk(), outputPositions, + outputValues.asWritableCharChunk()); } @Override - public void permuteInput(Chunk inputValues, IntChunk inputPositions, WritableChunk outputValues) { - CharPermuteKernel.permuteInput(inputValues.asCharChunk(), inputPositions, outputValues.asWritableCharChunk()); + public void permuteInput(Chunk inputValues, + IntChunk inputPositions, WritableChunk outputValues) { + CharPermuteKernel.permuteInput(inputValues.asCharChunk(), inputPositions, + outputValues.asWritableCharChunk()); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/DoublePermuteKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/DoublePermuteKernel.java index 5d7df79898c..602db1d1e15 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/DoublePermuteKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/DoublePermuteKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPermuteKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPermuteKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.permute; import io.deephaven.chunk.*; @@ -13,19 +12,23 @@ import io.deephaven.chunk.attributes.ChunkPositions; public class DoublePermuteKernel { - public static void permute(DoubleChunk inputValues, IntChunk outputPositions, WritableDoubleChunk outputValues) { + public static void permute(DoubleChunk inputValues, + IntChunk outputPositions, WritableDoubleChunk outputValues) { for (int ii = 0; ii < outputPositions.size(); ++ii) { outputValues.set(outputPositions.get(ii), inputValues.get(ii)); } } - public static void permuteInput(DoubleChunk inputValues, IntChunk inputPositions, WritableDoubleChunk outputValues) { + public static void permuteInput(DoubleChunk inputValues, + IntChunk inputPositions, WritableDoubleChunk outputValues) { for (int ii = 0; ii < inputPositions.size(); ++ii) { outputValues.set(ii, inputValues.get(inputPositions.get(ii))); } } - public static void permute(IntChunk inputPositions, DoubleChunk inputValues, IntChunk outputPositions, WritableDoubleChunk outputValues) { + public static void permute(IntChunk inputPositions, + DoubleChunk inputValues, IntChunk outputPositions, + WritableDoubleChunk outputValues) { for (int ii = 0; ii < outputPositions.size(); ++ii) { outputValues.set(outputPositions.get(ii), inputValues.get(inputPositions.get(ii))); } @@ -33,18 +36,23 @@ public static void permute(IntChunk inputPositio private static class DoublePermuteKernelContext implements PermuteKernel { @Override - public void permute(Chunk inputValues, IntChunk outputPositions, WritableChunk outputValues) { + public void permute(Chunk inputValues, IntChunk outputPositions, + WritableChunk outputValues) { DoublePermuteKernel.permute(inputValues.asDoubleChunk(), outputPositions, outputValues.asWritableDoubleChunk()); } @Override - public void permute(IntChunk inputPositions, Chunk inputValues, IntChunk outputPositions, WritableChunk outputValues) { - DoublePermuteKernel.permute(inputPositions, inputValues.asDoubleChunk(), outputPositions, outputValues.asWritableDoubleChunk()); + public void permute(IntChunk inputPositions, Chunk inputValues, + IntChunk outputPositions, WritableChunk outputValues) { + DoublePermuteKernel.permute(inputPositions, inputValues.asDoubleChunk(), outputPositions, + outputValues.asWritableDoubleChunk()); } @Override - public void permuteInput(Chunk inputValues, IntChunk inputPositions, WritableChunk outputValues) { - DoublePermuteKernel.permuteInput(inputValues.asDoubleChunk(), inputPositions, outputValues.asWritableDoubleChunk()); + public void permuteInput(Chunk inputValues, + IntChunk inputPositions, WritableChunk outputValues) { + DoublePermuteKernel.permuteInput(inputValues.asDoubleChunk(), inputPositions, + outputValues.asWritableDoubleChunk()); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/FloatPermuteKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/FloatPermuteKernel.java index 0860b183281..5c37d82a7d8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/FloatPermuteKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/FloatPermuteKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPermuteKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPermuteKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.permute; import io.deephaven.chunk.*; @@ -13,19 +12,23 @@ import io.deephaven.chunk.attributes.ChunkPositions; public class FloatPermuteKernel { - public static void permute(FloatChunk inputValues, IntChunk outputPositions, WritableFloatChunk outputValues) { + public static void permute(FloatChunk inputValues, + IntChunk outputPositions, WritableFloatChunk outputValues) { for (int ii = 0; ii < outputPositions.size(); ++ii) { outputValues.set(outputPositions.get(ii), inputValues.get(ii)); } } - public static void permuteInput(FloatChunk inputValues, IntChunk inputPositions, WritableFloatChunk outputValues) { + public static void permuteInput(FloatChunk inputValues, + IntChunk inputPositions, WritableFloatChunk outputValues) { for (int ii = 0; ii < inputPositions.size(); ++ii) { outputValues.set(ii, inputValues.get(inputPositions.get(ii))); } } - public static void permute(IntChunk inputPositions, FloatChunk inputValues, IntChunk outputPositions, WritableFloatChunk outputValues) { + public static void permute(IntChunk inputPositions, + FloatChunk inputValues, IntChunk outputPositions, + WritableFloatChunk outputValues) { for (int ii = 0; ii < outputPositions.size(); ++ii) { outputValues.set(outputPositions.get(ii), inputValues.get(inputPositions.get(ii))); } @@ -33,18 +36,23 @@ public static void permute(IntChunk inputPositio private static class FloatPermuteKernelContext implements PermuteKernel { @Override - public void permute(Chunk inputValues, IntChunk outputPositions, WritableChunk outputValues) { + public void permute(Chunk inputValues, IntChunk outputPositions, + WritableChunk outputValues) { FloatPermuteKernel.permute(inputValues.asFloatChunk(), outputPositions, outputValues.asWritableFloatChunk()); } @Override - public void permute(IntChunk inputPositions, Chunk inputValues, IntChunk outputPositions, WritableChunk outputValues) { - FloatPermuteKernel.permute(inputPositions, inputValues.asFloatChunk(), outputPositions, outputValues.asWritableFloatChunk()); + public void permute(IntChunk inputPositions, Chunk inputValues, + IntChunk outputPositions, WritableChunk outputValues) { + FloatPermuteKernel.permute(inputPositions, inputValues.asFloatChunk(), outputPositions, + outputValues.asWritableFloatChunk()); } @Override - public void permuteInput(Chunk inputValues, IntChunk inputPositions, WritableChunk outputValues) { - FloatPermuteKernel.permuteInput(inputValues.asFloatChunk(), inputPositions, outputValues.asWritableFloatChunk()); + public void permuteInput(Chunk inputValues, + IntChunk inputPositions, WritableChunk outputValues) { + FloatPermuteKernel.permuteInput(inputValues.asFloatChunk(), inputPositions, + outputValues.asWritableFloatChunk()); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/IntPermuteKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/IntPermuteKernel.java index 62fdfc6a7d2..555e292ca68 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/IntPermuteKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/IntPermuteKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPermuteKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPermuteKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.permute; import io.deephaven.chunk.*; @@ -13,19 +12,23 @@ import io.deephaven.chunk.attributes.ChunkPositions; public class IntPermuteKernel { - public static void permute(IntChunk inputValues, IntChunk outputPositions, WritableIntChunk outputValues) { + public static void permute(IntChunk inputValues, + IntChunk outputPositions, WritableIntChunk outputValues) { for (int ii = 0; ii < outputPositions.size(); ++ii) { outputValues.set(outputPositions.get(ii), inputValues.get(ii)); } } - public static void permuteInput(IntChunk inputValues, IntChunk inputPositions, WritableIntChunk outputValues) { + public static void permuteInput(IntChunk inputValues, + IntChunk inputPositions, WritableIntChunk outputValues) { for (int ii = 0; ii < inputPositions.size(); ++ii) { outputValues.set(ii, inputValues.get(inputPositions.get(ii))); } } - public static void permute(IntChunk inputPositions, IntChunk inputValues, IntChunk outputPositions, WritableIntChunk outputValues) { + public static void permute(IntChunk inputPositions, + IntChunk inputValues, IntChunk outputPositions, + WritableIntChunk outputValues) { for (int ii = 0; ii < outputPositions.size(); ++ii) { outputValues.set(outputPositions.get(ii), inputValues.get(inputPositions.get(ii))); } @@ -33,18 +36,23 @@ public static void permute(IntChunk inputPositio private static class IntPermuteKernelContext implements PermuteKernel { @Override - public void permute(Chunk inputValues, IntChunk outputPositions, WritableChunk outputValues) { + public void permute(Chunk inputValues, IntChunk outputPositions, + WritableChunk outputValues) { IntPermuteKernel.permute(inputValues.asIntChunk(), outputPositions, outputValues.asWritableIntChunk()); } @Override - public void permute(IntChunk inputPositions, Chunk inputValues, IntChunk outputPositions, WritableChunk outputValues) { - IntPermuteKernel.permute(inputPositions, inputValues.asIntChunk(), outputPositions, outputValues.asWritableIntChunk()); + public void permute(IntChunk inputPositions, Chunk inputValues, + IntChunk outputPositions, WritableChunk outputValues) { + IntPermuteKernel.permute(inputPositions, inputValues.asIntChunk(), outputPositions, + outputValues.asWritableIntChunk()); } @Override - public void permuteInput(Chunk inputValues, IntChunk inputPositions, WritableChunk outputValues) { - IntPermuteKernel.permuteInput(inputValues.asIntChunk(), inputPositions, outputValues.asWritableIntChunk()); + public void permuteInput(Chunk inputValues, + IntChunk inputPositions, WritableChunk outputValues) { + IntPermuteKernel.permuteInput(inputValues.asIntChunk(), inputPositions, + outputValues.asWritableIntChunk()); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/LongPermuteKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/LongPermuteKernel.java index 7aa5089bfea..4245b0fdc6a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/LongPermuteKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/LongPermuteKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPermuteKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPermuteKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.permute; import io.deephaven.chunk.*; @@ -13,19 +12,23 @@ import io.deephaven.chunk.attributes.ChunkPositions; public class LongPermuteKernel { - public static void permute(LongChunk inputValues, IntChunk outputPositions, WritableLongChunk outputValues) { + public static void permute(LongChunk inputValues, + IntChunk outputPositions, WritableLongChunk outputValues) { for (int ii = 0; ii < outputPositions.size(); ++ii) { outputValues.set(outputPositions.get(ii), inputValues.get(ii)); } } - public static void permuteInput(LongChunk inputValues, IntChunk inputPositions, WritableLongChunk outputValues) { + public static void permuteInput(LongChunk inputValues, + IntChunk inputPositions, WritableLongChunk outputValues) { for (int ii = 0; ii < inputPositions.size(); ++ii) { outputValues.set(ii, inputValues.get(inputPositions.get(ii))); } } - public static void permute(IntChunk inputPositions, LongChunk inputValues, IntChunk outputPositions, WritableLongChunk outputValues) { + public static void permute(IntChunk inputPositions, + LongChunk inputValues, IntChunk outputPositions, + WritableLongChunk outputValues) { for (int ii = 0; ii < outputPositions.size(); ++ii) { outputValues.set(outputPositions.get(ii), inputValues.get(inputPositions.get(ii))); } @@ -33,18 +36,23 @@ public static void permute(IntChunk inputPositio private static class LongPermuteKernelContext implements PermuteKernel { @Override - public void permute(Chunk inputValues, IntChunk outputPositions, WritableChunk outputValues) { + public void permute(Chunk inputValues, IntChunk outputPositions, + WritableChunk outputValues) { LongPermuteKernel.permute(inputValues.asLongChunk(), outputPositions, outputValues.asWritableLongChunk()); } @Override - public void permute(IntChunk inputPositions, Chunk inputValues, IntChunk outputPositions, WritableChunk outputValues) { - LongPermuteKernel.permute(inputPositions, inputValues.asLongChunk(), outputPositions, outputValues.asWritableLongChunk()); + public void permute(IntChunk inputPositions, Chunk inputValues, + IntChunk outputPositions, WritableChunk outputValues) { + LongPermuteKernel.permute(inputPositions, inputValues.asLongChunk(), outputPositions, + outputValues.asWritableLongChunk()); } @Override - public void permuteInput(Chunk inputValues, IntChunk inputPositions, WritableChunk outputValues) { - LongPermuteKernel.permuteInput(inputValues.asLongChunk(), inputPositions, outputValues.asWritableLongChunk()); + public void permuteInput(Chunk inputValues, + IntChunk inputPositions, WritableChunk outputValues) { + LongPermuteKernel.permuteInput(inputValues.asLongChunk(), inputPositions, + outputValues.asWritableLongChunk()); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/ObjectPermuteKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/ObjectPermuteKernel.java index 3c95e574b7e..930120660dc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/ObjectPermuteKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/ObjectPermuteKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPermuteKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPermuteKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.permute; import io.deephaven.chunk.*; @@ -13,19 +12,23 @@ import io.deephaven.chunk.attributes.ChunkPositions; public class ObjectPermuteKernel { - public static void permute(ObjectChunk inputValues, IntChunk outputPositions, WritableObjectChunk outputValues) { + public static void permute(ObjectChunk inputValues, + IntChunk outputPositions, WritableObjectChunk outputValues) { for (int ii = 0; ii < outputPositions.size(); ++ii) { outputValues.set(outputPositions.get(ii), inputValues.get(ii)); } } - public static void permuteInput(ObjectChunk inputValues, IntChunk inputPositions, WritableObjectChunk outputValues) { + public static void permuteInput(ObjectChunk inputValues, + IntChunk inputPositions, WritableObjectChunk outputValues) { for (int ii = 0; ii < inputPositions.size(); ++ii) { outputValues.set(ii, inputValues.get(inputPositions.get(ii))); } } - public static void permute(IntChunk inputPositions, ObjectChunk inputValues, IntChunk outputPositions, WritableObjectChunk outputValues) { + public static void permute(IntChunk inputPositions, + ObjectChunk inputValues, IntChunk outputPositions, + WritableObjectChunk outputValues) { for (int ii = 0; ii < outputPositions.size(); ++ii) { outputValues.set(outputPositions.get(ii), inputValues.get(inputPositions.get(ii))); } @@ -33,18 +36,23 @@ public static void permute(IntChunk input private static class ObjectPermuteKernelContext implements PermuteKernel { @Override - public void permute(Chunk inputValues, IntChunk outputPositions, WritableChunk outputValues) { + public void permute(Chunk inputValues, IntChunk outputPositions, + WritableChunk outputValues) { ObjectPermuteKernel.permute(inputValues.asObjectChunk(), outputPositions, outputValues.asWritableObjectChunk()); } @Override - public void permute(IntChunk inputPositions, Chunk inputValues, IntChunk outputPositions, WritableChunk outputValues) { - ObjectPermuteKernel.permute(inputPositions, inputValues.asObjectChunk(), outputPositions, outputValues.asWritableObjectChunk()); + public void permute(IntChunk inputPositions, Chunk inputValues, + IntChunk outputPositions, WritableChunk outputValues) { + ObjectPermuteKernel.permute(inputPositions, inputValues.asObjectChunk(), outputPositions, + outputValues.asWritableObjectChunk()); } @Override - public void permuteInput(Chunk inputValues, IntChunk inputPositions, WritableChunk outputValues) { - ObjectPermuteKernel.permuteInput(inputValues.asObjectChunk(), inputPositions, outputValues.asWritableObjectChunk()); + public void permuteInput(Chunk inputValues, + IntChunk inputPositions, WritableChunk outputValues) { + ObjectPermuteKernel.permuteInput(inputValues.asObjectChunk(), inputPositions, + outputValues.asWritableObjectChunk()); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/PermuteKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/PermuteKernel.java index 7d42cbb6849..6f6726155ca 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/PermuteKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/PermuteKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.permute; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/ShortPermuteKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/ShortPermuteKernel.java index c3359ccdfff..e018fe6d3a3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/ShortPermuteKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/permute/ShortPermuteKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharPermuteKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharPermuteKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.permute; import io.deephaven.chunk.*; @@ -13,19 +12,23 @@ import io.deephaven.chunk.attributes.ChunkPositions; public class ShortPermuteKernel { - public static void permute(ShortChunk inputValues, IntChunk outputPositions, WritableShortChunk outputValues) { + public static void permute(ShortChunk inputValues, + IntChunk outputPositions, WritableShortChunk outputValues) { for (int ii = 0; ii < outputPositions.size(); ++ii) { outputValues.set(outputPositions.get(ii), inputValues.get(ii)); } } - public static void permuteInput(ShortChunk inputValues, IntChunk inputPositions, WritableShortChunk outputValues) { + public static void permuteInput(ShortChunk inputValues, + IntChunk inputPositions, WritableShortChunk outputValues) { for (int ii = 0; ii < inputPositions.size(); ++ii) { outputValues.set(ii, inputValues.get(inputPositions.get(ii))); } } - public static void permute(IntChunk inputPositions, ShortChunk inputValues, IntChunk outputPositions, WritableShortChunk outputValues) { + public static void permute(IntChunk inputPositions, + ShortChunk inputValues, IntChunk outputPositions, + WritableShortChunk outputValues) { for (int ii = 0; ii < outputPositions.size(); ++ii) { outputValues.set(outputPositions.get(ii), inputValues.get(inputPositions.get(ii))); } @@ -33,18 +36,23 @@ public static void permute(IntChunk inputPositio private static class ShortPermuteKernelContext implements PermuteKernel { @Override - public void permute(Chunk inputValues, IntChunk outputPositions, WritableChunk outputValues) { + public void permute(Chunk inputValues, IntChunk outputPositions, + WritableChunk outputValues) { ShortPermuteKernel.permute(inputValues.asShortChunk(), outputPositions, outputValues.asWritableShortChunk()); } @Override - public void permute(IntChunk inputPositions, Chunk inputValues, IntChunk outputPositions, WritableChunk outputValues) { - ShortPermuteKernel.permute(inputPositions, inputValues.asShortChunk(), outputPositions, outputValues.asWritableShortChunk()); + public void permute(IntChunk inputPositions, Chunk inputValues, + IntChunk outputPositions, WritableChunk outputValues) { + ShortPermuteKernel.permute(inputPositions, inputValues.asShortChunk(), outputPositions, + outputValues.asWritableShortChunk()); } @Override - public void permuteInput(Chunk inputValues, IntChunk inputPositions, WritableChunk outputValues) { - ShortPermuteKernel.permuteInput(inputValues.asShortChunk(), inputPositions, outputValues.asWritableShortChunk()); + public void permuteInput(Chunk inputValues, + IntChunk inputPositions, WritableChunk outputValues) { + ShortPermuteKernel.permuteInput(inputValues.asShortChunk(), inputPositions, + outputValues.asWritableShortChunk()); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/radix/BooleanByteRadixSortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/radix/BooleanByteRadixSortKernel.java index 996cb95025e..c71d6e09a80 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/radix/BooleanByteRadixSortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/radix/BooleanByteRadixSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit BooleanLongRadixSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit BooleanLongRadixSortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.radix; import io.deephaven.chunk.attributes.Any; @@ -17,8 +16,7 @@ public class BooleanByteRadixSortKernel { - public static - ByteSortKernel createContext( + public static ByteSortKernel createContext( int size, SortingOrder order, boolean preserveValues) { @@ -61,7 +59,8 @@ public void sort( for (int ii = 0; ii < offsetsIn.size(); ++ii) { nullKeys.setSize(0); falseKeys.setSize(0); - doSortAscending(valuesToPermute, valuesToSort.asWritableObjectChunk(), offsetsIn.get(ii), lengthsIn.get(ii)); + doSortAscending(valuesToPermute, valuesToSort.asWritableObjectChunk(), offsetsIn.get(ii), + lengthsIn.get(ii)); } } @@ -108,8 +107,7 @@ void doSortAscending( } @Override - public void close() { - } + public void close() {} } private static class BooleanByteSortDescendingKernel @@ -144,7 +142,8 @@ public void sort( for (int ii = 0; ii < offsetsIn.size(); ++ii) { trueKeys.setSize(0); falseKeys.setSize(0); - doSortDescending(valuesToPermute, valuesToSort.asWritableObjectChunk(), offsetsIn.get(ii), lengthsIn.get(ii)); + doSortDescending(valuesToPermute, valuesToSort.asWritableObjectChunk(), offsetsIn.get(ii), + lengthsIn.get(ii)); } } @@ -193,7 +192,6 @@ void doSortDescending( } @Override - public void close() { - } + public void close() {} } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/radix/BooleanIntRadixSortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/radix/BooleanIntRadixSortKernel.java index 1ba042c1a43..78753732600 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/radix/BooleanIntRadixSortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/radix/BooleanIntRadixSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit BooleanLongRadixSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit BooleanLongRadixSortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.radix; import io.deephaven.chunk.attributes.Any; @@ -17,8 +16,7 @@ public class BooleanIntRadixSortKernel { - public static - IntSortKernel createContext( + public static IntSortKernel createContext( int size, SortingOrder order, boolean preserveValues) { @@ -61,7 +59,8 @@ public void sort( for (int ii = 0; ii < offsetsIn.size(); ++ii) { nullKeys.setSize(0); falseKeys.setSize(0); - doSortAscending(valuesToPermute, valuesToSort.asWritableObjectChunk(), offsetsIn.get(ii), lengthsIn.get(ii)); + doSortAscending(valuesToPermute, valuesToSort.asWritableObjectChunk(), offsetsIn.get(ii), + lengthsIn.get(ii)); } } @@ -108,8 +107,7 @@ void doSortAscending( } @Override - public void close() { - } + public void close() {} } private static class BooleanIntSortDescendingKernel @@ -144,7 +142,8 @@ public void sort( for (int ii = 0; ii < offsetsIn.size(); ++ii) { trueKeys.setSize(0); falseKeys.setSize(0); - doSortDescending(valuesToPermute, valuesToSort.asWritableObjectChunk(), offsetsIn.get(ii), lengthsIn.get(ii)); + doSortDescending(valuesToPermute, valuesToSort.asWritableObjectChunk(), offsetsIn.get(ii), + lengthsIn.get(ii)); } } @@ -193,7 +192,6 @@ void doSortDescending( } @Override - public void close() { - } + public void close() {} } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/radix/BooleanLongRadixSortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/radix/BooleanLongRadixSortKernel.java index 77ef2e6d0e2..d546f6385df 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/radix/BooleanLongRadixSortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/radix/BooleanLongRadixSortKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.radix; import io.deephaven.chunk.attributes.Any; @@ -12,8 +12,7 @@ public class BooleanLongRadixSortKernel { - public static - LongSortKernel createContext( + public static LongSortKernel createContext( int size, SortingOrder order, boolean preserveValues) { @@ -56,7 +55,8 @@ public void sort( for (int ii = 0; ii < offsetsIn.size(); ++ii) { nullKeys.setSize(0); falseKeys.setSize(0); - doSortAscending(valuesToPermute, valuesToSort.asWritableObjectChunk(), offsetsIn.get(ii), lengthsIn.get(ii)); + doSortAscending(valuesToPermute, valuesToSort.asWritableObjectChunk(), offsetsIn.get(ii), + lengthsIn.get(ii)); } } @@ -103,8 +103,7 @@ void doSortAscending( } @Override - public void close() { - } + public void close() {} } private static class BooleanLongSortDescendingKernel @@ -139,7 +138,8 @@ public void sort( for (int ii = 0; ii < offsetsIn.size(); ++ii) { trueKeys.setSize(0); falseKeys.setSize(0); - doSortDescending(valuesToPermute, valuesToSort.asWritableObjectChunk(), offsetsIn.get(ii), lengthsIn.get(ii)); + doSortDescending(valuesToPermute, valuesToSort.asWritableObjectChunk(), offsetsIn.get(ii), + lengthsIn.get(ii)); } } @@ -188,7 +188,6 @@ void doSortDescending( } @Override - public void close() { - } + public void close() {} } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/radix/ByteRadixSortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/radix/ByteRadixSortKernel.java index c9366e0f2fd..85de5f3cdcc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/radix/ByteRadixSortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/radix/ByteRadixSortKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.radix; import io.deephaven.engine.table.impl.SortingOrder; @@ -16,8 +16,9 @@ public static LongSortKernel createContext(int size, SortingOrder order, boolean return new ByteRadixSortContext(size, last, order); } - private static class ByteRadixSortContext implements LongSortKernel { - final WritableLongChunk [] keys; + private static class ByteRadixSortContext + implements LongSortKernel { + final WritableLongChunk[] keys; private final int size; private final boolean last; private final SortingOrder order; @@ -26,17 +27,18 @@ private ByteRadixSortContext(int size, boolean last, SortingOrder order) { this.size = size; this.last = last; this.order = order; - //noinspection unchecked - keys = new WritableLongChunk[(int)Byte.MAX_VALUE - (int)Byte.MIN_VALUE]; + // noinspection unchecked + keys = new WritableLongChunk[(int) Byte.MAX_VALUE - (int) Byte.MIN_VALUE]; for (int ii = 0; ii < keys.length; ++ii) { keys[ii] = WritableLongChunk.makeWritableChunk(size); } } - private void doBucket(WritableLongChunk indexKeys, ByteChunk valuesToSort, int start, int length) { + private void doBucket(WritableLongChunk indexKeys, ByteChunk valuesToSort, int start, + int length) { for (int ii = start; ii < start + length; ++ii) { final byte value = valuesToSort.get(ii); - keys[(int)value - Byte.MIN_VALUE].add(indexKeys.get(ii)); + keys[(int) value - Byte.MIN_VALUE].add(indexKeys.get(ii)); } } @@ -59,7 +61,8 @@ public void sort(WritableLongChunk valuesToPermute, WritableChunk valuesToPermute, WritableChunk valuesToSort, IntChunk offsetsIn, IntChunk lengthsIn) { + public void sort(WritableLongChunk valuesToPermute, WritableChunk valuesToSort, + IntChunk offsetsIn, IntChunk lengthsIn) { for (int ii = 0; ii < offsetsIn.size(); ++ii) { zeroSize(); final int start = offsetsIn.get(ii); @@ -73,7 +76,8 @@ public void sort(WritableLongChunk valuesToPermute, WritableChunk indexKeys, WritableByteChunk valuesToSort, int start, int length) { + void ascendingBuckets(WritableLongChunk indexKeys, WritableByteChunk valuesToSort, int start, + int length) { int indexPos = start; for (int ii = 0; ii < keys.length; ++ii) { if (keys[ii].size() > 0) { @@ -87,7 +91,7 @@ void ascendingBuckets(WritableLongChunk indexKeys, WritableByteChun final int keySize = keys[ii].size(); if (keySize > 0) { for (int jj = valuePos; jj < valuePos + keySize; ++jj) { - valuesToSort.set(jj, (byte)(ii - Byte.MIN_VALUE)); + valuesToSort.set(jj, (byte) (ii - Byte.MIN_VALUE)); } valuePos += keySize; } @@ -95,7 +99,8 @@ void ascendingBuckets(WritableLongChunk indexKeys, WritableByteChun } } - void descendingBuckets(WritableLongChunk indexKeys, WritableByteChunk valuesToSort, int start, int length) { + void descendingBuckets(WritableLongChunk indexKeys, WritableByteChunk valuesToSort, + int start, int length) { int indexPos = start; for (int ii = keys.length - 1; ii >= 0; --ii) { if (keys[ii].size() > 0) { @@ -109,7 +114,7 @@ void descendingBuckets(WritableLongChunk indexKeys, WritableByteChu final int keySize = keys[ii].size(); if (keySize > 0) { for (int jj = valuePos; jj < valuePos + keySize; ++jj) { - valuesToSort.set(jj, (byte)(ii - Byte.MIN_VALUE)); + valuesToSort.set(jj, (byte) (ii - Byte.MIN_VALUE)); } valuePos += keySize; } @@ -118,7 +123,6 @@ void descendingBuckets(WritableLongChunk indexKeys, WritableByteChu } @Override - public void close() { - } + public void close() {} } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteByteTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteByteTimsortDescendingKernel.java index 003cd002bd9..5e437b86118 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteByteTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteByteTimsortDescendingKernel.java @@ -1,16 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharByteTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ByteLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ByteByteTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -74,8 +69,8 @@ public void close() { } // endregion Context - public static - ByteByteSortKernelContext createContext(int size) { + public static ByteByteSortKernelContext createContext( + int size) { return new ByteByteSortKernelContext<>(size); } @@ -371,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -483,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -656,111 +649,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableByteChunk valuesToSort.set(b, tempByte); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.ByteChunk valuesToSort, int startCheck, int mergeEnd) { -// byte lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final byte newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// byte last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final byte current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final byte current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(byte last) { -// if (last >= 'A' && last <= 'Z') { -// return Byte.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(byte last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.ByteChunk valuesToSort, int startCheck, int + // mergeEnd) { + // byte lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final byte newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // byte last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final byte current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final byte current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(byte last) { + // if (last >= 'A' && last <= 'Z') { + // return Byte.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(byte last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteByteTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteByteTimsortKernel.java index 7493519cdf7..88d2b745849 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteByteTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteByteTimsortKernel.java @@ -1,16 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharByteTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ByteLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharByteTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -74,8 +68,8 @@ public void close() { } // endregion Context - public static - ByteByteSortKernelContext createContext(int size) { + public static ByteByteSortKernelContext createContext( + int size) { return new ByteByteSortKernelContext<>(size); } @@ -370,8 +364,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -482,8 +475,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -655,111 +647,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableByteChunk valuesToSort.set(b, tempByte); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.ByteChunk valuesToSort, int startCheck, int mergeEnd) { -// byte lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final byte newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// byte last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final byte current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final byte current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(byte last) { -// if (last >= 'A' && last <= 'Z') { -// return Byte.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(byte last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.ByteChunk valuesToSort, int startCheck, int + // mergeEnd) { + // byte lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final byte newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // byte last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final byte current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final byte current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(byte last) { + // if (last >= 'A' && last <= 'Z') { + // return Byte.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(byte last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteIntTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteIntTimsortDescendingKernel.java index 12c190e85e3..9a938e86322 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteIntTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteIntTimsortDescendingKernel.java @@ -1,16 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharIntTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ByteLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ByteIntTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -74,8 +69,8 @@ public void close() { } // endregion Context - public static - ByteIntSortKernelContext createContext(int size) { + public static ByteIntSortKernelContext createContext( + int size) { return new ByteIntSortKernelContext<>(size); } @@ -371,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -483,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -656,111 +649,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableByteChunk< valuesToSort.set(b, tempByte); } -// private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.ByteChunk valuesToSort, int startCheck, int mergeEnd) { -// byte lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final byte newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// byte last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final byte current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final byte current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(byte last) { -// if (last >= 'A' && last <= 'Z') { -// return Byte.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(byte last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.ByteChunk valuesToSort, int startCheck, int + // mergeEnd) { + // byte lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final byte newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // byte last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final byte current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final byte current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(byte last) { + // if (last >= 'A' && last <= 'Z') { + // return Byte.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(byte last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteIntTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteIntTimsortKernel.java index 4c4899522fa..ededc79d3c5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteIntTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteIntTimsortKernel.java @@ -1,16 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharIntTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ByteLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharIntTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -74,8 +68,8 @@ public void close() { } // endregion Context - public static - ByteIntSortKernelContext createContext(int size) { + public static ByteIntSortKernelContext createContext( + int size) { return new ByteIntSortKernelContext<>(size); } @@ -370,8 +364,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -482,8 +475,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -655,111 +647,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableByteChunk< valuesToSort.set(b, tempByte); } -// private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.ByteChunk valuesToSort, int startCheck, int mergeEnd) { -// byte lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final byte newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// byte last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final byte current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final byte current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(byte last) { -// if (last >= 'A' && last <= 'Z') { -// return Byte.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(byte last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.ByteChunk valuesToSort, int startCheck, int + // mergeEnd) { + // byte lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final byte newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // byte last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final byte current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final byte current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(byte last) { + // if (last >= 'A' && last <= 'Z') { + // return Byte.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(byte last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteLongTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteLongTimsortDescendingKernel.java index c13a0a03b62..b1f8cb532e9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteLongTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteLongTimsortDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ByteLongTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -69,8 +69,8 @@ public void close() { } // endregion Context - public static - ByteLongSortKernelContext createContext(int size) { + public static ByteLongSortKernelContext createContext( + int size) { return new ByteLongSortKernelContext<>(size); } @@ -366,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -478,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -651,111 +649,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableByteChunk valuesToSort.set(b, tempByte); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.ByteChunk valuesToSort, int startCheck, int mergeEnd) { -// byte lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final byte newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// byte last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final byte current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final byte current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(byte last) { -// if (last >= 'A' && last <= 'Z') { -// return Byte.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(byte last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.ByteChunk valuesToSort, int startCheck, int + // mergeEnd) { + // byte lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final byte newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // byte last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final byte current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final byte current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(byte last) { + // if (last >= 'A' && last <= 'Z') { + // return Byte.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(byte last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteLongTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteLongTimsortKernel.java index 75cb2d9f4ef..f8c6ea411e1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteLongTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteLongTimsortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -69,8 +68,8 @@ public void close() { } // endregion Context - public static - ByteLongSortKernelContext createContext(int size) { + public static ByteLongSortKernelContext createContext( + int size) { return new ByteLongSortKernelContext<>(size); } @@ -365,8 +364,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -477,8 +475,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -650,111 +647,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableByteChunk valuesToSort.set(b, tempByte); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.ByteChunk valuesToSort, int startCheck, int mergeEnd) { -// byte lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final byte newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// byte last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final byte current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final byte current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(byte last) { -// if (last >= 'A' && last <= 'Z') { -// return Byte.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(byte last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.ByteChunk valuesToSort, int startCheck, int + // mergeEnd) { + // byte lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final byte newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // byte last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final byte current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ByteChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final byte current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(byte last) { + // if (last >= 'A' && last <= 'Z') { + // return Byte.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(byte last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteTimsortDescendingKernel.java index 536d48c7423..4ff02c0c133 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteTimsortDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ByteTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.ByteChunk; @@ -18,8 +18,8 @@ /** * This implements a timsort kernel for Bytes. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class ByteTimsortDescendingKernel { private ByteTimsortDescendingKernel() { @@ -30,8 +30,8 @@ private ByteTimsortDescendingKernel() { public static class ByteSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableByteChunk temporaryValues; private ByteSortKernelContext(int size) { @@ -58,9 +58,9 @@ public static ByteSortKernelContext createContext(int s /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final ByteSortKernelContext context, @@ -109,7 +109,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -183,22 +184,45 @@ static boolean leq(byte lhs, byte rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final ByteSortKernelContext context, @@ -254,8 +278,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -279,11 +303,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -312,8 +338,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -345,7 +370,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -417,8 +443,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -450,14 +475,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -548,7 +575,7 @@ private static int bound( int hi, final byte searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -569,9 +596,10 @@ private static void insertionSort( final WritableByteChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteTimsortKernel.java index a4a47131ea1..d030cc38d9e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ByteTimsortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.ByteChunk; @@ -18,8 +17,8 @@ /** * This implements a timsort kernel for Bytes. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class ByteTimsortKernel { private ByteTimsortKernel() { @@ -30,8 +29,8 @@ private ByteTimsortKernel() { public static class ByteSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableByteChunk temporaryValues; private ByteSortKernelContext(int size) { @@ -58,9 +57,9 @@ public static ByteSortKernelContext createContext(int s /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final ByteSortKernelContext context, @@ -109,7 +108,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -182,22 +182,45 @@ static boolean leq(byte lhs, byte rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final ByteSortKernelContext context, @@ -253,8 +276,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -278,11 +301,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -311,8 +336,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -344,7 +368,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -416,8 +441,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -449,14 +473,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -547,7 +573,7 @@ private static int bound( int hi, final byte searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -568,9 +594,10 @@ private static void insertionSort( final WritableByteChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharByteTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharByteTimsortKernel.java index cbcf3a6fba5..9781342c8cb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharByteTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharByteTimsortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -69,8 +68,8 @@ public void close() { } // endregion Context - public static - CharByteSortKernelContext createContext(int size) { + public static CharByteSortKernelContext createContext( + int size) { return new CharByteSortKernelContext<>(size); } @@ -365,8 +364,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -477,8 +475,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -650,111 +647,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableCharChunk valuesToSort.set(b, tempChar); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int mergeEnd) { -// char lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final char newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(char last) { -// if (last >= 'A' && last <= 'Z') { -// return Character.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(char last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int + // mergeEnd) { + // char lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final char newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(char last) { + // if (last >= 'A' && last <= 'Z') { + // return Character.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(char last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharIntTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharIntTimsortKernel.java index 278f2dbc182..edc33db0018 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharIntTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharIntTimsortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -69,8 +68,8 @@ public void close() { } // endregion Context - public static - CharIntSortKernelContext createContext(int size) { + public static CharIntSortKernelContext createContext( + int size) { return new CharIntSortKernelContext<>(size); } @@ -365,8 +364,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -477,8 +475,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -650,111 +647,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableCharChunk< valuesToSort.set(b, tempChar); } -// private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int mergeEnd) { -// char lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final char newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(char last) { -// if (last >= 'A' && last <= 'Z') { -// return Character.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(char last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int + // mergeEnd) { + // char lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final char newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(char last) { + // if (last >= 'A' && last <= 'Z') { + // return Character.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(char last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharLongTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharLongTimsortKernel.java index 1566bc2990a..dc3be3adfaf 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharLongTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharLongTimsortKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -64,8 +64,8 @@ public void close() { } // endregion Context - public static - CharLongSortKernelContext createContext(int size) { + public static CharLongSortKernelContext createContext( + int size) { return new CharLongSortKernelContext<>(size); } @@ -360,8 +360,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -472,8 +471,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -645,111 +643,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableCharChunk valuesToSort.set(b, tempChar); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int mergeEnd) { -// char lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final char newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(char last) { -// if (last >= 'A' && last <= 'Z') { -// return Character.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(char last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int + // mergeEnd) { + // char lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final char newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(char last) { + // if (last >= 'A' && last <= 'Z') { + // return Character.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(char last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharTimsortDescendingKernel.java index b670991a869..18be39db4b8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharTimsortDescendingKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.CharChunk; @@ -14,8 +14,8 @@ /** * This implements a timsort kernel for Characters. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class CharTimsortDescendingKernel { private CharTimsortDescendingKernel() { @@ -26,8 +26,8 @@ private CharTimsortDescendingKernel() { public static class CharSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableCharChunk temporaryValues; private CharSortKernelContext(int size) { @@ -54,9 +54,9 @@ public static CharSortKernelContext createContext(int s /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final CharSortKernelContext context, @@ -105,7 +105,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -178,22 +179,45 @@ static boolean leq(char lhs, char rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final CharSortKernelContext context, @@ -249,8 +273,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -274,11 +298,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -307,8 +333,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -340,7 +365,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -412,8 +438,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -445,14 +470,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -543,7 +570,7 @@ private static int bound( int hi, final char searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -564,9 +591,10 @@ private static void insertionSort( final WritableCharChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharTimsortKernel.java index 3bdb62aa30d..9cab692a338 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/CharTimsortKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.CharChunk; @@ -13,8 +13,8 @@ /** * This implements a timsort kernel for Characters. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class CharTimsortKernel { private CharTimsortKernel() { @@ -25,8 +25,8 @@ private CharTimsortKernel() { public static class CharSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableCharChunk temporaryValues; private CharSortKernelContext(int size) { @@ -53,9 +53,9 @@ public static CharSortKernelContext createContext(int s /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final CharSortKernelContext context, @@ -104,7 +104,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -177,22 +178,45 @@ static boolean leq(char lhs, char rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final CharSortKernelContext context, @@ -248,8 +272,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -273,11 +297,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -306,8 +332,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -339,7 +364,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -411,8 +437,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -444,14 +469,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -542,7 +569,7 @@ private static int bound( int hi, final char searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -563,9 +590,10 @@ private static void insertionSort( final WritableCharChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleByteTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleByteTimsortDescendingKernel.java index 8e5cf6f7d1e..2482281e8a6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleByteTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleByteTimsortDescendingKernel.java @@ -1,16 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharByteTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit DoubleLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DoubleByteTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.compare.DoubleComparisons; @@ -76,8 +71,8 @@ public void close() { } // endregion Context - public static - DoubleByteSortKernelContext createContext(int size) { + public static DoubleByteSortKernelContext createContext( + int size) { return new DoubleByteSortKernelContext<>(size); } @@ -373,8 +368,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -485,8 +479,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -658,111 +651,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableDoubleChu valuesToSort.set(b, tempDouble); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.DoubleChunk valuesToSort, int startCheck, int mergeEnd) { -// double lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final double newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// double last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final double current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// double last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final double current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(double last) { -// if (last >= 'A' && last <= 'Z') { -// return Double.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(double last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.DoubleChunk valuesToSort, int startCheck, int + // mergeEnd) { + // double lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final double newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // double last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final double current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // double last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final double current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(double last) { + // if (last >= 'A' && last <= 'Z') { + // return Double.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(double last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleByteTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleByteTimsortKernel.java index 580742c4332..e56c75359d6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleByteTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleByteTimsortKernel.java @@ -1,16 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharByteTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit DoubleLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharByteTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.compare.DoubleComparisons; @@ -76,8 +70,8 @@ public void close() { } // endregion Context - public static - DoubleByteSortKernelContext createContext(int size) { + public static DoubleByteSortKernelContext createContext( + int size) { return new DoubleByteSortKernelContext<>(size); } @@ -372,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -484,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -657,111 +649,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableDoubleChu valuesToSort.set(b, tempDouble); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.DoubleChunk valuesToSort, int startCheck, int mergeEnd) { -// double lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final double newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// double last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final double current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// double last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final double current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(double last) { -// if (last >= 'A' && last <= 'Z') { -// return Double.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(double last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.DoubleChunk valuesToSort, int startCheck, int + // mergeEnd) { + // double lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final double newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // double last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final double current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // double last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final double current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(double last) { + // if (last >= 'A' && last <= 'Z') { + // return Double.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(double last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleIntTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleIntTimsortDescendingKernel.java index adc4757eff3..20eb41b4b8c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleIntTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleIntTimsortDescendingKernel.java @@ -1,16 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharIntTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit DoubleLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DoubleIntTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.compare.DoubleComparisons; @@ -76,8 +71,8 @@ public void close() { } // endregion Context - public static - DoubleIntSortKernelContext createContext(int size) { + public static DoubleIntSortKernelContext createContext( + int size) { return new DoubleIntSortKernelContext<>(size); } @@ -373,8 +368,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -485,8 +479,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -658,111 +651,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableDoubleChun valuesToSort.set(b, tempDouble); } -// private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.DoubleChunk valuesToSort, int startCheck, int mergeEnd) { -// double lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final double newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// double last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final double current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// double last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final double current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(double last) { -// if (last >= 'A' && last <= 'Z') { -// return Double.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(double last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.DoubleChunk valuesToSort, int startCheck, int + // mergeEnd) { + // double lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final double newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // double last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final double current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // double last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final double current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(double last) { + // if (last >= 'A' && last <= 'Z') { + // return Double.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(double last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleIntTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleIntTimsortKernel.java index 510e8b12157..8dae60e582c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleIntTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleIntTimsortKernel.java @@ -1,16 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharIntTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit DoubleLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharIntTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.compare.DoubleComparisons; @@ -76,8 +70,8 @@ public void close() { } // endregion Context - public static - DoubleIntSortKernelContext createContext(int size) { + public static DoubleIntSortKernelContext createContext( + int size) { return new DoubleIntSortKernelContext<>(size); } @@ -372,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -484,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -657,111 +649,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableDoubleChun valuesToSort.set(b, tempDouble); } -// private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.DoubleChunk valuesToSort, int startCheck, int mergeEnd) { -// double lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final double newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// double last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final double current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// double last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final double current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(double last) { -// if (last >= 'A' && last <= 'Z') { -// return Double.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(double last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.DoubleChunk valuesToSort, int startCheck, int + // mergeEnd) { + // double lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final double newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // double last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final double current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // double last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final double current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(double last) { + // if (last >= 'A' && last <= 'Z') { + // return Double.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(double last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleLongTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleLongTimsortDescendingKernel.java index bae4b15e158..1c8928aeab9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleLongTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleLongTimsortDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DoubleLongTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.compare.DoubleComparisons; @@ -71,8 +71,8 @@ public void close() { } // endregion Context - public static - DoubleLongSortKernelContext createContext(int size) { + public static DoubleLongSortKernelContext createContext( + int size) { return new DoubleLongSortKernelContext<>(size); } @@ -368,8 +368,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -480,8 +479,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -653,111 +651,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableDoubleChu valuesToSort.set(b, tempDouble); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.DoubleChunk valuesToSort, int startCheck, int mergeEnd) { -// double lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final double newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// double last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final double current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// double last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final double current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(double last) { -// if (last >= 'A' && last <= 'Z') { -// return Double.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(double last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.DoubleChunk valuesToSort, int startCheck, int + // mergeEnd) { + // double lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final double newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // double last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final double current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // double last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final double current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(double last) { + // if (last >= 'A' && last <= 'Z') { + // return Double.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(double last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleLongTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleLongTimsortKernel.java index ccd1b92ac53..4ef72b87693 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleLongTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleLongTimsortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.compare.DoubleComparisons; @@ -71,8 +70,8 @@ public void close() { } // endregion Context - public static - DoubleLongSortKernelContext createContext(int size) { + public static DoubleLongSortKernelContext createContext( + int size) { return new DoubleLongSortKernelContext<>(size); } @@ -367,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -479,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -652,111 +649,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableDoubleChu valuesToSort.set(b, tempDouble); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.DoubleChunk valuesToSort, int startCheck, int mergeEnd) { -// double lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final double newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// double last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final double current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// double last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final double current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(double last) { -// if (last >= 'A' && last <= 'Z') { -// return Double.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(double last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.DoubleChunk valuesToSort, int startCheck, int + // mergeEnd) { + // double lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final double newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // double last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final double current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.DoubleChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // double last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final double current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(double last) { + // if (last >= 'A' && last <= 'Z') { + // return Double.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(double last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleTimsortDescendingKernel.java index 8c31db1f8b3..4710800493f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleTimsortDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DoubleTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.compare.DoubleComparisons; @@ -20,8 +20,8 @@ /** * This implements a timsort kernel for Doubles. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class DoubleTimsortDescendingKernel { private DoubleTimsortDescendingKernel() { @@ -32,8 +32,8 @@ private DoubleTimsortDescendingKernel() { public static class DoubleSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableDoubleChunk temporaryValues; private DoubleSortKernelContext(int size) { @@ -60,9 +60,9 @@ public static DoubleSortKernelContext createContext(int /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final DoubleSortKernelContext context, @@ -111,7 +111,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -185,22 +186,45 @@ static boolean leq(double lhs, double rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final DoubleSortKernelContext context, @@ -256,8 +280,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -281,11 +305,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -314,8 +340,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -347,7 +372,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -419,8 +445,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -452,14 +477,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -550,7 +577,7 @@ private static int bound( int hi, final double searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -571,9 +598,10 @@ private static void insertionSort( final WritableDoubleChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleTimsortKernel.java index 9d189677fe2..ab15066a96e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/DoubleTimsortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.compare.DoubleComparisons; @@ -20,8 +19,8 @@ /** * This implements a timsort kernel for Doubles. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class DoubleTimsortKernel { private DoubleTimsortKernel() { @@ -32,8 +31,8 @@ private DoubleTimsortKernel() { public static class DoubleSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableDoubleChunk temporaryValues; private DoubleSortKernelContext(int size) { @@ -60,9 +59,9 @@ public static DoubleSortKernelContext createContext(int /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final DoubleSortKernelContext context, @@ -111,7 +110,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -184,22 +184,45 @@ static boolean leq(double lhs, double rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final DoubleSortKernelContext context, @@ -255,8 +278,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -280,11 +303,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -313,8 +338,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -346,7 +370,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -418,8 +443,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -451,14 +475,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -549,7 +575,7 @@ private static int bound( int hi, final double searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -570,9 +596,10 @@ private static void insertionSort( final WritableDoubleChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatByteTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatByteTimsortDescendingKernel.java index 15721b378d7..8aea91e33d3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatByteTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatByteTimsortDescendingKernel.java @@ -1,16 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharByteTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatByteTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.compare.FloatComparisons; @@ -76,8 +71,8 @@ public void close() { } // endregion Context - public static - FloatByteSortKernelContext createContext(int size) { + public static FloatByteSortKernelContext createContext( + int size) { return new FloatByteSortKernelContext<>(size); } @@ -373,8 +368,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -485,8 +479,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -658,111 +651,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableFloatChun valuesToSort.set(b, tempFloat); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.FloatChunk valuesToSort, int startCheck, int mergeEnd) { -// float lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final float newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// float last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final float current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// float last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final float current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(float last) { -// if (last >= 'A' && last <= 'Z') { -// return Float.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(float last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.FloatChunk valuesToSort, int startCheck, int + // mergeEnd) { + // float lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final float newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // float last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final float current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // float last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final float current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(float last) { + // if (last >= 'A' && last <= 'Z') { + // return Float.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(float last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatByteTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatByteTimsortKernel.java index cafb74af87c..b2b85d7a216 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatByteTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatByteTimsortKernel.java @@ -1,16 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharByteTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharByteTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.compare.FloatComparisons; @@ -76,8 +70,8 @@ public void close() { } // endregion Context - public static - FloatByteSortKernelContext createContext(int size) { + public static FloatByteSortKernelContext createContext( + int size) { return new FloatByteSortKernelContext<>(size); } @@ -372,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -484,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -657,111 +649,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableFloatChun valuesToSort.set(b, tempFloat); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.FloatChunk valuesToSort, int startCheck, int mergeEnd) { -// float lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final float newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// float last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final float current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// float last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final float current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(float last) { -// if (last >= 'A' && last <= 'Z') { -// return Float.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(float last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.FloatChunk valuesToSort, int startCheck, int + // mergeEnd) { + // float lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final float newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // float last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final float current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // float last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final float current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(float last) { + // if (last >= 'A' && last <= 'Z') { + // return Float.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(float last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatIntTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatIntTimsortDescendingKernel.java index 9fc4a69ca53..cf1893dbac2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatIntTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatIntTimsortDescendingKernel.java @@ -1,16 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharIntTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatIntTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.compare.FloatComparisons; @@ -76,8 +71,8 @@ public void close() { } // endregion Context - public static - FloatIntSortKernelContext createContext(int size) { + public static FloatIntSortKernelContext createContext( + int size) { return new FloatIntSortKernelContext<>(size); } @@ -373,8 +368,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -485,8 +479,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -658,111 +651,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableFloatChunk valuesToSort.set(b, tempFloat); } -// private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.FloatChunk valuesToSort, int startCheck, int mergeEnd) { -// float lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final float newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// float last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final float current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// float last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final float current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(float last) { -// if (last >= 'A' && last <= 'Z') { -// return Float.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(float last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.FloatChunk valuesToSort, int startCheck, int + // mergeEnd) { + // float lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final float newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // float last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final float current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // float last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final float current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(float last) { + // if (last >= 'A' && last <= 'Z') { + // return Float.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(float last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatIntTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatIntTimsortKernel.java index 80da8aa6012..9ef155ff301 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatIntTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatIntTimsortKernel.java @@ -1,16 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharIntTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharIntTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.compare.FloatComparisons; @@ -76,8 +70,8 @@ public void close() { } // endregion Context - public static - FloatIntSortKernelContext createContext(int size) { + public static FloatIntSortKernelContext createContext( + int size) { return new FloatIntSortKernelContext<>(size); } @@ -372,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -484,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -657,111 +649,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableFloatChunk valuesToSort.set(b, tempFloat); } -// private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.FloatChunk valuesToSort, int startCheck, int mergeEnd) { -// float lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final float newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// float last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final float current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// float last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final float current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(float last) { -// if (last >= 'A' && last <= 'Z') { -// return Float.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(float last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.FloatChunk valuesToSort, int startCheck, int + // mergeEnd) { + // float lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final float newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // float last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final float current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // float last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final float current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(float last) { + // if (last >= 'A' && last <= 'Z') { + // return Float.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(float last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatLongTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatLongTimsortDescendingKernel.java index 14297b3a8c5..e3f72576e3f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatLongTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatLongTimsortDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatLongTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.compare.FloatComparisons; @@ -71,8 +71,8 @@ public void close() { } // endregion Context - public static - FloatLongSortKernelContext createContext(int size) { + public static FloatLongSortKernelContext createContext( + int size) { return new FloatLongSortKernelContext<>(size); } @@ -368,8 +368,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -480,8 +479,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -653,111 +651,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableFloatChun valuesToSort.set(b, tempFloat); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.FloatChunk valuesToSort, int startCheck, int mergeEnd) { -// float lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final float newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// float last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final float current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// float last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final float current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(float last) { -// if (last >= 'A' && last <= 'Z') { -// return Float.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(float last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.FloatChunk valuesToSort, int startCheck, int + // mergeEnd) { + // float lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final float newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // float last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final float current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // float last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final float current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(float last) { + // if (last >= 'A' && last <= 'Z') { + // return Float.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(float last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatLongTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatLongTimsortKernel.java index 4d8e5f3e2c2..436688fcd2c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatLongTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatLongTimsortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.compare.FloatComparisons; @@ -71,8 +70,8 @@ public void close() { } // endregion Context - public static - FloatLongSortKernelContext createContext(int size) { + public static FloatLongSortKernelContext createContext( + int size) { return new FloatLongSortKernelContext<>(size); } @@ -367,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -479,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -652,111 +649,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableFloatChun valuesToSort.set(b, tempFloat); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.FloatChunk valuesToSort, int startCheck, int mergeEnd) { -// float lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final float newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// float last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final float current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// float last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final float current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(float last) { -// if (last >= 'A' && last <= 'Z') { -// return Float.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(float last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.FloatChunk valuesToSort, int startCheck, int + // mergeEnd) { + // float lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final float newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // float last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final float current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.FloatChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // float last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final float current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(float last) { + // if (last >= 'A' && last <= 'Z') { + // return Float.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(float last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatTimsortDescendingKernel.java index 150bb1aa3fd..3776c82aea7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatTimsortDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.compare.FloatComparisons; @@ -20,8 +20,8 @@ /** * This implements a timsort kernel for Floats. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class FloatTimsortDescendingKernel { private FloatTimsortDescendingKernel() { @@ -32,8 +32,8 @@ private FloatTimsortDescendingKernel() { public static class FloatSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableFloatChunk temporaryValues; private FloatSortKernelContext(int size) { @@ -60,9 +60,9 @@ public static FloatSortKernelContext createContext(int /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final FloatSortKernelContext context, @@ -111,7 +111,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -185,22 +186,45 @@ static boolean leq(float lhs, float rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final FloatSortKernelContext context, @@ -256,8 +280,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -281,11 +305,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -314,8 +340,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -347,7 +372,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -419,8 +445,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -452,14 +477,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -550,7 +577,7 @@ private static int bound( int hi, final float searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -571,9 +598,10 @@ private static void insertionSort( final WritableFloatChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatTimsortKernel.java index f166e4f345f..749906c2fe9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/FloatTimsortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.compare.FloatComparisons; @@ -20,8 +19,8 @@ /** * This implements a timsort kernel for Floats. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class FloatTimsortKernel { private FloatTimsortKernel() { @@ -32,8 +31,8 @@ private FloatTimsortKernel() { public static class FloatSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableFloatChunk temporaryValues; private FloatSortKernelContext(int size) { @@ -60,9 +59,9 @@ public static FloatSortKernelContext createContext(int /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final FloatSortKernelContext context, @@ -111,7 +110,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -184,22 +184,45 @@ static boolean leq(float lhs, float rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final FloatSortKernelContext context, @@ -255,8 +278,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -280,11 +303,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -313,8 +338,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -346,7 +370,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -418,8 +443,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -451,14 +475,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -549,7 +575,7 @@ private static int bound( int hi, final float searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -570,9 +596,10 @@ private static void insertionSort( final WritableFloatChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntByteTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntByteTimsortDescendingKernel.java index 3cb48a8b98e..2d07d2f5927 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntByteTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntByteTimsortDescendingKernel.java @@ -1,16 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharByteTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit IntLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntByteTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -74,8 +69,8 @@ public void close() { } // endregion Context - public static - IntByteSortKernelContext createContext(int size) { + public static IntByteSortKernelContext createContext( + int size) { return new IntByteSortKernelContext<>(size); } @@ -371,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -483,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -656,111 +649,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableIntChunk< valuesToSort.set(b, tempInt); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.IntChunk valuesToSort, int startCheck, int mergeEnd) { -// int lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final int newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// int last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final int current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final int current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(int last) { -// if (last >= 'A' && last <= 'Z') { -// return Integer.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(int last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.IntChunk valuesToSort, int startCheck, int + // mergeEnd) { + // int lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final int newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // int last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final int current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final int current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(int last) { + // if (last >= 'A' && last <= 'Z') { + // return Integer.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(int last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntByteTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntByteTimsortKernel.java index c23abafdbb3..0ef280a87b4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntByteTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntByteTimsortKernel.java @@ -1,16 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharByteTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit IntLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharByteTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -74,8 +68,8 @@ public void close() { } // endregion Context - public static - IntByteSortKernelContext createContext(int size) { + public static IntByteSortKernelContext createContext( + int size) { return new IntByteSortKernelContext<>(size); } @@ -370,8 +364,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -482,8 +475,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -655,111 +647,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableIntChunk< valuesToSort.set(b, tempInt); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.IntChunk valuesToSort, int startCheck, int mergeEnd) { -// int lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final int newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// int last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final int current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final int current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(int last) { -// if (last >= 'A' && last <= 'Z') { -// return Integer.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(int last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.IntChunk valuesToSort, int startCheck, int + // mergeEnd) { + // int lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final int newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // int last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final int current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final int current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(int last) { + // if (last >= 'A' && last <= 'Z') { + // return Integer.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(int last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntIntTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntIntTimsortDescendingKernel.java index 85f46f09bd2..57776753495 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntIntTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntIntTimsortDescendingKernel.java @@ -1,16 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharIntTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit IntLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntIntTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -74,8 +69,8 @@ public void close() { } // endregion Context - public static - IntIntSortKernelContext createContext(int size) { + public static IntIntSortKernelContext createContext( + int size) { return new IntIntSortKernelContext<>(size); } @@ -371,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -483,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -656,111 +649,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableIntChunk (" + start2 + ", " + length2 + ")"); -// int last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final int current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final int current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(int last) { -// if (last >= 'A' && last <= 'Z') { -// return Integer.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(int last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.IntChunk valuesToSort, int startCheck, int + // mergeEnd) { + // int lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final int newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // int last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final int current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final int current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(int last) { + // if (last >= 'A' && last <= 'Z') { + // return Integer.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(int last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntIntTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntIntTimsortKernel.java index fd9d392e51e..f00855ec96e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntIntTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntIntTimsortKernel.java @@ -1,16 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharIntTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit IntLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharIntTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -74,8 +68,8 @@ public void close() { } // endregion Context - public static - IntIntSortKernelContext createContext(int size) { + public static IntIntSortKernelContext createContext( + int size) { return new IntIntSortKernelContext<>(size); } @@ -370,8 +364,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -482,8 +475,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -655,111 +647,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableIntChunk (" + start2 + ", " + length2 + ")"); -// int last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final int current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final int current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(int last) { -// if (last >= 'A' && last <= 'Z') { -// return Integer.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(int last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.IntChunk valuesToSort, int startCheck, int + // mergeEnd) { + // int lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final int newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // int last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final int current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final int current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(int last) { + // if (last >= 'A' && last <= 'Z') { + // return Integer.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(int last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntLongTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntLongTimsortDescendingKernel.java index aebaef9693e..2afa2fec180 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntLongTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntLongTimsortDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntLongTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -69,8 +69,8 @@ public void close() { } // endregion Context - public static - IntLongSortKernelContext createContext(int size) { + public static IntLongSortKernelContext createContext( + int size) { return new IntLongSortKernelContext<>(size); } @@ -366,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -478,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -651,111 +649,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableIntChunk< valuesToSort.set(b, tempInt); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.IntChunk valuesToSort, int startCheck, int mergeEnd) { -// int lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final int newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// int last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final int current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final int current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(int last) { -// if (last >= 'A' && last <= 'Z') { -// return Integer.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(int last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.IntChunk valuesToSort, int startCheck, int + // mergeEnd) { + // int lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final int newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // int last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final int current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final int current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(int last) { + // if (last >= 'A' && last <= 'Z') { + // return Integer.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(int last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntLongTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntLongTimsortKernel.java index c99a2ed8234..b754e2b159f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntLongTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntLongTimsortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -69,8 +68,8 @@ public void close() { } // endregion Context - public static - IntLongSortKernelContext createContext(int size) { + public static IntLongSortKernelContext createContext( + int size) { return new IntLongSortKernelContext<>(size); } @@ -365,8 +364,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -477,8 +475,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -650,111 +647,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableIntChunk< valuesToSort.set(b, tempInt); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.IntChunk valuesToSort, int startCheck, int mergeEnd) { -// int lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final int newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// int last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final int current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final int current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(int last) { -// if (last >= 'A' && last <= 'Z') { -// return Integer.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(int last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.IntChunk valuesToSort, int startCheck, int + // mergeEnd) { + // int lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final int newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // int last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final int current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.IntChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final int current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(int last) { + // if (last >= 'A' && last <= 'Z') { + // return Integer.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(int last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntTimsortDescendingKernel.java index 3bf4227e8e8..26ba1902304 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntTimsortDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.IntChunk; @@ -18,8 +18,8 @@ /** * This implements a timsort kernel for Integers. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class IntTimsortDescendingKernel { private IntTimsortDescendingKernel() { @@ -30,8 +30,8 @@ private IntTimsortDescendingKernel() { public static class IntSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableIntChunk temporaryValues; private IntSortKernelContext(int size) { @@ -58,9 +58,9 @@ public static IntSortKernelContext createContext(int si /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final IntSortKernelContext context, @@ -109,7 +109,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -183,22 +184,45 @@ static boolean leq(int lhs, int rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final IntSortKernelContext context, @@ -254,8 +278,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -279,11 +303,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -312,8 +338,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -345,7 +370,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -417,8 +443,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -450,14 +475,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -548,7 +575,7 @@ private static int bound( int hi, final int searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -569,9 +596,10 @@ private static void insertionSort( final WritableIntChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntTimsortKernel.java index d248048a1cc..1cc3a51c2e6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/IntTimsortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.IntChunk; @@ -18,8 +17,8 @@ /** * This implements a timsort kernel for Integers. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class IntTimsortKernel { private IntTimsortKernel() { @@ -30,8 +29,8 @@ private IntTimsortKernel() { public static class IntSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableIntChunk temporaryValues; private IntSortKernelContext(int size) { @@ -58,9 +57,9 @@ public static IntSortKernelContext createContext(int si /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final IntSortKernelContext context, @@ -109,7 +108,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -182,22 +182,45 @@ static boolean leq(int lhs, int rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final IntSortKernelContext context, @@ -253,8 +276,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -278,11 +301,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -311,8 +336,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -344,7 +368,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -416,8 +441,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -449,14 +473,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -547,7 +573,7 @@ private static int bound( int hi, final int searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -568,9 +594,10 @@ private static void insertionSort( final WritableIntChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongByteTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongByteTimsortDescendingKernel.java index 1dbe21c2b8c..d2849da9f13 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongByteTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongByteTimsortDescendingKernel.java @@ -1,16 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharByteTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit LongLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit LongByteTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -74,8 +69,8 @@ public void close() { } // endregion Context - public static - LongByteSortKernelContext createContext(int size) { + public static LongByteSortKernelContext createContext( + int size) { return new LongByteSortKernelContext<>(size); } @@ -371,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -483,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -656,111 +649,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableLongChunk valuesToSort.set(b, tempLong); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.LongChunk valuesToSort, int startCheck, int mergeEnd) { -// long lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final long newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// long last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final long current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final long current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(long last) { -// if (last >= 'A' && last <= 'Z') { -// return Long.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(long last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.LongChunk valuesToSort, int startCheck, int + // mergeEnd) { + // long lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final long newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // long last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final long current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final long current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(long last) { + // if (last >= 'A' && last <= 'Z') { + // return Long.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(long last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongByteTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongByteTimsortKernel.java index 701fcbb8c7d..a4186569d9e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongByteTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongByteTimsortKernel.java @@ -1,16 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharByteTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit LongLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharByteTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -74,8 +68,8 @@ public void close() { } // endregion Context - public static - LongByteSortKernelContext createContext(int size) { + public static LongByteSortKernelContext createContext( + int size) { return new LongByteSortKernelContext<>(size); } @@ -370,8 +364,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -482,8 +475,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -655,111 +647,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableLongChunk valuesToSort.set(b, tempLong); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.LongChunk valuesToSort, int startCheck, int mergeEnd) { -// long lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final long newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// long last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final long current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final long current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(long last) { -// if (last >= 'A' && last <= 'Z') { -// return Long.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(long last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.LongChunk valuesToSort, int startCheck, int + // mergeEnd) { + // long lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final long newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // long last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final long current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final long current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(long last) { + // if (last >= 'A' && last <= 'Z') { + // return Long.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(long last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongIntTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongIntTimsortDescendingKernel.java index b80144a62ea..9ad3a36db1a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongIntTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongIntTimsortDescendingKernel.java @@ -1,16 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharIntTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit LongLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit LongIntTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -74,8 +69,8 @@ public void close() { } // endregion Context - public static - LongIntSortKernelContext createContext(int size) { + public static LongIntSortKernelContext createContext( + int size) { return new LongIntSortKernelContext<>(size); } @@ -371,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -483,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -656,111 +649,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableLongChunk< valuesToSort.set(b, tempLong); } -// private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.LongChunk valuesToSort, int startCheck, int mergeEnd) { -// long lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final long newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// long last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final long current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final long current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(long last) { -// if (last >= 'A' && last <= 'Z') { -// return Long.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(long last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.LongChunk valuesToSort, int startCheck, int + // mergeEnd) { + // long lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final long newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // long last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final long current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final long current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(long last) { + // if (last >= 'A' && last <= 'Z') { + // return Long.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(long last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongIntTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongIntTimsortKernel.java index 19cdb63323e..7fb7871dc62 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongIntTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongIntTimsortKernel.java @@ -1,16 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharIntTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit LongLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharIntTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -74,8 +68,8 @@ public void close() { } // endregion Context - public static - LongIntSortKernelContext createContext(int size) { + public static LongIntSortKernelContext createContext( + int size) { return new LongIntSortKernelContext<>(size); } @@ -370,8 +364,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -482,8 +475,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -655,111 +647,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableLongChunk< valuesToSort.set(b, tempLong); } -// private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.LongChunk valuesToSort, int startCheck, int mergeEnd) { -// long lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final long newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// long last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final long current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final long current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(long last) { -// if (last >= 'A' && last <= 'Z') { -// return Long.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(long last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.LongChunk valuesToSort, int startCheck, int + // mergeEnd) { + // long lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final long newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // long last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final long current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final long current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(long last) { + // if (last >= 'A' && last <= 'Z') { + // return Long.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(long last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongLongTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongLongTimsortDescendingKernel.java index 878325af38e..dba9826e597 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongLongTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongLongTimsortDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit LongLongTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -69,8 +69,8 @@ public void close() { } // endregion Context - public static - LongLongSortKernelContext createContext(int size) { + public static LongLongSortKernelContext createContext( + int size) { return new LongLongSortKernelContext<>(size); } @@ -366,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -478,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -651,111 +649,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableLongChunk valuesToSort.set(b, tempLong); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.LongChunk valuesToSort, int startCheck, int mergeEnd) { -// long lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final long newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// long last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final long current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final long current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(long last) { -// if (last >= 'A' && last <= 'Z') { -// return Long.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(long last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.LongChunk valuesToSort, int startCheck, int + // mergeEnd) { + // long lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final long newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // long last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final long current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final long current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(long last) { + // if (last >= 'A' && last <= 'Z') { + // return Long.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(long last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongLongTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongLongTimsortKernel.java index 13a05098818..32e8a0d1e1f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongLongTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongLongTimsortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -69,8 +68,8 @@ public void close() { } // endregion Context - public static - LongLongSortKernelContext createContext(int size) { + public static LongLongSortKernelContext createContext( + int size) { return new LongLongSortKernelContext<>(size); } @@ -365,8 +364,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -477,8 +475,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -650,111 +647,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableLongChunk valuesToSort.set(b, tempLong); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.LongChunk valuesToSort, int startCheck, int mergeEnd) { -// long lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final long newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// long last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final long current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final long current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(long last) { -// if (last >= 'A' && last <= 'Z') { -// return Long.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(long last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.LongChunk valuesToSort, int startCheck, int + // mergeEnd) { + // long lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final long newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // long last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final long current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.LongChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final long current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(long last) { + // if (last >= 'A' && last <= 'Z') { + // return Long.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(long last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongTimsortDescendingKernel.java index bd4d5940e45..3f9ab32887f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongTimsortDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit LongTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.LongChunk; @@ -18,8 +18,8 @@ /** * This implements a timsort kernel for Longs. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class LongTimsortDescendingKernel { private LongTimsortDescendingKernel() { @@ -30,8 +30,8 @@ private LongTimsortDescendingKernel() { public static class LongSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableLongChunk temporaryValues; private LongSortKernelContext(int size) { @@ -58,9 +58,9 @@ public static LongSortKernelContext createContext(int s /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final LongSortKernelContext context, @@ -109,7 +109,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -183,22 +184,45 @@ static boolean leq(long lhs, long rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final LongSortKernelContext context, @@ -254,8 +278,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -279,11 +303,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -312,8 +338,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -345,7 +370,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -417,8 +443,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -450,14 +475,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -548,7 +575,7 @@ private static int bound( int hi, final long searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -569,9 +596,10 @@ private static void insertionSort( final WritableLongChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongTimsortKernel.java index 661d060823c..2b82f49e6d4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/LongTimsortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.LongChunk; @@ -18,8 +17,8 @@ /** * This implements a timsort kernel for Longs. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class LongTimsortKernel { private LongTimsortKernel() { @@ -30,8 +29,8 @@ private LongTimsortKernel() { public static class LongSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableLongChunk temporaryValues; private LongSortKernelContext(int size) { @@ -58,9 +57,9 @@ public static LongSortKernelContext createContext(int s /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final LongSortKernelContext context, @@ -109,7 +108,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -182,22 +182,45 @@ static boolean leq(long lhs, long rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final LongSortKernelContext context, @@ -253,8 +276,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -278,11 +301,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -311,8 +336,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -344,7 +368,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -416,8 +441,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -449,14 +473,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -547,7 +573,7 @@ private static int bound( int hi, final long searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -568,9 +594,10 @@ private static void insertionSort( final WritableLongChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharByteTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharByteTimsortDescendingKernel.java index 820b84934a6..bd726bb91cb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharByteTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharByteTimsortDescendingKernel.java @@ -1,14 +1,19 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharByteTimsortDescendingKernel and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit NullAwareCharByteTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.QueryConstants; @@ -75,8 +80,8 @@ public void close() { } // endregion Context - public static - CharByteSortKernelContext createContext(int size) { + public static CharByteSortKernelContext createContext( + int size) { return new CharByteSortKernelContext<>(size); } @@ -372,8 +377,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -484,8 +488,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -657,111 +660,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableCharChunk valuesToSort.set(b, tempChar); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int mergeEnd) { -// char lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final char newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(char last) { -// if (last >= 'A' && last <= 'Z') { -// return Character.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(char last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int + // mergeEnd) { + // char lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final char newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(char last) { + // if (last >= 'A' && last <= 'Z') { + // return Character.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(char last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharByteTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharByteTimsortKernel.java index c2b3c817b0f..bdeb118b745 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharByteTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharByteTimsortKernel.java @@ -1,14 +1,18 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharByteTimsortKernel and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharByteTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.QueryConstants; @@ -75,8 +79,8 @@ public void close() { } // endregion Context - public static - CharByteSortKernelContext createContext(int size) { + public static CharByteSortKernelContext createContext( + int size) { return new CharByteSortKernelContext<>(size); } @@ -371,8 +375,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -483,8 +486,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -656,111 +658,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableCharChunk valuesToSort.set(b, tempChar); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int mergeEnd) { -// char lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final char newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(char last) { -// if (last >= 'A' && last <= 'Z') { -// return Character.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(char last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int + // mergeEnd) { + // char lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final char newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(char last) { + // if (last >= 'A' && last <= 'Z') { + // return Character.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(char last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharIntTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharIntTimsortDescendingKernel.java index 2c1dc269705..e0895199514 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharIntTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharIntTimsortDescendingKernel.java @@ -1,14 +1,19 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharIntTimsortDescendingKernel and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit NullAwareCharIntTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.QueryConstants; @@ -75,8 +80,8 @@ public void close() { } // endregion Context - public static - CharIntSortKernelContext createContext(int size) { + public static CharIntSortKernelContext createContext( + int size) { return new CharIntSortKernelContext<>(size); } @@ -372,8 +377,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -484,8 +488,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -657,111 +660,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableCharChunk< valuesToSort.set(b, tempChar); } -// private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int mergeEnd) { -// char lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final char newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(char last) { -// if (last >= 'A' && last <= 'Z') { -// return Character.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(char last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int + // mergeEnd) { + // char lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final char newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(char last) { + // if (last >= 'A' && last <= 'Z') { + // return Character.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(char last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharIntTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharIntTimsortKernel.java index 05751f0babb..e0103642893 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharIntTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharIntTimsortKernel.java @@ -1,14 +1,18 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharIntTimsortKernel and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharIntTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.QueryConstants; @@ -75,8 +79,8 @@ public void close() { } // endregion Context - public static - CharIntSortKernelContext createContext(int size) { + public static CharIntSortKernelContext createContext( + int size) { return new CharIntSortKernelContext<>(size); } @@ -371,8 +375,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -483,8 +486,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -656,111 +658,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableCharChunk< valuesToSort.set(b, tempChar); } -// private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int mergeEnd) { -// char lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final char newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(char last) { -// if (last >= 'A' && last <= 'Z') { -// return Character.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(char last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int + // mergeEnd) { + // char lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final char newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(char last) { + // if (last >= 'A' && last <= 'Z') { + // return Character.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(char last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharLongTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharLongTimsortDescendingKernel.java index f7cd0869816..bd37b32c7b5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharLongTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharLongTimsortDescendingKernel.java @@ -1,9 +1,15 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortDescendingKernel and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit NullAwareCharLongTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.QueryConstants; @@ -70,8 +76,8 @@ public void close() { } // endregion Context - public static - CharLongSortKernelContext createContext(int size) { + public static CharLongSortKernelContext createContext( + int size) { return new CharLongSortKernelContext<>(size); } @@ -367,8 +373,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -479,8 +484,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -652,111 +656,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableCharChunk valuesToSort.set(b, tempChar); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int mergeEnd) { -// char lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final char newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(char last) { -// if (last >= 'A' && last <= 'Z') { -// return Character.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(char last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int + // mergeEnd) { + // char lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final char newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(char last) { + // if (last >= 'A' && last <= 'Z') { + // return Character.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(char last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharLongTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharLongTimsortKernel.java index 32287ace583..aaaefef1c23 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharLongTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharLongTimsortKernel.java @@ -1,9 +1,14 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortKernel and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.QueryConstants; @@ -70,8 +75,8 @@ public void close() { } // endregion Context - public static - CharLongSortKernelContext createContext(int size) { + public static CharLongSortKernelContext createContext( + int size) { return new CharLongSortKernelContext<>(size); } @@ -366,8 +371,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -478,8 +482,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -651,111 +654,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableCharChunk valuesToSort.set(b, tempChar); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int mergeEnd) { -// char lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final char newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// char last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final char current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(char last) { -// if (last >= 'A' && last <= 'Z') { -// return Character.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(char last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.CharChunk valuesToSort, int startCheck, int + // mergeEnd) { + // char lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final char newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.CharChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // char last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final char current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(char last) { + // if (last >= 'A' && last <= 'Z') { + // return Character.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(char last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharTimsortDescendingKernel.java index 115cdc98b92..ca6e4f19e32 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharTimsortDescendingKernel.java @@ -1,9 +1,15 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTimsortDescendingKernel and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit NullAwareCharTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.QueryConstants; @@ -19,8 +25,8 @@ /** * This implements a timsort kernel for Characters. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class NullAwareCharTimsortDescendingKernel { private NullAwareCharTimsortDescendingKernel() { @@ -31,8 +37,8 @@ private NullAwareCharTimsortDescendingKernel() { public static class CharSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableCharChunk temporaryValues; private CharSortKernelContext(int size) { @@ -59,9 +65,9 @@ public static CharSortKernelContext createContext(int s /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final CharSortKernelContext context, @@ -110,7 +116,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -184,22 +191,45 @@ static boolean leq(char lhs, char rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final CharSortKernelContext context, @@ -255,8 +285,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -280,11 +310,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -313,8 +345,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -346,7 +377,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -418,8 +450,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -451,14 +482,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -549,7 +582,7 @@ private static int bound( int hi, final char searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -570,9 +603,10 @@ private static void insertionSort( final WritableCharChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharTimsortKernel.java index 47142ba0cb4..f5bb56e6fbe 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/NullAwareCharTimsortKernel.java @@ -1,9 +1,14 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTimsortKernel and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.QueryConstants; @@ -19,8 +24,8 @@ /** * This implements a timsort kernel for Characters. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class NullAwareCharTimsortKernel { private NullAwareCharTimsortKernel() { @@ -31,8 +36,8 @@ private NullAwareCharTimsortKernel() { public static class CharSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableCharChunk temporaryValues; private CharSortKernelContext(int size) { @@ -59,9 +64,9 @@ public static CharSortKernelContext createContext(int s /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final CharSortKernelContext context, @@ -110,7 +115,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -183,22 +189,45 @@ static boolean leq(char lhs, char rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final CharSortKernelContext context, @@ -254,8 +283,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -279,11 +308,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -312,8 +343,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -345,7 +375,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -417,8 +448,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -450,14 +480,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -548,7 +580,7 @@ private static int bound( int hi, final char searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -569,9 +601,10 @@ private static void insertionSort( final WritableCharChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectByteTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectByteTimsortDescendingKernel.java index 25eb8f5c9f5..1dde8e730af 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectByteTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectByteTimsortDescendingKernel.java @@ -1,16 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharByteTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ObjectLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ObjectByteTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import java.util.Objects; @@ -76,8 +71,8 @@ public void close() { } // endregion Context - public static - ObjectByteSortKernelContext createContext(int size) { + public static ObjectByteSortKernelContext createContext( + int size) { return new ObjectByteSortKernelContext<>(size); } @@ -383,8 +378,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -495,8 +489,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -668,111 +661,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableObjectChu valuesToSort.set(b, tempObject); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.ObjectChunk valuesToSort, int startCheck, int mergeEnd) { -// Object lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final Object newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// Object last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final Object current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// Object last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final Object current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(Object last) { -// if (last >= 'A' && last <= 'Z') { -// return Object.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(Object last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.ObjectChunk valuesToSort, int startCheck, int + // mergeEnd) { + // Object lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final Object newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // Object last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final Object current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // Object last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final Object current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(Object last) { + // if (last >= 'A' && last <= 'Z') { + // return Object.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(Object last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectByteTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectByteTimsortKernel.java index 5f3669c6d72..69de4107b14 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectByteTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectByteTimsortKernel.java @@ -1,16 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharByteTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ObjectLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharByteTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import java.util.Objects; @@ -76,8 +70,8 @@ public void close() { } // endregion Context - public static - ObjectByteSortKernelContext createContext(int size) { + public static ObjectByteSortKernelContext createContext( + int size) { return new ObjectByteSortKernelContext<>(size); } @@ -384,8 +378,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -496,8 +489,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -669,111 +661,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableObjectChu valuesToSort.set(b, tempObject); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.ObjectChunk valuesToSort, int startCheck, int mergeEnd) { -// Object lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final Object newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// Object last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final Object current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// Object last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final Object current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(Object last) { -// if (last >= 'A' && last <= 'Z') { -// return Object.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(Object last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.ObjectChunk valuesToSort, int startCheck, int + // mergeEnd) { + // Object lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final Object newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // Object last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final Object current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // Object last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final Object current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(Object last) { + // if (last >= 'A' && last <= 'Z') { + // return Object.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(Object last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectIntTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectIntTimsortDescendingKernel.java index 10b89d1b3a2..c02a83662b0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectIntTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectIntTimsortDescendingKernel.java @@ -1,16 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharIntTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ObjectLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ObjectIntTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import java.util.Objects; @@ -76,8 +71,8 @@ public void close() { } // endregion Context - public static - ObjectIntSortKernelContext createContext(int size) { + public static ObjectIntSortKernelContext createContext( + int size) { return new ObjectIntSortKernelContext<>(size); } @@ -383,8 +378,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -495,8 +489,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -668,111 +661,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableObjectChun valuesToSort.set(b, tempObject); } -// private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.ObjectChunk valuesToSort, int startCheck, int mergeEnd) { -// Object lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final Object newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// Object last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final Object current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// Object last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final Object current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(Object last) { -// if (last >= 'A' && last <= 'Z') { -// return Object.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(Object last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.ObjectChunk valuesToSort, int startCheck, int + // mergeEnd) { + // Object lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final Object newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // Object last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final Object current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // Object last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final Object current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(Object last) { + // if (last >= 'A' && last <= 'Z') { + // return Object.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(Object last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectIntTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectIntTimsortKernel.java index daea44e5f21..973f705e64c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectIntTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectIntTimsortKernel.java @@ -1,16 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharIntTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ObjectLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharIntTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import java.util.Objects; @@ -76,8 +70,8 @@ public void close() { } // endregion Context - public static - ObjectIntSortKernelContext createContext(int size) { + public static ObjectIntSortKernelContext createContext( + int size) { return new ObjectIntSortKernelContext<>(size); } @@ -384,8 +378,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -496,8 +489,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -669,111 +661,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableObjectChun valuesToSort.set(b, tempObject); } -// private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.ObjectChunk valuesToSort, int startCheck, int mergeEnd) { -// Object lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final Object newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// Object last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final Object current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// Object last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final Object current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(Object last) { -// if (last >= 'A' && last <= 'Z') { -// return Object.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(Object last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.ObjectChunk valuesToSort, int startCheck, int + // mergeEnd) { + // Object lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final Object newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // Object last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final Object current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // Object last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final Object current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(Object last) { + // if (last >= 'A' && last <= 'Z') { + // return Object.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(Object last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectLongTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectLongTimsortDescendingKernel.java index 6b9d94b9682..f9ecfa02fa0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectLongTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectLongTimsortDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ObjectLongTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import java.util.Objects; @@ -71,8 +71,8 @@ public void close() { } // endregion Context - public static - ObjectLongSortKernelContext createContext(int size) { + public static ObjectLongSortKernelContext createContext( + int size) { return new ObjectLongSortKernelContext<>(size); } @@ -378,8 +378,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -490,8 +489,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -663,111 +661,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableObjectChu valuesToSort.set(b, tempObject); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.ObjectChunk valuesToSort, int startCheck, int mergeEnd) { -// Object lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final Object newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// Object last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final Object current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// Object last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final Object current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(Object last) { -// if (last >= 'A' && last <= 'Z') { -// return Object.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(Object last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.ObjectChunk valuesToSort, int startCheck, int + // mergeEnd) { + // Object lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final Object newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // Object last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final Object current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // Object last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final Object current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(Object last) { + // if (last >= 'A' && last <= 'Z') { + // return Object.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(Object last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectLongTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectLongTimsortKernel.java index 0141039588e..11eee8f5df8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectLongTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectLongTimsortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import java.util.Objects; @@ -71,8 +70,8 @@ public void close() { } // endregion Context - public static - ObjectLongSortKernelContext createContext(int size) { + public static ObjectLongSortKernelContext createContext( + int size) { return new ObjectLongSortKernelContext<>(size); } @@ -379,8 +378,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -491,8 +489,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -664,111 +661,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableObjectChu valuesToSort.set(b, tempObject); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.ObjectChunk valuesToSort, int startCheck, int mergeEnd) { -// Object lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final Object newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// Object last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final Object current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// Object last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final Object current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(Object last) { -// if (last >= 'A' && last <= 'Z') { -// return Object.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(Object last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.ObjectChunk valuesToSort, int startCheck, int + // mergeEnd) { + // Object lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final Object newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // Object last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final Object current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ObjectChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // Object last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final Object current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(Object last) { + // if (last >= 'A' && last <= 'Z') { + // return Object.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(Object last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectTimsortDescendingKernel.java index 1e0fe099a69..4e7c2667a84 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectTimsortDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ObjectTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import java.util.Objects; @@ -20,8 +20,8 @@ /** * This implements a timsort kernel for Objects. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class ObjectTimsortDescendingKernel { private ObjectTimsortDescendingKernel() { @@ -32,8 +32,8 @@ private ObjectTimsortDescendingKernel() { public static class ObjectSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableObjectChunk temporaryValues; private ObjectSortKernelContext(int size) { @@ -60,9 +60,9 @@ public static ObjectSortKernelContext createContext(int /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final ObjectSortKernelContext context, @@ -111,7 +111,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -195,22 +196,45 @@ static boolean leq(Object lhs, Object rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final ObjectSortKernelContext context, @@ -266,8 +290,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -291,11 +315,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -324,8 +350,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -357,7 +382,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -429,8 +455,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -462,14 +487,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -560,7 +587,7 @@ private static int bound( int hi, final Object searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -581,9 +608,10 @@ private static void insertionSort( final WritableObjectChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectTimsortKernel.java index f376e0acf7e..165306d225c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ObjectTimsortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import java.util.Objects; @@ -20,8 +19,8 @@ /** * This implements a timsort kernel for Objects. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class ObjectTimsortKernel { private ObjectTimsortKernel() { @@ -32,8 +31,8 @@ private ObjectTimsortKernel() { public static class ObjectSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableObjectChunk temporaryValues; private ObjectSortKernelContext(int size) { @@ -60,9 +59,9 @@ public static ObjectSortKernelContext createContext(int /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final ObjectSortKernelContext context, @@ -111,7 +110,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -196,22 +196,45 @@ static boolean leq(Object lhs, Object rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final ObjectSortKernelContext context, @@ -267,8 +290,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -292,11 +315,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -325,8 +350,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -358,7 +382,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -430,8 +455,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -463,14 +487,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -561,7 +587,7 @@ private static int bound( int hi, final Object searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -582,9 +608,10 @@ private static void insertionSort( final WritableObjectChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortByteTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortByteTimsortDescendingKernel.java index 364c4206291..a69b03fa43c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortByteTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortByteTimsortDescendingKernel.java @@ -1,16 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharByteTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ShortLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortByteTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -74,8 +69,8 @@ public void close() { } // endregion Context - public static - ShortByteSortKernelContext createContext(int size) { + public static ShortByteSortKernelContext createContext( + int size) { return new ShortByteSortKernelContext<>(size); } @@ -371,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -483,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -656,111 +649,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableShortChun valuesToSort.set(b, tempShort); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.ShortChunk valuesToSort, int startCheck, int mergeEnd) { -// short lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final short newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// short last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final short current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// short last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final short current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(short last) { -// if (last >= 'A' && last <= 'Z') { -// return Short.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(short last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.ShortChunk valuesToSort, int startCheck, int + // mergeEnd) { + // short lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final short newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // short last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final short current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // short last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final short current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(short last) { + // if (last >= 'A' && last <= 'Z') { + // return Short.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(short last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortByteTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortByteTimsortKernel.java index 695bfad8fb3..420b32a4b45 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortByteTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortByteTimsortKernel.java @@ -1,16 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharByteTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ShortLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharByteTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -74,8 +68,8 @@ public void close() { } // endregion Context - public static - ShortByteSortKernelContext createContext(int size) { + public static ShortByteSortKernelContext createContext( + int size) { return new ShortByteSortKernelContext<>(size); } @@ -370,8 +364,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -482,8 +475,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -655,111 +647,114 @@ static private void swap(WritableByteChunk valuesToPermute, WritableShortChun valuesToSort.set(b, tempShort); } -// private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.ShortChunk valuesToSort, int startCheck, int mergeEnd) { -// short lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final short newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// short last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final short current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// short last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final short current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// byte last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(short last) { -// if (last >= 'A' && last <= 'Z') { -// return Short.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(short last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(byte last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.ByteChunk valuesToPermute, Chunk.ShortChunk valuesToSort, int startCheck, int + // mergeEnd) { + // short lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final short newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // short last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final short current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // short last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final short current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.ByteChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // byte last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(short last) { + // if (last >= 'A' && last <= 'Z') { + // return Short.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(short last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(byte last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortIntTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortIntTimsortDescendingKernel.java index 3b5bc6c9dbe..20bfa29501b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortIntTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortIntTimsortDescendingKernel.java @@ -1,16 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharIntTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ShortLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortIntTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -74,8 +69,8 @@ public void close() { } // endregion Context - public static - ShortIntSortKernelContext createContext(int size) { + public static ShortIntSortKernelContext createContext( + int size) { return new ShortIntSortKernelContext<>(size); } @@ -371,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -483,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -656,111 +649,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableShortChunk valuesToSort.set(b, tempShort); } -// private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.ShortChunk valuesToSort, int startCheck, int mergeEnd) { -// short lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final short newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// short last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final short current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// short last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final short current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(short last) { -// if (last >= 'A' && last <= 'Z') { -// return Short.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(short last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.ShortChunk valuesToSort, int startCheck, int + // mergeEnd) { + // short lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final short newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // short last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final short current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // short last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final short current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(short last) { + // if (last >= 'A' && last <= 'Z') { + // return Short.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(short last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortIntTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortIntTimsortKernel.java index da884d496ee..a55f0e5a234 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortIntTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortIntTimsortKernel.java @@ -1,16 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharIntTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ShortLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharIntTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -74,8 +68,8 @@ public void close() { } // endregion Context - public static - ShortIntSortKernelContext createContext(int size) { + public static ShortIntSortKernelContext createContext( + int size) { return new ShortIntSortKernelContext<>(size); } @@ -370,8 +364,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -482,8 +475,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -655,111 +647,114 @@ static private void swap(WritableIntChunk valuesToPermute, WritableShortChunk valuesToSort.set(b, tempShort); } -// private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.ShortChunk valuesToSort, int startCheck, int mergeEnd) { -// short lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final short newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// short last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final short current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// short last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final short current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// int last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(short last) { -// if (last >= 'A' && last <= 'Z') { -// return Short.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(short last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(int last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.IntChunk valuesToPermute, Chunk.ShortChunk valuesToSort, int startCheck, int + // mergeEnd) { + // short lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final short newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // short last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final short current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // short last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final short current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.IntChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // int last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(short last) { + // if (last >= 'A' && last <= 'Z') { + // return Short.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(short last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(int last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortLongTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortLongTimsortDescendingKernel.java index c1ea1e81176..a679958d293 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortLongTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortLongTimsortDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortLongTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -69,8 +69,8 @@ public void close() { } // endregion Context - public static - ShortLongSortKernelContext createContext(int size) { + public static ShortLongSortKernelContext createContext( + int size) { return new ShortLongSortKernelContext<>(size); } @@ -366,8 +366,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -478,8 +477,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -651,111 +649,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableShortChun valuesToSort.set(b, tempShort); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.ShortChunk valuesToSort, int startCheck, int mergeEnd) { -// short lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final short newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// short last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final short current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// short last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final short current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(short last) { -// if (last >= 'A' && last <= 'Z') { -// return Short.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(short last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.ShortChunk valuesToSort, int startCheck, int + // mergeEnd) { + // short lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final short newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // short last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final short current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // short last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final short current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(short last) { + // if (last >= 'A' && last <= 'Z') { + // return Short.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(short last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortLongTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortLongTimsortKernel.java index 7cb733a8ba4..abef1c5af26 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortLongTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortLongTimsortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharLongTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharLongTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; @@ -69,8 +68,8 @@ public void close() { } // endregion Context - public static - ShortLongSortKernelContext createContext(int size) { + public static ShortLongSortKernelContext createContext( + int size) { return new ShortLongSortKernelContext<>(size); } @@ -365,8 +364,7 @@ private static v ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -477,8 +475,7 @@ private static v final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -650,111 +647,114 @@ static private void swap(WritableLongChunk valuesToPermute, WritableShortChun valuesToSort.set(b, tempShort); } -// private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.ShortChunk valuesToSort, int startCheck, int mergeEnd) { -// short lastCheck; -// lastCheck = valuesToSort.get(startCheck); -// for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { -// final short newCheck = valuesToSort.get(jj); -// if (newCheck < lastCheck) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); -// throw new IllegalStateException(); -// } -// else if (newCheck == lastCheck) { -// if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { -// dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); -// throw new IllegalStateException(); -// } -// } -// lastCheck = newCheck; -// } -// final StackTraceElement [] calls = new Exception().getStackTrace(); -// System.out.println("CHECK OK at " + calls[1]); -// System.out.println(); -// } - -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, int start2, int length2, String msg) { -// System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); -// short last = valuesToSort.get(start1); -// System.out.print("[" + format(last)); -// for (int ii = start1 + 1; ii < start2 + length2; ++ii) { -// final short current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print(", " + last); -// } -// System.out.println("]"); -// } - -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg) { -// dumpValues(valuesToSort, start1, length1, msg, -1); -// } -// -// private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg, int highlight) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// short last = valuesToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last, highlight == start1)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// final short current = valuesToSort.get(ii); -// if (current < last) { -// System.out.println("****"); -// } -// last = current; -// System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { -// System.out.println(msg + " (" + start1 + ", " + length1 + ")"); -// long last = keysToSort.get(start1); -// System.out.print(String.format("%04d", start1) + " "); -// -// System.out.print(format(last)); -// boolean doComma = true; -// for (int ii = start1 + 1; ii < start1 + length1; ) { -// last = keysToSort.get(ii); -// System.out.print((doComma ? ", " : "") + format(last)); -// doComma = true; -// ++ii; -// if ((ii - start1) % 20 == 0) { -// System.out.println(); -// System.out.print(String.format("%04d", ii) + " "); -// doComma = false; -// } else if ((ii - start1) % 10 == 0) { -// System.out.print(" " + String.format("%04d", ii) + " "); -// doComma = false; -// } -// } -// System.out.println(); -// } -// -// private static String format(short last) { -// if (last >= 'A' && last <= 'Z') { -// return Short.toString(last); -// } -// return String.format("0x%04x", (int) last); -// } -// -// private static String format(short last, boolean highlight) { -// return highlight ? "/" + format(last) + "/" : format(last); -// } -// -// private static String format(long last) { -// return String.format("0x%04d", last); -// } + // private static void doCheck(Chunk.LongChunk valuesToPermute, Chunk.ShortChunk valuesToSort, int startCheck, int + // mergeEnd) { + // short lastCheck; + // lastCheck = valuesToSort.get(startCheck); + // for (int jj = startCheck + 1; jj < mergeEnd; ++jj) { + // final short newCheck = valuesToSort.get(jj); + // if (newCheck < lastCheck) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad loop at " + jj); + // throw new IllegalStateException(); + // } + // else if (newCheck == lastCheck) { + // if (valuesToPermute.get(jj) < valuesToPermute.get(jj - 1)) { + // dumpValues(valuesToSort, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // dumpKeys(valuesToPermute, startCheck, mergeEnd - startCheck, "Bad index loop at " + jj); + // throw new IllegalStateException(); + // } + // } + // lastCheck = newCheck; + // } + // final StackTraceElement [] calls = new Exception().getStackTrace(); + // System.out.println("CHECK OK at " + calls[1]); + // System.out.println(); + // } + + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, int start2, int length2, + // String msg) { + // System.out.println(msg + " merge (" + start1 + ", " + length1 + ") -> (" + start2 + ", " + length2 + ")"); + // short last = valuesToSort.get(start1); + // System.out.print("[" + format(last)); + // for (int ii = start1 + 1; ii < start2 + length2; ++ii) { + // final short current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print(", " + last); + // } + // System.out.println("]"); + // } + + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg) { + // dumpValues(valuesToSort, start1, length1, msg, -1); + // } + // + // private static void dumpValues(Chunk.ShortChunk valuesToSort, int start1, int length1, String msg, int highlight) + // { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // short last = valuesToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last, highlight == start1)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // final short current = valuesToSort.get(ii); + // if (current < last) { + // System.out.println("****"); + // } + // last = current; + // System.out.print((doComma ? ", " : "") + format(last, highlight == ii)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // private static void dumpKeys(Chunk.LongChunk keysToSort, int start1, int length1, String msg) { + // System.out.println(msg + " (" + start1 + ", " + length1 + ")"); + // long last = keysToSort.get(start1); + // System.out.print(String.format("%04d", start1) + " "); + // + // System.out.print(format(last)); + // boolean doComma = true; + // for (int ii = start1 + 1; ii < start1 + length1; ) { + // last = keysToSort.get(ii); + // System.out.print((doComma ? ", " : "") + format(last)); + // doComma = true; + // ++ii; + // if ((ii - start1) % 20 == 0) { + // System.out.println(); + // System.out.print(String.format("%04d", ii) + " "); + // doComma = false; + // } else if ((ii - start1) % 10 == 0) { + // System.out.print(" " + String.format("%04d", ii) + " "); + // doComma = false; + // } + // } + // System.out.println(); + // } + // + // private static String format(short last) { + // if (last >= 'A' && last <= 'Z') { + // return Short.toString(last); + // } + // return String.format("0x%04x", (int) last); + // } + // + // private static String format(short last, boolean highlight) { + // return highlight ? "/" + format(last) + "/" : format(last); + // } + // + // private static String format(long last) { + // return String.format("0x%04d", last); + // } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortTimsortDescendingKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortTimsortDescendingKernel.java index 68dd2aa3e28..cf367248240 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortTimsortDescendingKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortTimsortDescendingKernel.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTimsortDescendingKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortTimsortDescendingKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.ShortChunk; @@ -18,8 +18,8 @@ /** * This implements a timsort kernel for Shorts. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class ShortTimsortDescendingKernel { private ShortTimsortDescendingKernel() { @@ -30,8 +30,8 @@ private ShortTimsortDescendingKernel() { public static class ShortSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableShortChunk temporaryValues; private ShortSortKernelContext(int size) { @@ -58,9 +58,9 @@ public static ShortSortKernelContext createContext(int /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final ShortSortKernelContext context, @@ -109,7 +109,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -183,22 +184,45 @@ static boolean leq(short lhs, short rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final ShortSortKernelContext context, @@ -254,8 +278,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -279,11 +303,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -312,8 +338,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -345,7 +370,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -417,8 +443,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -450,14 +475,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -548,7 +575,7 @@ private static int bound( int hi, final short searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -569,9 +596,10 @@ private static void insertionSort( final WritableShortChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortTimsortKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortTimsortKernel.java index 0064088d5a6..25123f73986 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortTimsortKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/ShortTimsortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTimsortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTimsortKernel and run "./gradlew replicateSortKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.ShortChunk; @@ -18,8 +17,8 @@ /** * This implements a timsort kernel for Shorts. *

- * Python and Wikipedia do a decent job of describing - * the algorithm. + * Python and + * Wikipedia do a decent job of describing the algorithm. */ public class ShortTimsortKernel { private ShortTimsortKernel() { @@ -30,8 +29,8 @@ private ShortTimsortKernel() { public static class ShortSortKernelContext implements Context { int minGallop; int runCount = 0; - private final int [] runStarts; - private final int [] runLengths; + private final int[] runStarts; + private final int[] runLengths; private final WritableShortChunk temporaryValues; private ShortSortKernelContext(int size) { @@ -58,9 +57,9 @@ public static ShortSortKernelContext createContext(int /** * Sort the values in valuesToSort permuting the indexKeys chunk in the same way. *

- * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length - * of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer - * runs sorted on each pass. + * The offsetsIn chunk is contains the offset of runs to sort in indexKeys; and the lengthsIn contains the length of + * the runs. This allows the kernel to be used for a secondary column sort, chaining it together with fewer runs + * sorted on each pass. */ public static void sort( final ShortSortKernelContext context, @@ -109,7 +108,8 @@ static private void timSort( endRun++; } } else { - // search for a strictly descending run; we can not have any equal values, or we will break the sort's stability guarantee + // search for a strictly descending run; we can not have any equal values, or we will break the + // sort's stability guarantee current = next; while (endRun < length && lt(next = valuesToSort.get(endRun), current)) { current = next; @@ -182,22 +182,45 @@ static boolean leq(short lhs, short rhs) { } /** - *

There are two merge invariants that we must preserve, quoting from Wikipedia:

+ *

+ * There are two merge invariants that we must preserve, quoting from Wikipedia: + *

* - *

Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns being to maintain stability and merge balance.

+ *

+ * Concurrently with the search for runs, the runs are merged with mergesort. Except where Timsort tries to optimise + * for merging disjoint runs in galloping mode, runs are repeatedly merged two at a time, with the only concerns + * being to maintain stability and merge balance. + *

* - *

Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in the intervening run, violating stability. Further, it would be impossible to recover the order of the equal elements at a later point.

+ *

+ * Stability requires non-consecutive runs are not merged, as elements could be transferred across equal elements in + * the intervening run, violating stability. Further, it would be impossible to recover the order of the equal + * elements at a later point. + *

* - *

In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the invariants: + *

+ * In pursuit of balanced merges, Timsort considers three runs on the top of the stack, X, Y, Z, and maintains the + * invariants: * - *

  • |Z| > |Y| + |X|
  • - *
  • |Y| > |X|
+ *
    + *
  • |Z| > |Y| + |X|
  • + *
  • |Y| > |X|
  • + *
* - * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once the invariants hold, the next run is formed.

+ * If the invariants are violated, Y is merged with the smaller of X or Z and the invariants are checked again. Once + * the invariants hold, the next run is formed. + *

* - *

Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and also making merge decisions relatively simple.

+ *

+ * Somewhat inappreciably, the invariants maintain merges as being approximately balanced while maintaining a + * compromise between delaying merging for balance, and exploiting fresh occurrence of runs in cache memory, and + * also making merge decisions relatively simple. + *

* - *

On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one run of the entire data remains.

+ *

+ * On reaching the end of the data, Timsort repeatedly merges the two runs on the top of the stack, until only one + * run of the entire data remains. + *

*/ private static void ensureMergeInvariants( final ShortSortKernelContext context, @@ -253,8 +276,8 @@ private static void merge( final int length1, final int length2) { // we know that we can never have zero length runs, because there is a minimum run size enforced; and at the - // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus - // they'll never be empty. I'm being cheap about function calls and control flow here. + // end of an input, we won't create a zero-length run. When we merge runs, they only become bigger, thus + // they'll never be empty. I'm being cheap about function calls and control flow here. // Assert.gtZero(length1, "length1"); // Assert.gtZero(length2, "length2"); @@ -278,11 +301,13 @@ private static void merge( if (remaining1 < remaining2) { copyToTemporary(context, valuesToSort, mergeStartPosition, remaining1); - // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because we've preserved all the values of run1 + // now we need to do the merge from temporary and remaining2 into remaining1 (so start at the front, because + // we've preserved all the values of run1 frontMerge(context, valuesToSort, mergeStartPosition, start2, remaining2); } else { copyToTemporary(context, valuesToSort, start2, remaining2); - // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the back, because we've preserved all the values of run2) + // now we need to do the merge from temporary and remaining1 into the remaining two area (so start at the + // back, because we've preserved all the values of run2) backMerge(context, valuesToSort, mergeStartPosition, remaining1); } } @@ -311,8 +336,7 @@ private static void frontMerge( ii = mergeStartPosition; - nodataleft: - while (ii < mergeEndExclusive) { + nodataleft: while (ii < mergeEndExclusive) { int run1wins = 0; int run2wins = 0; @@ -344,7 +368,8 @@ private static void frontMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii < mergeEndExclusive) { // if we had a lot of things from run1, we take the next thing from run2 then find it in run1 final int copyUntil1 = upperBound(context.temporaryValues, tempCursor, run1size, val2); @@ -416,8 +441,7 @@ private static void backMerge( final int mergeEnd = mergeStartPosition + mergeLength; ii = mergeEnd - 1; - nodataleft: - while (ii >= mergeStartPosition) { + nodataleft: while (ii >= mergeStartPosition) { int run1wins = 0; int run2wins = 0; @@ -449,14 +473,16 @@ private static void backMerge( } } - // we are in galloping mode now, if we had run out of data then we should have already bailed out to nodataleft + // we are in galloping mode now, if we had run out of data then we should have already bailed out to + // nodataleft while (ii >= mergeStartPosition) { // if we had a lot of things from run2, we take the next thing from run1 then find it in run2 final int copyUntil2 = lowerBound(context.temporaryValues, 0, tempCursor, val1) + 1; final int gallopLength2 = tempCursor - copyUntil2 + 1; if (gallopLength2 > 0) { - copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, gallopLength2); + copyToChunk(context.temporaryValues, valuesToSort, copyUntil2, ii - gallopLength2 + 1, + gallopLength2); tempCursor -= gallopLength2; ii -= gallopLength2; @@ -547,7 +573,7 @@ private static int bound( int hi, final short searchValue, final boolean lower) { - final int compareLimit = lower ? -1 : 0; // lt or leq + final int compareLimit = lower ? -1 : 0; // lt or leq while (lo < hi) { final int mid = (lo + hi) >>> 1; @@ -568,9 +594,10 @@ private static void insertionSort( final WritableShortChunk valuesToSort, final int offset, final int length) { - // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be combined up to 256) + // this could eventually be done with intrinsics (AVX 512/64 bits for byte keys == 16 elements, and can be + // combined up to 256) for (int ii = offset + 1; ii < offset + length; ++ii) { - for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { + for (int jj = ii; jj > offset && gt(valuesToSort.get(jj - 1), valuesToSort.get(jj)); jj--) { swap(valuesToSort, jj, jj - 1); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/TimsortUtils.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/TimsortUtils.java index 99e24855859..1848283ae50 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/TimsortUtils.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sort/timsort/TimsortUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.timsort; public class TimsortUtils { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ByteReverseSortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ByteReverseSortCheck.java index f71e44e4b01..79cb6a1941d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ByteReverseSortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ByteReverseSortCheck.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortCheck and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ByteReverseSortCheck and run "./gradlew replicateSortCheck" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sortcheck; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ByteSortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ByteSortCheck.java index d73f4c58c60..6d8ece4c78e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ByteSortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ByteSortCheck.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortCheck and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSortCheck and run "./gradlew replicateSortCheck" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sortcheck; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/CharReverseSortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/CharReverseSortCheck.java index 53d62a61cea..76fd4c8e774 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/CharReverseSortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/CharReverseSortCheck.java @@ -1,6 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharReverseSortCheck and run "./gradlew replicateSortCheck" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sortcheck; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/CharSortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/CharSortCheck.java index 89de100e608..5fd63081bc6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/CharSortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/CharSortCheck.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sortcheck; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/DoubleReverseSortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/DoubleReverseSortCheck.java index 6226dea4349..3cfa3621378 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/DoubleReverseSortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/DoubleReverseSortCheck.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortCheck and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DoubleReverseSortCheck and run "./gradlew replicateSortCheck" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sortcheck; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/DoubleSortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/DoubleSortCheck.java index f9e8d7dcab8..0113d1fc535 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/DoubleSortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/DoubleSortCheck.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortCheck and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSortCheck and run "./gradlew replicateSortCheck" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sortcheck; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/FloatReverseSortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/FloatReverseSortCheck.java index 8d60250baa1..a114a505848 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/FloatReverseSortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/FloatReverseSortCheck.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortCheck and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatReverseSortCheck and run "./gradlew replicateSortCheck" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sortcheck; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/FloatSortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/FloatSortCheck.java index d72a50e0d85..d818116f283 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/FloatSortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/FloatSortCheck.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortCheck and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSortCheck and run "./gradlew replicateSortCheck" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sortcheck; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/IntReverseSortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/IntReverseSortCheck.java index 9abc538e4b5..adee5bc51a1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/IntReverseSortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/IntReverseSortCheck.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortCheck and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntReverseSortCheck and run "./gradlew replicateSortCheck" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sortcheck; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/IntSortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/IntSortCheck.java index 417ebc18aee..e335e2b40f6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/IntSortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/IntSortCheck.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortCheck and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSortCheck and run "./gradlew replicateSortCheck" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sortcheck; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/LongReverseSortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/LongReverseSortCheck.java index a8fcb2e8a38..2354192802a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/LongReverseSortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/LongReverseSortCheck.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortCheck and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit LongReverseSortCheck and run "./gradlew replicateSortCheck" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sortcheck; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/LongSortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/LongSortCheck.java index 194687b08b6..9c71385aa21 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/LongSortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/LongSortCheck.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortCheck and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSortCheck and run "./gradlew replicateSortCheck" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sortcheck; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ObjectReverseSortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ObjectReverseSortCheck.java index ccf527860e4..ae08133c625 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ObjectReverseSortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ObjectReverseSortCheck.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortCheck and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ObjectReverseSortCheck and run "./gradlew replicateSortCheck" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sortcheck; import java.util.Objects; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ObjectSortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ObjectSortCheck.java index d95025195d4..7610b5f4132 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ObjectSortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ObjectSortCheck.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortCheck and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSortCheck and run "./gradlew replicateSortCheck" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sortcheck; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ShortReverseSortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ShortReverseSortCheck.java index b5fb0f3da56..c15a61488aa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ShortReverseSortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ShortReverseSortCheck.java @@ -1,11 +1,11 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortCheck and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortReverseSortCheck and run "./gradlew replicateSortCheck" to regenerate +// +// @formatter:off + package io.deephaven.engine.table.impl.sortcheck; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ShortSortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ShortSortCheck.java index 13e1d8f12c9..fef32cb9716 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ShortSortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/ShortSortCheck.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortCheck and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSortCheck and run "./gradlew replicateSortCheck" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sortcheck; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/SortCheck.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/SortCheck.java index a9f92798c93..ccbb8ce84ec 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/SortCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sortcheck/SortCheck.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sortcheck; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/AbstractDeferredGroupingColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/AbstractDeferredGroupingColumnSource.java index 0448b421eb1..f926d87edde 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/AbstractDeferredGroupingColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/AbstractDeferredGroupingColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.base.Pair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ArrayBackedColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ArrayBackedColumnSource.java index f3799952ec8..afccc52cb1f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ArrayBackedColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ArrayBackedColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.impl.DefaultGetContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ArraySourceHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ArraySourceHelper.java index 574b50c6981..98334070007 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ArraySourceHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ArraySourceHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import gnu.trove.list.array.TIntArrayList; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BitMaskingColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BitMaskingColumnSource.java index 528b9c3a0e9..59af23361c2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BitMaskingColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BitMaskingColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.SharedContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BitShiftingColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BitShiftingColumnSource.java index 45751d80a32..1a9b180eda2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BitShiftingColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BitShiftingColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.attributes.ChunkLengths; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BooleanArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BooleanArraySource.java index fff05e16d92..f7a5760fe24 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BooleanArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BooleanArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import gnu.trove.list.array.TIntArrayList; @@ -24,9 +24,11 @@ import static io.deephaven.util.BooleanUtils.NULL_BOOLEAN_AS_BYTE; /** - * TODO: Re-implement this with better compression (only need 2 bits per value, or we can pack 5 values into 1 byte if we're feeling fancy). + * TODO: Re-implement this with better compression (only need 2 bits per value, or we can pack 5 values into 1 byte if + * we're feeling fancy). */ -public class BooleanArraySource extends ArraySourceHelper implements MutableColumnSourceGetDefaults.ForBoolean { +public class BooleanArraySource extends ArraySourceHelper + implements MutableColumnSourceGetDefaults.ForBoolean { private static final SoftRecycler recycler = new SoftRecycler<>(1024, () -> new byte[BLOCK_SIZE], null); private byte[][] blocks; @@ -246,7 +248,8 @@ Object getPrevBlock(int blockIndex) { } @Override - protected void fillSparseChunk(@NotNull final WritableChunk destGeneric, @NotNull final RowSequence indices) { + protected void fillSparseChunk(@NotNull final WritableChunk destGeneric, + @NotNull final RowSequence indices) { if (indices.size() == 0) { destGeneric.setSize(0); return; @@ -258,7 +261,8 @@ protected void fillSparseChunk(@NotNull final WritableChunk dest if (v > maxIndex) { dest.set(ctx.offset++, null); return; - } ctx.currentBlockNo = getBlockNo(v); + } + ctx.currentBlockNo = getBlockNo(v); ctx.capForCurrentBlock = (ctx.currentBlockNo + 1L) << LOG_BLOCK_SIZE; ctx.currentBlock = blocks[ctx.currentBlockNo]; } @@ -268,7 +272,8 @@ protected void fillSparseChunk(@NotNull final WritableChunk dest } @Override - protected void fillSparsePrevChunk(@NotNull final WritableChunk destGeneric, @NotNull final RowSequence indices) { + protected void fillSparsePrevChunk(@NotNull final WritableChunk destGeneric, + @NotNull final RowSequence indices) { final long sz = indices.size(); if (sz == 0) { destGeneric.setSize(0); @@ -298,15 +303,18 @@ protected void fillSparsePrevChunk(@NotNull final WritableChunk final int indexWithinBlock = (int) (v & INDEX_MASK); final int indexWithinInUse = indexWithinBlock >> LOG_INUSE_BITSET_SIZE; final long maskWithinInUse = 1L << (indexWithinBlock & IN_USE_MASK); - final boolean usePrev = ctx.prevInUseBlock != null && (ctx.prevInUseBlock[indexWithinInUse] & maskWithinInUse) != 0; - final byte currValue = usePrev ? ctx.currentPrevBlock[indexWithinBlock] : ctx.currentBlock[indexWithinBlock]; + final boolean usePrev = + ctx.prevInUseBlock != null && (ctx.prevInUseBlock[indexWithinInUse] & maskWithinInUse) != 0; + final byte currValue = + usePrev ? ctx.currentPrevBlock[indexWithinBlock] : ctx.currentBlock[indexWithinBlock]; dest.set(ctx.offset++, BooleanUtils.byteAsBoolean(currValue)); }); dest.setSize(ctx.offset); } @Override - protected void fillSparseChunkUnordered(@NotNull final WritableChunk destGeneric, @NotNull final LongChunk indices) { + protected void fillSparseChunkUnordered(@NotNull final WritableChunk destGeneric, + @NotNull final LongChunk indices) { final WritableObjectChunk dest = destGeneric.asWritableObjectChunk(); final int sz = indices.size(); for (int ii = 0; ii < sz; ++ii) { @@ -319,7 +327,7 @@ protected void fillSparseChunkUnordered(@NotNull final WritableChunk= blocks.length) { dest.set(ii, null); } else { - final byte [] currentBlock = blocks[blockNo]; + final byte[] currentBlock = blocks[blockNo]; dest.set(ii, BooleanUtils.byteAsBoolean(currentBlock[(int) (fromIndex & INDEX_MASK)])); } } @@ -327,7 +335,8 @@ protected void fillSparseChunkUnordered(@NotNull final WritableChunk destGeneric, @NotNull final LongChunk indices) { + protected void fillSparsePrevChunkUnordered(@NotNull final WritableChunk destGeneric, + @NotNull final LongChunk indices) { final WritableObjectChunk dest = destGeneric.asWritableObjectChunk(); final int sz = indices.size(); for (int ii = 0; ii < sz; ++ii) { @@ -341,7 +350,7 @@ protected void fillSparsePrevChunkUnordered(@NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillChunk(@NotNull final ColumnSource.FillContext context, + @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { fillSparseChunk(destination, rowSequence); } @@ -371,7 +381,8 @@ public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChu } @Override - public void fillPrevChunk(@NotNull final ColumnSource.FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillPrevChunk(@NotNull final ColumnSource.FillContext context, + @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { fillSparsePrevChunk(destination, rowSequence); } @@ -391,10 +402,12 @@ public boolean allowsReinterpret(@NotNull Class ColumnSource doReinterpret(@NotNull Class alternateDataType) { - //noinspection unchecked + protected ColumnSource doReinterpret( + @NotNull Class alternateDataType) { + // noinspection unchecked return (ColumnSource) new ReinterpretedAsByte(); } + @Override void fillFromChunkByRanges(@NotNull RowSequence rowSequence, Chunk src) { final ObjectChunk chunk = src.asObjectChunk(); @@ -472,7 +485,7 @@ private void fillFromChunkByKeys(@NotNull RowSequence rowSequence, Chunk src, @NotNull LongChunk keys) { + public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull LongChunk keys) { final ObjectChunk chunk = src.asObjectChunk(); fillFromChunkUnordered(src, keys, offset -> BooleanUtils.booleanAsByte(chunk.get(offset))); } - private void fillFromChunkUnordered(@NotNull Chunk src, @NotNull LongChunk keys, Reader reader) { + private void fillFromChunkUnordered(@NotNull Chunk src, @NotNull LongChunk keys, + Reader reader) { if (keys.size() == 0) { return; } - final boolean trackPrevious = prevFlusher != null && ensurePreviousClockCycle != updateGraph.clock().currentStep(); + final boolean trackPrevious = + prevFlusher != null && ensurePreviousClockCycle != updateGraph.clock().currentStep(); if (trackPrevious) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long minKeyInCurrentBlock = firstKey & ~INDEX_MASK; final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; final int block = (int) (firstKey >> LOG_BLOCK_SIZE); - final byte [] inner = blocks[block]; + final byte[] inner = blocks[block]; if (src.isAlias(inner)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -545,7 +561,9 @@ private void fillFromChunkUnordered(@NotNull Chunk src, @NotNu } } - private class ReinterpretedAsByte extends AbstractColumnSource implements MutableColumnSourceGetDefaults.ForByte, FillUnordered, WritableColumnSource, WritableSourceWithPrepareForParallelPopulation { + private class ReinterpretedAsByte extends AbstractColumnSource + implements MutableColumnSourceGetDefaults.ForByte, FillUnordered, WritableColumnSource, + WritableSourceWithPrepareForParallelPopulation { private ReinterpretedAsByte() { super(byte.class); } @@ -571,12 +589,14 @@ public boolean allowsReinterpret(@NotNull Class ColumnSource doReinterpret(@NotNull Class alternateDataType) { - //noinspection unchecked + protected ColumnSource doReinterpret( + @NotNull Class alternateDataType) { + // noinspection unchecked return (ColumnSource) BooleanArraySource.this; } - protected void fillSparseChunk(@NotNull final WritableChunk destGeneric, @NotNull final RowSequence indices) { + protected void fillSparseChunk(@NotNull final WritableChunk destGeneric, + @NotNull final RowSequence indices) { if (indices.size() == 0) { destGeneric.setSize(0); return; @@ -598,7 +618,8 @@ protected void fillSparseChunk(@NotNull final WritableChunk dest dest.setSize(ctx.offset); } - protected void fillSparsePrevChunk(@NotNull final WritableChunk destGeneric, @NotNull final RowSequence indices) { + protected void fillSparsePrevChunk(@NotNull final WritableChunk destGeneric, + @NotNull final RowSequence indices) { final long sz = indices.size(); if (sz == 0) { destGeneric.setSize(0); @@ -628,14 +649,17 @@ protected void fillSparsePrevChunk(@NotNull final WritableChunk final int indexWithinBlock = (int) (v & INDEX_MASK); final int indexWithinInUse = indexWithinBlock >> LOG_INUSE_BITSET_SIZE; final long maskWithinInUse = 1L << (indexWithinBlock & IN_USE_MASK); - final boolean usePrev = ctx.prevInUseBlock != null && (ctx.prevInUseBlock[indexWithinInUse] & maskWithinInUse) != 0; - final byte currValue = usePrev ? ctx.currentPrevBlock[indexWithinBlock] : ctx.currentBlock[indexWithinBlock]; + final boolean usePrev = + ctx.prevInUseBlock != null && (ctx.prevInUseBlock[indexWithinInUse] & maskWithinInUse) != 0; + final byte currValue = + usePrev ? ctx.currentPrevBlock[indexWithinBlock] : ctx.currentBlock[indexWithinBlock]; dest.set(ctx.offset++, currValue); }); dest.setSize(ctx.offset); } - protected void fillSparseChunkUnordered(@NotNull final WritableChunk destGeneric, @NotNull final LongChunk indices) { + protected void fillSparseChunkUnordered(@NotNull final WritableChunk destGeneric, + @NotNull final LongChunk indices) { final WritableByteChunk dest = destGeneric.asWritableByteChunk(); final int sz = indices.size(); for (int ii = 0; ii < sz; ++ii) { @@ -648,14 +672,15 @@ protected void fillSparseChunkUnordered(@NotNull final WritableChunk= blocks.length) { dest.set(ii, NULL_BOOLEAN_AS_BYTE); } else { - final byte [] currentBlock = blocks[blockNo]; + final byte[] currentBlock = blocks[blockNo]; dest.set(ii, currentBlock[(int) (fromIndex & INDEX_MASK)]); } } dest.setSize(sz); } - protected void fillSparsePrevChunkUnordered(@NotNull final WritableChunk destGeneric, @NotNull final LongChunk indices) { + protected void fillSparsePrevChunkUnordered(@NotNull final WritableChunk destGeneric, + @NotNull final LongChunk indices) { final WritableByteChunk dest = destGeneric.asWritableByteChunk(); final int sz = indices.size(); for (int ii = 0; ii < sz; ++ii) { @@ -669,29 +694,35 @@ protected void fillSparsePrevChunkUnordered(@NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillChunk(@NotNull final ColumnSource.FillContext context, + @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { fillSparseChunk(destination, rowSequence); } @Override - public void fillPrevChunk(@NotNull final ColumnSource.FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillPrevChunk(@NotNull final ColumnSource.FillContext context, + @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { fillSparsePrevChunk(destination, rowSequence); } @Override - public void fillChunkUnordered(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final LongChunk keyIndices) { + public void fillChunkUnordered(@NotNull final FillContext context, + @NotNull final WritableChunk destination, + @NotNull final LongChunk keyIndices) { fillSparseChunkUnordered(destination, keyIndices); } @Override - public void fillPrevChunkUnordered(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final LongChunk keyIndices) { + public void fillPrevChunkUnordered(@NotNull final FillContext context, + @NotNull final WritableChunk destination, + @NotNull final LongChunk keyIndices) { fillSparsePrevChunkUnordered(destination, keyIndices); } @@ -722,7 +753,7 @@ public FillFromContext makeFillFromContext(int chunkCapacity) { @Override public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, - @NotNull RowSequence rowSequence) { + @NotNull RowSequence rowSequence) { final ByteChunk chunk = src.asByteChunk(); if (rowSequence.getAverageRunLengthEstimate() < USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByKeys(rowSequence, src, chunk::get); @@ -732,7 +763,8 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull LongChunk keys) { + public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull LongChunk keys) { final ByteChunk chunk = src.asByteChunk(); BooleanArraySource.this.fillFromChunkUnordered(src, keys, chunk::get); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BooleanAsByteColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BooleanAsByteColumnSource.java index c57051b0e3f..c2ea4b94eb9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BooleanAsByteColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BooleanAsByteColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.SharedContext; @@ -16,7 +16,8 @@ /** * Reinterpret result {@link ColumnSource} implementations that translates {@link Boolean} to {@code byte} values. */ -public class BooleanAsByteColumnSource extends AbstractColumnSource implements MutableColumnSourceGetDefaults.ForByte { +public class BooleanAsByteColumnSource extends AbstractColumnSource + implements MutableColumnSourceGetDefaults.ForByte { private final ColumnSource alternateColumnSource; @@ -41,13 +42,15 @@ public boolean isImmutable() { } @Override - public boolean allowsReinterpret(@NotNull final Class alternateDataType) { + public boolean allowsReinterpret( + @NotNull final Class alternateDataType) { return alternateDataType == Boolean.class; } @Override - public ColumnSource doReinterpret(@NotNull final Class alternateDataType) throws IllegalArgumentException { - //noinspection unchecked + public ColumnSource doReinterpret( + @NotNull final Class alternateDataType) throws IllegalArgumentException { + // noinspection unchecked return (ColumnSource) alternateColumnSource; } @@ -70,20 +73,25 @@ public FillContext makeFillContext(final int chunkCapacity, final SharedContext } @Override - public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, + @NotNull final RowSequence rowSequence) { final UnboxedFillContext unboxedFillContext = (UnboxedFillContext) context; - final ObjectChunk booleanObjectChunk = alternateColumnSource.getChunk(unboxedFillContext.alternateGetContext, rowSequence).asObjectChunk(); + final ObjectChunk booleanObjectChunk = + alternateColumnSource.getChunk(unboxedFillContext.alternateGetContext, rowSequence).asObjectChunk(); convertToByte(destination, booleanObjectChunk); } @Override - public void fillPrevChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillPrevChunk(@NotNull final FillContext context, + @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { final UnboxedFillContext unboxedFillContext = (UnboxedFillContext) context; - final ObjectChunk booleanObjectChunk = alternateColumnSource.getPrevChunk(unboxedFillContext.alternateGetContext, rowSequence).asObjectChunk(); + final ObjectChunk booleanObjectChunk = + alternateColumnSource.getPrevChunk(unboxedFillContext.alternateGetContext, rowSequence).asObjectChunk(); convertToByte(destination, booleanObjectChunk); } - private static void convertToByte(@NotNull final WritableChunk destination, @NotNull final ObjectChunk booleanObjectChunk) { + private static void convertToByte(@NotNull final WritableChunk destination, + @NotNull final ObjectChunk booleanObjectChunk) { final WritableByteChunk byteDestination = destination.asWritableByteChunk(); for (int ii = 0; ii < booleanObjectChunk.size(); ++ii) { byteDestination.set(ii, BooleanUtils.booleanAsByte(booleanObjectChunk.get(ii))); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BooleanSingleValueSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BooleanSingleValueSource.java index d763de7cea6..2fb806c5b6b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BooleanSingleValueSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BooleanSingleValueSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterSingleValueSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterSingleValueSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.ObjectChunk; @@ -31,7 +30,8 @@ * * (C-haracter is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ -public class BooleanSingleValueSource extends SingleValueColumnSource implements MutableColumnSourceGetDefaults.ForBoolean { +public class BooleanSingleValueSource extends SingleValueColumnSource + implements MutableColumnSourceGetDefaults.ForBoolean { private Boolean current; private transient Boolean prev; @@ -89,7 +89,8 @@ public final Boolean getPrev(long rowKey) { } @Override - public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.size() == 0) { return; } @@ -99,7 +100,8 @@ public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk } @Override - public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull LongChunk keys) { + public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull LongChunk keys) { if (keys.size() == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BooleanSparseArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BooleanSparseArraySource.java index 4366dbfcff3..7e7def2fe7a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BooleanSparseArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/BooleanSparseArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterSparseArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterSparseArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.impl.AbstractColumnSource; @@ -78,9 +77,9 @@ public class BooleanSparseArraySource extends SparseArrayColumnSource /** * Our previous page table could be very sparse, and we do not want to read through millions of nulls to find out - * what blocks to recycle. Instead we maintain a list of blocks that we have allocated (as the key shifted by - * BLOCK0_SHIFT). We recycle those blocks in the PrevFlusher; and accumulate the set of blocks that must be - * recycled from the next level array, and so on until we recycle the top-level prevBlocks and prevInUse arrays. + * what blocks to recycle. Instead we maintain a list of blocks that we have allocated (as the key shifted by + * BLOCK0_SHIFT). We recycle those blocks in the PrevFlusher; and accumulate the set of blocks that must be recycled + * from the next level array, and so on until we recycle the top-level prevBlocks and prevInUse arrays. */ private transient final TLongArrayList blocksToFlush = new TLongArrayList(); @@ -102,7 +101,7 @@ public void ensureCapacity(long capacity, boolean nullFill) { // region setNull @Override public void setNull(long key) { - final byte [] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); + final byte[] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); if (blocks2 == null) { return; } @@ -111,7 +110,7 @@ public void setNull(long key) { return; } - final byte [] prevBlocksInner = shouldRecordPrevious(key); + final byte[] prevBlocksInner = shouldRecordPrevious(key); if (prevBlocksInner != null) { prevBlocksInner[indexWithinBlock] = blocks2[indexWithinBlock]; } @@ -126,8 +125,8 @@ public final void set(long key, byte value) { final int block2 = (int) (key >> BLOCK2_SHIFT) & BLOCK2_MASK; final int indexWithinBlock = (int) (key & INDEX_MASK); - final byte [] blocksInner = ensureBlock(block0, block1, block2); - final byte [] prevBlocksInner = shouldRecordPrevious(key); + final byte[] blocksInner = ensureBlock(block0, block1, block2); + final byte[] prevBlocksInner = shouldRecordPrevious(key); if (prevBlocksInner != null) { prevBlocksInner[indexWithinBlock] = blocksInner[indexWithinBlock]; } @@ -136,7 +135,8 @@ public final void set(long key, byte value) { @Override public void shift(final RowSet keysToShift, final long shiftDelta) { - final RowSet.SearchIterator it = (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); + final RowSet.SearchIterator it = + (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); it.forEachLong((i) -> { set(i + shiftDelta, getBoolean(i)); setNull(i); @@ -184,18 +184,18 @@ public final byte getPrevByte(long rowKey) { } private byte getByteFromBlock(ByteOneOrN.Block0 blocks, long key) { - final byte [] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); + final byte[] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); if (blocks2 == null) { return NULL_BOOLEAN_AS_BYTE; } - return blocks2[(int)(key & INDEX_MASK)]; + return blocks2[(int) (key & INDEX_MASK)]; } // endregion primitive get // region allocateNullFilledBlock @SuppressWarnings("SameParameterValue") - final byte [] allocateNullFilledBlock(int size) { - final byte [] newBlock = new byte[size]; + final byte[] allocateNullFilledBlock(int size) { + final byte[] newBlock = new byte[size]; Arrays.fill(newBlock, NULL_BOOLEAN_AS_BYTE); return newBlock; } @@ -203,9 +203,10 @@ private byte getByteFromBlock(ByteOneOrN.Block0 blocks, long key) { /** * Make sure that we have an allocated block at the given point, allocating all of the required parents. + * * @return {@code blocks.get(block0).get(block1).get(block2)}, which is non-null. */ - byte [] ensureBlock(final int block0, final int block1, final int block2) { + byte[] ensureBlock(final int block0, final int block1, final int block2) { blocks.ensureIndex(block0, null); ByteOneOrN.Block1 blocks0 = blocks.get(block0); if (blocks0 == null) { @@ -217,7 +218,7 @@ private byte getByteFromBlock(ByteOneOrN.Block0 blocks, long key) { blocks0.set(block1, blocks1 = new ByteOneOrN.Block2()); } - byte [] result = blocks1.get(block2); + byte[] result = blocks1.get(block2); if (result == null) { blocks1.ensureIndex(block2, null); // we do not use the recycler here, because the recycler need not sanitize the block (the inUse recycling @@ -231,9 +232,10 @@ private byte getByteFromBlock(ByteOneOrN.Block0 blocks, long key) { /** * Make sure that we have an allocated previous and inuse block at the given point, allocating all of the required * parents. + * * @return {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. */ - private byte [] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { + private byte[] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { if (prevBlocks == null) { prevBlocks = new ByteOneOrN.Block0(); prevInUse = new LongOneOrN.Block0(); @@ -324,7 +326,7 @@ private void commitUpdates() { final ByteOneOrN.Block2 blocks1 = localPrevBlocks.get(block0).get(block1); final LongOneOrN.Block2 inUse1 = localPrevInUse.get(block0).get(block1); - final byte [] pb = blocks1.get(block2); + final byte[] pb = blocks1.get(block2); final long[] inuse = inUse1.get(block2); inUse1.set(block2, null); @@ -389,13 +391,14 @@ private void commitUpdates() { } /** - * Decides whether to record the previous value. - * @param key the row key to record - * @return If the caller should record the previous value, returns prev inner block, the value - * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller should not - * record values), returns null. - */ - final byte [] shouldRecordPrevious(final long key) { + * Decides whether to record the previous value. + * + * @param key the row key to record + * @return If the caller should record the previous value, returns prev inner block, the value + * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller + * should not record values), returns null. + */ + final byte[] shouldRecordPrevious(final long key) { if (!shouldTrackPrevious()) { return null; } @@ -471,8 +474,9 @@ public void prepareForParallelPopulation(final RowSequence changedRows) { /** * This method supports the 'getPrev' method for its inheritors, doing some of the 'inUse' housekeeping that is * common to all inheritors. + * * @return true if the inheritor should return a value from its "prev" data structure; false if it should return a - * value from its "current" data structure. + * value from its "current" data structure. */ private boolean shouldUsePrevious(final long rowKey) { if (prevFlusher == null) { @@ -483,7 +487,7 @@ private boolean shouldUsePrevious(final long rowKey) { return false; } - final long [] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); + final long[] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); if (inUse == null) { return false; } @@ -500,7 +504,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByRanges( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableObjectChunk chunk = dest.asWritableObjectChunk(); // endregion chunkDecl @@ -516,7 +520,7 @@ private boolean shouldUsePrevious(final long rowKey) { if (ctx.block == null) { chunk.fillWithNullValue(ctx.offset, length); } else { - final int sIndexWithinBlock = (int)(firstKey & INDEX_MASK); + final int sIndexWithinBlock = (int) (firstKey & INDEX_MASK); // for the benefit of code generation. final int offset = ctx.offset; final byte[] block = ctx.block; @@ -544,7 +548,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByKeys( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableObjectChunk chunk = dest.asWritableObjectChunk(); // endregion chunkDecl @@ -573,11 +577,11 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableObjectChunk chunk = dest.asWritableObjectChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, NULL_BOOLEAN); @@ -594,7 +598,7 @@ private boolean shouldUsePrevious(final long rowKey) { } lastII = nextII; } - final byte [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final byte[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; @@ -614,11 +618,11 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillPrevByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableObjectChunk chunk = dest.asWritableObjectChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, NULL_BOOLEAN); @@ -636,21 +640,23 @@ private boolean shouldUsePrevious(final long rowKey) { lastII = nextII; } - final byte [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final byte[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; continue; } - final long [] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); - final byte [] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); + final long[] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null + : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); + final byte[] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); while (ii <= lastII) { final int indexWithinBlock = (int) (keys.get(ii) & INDEX_MASK); final int indexWithinInUse = indexWithinBlock >> LOG_INUSE_BITSET_SIZE; final long maskWithinInUse = 1L << (indexWithinBlock & IN_USE_MASK); - final byte[] blockToUse = (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; + final byte[] blockToUse = + (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; // region conversion chunk.set(ii++, blockToUse == null ? NULL_BOOLEAN : BooleanUtils.byteAsBoolean(blockToUse[indexWithinBlock])); // endregion conversion @@ -665,7 +671,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillFromChunkByRanges( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -695,7 +701,7 @@ private boolean shouldUsePrevious(final long rowKey) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final byte [] block = ensureBlock(block0, block1, block2); + final byte[] block = ensureBlock(block0, block1, block2); if (block != knownUnaliasedBlock && chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -741,7 +747,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillFromChunkByKeys( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -756,7 +762,7 @@ private boolean shouldUsePrevious(final long rowKey) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; int lastII = ii; @@ -767,7 +773,7 @@ private boolean shouldUsePrevious(final long rowKey) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final byte [] block = ensureBlock(block0, block1, block2); + final byte[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -823,14 +829,14 @@ void nullByRanges(@NotNull final RowSequence rowSequence) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final byte [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final byte[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { continue; } blockOk.forAllRowKeyRanges((s, e) -> { - final int length = (int)((e - s) + 1); + final int length = (int) ((e - s) + 1); final int sIndexWithinBlock = (int) (s & INDEX_MASK); // This 'if' with its constant condition should be very friendly to the branch predictor. @@ -938,7 +944,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { @NotNull final FillFromContext context, @NotNull final Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { if (keys.size() == 0) { return; } @@ -952,7 +958,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long minKeyInCurrentBlock = firstKey & ~INDEX_MASK; final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; @@ -960,7 +966,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final byte [] block = ensureBlock(block0, block1, block2); + final byte[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ByteArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ByteArraySource.java index 9670417fcb4..569500942ce 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ByteArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ByteArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import gnu.trove.list.array.TIntArrayList; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ByteAsBooleanColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ByteAsBooleanColumnSource.java index 5cd84552e19..e690954065f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ByteAsBooleanColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ByteAsBooleanColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.rowset.chunkattributes.RowKeys; @@ -17,7 +17,8 @@ /** * Reinterpret result {@link ColumnSource} implementations that translates {@link byte} to {@code Boolean} values. */ -public class ByteAsBooleanColumnSource extends AbstractColumnSource implements MutableColumnSourceGetDefaults.ForBoolean, FillUnordered { +public class ByteAsBooleanColumnSource extends AbstractColumnSource + implements MutableColumnSourceGetDefaults.ForBoolean, FillUnordered { private final ColumnSource alternateColumnSource; @@ -42,13 +43,15 @@ public boolean isImmutable() { } @Override - public boolean allowsReinterpret(@NotNull final Class alternateDataType) { + public boolean allowsReinterpret( + @NotNull final Class alternateDataType) { return alternateDataType == byte.class || alternateDataType == Byte.class; } @Override - public ColumnSource doReinterpret(@NotNull final Class alternateDataType) throws IllegalArgumentException { - //noinspection unchecked + public ColumnSource doReinterpret( + @NotNull final Class alternateDataType) throws IllegalArgumentException { + // noinspection unchecked return (ColumnSource) alternateColumnSource; } @@ -84,21 +87,27 @@ public FillContext makeFillContext(final int chunkCapacity, final SharedContext } @Override - public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, + @NotNull final RowSequence rowSequence) { final ToBooleanFillContext toBooleanFillContext = (ToBooleanFillContext) context; - final ByteChunk byteChunk = alternateColumnSource.getChunk(toBooleanFillContext.alternateGetContext, rowSequence).asByteChunk(); + final ByteChunk byteChunk = + alternateColumnSource.getChunk(toBooleanFillContext.alternateGetContext, rowSequence).asByteChunk(); convertToBoolean(destination, byteChunk); } @Override - public void fillPrevChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillPrevChunk(@NotNull final FillContext context, + @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { final ToBooleanFillContext toBooleanFillContext = (ToBooleanFillContext) context; - final ByteChunk byteChunk = alternateColumnSource.getPrevChunk(toBooleanFillContext.alternateGetContext, rowSequence).asByteChunk(); + final ByteChunk byteChunk = + alternateColumnSource.getPrevChunk(toBooleanFillContext.alternateGetContext, rowSequence).asByteChunk(); convertToBoolean(destination, byteChunk); } - private static void convertToBoolean(@NotNull final WritableChunk destination, @NotNull final ByteChunk byteChunk) { - final WritableObjectChunk booleanObjectDestination = destination.asWritableObjectChunk(); + private static void convertToBoolean(@NotNull final WritableChunk destination, + @NotNull final ByteChunk byteChunk) { + final WritableObjectChunk booleanObjectDestination = + destination.asWritableObjectChunk(); for (int ii = 0; ii < byteChunk.size(); ++ii) { booleanObjectDestination.set(ii, BooleanUtils.byteAsBoolean(byteChunk.get(ii))); } @@ -111,26 +120,30 @@ public boolean providesFillUnordered() { } @Override - public void fillChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, @NotNull LongChunk keys) { + public void fillChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { final ToBooleanFillContext toBooleanFillContext = (ToBooleanFillContext) context; if (toBooleanFillContext.byteChunk == null) { throw new UnsupportedOperationException("Unordered fill is not supported by this column source!"); } toBooleanFillContext.byteChunk.setSize(keys.size()); // noinspection unchecked - ((FillUnordered) alternateColumnSource).fillChunkUnordered(toBooleanFillContext.alternateFillContext, toBooleanFillContext.byteChunk, keys); + ((FillUnordered) alternateColumnSource).fillChunkUnordered(toBooleanFillContext.alternateFillContext, + toBooleanFillContext.byteChunk, keys); convertToBoolean(dest, toBooleanFillContext.byteChunk); } @Override - public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { final ToBooleanFillContext toBooleanFillContext = (ToBooleanFillContext) context; if (toBooleanFillContext.byteChunk == null) { throw new UnsupportedOperationException("Unordered fill is not supported by this column source!"); } toBooleanFillContext.byteChunk.setSize(keys.size()); // noinspection unchecked - ((FillUnordered) alternateColumnSource).fillPrevChunkUnordered(toBooleanFillContext.alternateFillContext, toBooleanFillContext.byteChunk, keys); + ((FillUnordered) alternateColumnSource).fillPrevChunkUnordered( + toBooleanFillContext.alternateFillContext, toBooleanFillContext.byteChunk, keys); convertToBoolean(dest, toBooleanFillContext.byteChunk); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ByteSingleValueSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ByteSingleValueSource.java index 336af6727b0..c9901f9c044 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ByteSingleValueSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ByteSingleValueSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterSingleValueSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterSingleValueSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableByteChunk; @@ -31,7 +30,8 @@ * * (C-haracter is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ -public class ByteSingleValueSource extends SingleValueColumnSource implements MutableColumnSourceGetDefaults.ForByte { +public class ByteSingleValueSource extends SingleValueColumnSource + implements MutableColumnSourceGetDefaults.ForByte { private byte current; private transient byte prev; @@ -100,7 +100,8 @@ public final byte getPrevByte(long rowKey) { } @Override - public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.size() == 0) { return; } @@ -110,7 +111,8 @@ public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk } @Override - public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull LongChunk keys) { + public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull LongChunk keys) { if (keys.size() == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ByteSparseArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ByteSparseArraySource.java index 092d7aea366..755b22db473 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ByteSparseArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ByteSparseArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterSparseArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterSparseArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.context.ExecutionContext; @@ -72,9 +71,9 @@ public class ByteSparseArraySource extends SparseArrayColumnSource /** * Our previous page table could be very sparse, and we do not want to read through millions of nulls to find out - * what blocks to recycle. Instead we maintain a list of blocks that we have allocated (as the key shifted by - * BLOCK0_SHIFT). We recycle those blocks in the PrevFlusher; and accumulate the set of blocks that must be - * recycled from the next level array, and so on until we recycle the top-level prevBlocks and prevInUse arrays. + * what blocks to recycle. Instead we maintain a list of blocks that we have allocated (as the key shifted by + * BLOCK0_SHIFT). We recycle those blocks in the PrevFlusher; and accumulate the set of blocks that must be recycled + * from the next level array, and so on until we recycle the top-level prevBlocks and prevInUse arrays. */ private transient final TLongArrayList blocksToFlush = new TLongArrayList(); @@ -96,7 +95,7 @@ public void ensureCapacity(long capacity, boolean nullFill) { // region setNull @Override public void setNull(long key) { - final byte [] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); + final byte[] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); if (blocks2 == null) { return; } @@ -105,7 +104,7 @@ public void setNull(long key) { return; } - final byte [] prevBlocksInner = shouldRecordPrevious(key); + final byte[] prevBlocksInner = shouldRecordPrevious(key); if (prevBlocksInner != null) { prevBlocksInner[indexWithinBlock] = blocks2[indexWithinBlock]; } @@ -120,8 +119,8 @@ public final void set(long key, byte value) { final int block2 = (int) (key >> BLOCK2_SHIFT) & BLOCK2_MASK; final int indexWithinBlock = (int) (key & INDEX_MASK); - final byte [] blocksInner = ensureBlock(block0, block1, block2); - final byte [] prevBlocksInner = shouldRecordPrevious(key); + final byte[] blocksInner = ensureBlock(block0, block1, block2); + final byte[] prevBlocksInner = shouldRecordPrevious(key); if (prevBlocksInner != null) { prevBlocksInner[indexWithinBlock] = blocksInner[indexWithinBlock]; } @@ -130,7 +129,8 @@ public final void set(long key, byte value) { @Override public void shift(final RowSet keysToShift, final long shiftDelta) { - final RowSet.SearchIterator it = (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); + final RowSet.SearchIterator it = + (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); it.forEachLong((i) -> { set(i + shiftDelta, getByte(i)); setNull(i); @@ -178,18 +178,18 @@ public final byte getPrevByte(long rowKey) { } private byte getByteFromBlock(ByteOneOrN.Block0 blocks, long key) { - final byte [] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); + final byte[] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); if (blocks2 == null) { return NULL_BYTE; } - return blocks2[(int)(key & INDEX_MASK)]; + return blocks2[(int) (key & INDEX_MASK)]; } // endregion primitive get // region allocateNullFilledBlock @SuppressWarnings("SameParameterValue") - final byte [] allocateNullFilledBlock(int size) { - final byte [] newBlock = new byte[size]; + final byte[] allocateNullFilledBlock(int size) { + final byte[] newBlock = new byte[size]; Arrays.fill(newBlock, NULL_BYTE); return newBlock; } @@ -197,9 +197,10 @@ private byte getByteFromBlock(ByteOneOrN.Block0 blocks, long key) { /** * Make sure that we have an allocated block at the given point, allocating all of the required parents. + * * @return {@code blocks.get(block0).get(block1).get(block2)}, which is non-null. */ - byte [] ensureBlock(final int block0, final int block1, final int block2) { + byte[] ensureBlock(final int block0, final int block1, final int block2) { blocks.ensureIndex(block0, null); ByteOneOrN.Block1 blocks0 = blocks.get(block0); if (blocks0 == null) { @@ -211,7 +212,7 @@ private byte getByteFromBlock(ByteOneOrN.Block0 blocks, long key) { blocks0.set(block1, blocks1 = new ByteOneOrN.Block2()); } - byte [] result = blocks1.get(block2); + byte[] result = blocks1.get(block2); if (result == null) { blocks1.ensureIndex(block2, null); // we do not use the recycler here, because the recycler need not sanitize the block (the inUse recycling @@ -225,9 +226,10 @@ private byte getByteFromBlock(ByteOneOrN.Block0 blocks, long key) { /** * Make sure that we have an allocated previous and inuse block at the given point, allocating all of the required * parents. + * * @return {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. */ - private byte [] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { + private byte[] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { if (prevBlocks == null) { prevBlocks = new ByteOneOrN.Block0(); prevInUse = new LongOneOrN.Block0(); @@ -318,7 +320,7 @@ private void commitUpdates() { final ByteOneOrN.Block2 blocks1 = localPrevBlocks.get(block0).get(block1); final LongOneOrN.Block2 inUse1 = localPrevInUse.get(block0).get(block1); - final byte [] pb = blocks1.get(block2); + final byte[] pb = blocks1.get(block2); final long[] inuse = inUse1.get(block2); inUse1.set(block2, null); @@ -383,13 +385,14 @@ private void commitUpdates() { } /** - * Decides whether to record the previous value. - * @param key the row key to record - * @return If the caller should record the previous value, returns prev inner block, the value - * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller should not - * record values), returns null. - */ - final byte [] shouldRecordPrevious(final long key) { + * Decides whether to record the previous value. + * + * @param key the row key to record + * @return If the caller should record the previous value, returns prev inner block, the value + * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller + * should not record values), returns null. + */ + final byte[] shouldRecordPrevious(final long key) { if (!shouldTrackPrevious()) { return null; } @@ -465,8 +468,9 @@ public void prepareForParallelPopulation(final RowSequence changedRows) { /** * This method supports the 'getPrev' method for its inheritors, doing some of the 'inUse' housekeeping that is * common to all inheritors. + * * @return true if the inheritor should return a value from its "prev" data structure; false if it should return a - * value from its "current" data structure. + * value from its "current" data structure. */ private boolean shouldUsePrevious(final long rowKey) { if (prevFlusher == null) { @@ -477,7 +481,7 @@ private boolean shouldUsePrevious(final long rowKey) { return false; } - final long [] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); + final long[] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); if (inUse == null) { return false; } @@ -494,7 +498,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByRanges( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableByteChunk chunk = dest.asWritableByteChunk(); // endregion chunkDecl @@ -510,7 +514,7 @@ private boolean shouldUsePrevious(final long rowKey) { if (ctx.block == null) { chunk.fillWithNullValue(ctx.offset, length); } else { - final int sIndexWithinBlock = (int)(firstKey & INDEX_MASK); + final int sIndexWithinBlock = (int) (firstKey & INDEX_MASK); // for the benefit of code generation. final int offset = ctx.offset; final byte[] block = ctx.block; @@ -536,7 +540,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByKeys( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableByteChunk chunk = dest.asWritableByteChunk(); // endregion chunkDecl @@ -565,11 +569,11 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableByteChunk chunk = dest.asWritableByteChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, NULL_BYTE); @@ -586,7 +590,7 @@ private boolean shouldUsePrevious(final long rowKey) { } lastII = nextII; } - final byte [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final byte[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; @@ -606,11 +610,11 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillPrevByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableByteChunk chunk = dest.asWritableByteChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, NULL_BYTE); @@ -628,21 +632,23 @@ private boolean shouldUsePrevious(final long rowKey) { lastII = nextII; } - final byte [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final byte[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; continue; } - final long [] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); - final byte [] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); + final long[] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null + : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); + final byte[] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); while (ii <= lastII) { final int indexWithinBlock = (int) (keys.get(ii) & INDEX_MASK); final int indexWithinInUse = indexWithinBlock >> LOG_INUSE_BITSET_SIZE; final long maskWithinInUse = 1L << (indexWithinBlock & IN_USE_MASK); - final byte[] blockToUse = (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; + final byte[] blockToUse = + (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; // region conversion chunk.set(ii++, blockToUse == null ? NULL_BYTE : blockToUse[indexWithinBlock]); // endregion conversion @@ -657,7 +663,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillFromChunkByRanges( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -687,7 +693,7 @@ private boolean shouldUsePrevious(final long rowKey) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final byte [] block = ensureBlock(block0, block1, block2); + final byte[] block = ensureBlock(block0, block1, block2); if (block != knownUnaliasedBlock && chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -731,7 +737,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillFromChunkByKeys( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -746,7 +752,7 @@ private boolean shouldUsePrevious(final long rowKey) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; int lastII = ii; @@ -757,7 +763,7 @@ private boolean shouldUsePrevious(final long rowKey) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final byte [] block = ensureBlock(block0, block1, block2); + final byte[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -813,14 +819,14 @@ void nullByRanges(@NotNull final RowSequence rowSequence) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final byte [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final byte[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { continue; } blockOk.forAllRowKeyRanges((s, e) -> { - final int length = (int)((e - s) + 1); + final int length = (int) ((e - s) + 1); final int sIndexWithinBlock = (int) (s & INDEX_MASK); // This 'if' with its constant condition should be very friendly to the branch predictor. @@ -928,7 +934,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { @NotNull final FillFromContext context, @NotNull final Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { if (keys.size() == 0) { return; } @@ -942,7 +948,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long minKeyInCurrentBlock = firstKey & ~INDEX_MASK; final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; @@ -950,7 +956,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final byte [] block = ensureBlock(block0, block1, block2); + final byte[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/CharacterSingleValueSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/CharacterSingleValueSource.java index 75b1af8ccae..fa8ad54de88 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/CharacterSingleValueSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/CharacterSingleValueSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableCharChunk; @@ -26,7 +26,8 @@ * * (C-haracter is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ -public class CharacterSingleValueSource extends SingleValueColumnSource implements MutableColumnSourceGetDefaults.ForChar { +public class CharacterSingleValueSource extends SingleValueColumnSource + implements MutableColumnSourceGetDefaults.ForChar { private char current; private transient char prev; @@ -95,7 +96,8 @@ public final char getPrevChar(long rowKey) { } @Override - public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.size() == 0) { return; } @@ -105,7 +107,8 @@ public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk } @Override - public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull LongChunk keys) { + public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull LongChunk keys) { if (keys.size() == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/CharacterSparseArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/CharacterSparseArraySource.java index 84ba20330b6..cbdef18da66 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/CharacterSparseArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/CharacterSparseArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.context.ExecutionContext; @@ -67,9 +67,9 @@ public class CharacterSparseArraySource extends SparseArrayColumnSource> BLOCK2_SHIFT) & BLOCK2_MASK; final int indexWithinBlock = (int) (key & INDEX_MASK); - final char [] blocksInner = ensureBlock(block0, block1, block2); - final char [] prevBlocksInner = shouldRecordPrevious(key); + final char[] blocksInner = ensureBlock(block0, block1, block2); + final char[] prevBlocksInner = shouldRecordPrevious(key); if (prevBlocksInner != null) { prevBlocksInner[indexWithinBlock] = blocksInner[indexWithinBlock]; } @@ -125,7 +125,8 @@ public final void set(long key, char value) { @Override public void shift(final RowSet keysToShift, final long shiftDelta) { - final RowSet.SearchIterator it = (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); + final RowSet.SearchIterator it = + (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); it.forEachLong((i) -> { set(i + shiftDelta, getChar(i)); setNull(i); @@ -173,18 +174,18 @@ public final char getPrevChar(long rowKey) { } private char getCharFromBlock(CharOneOrN.Block0 blocks, long key) { - final char [] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); + final char[] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); if (blocks2 == null) { return NULL_CHAR; } - return blocks2[(int)(key & INDEX_MASK)]; + return blocks2[(int) (key & INDEX_MASK)]; } // endregion primitive get // region allocateNullFilledBlock @SuppressWarnings("SameParameterValue") - final char [] allocateNullFilledBlock(int size) { - final char [] newBlock = new char[size]; + final char[] allocateNullFilledBlock(int size) { + final char[] newBlock = new char[size]; Arrays.fill(newBlock, NULL_CHAR); return newBlock; } @@ -192,9 +193,10 @@ private char getCharFromBlock(CharOneOrN.Block0 blocks, long key) { /** * Make sure that we have an allocated block at the given point, allocating all of the required parents. + * * @return {@code blocks.get(block0).get(block1).get(block2)}, which is non-null. */ - char [] ensureBlock(final int block0, final int block1, final int block2) { + char[] ensureBlock(final int block0, final int block1, final int block2) { blocks.ensureIndex(block0, null); CharOneOrN.Block1 blocks0 = blocks.get(block0); if (blocks0 == null) { @@ -206,7 +208,7 @@ private char getCharFromBlock(CharOneOrN.Block0 blocks, long key) { blocks0.set(block1, blocks1 = new CharOneOrN.Block2()); } - char [] result = blocks1.get(block2); + char[] result = blocks1.get(block2); if (result == null) { blocks1.ensureIndex(block2, null); // we do not use the recycler here, because the recycler need not sanitize the block (the inUse recycling @@ -220,9 +222,10 @@ private char getCharFromBlock(CharOneOrN.Block0 blocks, long key) { /** * Make sure that we have an allocated previous and inuse block at the given point, allocating all of the required * parents. + * * @return {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. */ - private char [] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { + private char[] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { if (prevBlocks == null) { prevBlocks = new CharOneOrN.Block0(); prevInUse = new LongOneOrN.Block0(); @@ -313,7 +316,7 @@ private void commitUpdates() { final CharOneOrN.Block2 blocks1 = localPrevBlocks.get(block0).get(block1); final LongOneOrN.Block2 inUse1 = localPrevInUse.get(block0).get(block1); - final char [] pb = blocks1.get(block2); + final char[] pb = blocks1.get(block2); final long[] inuse = inUse1.get(block2); inUse1.set(block2, null); @@ -378,13 +381,14 @@ private void commitUpdates() { } /** - * Decides whether to record the previous value. - * @param key the row key to record - * @return If the caller should record the previous value, returns prev inner block, the value - * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller should not - * record values), returns null. - */ - final char [] shouldRecordPrevious(final long key) { + * Decides whether to record the previous value. + * + * @param key the row key to record + * @return If the caller should record the previous value, returns prev inner block, the value + * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller + * should not record values), returns null. + */ + final char[] shouldRecordPrevious(final long key) { if (!shouldTrackPrevious()) { return null; } @@ -460,8 +464,9 @@ public void prepareForParallelPopulation(final RowSequence changedRows) { /** * This method supports the 'getPrev' method for its inheritors, doing some of the 'inUse' housekeeping that is * common to all inheritors. + * * @return true if the inheritor should return a value from its "prev" data structure; false if it should return a - * value from its "current" data structure. + * value from its "current" data structure. */ private boolean shouldUsePrevious(final long rowKey) { if (prevFlusher == null) { @@ -472,7 +477,7 @@ private boolean shouldUsePrevious(final long rowKey) { return false; } - final long [] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); + final long[] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); if (inUse == null) { return false; } @@ -489,7 +494,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByRanges( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableCharChunk chunk = dest.asWritableCharChunk(); // endregion chunkDecl @@ -505,7 +510,7 @@ private boolean shouldUsePrevious(final long rowKey) { if (ctx.block == null) { chunk.fillWithNullValue(ctx.offset, length); } else { - final int sIndexWithinBlock = (int)(firstKey & INDEX_MASK); + final int sIndexWithinBlock = (int) (firstKey & INDEX_MASK); // for the benefit of code generation. final int offset = ctx.offset; final char[] block = ctx.block; @@ -531,7 +536,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByKeys( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableCharChunk chunk = dest.asWritableCharChunk(); // endregion chunkDecl @@ -560,11 +565,11 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableCharChunk chunk = dest.asWritableCharChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, NULL_CHAR); @@ -581,7 +586,7 @@ private boolean shouldUsePrevious(final long rowKey) { } lastII = nextII; } - final char [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final char[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; @@ -601,11 +606,11 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillPrevByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableCharChunk chunk = dest.asWritableCharChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, NULL_CHAR); @@ -623,21 +628,23 @@ private boolean shouldUsePrevious(final long rowKey) { lastII = nextII; } - final char [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final char[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; continue; } - final long [] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); - final char [] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); + final long[] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null + : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); + final char[] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); while (ii <= lastII) { final int indexWithinBlock = (int) (keys.get(ii) & INDEX_MASK); final int indexWithinInUse = indexWithinBlock >> LOG_INUSE_BITSET_SIZE; final long maskWithinInUse = 1L << (indexWithinBlock & IN_USE_MASK); - final char[] blockToUse = (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; + final char[] blockToUse = + (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; // region conversion chunk.set(ii++, blockToUse == null ? NULL_CHAR : blockToUse[indexWithinBlock]); // endregion conversion @@ -652,7 +659,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillFromChunkByRanges( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -682,7 +689,7 @@ private boolean shouldUsePrevious(final long rowKey) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final char [] block = ensureBlock(block0, block1, block2); + final char[] block = ensureBlock(block0, block1, block2); if (block != knownUnaliasedBlock && chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -726,7 +733,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillFromChunkByKeys( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -741,7 +748,7 @@ private boolean shouldUsePrevious(final long rowKey) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; int lastII = ii; @@ -752,7 +759,7 @@ private boolean shouldUsePrevious(final long rowKey) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final char [] block = ensureBlock(block0, block1, block2); + final char[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -808,14 +815,14 @@ void nullByRanges(@NotNull final RowSequence rowSequence) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final char [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final char[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { continue; } blockOk.forAllRowKeyRanges((s, e) -> { - final int length = (int)((e - s) + 1); + final int length = (int) ((e - s) + 1); final int sIndexWithinBlock = (int) (s & INDEX_MASK); // This 'if' with its constant condition should be very friendly to the branch predictor. @@ -923,7 +930,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { @NotNull final FillFromContext context, @NotNull final Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { if (keys.size() == 0) { return; } @@ -937,7 +944,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long minKeyInCurrentBlock = firstKey & ~INDEX_MASK; final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; @@ -945,7 +952,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final char [] block = ensureBlock(block0, block1, block2); + final char[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ChunkedBackingStoreExposedWritableSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ChunkedBackingStoreExposedWritableSource.java index e0981377575..e9ea7651018 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ChunkedBackingStoreExposedWritableSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ChunkedBackingStoreExposedWritableSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.ResettableWritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ConstituentTableException.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ConstituentTableException.java index a1c62b71bd2..0f08699b82a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ConstituentTableException.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ConstituentTableException.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ContextualizedObjectColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ContextualizedObjectColumnSource.java index a35dc8b6a21..da0d66a7fbe 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ContextualizedObjectColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ContextualizedObjectColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ConvertibleTimeSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ConvertibleTimeSource.java index 0985848e38f..2a24a0f20bc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ConvertibleTimeSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ConvertibleTimeSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/CrossJoinRightColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/CrossJoinRightColumnSource.java index e89bef47be8..c4ec30e3023 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/CrossJoinRightColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/CrossJoinRightColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.rowset.chunkattributes.RowKeys; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DeferredGroupingColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DeferredGroupingColumnSource.java index bc0212528e9..52a8f93e442 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DeferredGroupingColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DeferredGroupingColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DelegatingColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DelegatingColumnSource.java index 29e76f327bf..699d52b5a3b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DelegatingColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DelegatingColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DoubleArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DoubleArraySource.java index 4f848a4b46d..ebbd00518cd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DoubleArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DoubleArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import gnu.trove.list.array.TIntArrayList; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DoubleNullToZeroColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DoubleNullToZeroColumnSource.java index 23b42fa4ce2..fd284b57bd3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DoubleNullToZeroColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DoubleNullToZeroColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.impl.AbstractColumnSource; @@ -9,10 +9,11 @@ /** * If you want to expose the internal state of an aggregation and compare it, then the new tables might have nulls where - * the old tables have zero. This wrapper prevents that spurious comparison failure. + * the old tables have zero. This wrapper prevents that spurious comparison failure. */ @SuppressWarnings("unused") -public class DoubleNullToZeroColumnSource extends AbstractColumnSource implements MutableColumnSourceGetDefaults.ForDouble { +public class DoubleNullToZeroColumnSource extends AbstractColumnSource + implements MutableColumnSourceGetDefaults.ForDouble { private final DoubleArraySource column; private DoubleNullToZeroColumnSource(DoubleArraySource column) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DoubleSingleValueSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DoubleSingleValueSource.java index 8757058f566..efa6cef20f0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DoubleSingleValueSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DoubleSingleValueSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterSingleValueSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterSingleValueSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableDoubleChunk; @@ -31,7 +30,8 @@ * * (C-haracter is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ -public class DoubleSingleValueSource extends SingleValueColumnSource implements MutableColumnSourceGetDefaults.ForDouble { +public class DoubleSingleValueSource extends SingleValueColumnSource + implements MutableColumnSourceGetDefaults.ForDouble { private double current; private transient double prev; @@ -100,7 +100,8 @@ public final double getPrevDouble(long rowKey) { } @Override - public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.size() == 0) { return; } @@ -110,7 +111,8 @@ public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk } @Override - public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull LongChunk keys) { + public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull LongChunk keys) { if (keys.size() == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DoubleSparseArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DoubleSparseArraySource.java index 141d4013f8b..8209da62e79 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DoubleSparseArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/DoubleSparseArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterSparseArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterSparseArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.context.ExecutionContext; @@ -72,9 +71,9 @@ public class DoubleSparseArraySource extends SparseArrayColumnSource /** * Our previous page table could be very sparse, and we do not want to read through millions of nulls to find out - * what blocks to recycle. Instead we maintain a list of blocks that we have allocated (as the key shifted by - * BLOCK0_SHIFT). We recycle those blocks in the PrevFlusher; and accumulate the set of blocks that must be - * recycled from the next level array, and so on until we recycle the top-level prevBlocks and prevInUse arrays. + * what blocks to recycle. Instead we maintain a list of blocks that we have allocated (as the key shifted by + * BLOCK0_SHIFT). We recycle those blocks in the PrevFlusher; and accumulate the set of blocks that must be recycled + * from the next level array, and so on until we recycle the top-level prevBlocks and prevInUse arrays. */ private transient final TLongArrayList blocksToFlush = new TLongArrayList(); @@ -96,7 +95,7 @@ public void ensureCapacity(long capacity, boolean nullFill) { // region setNull @Override public void setNull(long key) { - final double [] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); + final double[] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); if (blocks2 == null) { return; } @@ -105,7 +104,7 @@ public void setNull(long key) { return; } - final double [] prevBlocksInner = shouldRecordPrevious(key); + final double[] prevBlocksInner = shouldRecordPrevious(key); if (prevBlocksInner != null) { prevBlocksInner[indexWithinBlock] = blocks2[indexWithinBlock]; } @@ -120,8 +119,8 @@ public final void set(long key, double value) { final int block2 = (int) (key >> BLOCK2_SHIFT) & BLOCK2_MASK; final int indexWithinBlock = (int) (key & INDEX_MASK); - final double [] blocksInner = ensureBlock(block0, block1, block2); - final double [] prevBlocksInner = shouldRecordPrevious(key); + final double[] blocksInner = ensureBlock(block0, block1, block2); + final double[] prevBlocksInner = shouldRecordPrevious(key); if (prevBlocksInner != null) { prevBlocksInner[indexWithinBlock] = blocksInner[indexWithinBlock]; } @@ -130,7 +129,8 @@ public final void set(long key, double value) { @Override public void shift(final RowSet keysToShift, final long shiftDelta) { - final RowSet.SearchIterator it = (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); + final RowSet.SearchIterator it = + (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); it.forEachLong((i) -> { set(i + shiftDelta, getDouble(i)); setNull(i); @@ -178,18 +178,18 @@ public final double getPrevDouble(long rowKey) { } private double getDoubleFromBlock(DoubleOneOrN.Block0 blocks, long key) { - final double [] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); + final double[] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); if (blocks2 == null) { return NULL_DOUBLE; } - return blocks2[(int)(key & INDEX_MASK)]; + return blocks2[(int) (key & INDEX_MASK)]; } // endregion primitive get // region allocateNullFilledBlock @SuppressWarnings("SameParameterValue") - final double [] allocateNullFilledBlock(int size) { - final double [] newBlock = new double[size]; + final double[] allocateNullFilledBlock(int size) { + final double[] newBlock = new double[size]; Arrays.fill(newBlock, NULL_DOUBLE); return newBlock; } @@ -197,9 +197,10 @@ private double getDoubleFromBlock(DoubleOneOrN.Block0 blocks, long key) { /** * Make sure that we have an allocated block at the given point, allocating all of the required parents. + * * @return {@code blocks.get(block0).get(block1).get(block2)}, which is non-null. */ - double [] ensureBlock(final int block0, final int block1, final int block2) { + double[] ensureBlock(final int block0, final int block1, final int block2) { blocks.ensureIndex(block0, null); DoubleOneOrN.Block1 blocks0 = blocks.get(block0); if (blocks0 == null) { @@ -211,7 +212,7 @@ private double getDoubleFromBlock(DoubleOneOrN.Block0 blocks, long key) { blocks0.set(block1, blocks1 = new DoubleOneOrN.Block2()); } - double [] result = blocks1.get(block2); + double[] result = blocks1.get(block2); if (result == null) { blocks1.ensureIndex(block2, null); // we do not use the recycler here, because the recycler need not sanitize the block (the inUse recycling @@ -225,9 +226,10 @@ private double getDoubleFromBlock(DoubleOneOrN.Block0 blocks, long key) { /** * Make sure that we have an allocated previous and inuse block at the given point, allocating all of the required * parents. + * * @return {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. */ - private double [] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { + private double[] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { if (prevBlocks == null) { prevBlocks = new DoubleOneOrN.Block0(); prevInUse = new LongOneOrN.Block0(); @@ -318,7 +320,7 @@ private void commitUpdates() { final DoubleOneOrN.Block2 blocks1 = localPrevBlocks.get(block0).get(block1); final LongOneOrN.Block2 inUse1 = localPrevInUse.get(block0).get(block1); - final double [] pb = blocks1.get(block2); + final double[] pb = blocks1.get(block2); final long[] inuse = inUse1.get(block2); inUse1.set(block2, null); @@ -383,13 +385,14 @@ private void commitUpdates() { } /** - * Decides whether to record the previous value. - * @param key the row key to record - * @return If the caller should record the previous value, returns prev inner block, the value - * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller should not - * record values), returns null. - */ - final double [] shouldRecordPrevious(final long key) { + * Decides whether to record the previous value. + * + * @param key the row key to record + * @return If the caller should record the previous value, returns prev inner block, the value + * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller + * should not record values), returns null. + */ + final double[] shouldRecordPrevious(final long key) { if (!shouldTrackPrevious()) { return null; } @@ -465,8 +468,9 @@ public void prepareForParallelPopulation(final RowSequence changedRows) { /** * This method supports the 'getPrev' method for its inheritors, doing some of the 'inUse' housekeeping that is * common to all inheritors. + * * @return true if the inheritor should return a value from its "prev" data structure; false if it should return a - * value from its "current" data structure. + * value from its "current" data structure. */ private boolean shouldUsePrevious(final long rowKey) { if (prevFlusher == null) { @@ -477,7 +481,7 @@ private boolean shouldUsePrevious(final long rowKey) { return false; } - final long [] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); + final long[] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); if (inUse == null) { return false; } @@ -494,7 +498,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByRanges( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableDoubleChunk chunk = dest.asWritableDoubleChunk(); // endregion chunkDecl @@ -510,7 +514,7 @@ private boolean shouldUsePrevious(final long rowKey) { if (ctx.block == null) { chunk.fillWithNullValue(ctx.offset, length); } else { - final int sIndexWithinBlock = (int)(firstKey & INDEX_MASK); + final int sIndexWithinBlock = (int) (firstKey & INDEX_MASK); // for the benefit of code generation. final int offset = ctx.offset; final double[] block = ctx.block; @@ -536,7 +540,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByKeys( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableDoubleChunk chunk = dest.asWritableDoubleChunk(); // endregion chunkDecl @@ -565,11 +569,11 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableDoubleChunk chunk = dest.asWritableDoubleChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, NULL_DOUBLE); @@ -586,7 +590,7 @@ private boolean shouldUsePrevious(final long rowKey) { } lastII = nextII; } - final double [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final double[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; @@ -606,11 +610,11 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillPrevByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableDoubleChunk chunk = dest.asWritableDoubleChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, NULL_DOUBLE); @@ -628,21 +632,23 @@ private boolean shouldUsePrevious(final long rowKey) { lastII = nextII; } - final double [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final double[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; continue; } - final long [] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); - final double [] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); + final long[] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null + : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); + final double[] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); while (ii <= lastII) { final int indexWithinBlock = (int) (keys.get(ii) & INDEX_MASK); final int indexWithinInUse = indexWithinBlock >> LOG_INUSE_BITSET_SIZE; final long maskWithinInUse = 1L << (indexWithinBlock & IN_USE_MASK); - final double[] blockToUse = (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; + final double[] blockToUse = + (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; // region conversion chunk.set(ii++, blockToUse == null ? NULL_DOUBLE : blockToUse[indexWithinBlock]); // endregion conversion @@ -657,7 +663,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillFromChunkByRanges( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -687,7 +693,7 @@ private boolean shouldUsePrevious(final long rowKey) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final double [] block = ensureBlock(block0, block1, block2); + final double[] block = ensureBlock(block0, block1, block2); if (block != knownUnaliasedBlock && chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -731,7 +737,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillFromChunkByKeys( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -746,7 +752,7 @@ private boolean shouldUsePrevious(final long rowKey) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; int lastII = ii; @@ -757,7 +763,7 @@ private boolean shouldUsePrevious(final long rowKey) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final double [] block = ensureBlock(block0, block1, block2); + final double[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -813,14 +819,14 @@ void nullByRanges(@NotNull final RowSequence rowSequence) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final double [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final double[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { continue; } blockOk.forAllRowKeyRanges((s, e) -> { - final int length = (int)((e - s) + 1); + final int length = (int) ((e - s) + 1); final int sIndexWithinBlock = (int) (s & INDEX_MASK); // This 'if' with its constant condition should be very friendly to the branch predictor. @@ -928,7 +934,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { @NotNull final FillFromContext context, @NotNull final Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { if (keys.size() == 0) { return; } @@ -942,7 +948,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long minKeyInCurrentBlock = firstKey & ~INDEX_MASK; final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; @@ -950,7 +956,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final double [] block = ensureBlock(block0, block1, block2); + final double[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/FillUnordered.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/FillUnordered.java index 604c565d368..842fac10484 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/FillUnordered.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/FillUnordered.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/FloatArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/FloatArraySource.java index 2dcaaefff41..a6199bc87ac 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/FloatArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/FloatArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import gnu.trove.list.array.TIntArrayList; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/FloatSingleValueSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/FloatSingleValueSource.java index 14768822f07..47b7da23fc0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/FloatSingleValueSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/FloatSingleValueSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterSingleValueSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterSingleValueSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableFloatChunk; @@ -31,7 +30,8 @@ * * (C-haracter is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ -public class FloatSingleValueSource extends SingleValueColumnSource implements MutableColumnSourceGetDefaults.ForFloat { +public class FloatSingleValueSource extends SingleValueColumnSource + implements MutableColumnSourceGetDefaults.ForFloat { private float current; private transient float prev; @@ -100,7 +100,8 @@ public final float getPrevFloat(long rowKey) { } @Override - public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.size() == 0) { return; } @@ -110,7 +111,8 @@ public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk } @Override - public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull LongChunk keys) { + public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull LongChunk keys) { if (keys.size() == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/FloatSparseArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/FloatSparseArraySource.java index 6dcbd8e439b..c7d8f4c6d96 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/FloatSparseArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/FloatSparseArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterSparseArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterSparseArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.context.ExecutionContext; @@ -72,9 +71,9 @@ public class FloatSparseArraySource extends SparseArrayColumnSource /** * Our previous page table could be very sparse, and we do not want to read through millions of nulls to find out - * what blocks to recycle. Instead we maintain a list of blocks that we have allocated (as the key shifted by - * BLOCK0_SHIFT). We recycle those blocks in the PrevFlusher; and accumulate the set of blocks that must be - * recycled from the next level array, and so on until we recycle the top-level prevBlocks and prevInUse arrays. + * what blocks to recycle. Instead we maintain a list of blocks that we have allocated (as the key shifted by + * BLOCK0_SHIFT). We recycle those blocks in the PrevFlusher; and accumulate the set of blocks that must be recycled + * from the next level array, and so on until we recycle the top-level prevBlocks and prevInUse arrays. */ private transient final TLongArrayList blocksToFlush = new TLongArrayList(); @@ -96,7 +95,7 @@ public void ensureCapacity(long capacity, boolean nullFill) { // region setNull @Override public void setNull(long key) { - final float [] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); + final float[] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); if (blocks2 == null) { return; } @@ -105,7 +104,7 @@ public void setNull(long key) { return; } - final float [] prevBlocksInner = shouldRecordPrevious(key); + final float[] prevBlocksInner = shouldRecordPrevious(key); if (prevBlocksInner != null) { prevBlocksInner[indexWithinBlock] = blocks2[indexWithinBlock]; } @@ -120,8 +119,8 @@ public final void set(long key, float value) { final int block2 = (int) (key >> BLOCK2_SHIFT) & BLOCK2_MASK; final int indexWithinBlock = (int) (key & INDEX_MASK); - final float [] blocksInner = ensureBlock(block0, block1, block2); - final float [] prevBlocksInner = shouldRecordPrevious(key); + final float[] blocksInner = ensureBlock(block0, block1, block2); + final float[] prevBlocksInner = shouldRecordPrevious(key); if (prevBlocksInner != null) { prevBlocksInner[indexWithinBlock] = blocksInner[indexWithinBlock]; } @@ -130,7 +129,8 @@ public final void set(long key, float value) { @Override public void shift(final RowSet keysToShift, final long shiftDelta) { - final RowSet.SearchIterator it = (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); + final RowSet.SearchIterator it = + (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); it.forEachLong((i) -> { set(i + shiftDelta, getFloat(i)); setNull(i); @@ -178,18 +178,18 @@ public final float getPrevFloat(long rowKey) { } private float getFloatFromBlock(FloatOneOrN.Block0 blocks, long key) { - final float [] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); + final float[] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); if (blocks2 == null) { return NULL_FLOAT; } - return blocks2[(int)(key & INDEX_MASK)]; + return blocks2[(int) (key & INDEX_MASK)]; } // endregion primitive get // region allocateNullFilledBlock @SuppressWarnings("SameParameterValue") - final float [] allocateNullFilledBlock(int size) { - final float [] newBlock = new float[size]; + final float[] allocateNullFilledBlock(int size) { + final float[] newBlock = new float[size]; Arrays.fill(newBlock, NULL_FLOAT); return newBlock; } @@ -197,9 +197,10 @@ private float getFloatFromBlock(FloatOneOrN.Block0 blocks, long key) { /** * Make sure that we have an allocated block at the given point, allocating all of the required parents. + * * @return {@code blocks.get(block0).get(block1).get(block2)}, which is non-null. */ - float [] ensureBlock(final int block0, final int block1, final int block2) { + float[] ensureBlock(final int block0, final int block1, final int block2) { blocks.ensureIndex(block0, null); FloatOneOrN.Block1 blocks0 = blocks.get(block0); if (blocks0 == null) { @@ -211,7 +212,7 @@ private float getFloatFromBlock(FloatOneOrN.Block0 blocks, long key) { blocks0.set(block1, blocks1 = new FloatOneOrN.Block2()); } - float [] result = blocks1.get(block2); + float[] result = blocks1.get(block2); if (result == null) { blocks1.ensureIndex(block2, null); // we do not use the recycler here, because the recycler need not sanitize the block (the inUse recycling @@ -225,9 +226,10 @@ private float getFloatFromBlock(FloatOneOrN.Block0 blocks, long key) { /** * Make sure that we have an allocated previous and inuse block at the given point, allocating all of the required * parents. + * * @return {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. */ - private float [] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { + private float[] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { if (prevBlocks == null) { prevBlocks = new FloatOneOrN.Block0(); prevInUse = new LongOneOrN.Block0(); @@ -318,7 +320,7 @@ private void commitUpdates() { final FloatOneOrN.Block2 blocks1 = localPrevBlocks.get(block0).get(block1); final LongOneOrN.Block2 inUse1 = localPrevInUse.get(block0).get(block1); - final float [] pb = blocks1.get(block2); + final float[] pb = blocks1.get(block2); final long[] inuse = inUse1.get(block2); inUse1.set(block2, null); @@ -383,13 +385,14 @@ private void commitUpdates() { } /** - * Decides whether to record the previous value. - * @param key the row key to record - * @return If the caller should record the previous value, returns prev inner block, the value - * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller should not - * record values), returns null. - */ - final float [] shouldRecordPrevious(final long key) { + * Decides whether to record the previous value. + * + * @param key the row key to record + * @return If the caller should record the previous value, returns prev inner block, the value + * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller + * should not record values), returns null. + */ + final float[] shouldRecordPrevious(final long key) { if (!shouldTrackPrevious()) { return null; } @@ -465,8 +468,9 @@ public void prepareForParallelPopulation(final RowSequence changedRows) { /** * This method supports the 'getPrev' method for its inheritors, doing some of the 'inUse' housekeeping that is * common to all inheritors. + * * @return true if the inheritor should return a value from its "prev" data structure; false if it should return a - * value from its "current" data structure. + * value from its "current" data structure. */ private boolean shouldUsePrevious(final long rowKey) { if (prevFlusher == null) { @@ -477,7 +481,7 @@ private boolean shouldUsePrevious(final long rowKey) { return false; } - final long [] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); + final long[] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); if (inUse == null) { return false; } @@ -494,7 +498,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByRanges( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableFloatChunk chunk = dest.asWritableFloatChunk(); // endregion chunkDecl @@ -510,7 +514,7 @@ private boolean shouldUsePrevious(final long rowKey) { if (ctx.block == null) { chunk.fillWithNullValue(ctx.offset, length); } else { - final int sIndexWithinBlock = (int)(firstKey & INDEX_MASK); + final int sIndexWithinBlock = (int) (firstKey & INDEX_MASK); // for the benefit of code generation. final int offset = ctx.offset; final float[] block = ctx.block; @@ -536,7 +540,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByKeys( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableFloatChunk chunk = dest.asWritableFloatChunk(); // endregion chunkDecl @@ -565,11 +569,11 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableFloatChunk chunk = dest.asWritableFloatChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, NULL_FLOAT); @@ -586,7 +590,7 @@ private boolean shouldUsePrevious(final long rowKey) { } lastII = nextII; } - final float [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final float[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; @@ -606,11 +610,11 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillPrevByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableFloatChunk chunk = dest.asWritableFloatChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, NULL_FLOAT); @@ -628,21 +632,23 @@ private boolean shouldUsePrevious(final long rowKey) { lastII = nextII; } - final float [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final float[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; continue; } - final long [] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); - final float [] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); + final long[] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null + : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); + final float[] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); while (ii <= lastII) { final int indexWithinBlock = (int) (keys.get(ii) & INDEX_MASK); final int indexWithinInUse = indexWithinBlock >> LOG_INUSE_BITSET_SIZE; final long maskWithinInUse = 1L << (indexWithinBlock & IN_USE_MASK); - final float[] blockToUse = (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; + final float[] blockToUse = + (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; // region conversion chunk.set(ii++, blockToUse == null ? NULL_FLOAT : blockToUse[indexWithinBlock]); // endregion conversion @@ -657,7 +663,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillFromChunkByRanges( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -687,7 +693,7 @@ private boolean shouldUsePrevious(final long rowKey) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final float [] block = ensureBlock(block0, block1, block2); + final float[] block = ensureBlock(block0, block1, block2); if (block != knownUnaliasedBlock && chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -731,7 +737,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillFromChunkByKeys( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -746,7 +752,7 @@ private boolean shouldUsePrevious(final long rowKey) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; int lastII = ii; @@ -757,7 +763,7 @@ private boolean shouldUsePrevious(final long rowKey) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final float [] block = ensureBlock(block0, block1, block2); + final float[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -813,14 +819,14 @@ void nullByRanges(@NotNull final RowSequence rowSequence) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final float [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final float[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { continue; } blockOk.forAllRowKeyRanges((s, e) -> { - final int length = (int)((e - s) + 1); + final int length = (int) ((e - s) + 1); final int sIndexWithinBlock = (int) (s & INDEX_MASK); // This 'if' with its constant condition should be very friendly to the branch predictor. @@ -928,7 +934,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { @NotNull final FillFromContext context, @NotNull final Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { if (keys.size() == 0) { return; } @@ -942,7 +948,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long minKeyInCurrentBlock = firstKey & ~INDEX_MASK; final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; @@ -950,7 +956,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final float [] block = ensureBlock(block0, block1, block2); + final float[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/InMemoryColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/InMemoryColumnSource.java index 41c00ea0c03..9c49d456ba6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/InMemoryColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/InMemoryColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.base.ArrayUtil; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/InstantArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/InstantArraySource.java index 535573ec81c..fca3b738316 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/InstantArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/InstantArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/InstantAsLongColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/InstantAsLongColumnSource.java index b930056a715..5064a66149e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/InstantAsLongColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/InstantAsLongColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/InstantSparseArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/InstantSparseArraySource.java index 4773c048809..33ccb65a94d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/InstantSparseArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/InstantSparseArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/IntegerArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/IntegerArraySource.java index fff12f546cd..190f0684e95 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/IntegerArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/IntegerArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import gnu.trove.list.array.TIntArrayList; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/IntegerSingleValueSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/IntegerSingleValueSource.java index 8beb01857da..0e09c99c277 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/IntegerSingleValueSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/IntegerSingleValueSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterSingleValueSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterSingleValueSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableIntChunk; @@ -31,7 +30,8 @@ * * (C-haracter is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ -public class IntegerSingleValueSource extends SingleValueColumnSource implements MutableColumnSourceGetDefaults.ForInt { +public class IntegerSingleValueSource extends SingleValueColumnSource + implements MutableColumnSourceGetDefaults.ForInt { private int current; private transient int prev; @@ -100,7 +100,8 @@ public final int getPrevInt(long rowKey) { } @Override - public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.size() == 0) { return; } @@ -110,7 +111,8 @@ public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk } @Override - public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull LongChunk keys) { + public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull LongChunk keys) { if (keys.size() == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/IntegerSparseArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/IntegerSparseArraySource.java index 9811faed021..21bc7f80210 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/IntegerSparseArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/IntegerSparseArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterSparseArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterSparseArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.context.ExecutionContext; @@ -72,9 +71,9 @@ public class IntegerSparseArraySource extends SparseArrayColumnSource /** * Our previous page table could be very sparse, and we do not want to read through millions of nulls to find out - * what blocks to recycle. Instead we maintain a list of blocks that we have allocated (as the key shifted by - * BLOCK0_SHIFT). We recycle those blocks in the PrevFlusher; and accumulate the set of blocks that must be - * recycled from the next level array, and so on until we recycle the top-level prevBlocks and prevInUse arrays. + * what blocks to recycle. Instead we maintain a list of blocks that we have allocated (as the key shifted by + * BLOCK0_SHIFT). We recycle those blocks in the PrevFlusher; and accumulate the set of blocks that must be recycled + * from the next level array, and so on until we recycle the top-level prevBlocks and prevInUse arrays. */ private transient final TLongArrayList blocksToFlush = new TLongArrayList(); @@ -96,7 +95,7 @@ public void ensureCapacity(long capacity, boolean nullFill) { // region setNull @Override public void setNull(long key) { - final int [] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); + final int[] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); if (blocks2 == null) { return; } @@ -105,7 +104,7 @@ public void setNull(long key) { return; } - final int [] prevBlocksInner = shouldRecordPrevious(key); + final int[] prevBlocksInner = shouldRecordPrevious(key); if (prevBlocksInner != null) { prevBlocksInner[indexWithinBlock] = blocks2[indexWithinBlock]; } @@ -120,8 +119,8 @@ public final void set(long key, int value) { final int block2 = (int) (key >> BLOCK2_SHIFT) & BLOCK2_MASK; final int indexWithinBlock = (int) (key & INDEX_MASK); - final int [] blocksInner = ensureBlock(block0, block1, block2); - final int [] prevBlocksInner = shouldRecordPrevious(key); + final int[] blocksInner = ensureBlock(block0, block1, block2); + final int[] prevBlocksInner = shouldRecordPrevious(key); if (prevBlocksInner != null) { prevBlocksInner[indexWithinBlock] = blocksInner[indexWithinBlock]; } @@ -130,7 +129,8 @@ public final void set(long key, int value) { @Override public void shift(final RowSet keysToShift, final long shiftDelta) { - final RowSet.SearchIterator it = (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); + final RowSet.SearchIterator it = + (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); it.forEachLong((i) -> { set(i + shiftDelta, getInt(i)); setNull(i); @@ -178,18 +178,18 @@ public final int getPrevInt(long rowKey) { } private int getIntFromBlock(IntOneOrN.Block0 blocks, long key) { - final int [] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); + final int[] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); if (blocks2 == null) { return NULL_INT; } - return blocks2[(int)(key & INDEX_MASK)]; + return blocks2[(int) (key & INDEX_MASK)]; } // endregion primitive get // region allocateNullFilledBlock @SuppressWarnings("SameParameterValue") - final int [] allocateNullFilledBlock(int size) { - final int [] newBlock = new int[size]; + final int[] allocateNullFilledBlock(int size) { + final int[] newBlock = new int[size]; Arrays.fill(newBlock, NULL_INT); return newBlock; } @@ -197,9 +197,10 @@ private int getIntFromBlock(IntOneOrN.Block0 blocks, long key) { /** * Make sure that we have an allocated block at the given point, allocating all of the required parents. + * * @return {@code blocks.get(block0).get(block1).get(block2)}, which is non-null. */ - int [] ensureBlock(final int block0, final int block1, final int block2) { + int[] ensureBlock(final int block0, final int block1, final int block2) { blocks.ensureIndex(block0, null); IntOneOrN.Block1 blocks0 = blocks.get(block0); if (blocks0 == null) { @@ -211,7 +212,7 @@ private int getIntFromBlock(IntOneOrN.Block0 blocks, long key) { blocks0.set(block1, blocks1 = new IntOneOrN.Block2()); } - int [] result = blocks1.get(block2); + int[] result = blocks1.get(block2); if (result == null) { blocks1.ensureIndex(block2, null); // we do not use the recycler here, because the recycler need not sanitize the block (the inUse recycling @@ -225,9 +226,10 @@ private int getIntFromBlock(IntOneOrN.Block0 blocks, long key) { /** * Make sure that we have an allocated previous and inuse block at the given point, allocating all of the required * parents. + * * @return {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. */ - private int [] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { + private int[] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { if (prevBlocks == null) { prevBlocks = new IntOneOrN.Block0(); prevInUse = new LongOneOrN.Block0(); @@ -318,7 +320,7 @@ private void commitUpdates() { final IntOneOrN.Block2 blocks1 = localPrevBlocks.get(block0).get(block1); final LongOneOrN.Block2 inUse1 = localPrevInUse.get(block0).get(block1); - final int [] pb = blocks1.get(block2); + final int[] pb = blocks1.get(block2); final long[] inuse = inUse1.get(block2); inUse1.set(block2, null); @@ -383,13 +385,14 @@ private void commitUpdates() { } /** - * Decides whether to record the previous value. - * @param key the row key to record - * @return If the caller should record the previous value, returns prev inner block, the value - * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller should not - * record values), returns null. - */ - final int [] shouldRecordPrevious(final long key) { + * Decides whether to record the previous value. + * + * @param key the row key to record + * @return If the caller should record the previous value, returns prev inner block, the value + * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller + * should not record values), returns null. + */ + final int[] shouldRecordPrevious(final long key) { if (!shouldTrackPrevious()) { return null; } @@ -465,8 +468,9 @@ public void prepareForParallelPopulation(final RowSequence changedRows) { /** * This method supports the 'getPrev' method for its inheritors, doing some of the 'inUse' housekeeping that is * common to all inheritors. + * * @return true if the inheritor should return a value from its "prev" data structure; false if it should return a - * value from its "current" data structure. + * value from its "current" data structure. */ private boolean shouldUsePrevious(final long rowKey) { if (prevFlusher == null) { @@ -477,7 +481,7 @@ private boolean shouldUsePrevious(final long rowKey) { return false; } - final long [] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); + final long[] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); if (inUse == null) { return false; } @@ -494,7 +498,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByRanges( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableIntChunk chunk = dest.asWritableIntChunk(); // endregion chunkDecl @@ -510,7 +514,7 @@ private boolean shouldUsePrevious(final long rowKey) { if (ctx.block == null) { chunk.fillWithNullValue(ctx.offset, length); } else { - final int sIndexWithinBlock = (int)(firstKey & INDEX_MASK); + final int sIndexWithinBlock = (int) (firstKey & INDEX_MASK); // for the benefit of code generation. final int offset = ctx.offset; final int[] block = ctx.block; @@ -536,7 +540,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByKeys( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableIntChunk chunk = dest.asWritableIntChunk(); // endregion chunkDecl @@ -565,11 +569,11 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableIntChunk chunk = dest.asWritableIntChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, NULL_INT); @@ -586,7 +590,7 @@ private boolean shouldUsePrevious(final long rowKey) { } lastII = nextII; } - final int [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final int[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; @@ -606,11 +610,11 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillPrevByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableIntChunk chunk = dest.asWritableIntChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, NULL_INT); @@ -628,21 +632,23 @@ private boolean shouldUsePrevious(final long rowKey) { lastII = nextII; } - final int [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final int[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; continue; } - final long [] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); - final int [] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); + final long[] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null + : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); + final int[] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); while (ii <= lastII) { final int indexWithinBlock = (int) (keys.get(ii) & INDEX_MASK); final int indexWithinInUse = indexWithinBlock >> LOG_INUSE_BITSET_SIZE; final long maskWithinInUse = 1L << (indexWithinBlock & IN_USE_MASK); - final int[] blockToUse = (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; + final int[] blockToUse = + (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; // region conversion chunk.set(ii++, blockToUse == null ? NULL_INT : blockToUse[indexWithinBlock]); // endregion conversion @@ -657,7 +663,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillFromChunkByRanges( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -687,7 +693,7 @@ private boolean shouldUsePrevious(final long rowKey) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final int [] block = ensureBlock(block0, block1, block2); + final int[] block = ensureBlock(block0, block1, block2); if (block != knownUnaliasedBlock && chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -731,7 +737,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillFromChunkByKeys( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -746,7 +752,7 @@ private boolean shouldUsePrevious(final long rowKey) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; int lastII = ii; @@ -757,7 +763,7 @@ private boolean shouldUsePrevious(final long rowKey) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final int [] block = ensureBlock(block0, block1, block2); + final int[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -813,14 +819,14 @@ void nullByRanges(@NotNull final RowSequence rowSequence) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final int [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final int[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { continue; } blockOk.forAllRowKeyRanges((s, e) -> { - final int length = (int)((e - s) + 1); + final int length = (int) ((e - s) + 1); final int sIndexWithinBlock = (int) (s & INDEX_MASK); // This 'if' with its constant condition should be very friendly to the branch predictor. @@ -928,7 +934,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { @NotNull final FillFromContext context, @NotNull final Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { if (keys.size() == 0) { return; } @@ -942,7 +948,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long minKeyInCurrentBlock = firstKey & ~INDEX_MASK; final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; @@ -950,7 +956,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final int [] block = ensureBlock(block0, block1, block2); + final int[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LocalDateWrapperSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LocalDateWrapperSource.java index 728a0f9fe16..2789f36e0aa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LocalDateWrapperSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LocalDateWrapperSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LocalTimeWrapperSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LocalTimeWrapperSource.java index 68aa8ea92bc..034c78c4527 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LocalTimeWrapperSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LocalTimeWrapperSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongArraySource.java index ee625876f0c..9c3965f67cb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import java.util.function.LongFunction; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsInstantColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsInstantColumnSource.java index 468c9a0d31e..1836b5502bf 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsInstantColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsInstantColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsLocalDateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsLocalDateColumnSource.java index ffcd5e5ab8b..ad22e83a060 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsLocalDateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsLocalDateColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsLocalTimeColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsLocalTimeColumnSource.java index 3526a36077d..012623efc5d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsLocalTimeColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsLocalTimeColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsTimeSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsTimeSource.java index 819ffc83984..c53c4d90de1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsTimeSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsTimeSource.java @@ -1,6 +1,9 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources;/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ + * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending + */ import io.deephaven.chunk.LongChunk; import io.deephaven.chunk.WritableChunk; @@ -72,7 +75,7 @@ public boolean allowsReinterpret( @Override public ColumnSource doReinterpret( @NotNull final Class alternateDataType) throws IllegalArgumentException { - //noinspection unchecked + // noinspection unchecked return alternateDataType == alternateColumnSource.getType() ? (ColumnSource) alternateColumnSource : alternateColumnSource.reinterpret(alternateDataType); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsZonedDateTimeColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsZonedDateTimeColumnSource.java index 75b8a876b21..e3b2115aff0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsZonedDateTimeColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongAsZonedDateTimeColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongSingleValueSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongSingleValueSource.java index a88f8ae5392..44819f35a33 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongSingleValueSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongSingleValueSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterSingleValueSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterSingleValueSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableLongChunk; @@ -31,7 +30,8 @@ * * (C-haracter is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ -public class LongSingleValueSource extends SingleValueColumnSource implements MutableColumnSourceGetDefaults.ForLong { +public class LongSingleValueSource extends SingleValueColumnSource + implements MutableColumnSourceGetDefaults.ForLong { private long current; private transient long prev; @@ -100,7 +100,8 @@ public final long getPrevLong(long rowKey) { } @Override - public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.size() == 0) { return; } @@ -110,7 +111,8 @@ public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk } @Override - public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull LongChunk keys) { + public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull LongChunk keys) { if (keys.size() == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongSparseArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongSparseArraySource.java index 431841163c7..c7a8dc9ec7c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongSparseArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/LongSparseArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterSparseArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterSparseArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import java.util.function.LongFunction; @@ -80,9 +79,9 @@ public class LongSparseArraySource extends SparseArrayColumnSource /** * Our previous page table could be very sparse, and we do not want to read through millions of nulls to find out - * what blocks to recycle. Instead we maintain a list of blocks that we have allocated (as the key shifted by - * BLOCK0_SHIFT). We recycle those blocks in the PrevFlusher; and accumulate the set of blocks that must be - * recycled from the next level array, and so on until we recycle the top-level prevBlocks and prevInUse arrays. + * what blocks to recycle. Instead we maintain a list of blocks that we have allocated (as the key shifted by + * BLOCK0_SHIFT). We recycle those blocks in the PrevFlusher; and accumulate the set of blocks that must be recycled + * from the next level array, and so on until we recycle the top-level prevBlocks and prevInUse arrays. */ private transient final TLongArrayList blocksToFlush = new TLongArrayList(); @@ -104,7 +103,7 @@ public void ensureCapacity(long capacity, boolean nullFill) { // region setNull @Override public void setNull(long key) { - final long [] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); + final long[] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); if (blocks2 == null) { return; } @@ -113,7 +112,7 @@ public void setNull(long key) { return; } - final long [] prevBlocksInner = shouldRecordPrevious(key); + final long[] prevBlocksInner = shouldRecordPrevious(key); if (prevBlocksInner != null) { prevBlocksInner[indexWithinBlock] = blocks2[indexWithinBlock]; } @@ -128,8 +127,8 @@ public final void set(long key, long value) { final int block2 = (int) (key >> BLOCK2_SHIFT) & BLOCK2_MASK; final int indexWithinBlock = (int) (key & INDEX_MASK); - final long [] blocksInner = ensureBlock(block0, block1, block2); - final long [] prevBlocksInner = shouldRecordPrevious(key); + final long[] blocksInner = ensureBlock(block0, block1, block2); + final long[] prevBlocksInner = shouldRecordPrevious(key); if (prevBlocksInner != null) { prevBlocksInner[indexWithinBlock] = blocksInner[indexWithinBlock]; } @@ -138,7 +137,8 @@ public final void set(long key, long value) { @Override public void shift(final RowSet keysToShift, final long shiftDelta) { - final RowSet.SearchIterator it = (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); + final RowSet.SearchIterator it = + (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); it.forEachLong((i) -> { set(i + shiftDelta, getLong(i)); setNull(i); @@ -186,18 +186,18 @@ public final long getPrevLong(long rowKey) { } private long getLongFromBlock(LongOneOrN.Block0 blocks, long key) { - final long [] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); + final long[] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); if (blocks2 == null) { return NULL_LONG; } - return blocks2[(int)(key & INDEX_MASK)]; + return blocks2[(int) (key & INDEX_MASK)]; } // endregion primitive get // region allocateNullFilledBlock @SuppressWarnings("SameParameterValue") - final long [] allocateNullFilledBlock(int size) { - final long [] newBlock = new long[size]; + final long[] allocateNullFilledBlock(int size) { + final long[] newBlock = new long[size]; Arrays.fill(newBlock, NULL_LONG); return newBlock; } @@ -205,9 +205,10 @@ private long getLongFromBlock(LongOneOrN.Block0 blocks, long key) { /** * Make sure that we have an allocated block at the given point, allocating all of the required parents. + * * @return {@code blocks.get(block0).get(block1).get(block2)}, which is non-null. */ - long [] ensureBlock(final int block0, final int block1, final int block2) { + long[] ensureBlock(final int block0, final int block1, final int block2) { blocks.ensureIndex(block0, null); LongOneOrN.Block1 blocks0 = blocks.get(block0); if (blocks0 == null) { @@ -219,7 +220,7 @@ private long getLongFromBlock(LongOneOrN.Block0 blocks, long key) { blocks0.set(block1, blocks1 = new LongOneOrN.Block2()); } - long [] result = blocks1.get(block2); + long[] result = blocks1.get(block2); if (result == null) { blocks1.ensureIndex(block2, null); // we do not use the recycler here, because the recycler need not sanitize the block (the inUse recycling @@ -233,9 +234,10 @@ private long getLongFromBlock(LongOneOrN.Block0 blocks, long key) { /** * Make sure that we have an allocated previous and inuse block at the given point, allocating all of the required * parents. + * * @return {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. */ - private long [] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { + private long[] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { if (prevBlocks == null) { prevBlocks = new LongOneOrN.Block0(); prevInUse = new LongOneOrN.Block0(); @@ -326,7 +328,7 @@ private void commitUpdates() { final LongOneOrN.Block2 blocks1 = localPrevBlocks.get(block0).get(block1); final LongOneOrN.Block2 inUse1 = localPrevInUse.get(block0).get(block1); - final long [] pb = blocks1.get(block2); + final long[] pb = blocks1.get(block2); final long[] inuse = inUse1.get(block2); inUse1.set(block2, null); @@ -391,13 +393,14 @@ private void commitUpdates() { } /** - * Decides whether to record the previous value. - * @param key the row key to record - * @return If the caller should record the previous value, returns prev inner block, the value - * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller should not - * record values), returns null. - */ - final long [] shouldRecordPrevious(final long key) { + * Decides whether to record the previous value. + * + * @param key the row key to record + * @return If the caller should record the previous value, returns prev inner block, the value + * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller + * should not record values), returns null. + */ + final long[] shouldRecordPrevious(final long key) { if (!shouldTrackPrevious()) { return null; } @@ -473,8 +476,9 @@ public void prepareForParallelPopulation(final RowSequence changedRows) { /** * This method supports the 'getPrev' method for its inheritors, doing some of the 'inUse' housekeeping that is * common to all inheritors. + * * @return true if the inheritor should return a value from its "prev" data structure; false if it should return a - * value from its "current" data structure. + * value from its "current" data structure. */ private boolean shouldUsePrevious(final long rowKey) { if (prevFlusher == null) { @@ -485,7 +489,7 @@ private boolean shouldUsePrevious(final long rowKey) { return false; } - final long [] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); + final long[] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); if (inUse == null) { return false; } @@ -502,7 +506,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByRanges( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableLongChunk chunk = dest.asWritableLongChunk(); // endregion chunkDecl @@ -518,7 +522,7 @@ private boolean shouldUsePrevious(final long rowKey) { if (ctx.block == null) { chunk.fillWithNullValue(ctx.offset, length); } else { - final int sIndexWithinBlock = (int)(firstKey & INDEX_MASK); + final int sIndexWithinBlock = (int) (firstKey & INDEX_MASK); // for the benefit of code generation. final int offset = ctx.offset; final long[] block = ctx.block; @@ -541,7 +545,7 @@ private boolean shouldUsePrevious(final long rowKey) { void fillByRanges( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - , LongFunction converter) { + , LongFunction converter) { // region chunkDecl final WritableObjectChunk chunk = dest.asWritableObjectChunk(); // endregion chunkDecl @@ -557,7 +561,7 @@ void fillByRanges( if (ctx.block == null) { chunk.fillWithNullValue(ctx.offset, length); } else { - final int sIndexWithinBlock = (int)(firstKey & INDEX_MASK); + final int sIndexWithinBlock = (int) (firstKey & INDEX_MASK); // for the benefit of code generation. final int offset = ctx.offset; final long[] block = ctx.block; @@ -585,7 +589,7 @@ void fillByRanges( /* TYPE_MIXIN */ void fillByKeys( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableLongChunk chunk = dest.asWritableLongChunk(); // endregion chunkDecl @@ -611,7 +615,7 @@ void fillByRanges( void fillByKeys( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - , LongFunction converter) { + , LongFunction converter) { // region chunkDecl final WritableObjectChunk chunk = dest.asWritableObjectChunk(); // endregion chunkDecl @@ -640,11 +644,11 @@ void fillByKeys( /* TYPE_MIXIN */ void fillByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableLongChunk chunk = dest.asWritableLongChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, NULL_LONG); @@ -661,7 +665,7 @@ void fillByKeys( } lastII = nextII; } - final long [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final long[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; @@ -681,11 +685,11 @@ void fillByKeys( /* TYPE_MIXIN */ void fillPrevByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableLongChunk chunk = dest.asWritableLongChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, NULL_LONG); @@ -703,21 +707,23 @@ void fillByKeys( lastII = nextII; } - final long [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final long[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; continue; } - final long [] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); - final long [] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); + final long[] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null + : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); + final long[] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); while (ii <= lastII) { final int indexWithinBlock = (int) (keys.get(ii) & INDEX_MASK); final int indexWithinInUse = indexWithinBlock >> LOG_INUSE_BITSET_SIZE; final long maskWithinInUse = 1L << (indexWithinBlock & IN_USE_MASK); - final long[] blockToUse = (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; + final long[] blockToUse = + (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; // region conversion chunk.set(ii++, blockToUse == null ? NULL_LONG : blockToUse[indexWithinBlock]); // endregion conversion @@ -729,11 +735,11 @@ void fillByKeys( void fillByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - , LongFunction converter) { + , LongFunction converter) { // region chunkDecl final WritableObjectChunk chunk = dest.asWritableObjectChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, null); @@ -750,7 +756,7 @@ void fillByUnRowSequence( } lastII = nextII; } - final long [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final long[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; @@ -770,11 +776,11 @@ void fillByUnRowSequence( void fillPrevByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - , LongFunction converter) { + , LongFunction converter) { // region chunkDecl final WritableObjectChunk chunk = dest.asWritableObjectChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, null); @@ -792,21 +798,23 @@ void fillPrevByUnRowSequence( lastII = nextII; } - final long [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final long[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; continue; } - final long [] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); - final long [] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); + final long[] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null + : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); + final long[] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); while (ii <= lastII) { final int indexWithinBlock = (int) (keys.get(ii) & INDEX_MASK); final int indexWithinInUse = indexWithinBlock >> LOG_INUSE_BITSET_SIZE; final long maskWithinInUse = 1L << (indexWithinBlock & IN_USE_MASK); - final long[] blockToUse = (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; + final long[] blockToUse = + (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; // region conversion chunk.set(ii++,converter.apply( blockToUse == null ? null : blockToUse[indexWithinBlock])); // endregion conversion @@ -821,7 +829,7 @@ void fillPrevByUnRowSequence( /* TYPE_MIXIN */ void fillFromChunkByRanges( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -851,7 +859,7 @@ void fillPrevByUnRowSequence( final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final long [] block = ensureBlock(block0, block1, block2); + final long[] block = ensureBlock(block0, block1, block2); if (block != knownUnaliasedBlock && chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -892,7 +900,7 @@ void fillPrevByUnRowSequence( void fillFromChunkByRanges( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - , ToLongFunction converter) { + , ToLongFunction converter) { if (rowSequence.isEmpty()) { return; } @@ -922,7 +930,7 @@ void fillFromChunkByRanges( final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final long [] block = ensureBlock(block0, block1, block2); + final long[] block = ensureBlock(block0, block1, block2); if (block != knownUnaliasedBlock && chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -968,7 +976,7 @@ void fillFromChunkByRanges( /* TYPE_MIXIN */ void fillFromChunkByKeys( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -983,7 +991,7 @@ void fillFromChunkByRanges( prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; int lastII = ii; @@ -994,7 +1002,7 @@ void fillFromChunkByRanges( final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final long [] block = ensureBlock(block0, block1, block2); + final long[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -1030,7 +1038,7 @@ void fillFromChunkByRanges( void fillFromChunkByKeys( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - , ToLongFunction converter) { + , ToLongFunction converter) { if (rowSequence.isEmpty()) { return; } @@ -1045,7 +1053,7 @@ void fillFromChunkByKeys( prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; int lastII = ii; @@ -1056,7 +1064,7 @@ void fillFromChunkByKeys( final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final long [] block = ensureBlock(block0, block1, block2); + final long[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -1112,14 +1120,14 @@ void nullByRanges(@NotNull final RowSequence rowSequence) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final long [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final long[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { continue; } blockOk.forAllRowKeyRanges((s, e) -> { - final int length = (int)((e - s) + 1); + final int length = (int) ((e - s) + 1); final int sIndexWithinBlock = (int) (s & INDEX_MASK); // This 'if' with its constant condition should be very friendly to the branch predictor. @@ -1227,7 +1235,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { @NotNull final FillFromContext context, @NotNull final Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { if (keys.size() == 0) { return; } @@ -1241,7 +1249,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long minKeyInCurrentBlock = firstKey & ~INDEX_MASK; final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; @@ -1249,7 +1257,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final long [] block = ensureBlock(block0, block1, block2); + final long[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -1286,7 +1294,7 @@ public void fillFromChunkUnordered( @NotNull final FillFromContext context, @NotNull final Chunk src, @NotNull final LongChunk keys - , ToLongFunction converter) { + , ToLongFunction converter) { if (keys.size() == 0) { return; } @@ -1300,7 +1308,7 @@ public void fillFromChunkUnordered( prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long minKeyInCurrentBlock = firstKey & ~INDEX_MASK; final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; @@ -1308,7 +1316,7 @@ public void fillFromChunkUnordered( final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final long [] block = ensureBlock(block0, block1, block2); + final long[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/NanosBasedTimeArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/NanosBasedTimeArraySource.java index 8f2a5f76b94..94ca377919d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/NanosBasedTimeArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/NanosBasedTimeArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/NanosBasedTimeSparseArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/NanosBasedTimeSparseArraySource.java index 4fc383f99d6..38927d583d2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/NanosBasedTimeSparseArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/NanosBasedTimeSparseArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/NullValueColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/NullValueColumnSource.java index bc576c7eb25..aec4b545db7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/NullValueColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/NullValueColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.base.Pair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ObjectArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ObjectArraySource.java index 221139de49a..ad6bc59a6ae 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ObjectArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ObjectArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import gnu.trove.list.array.TIntArrayList; @@ -22,7 +22,8 @@ import java.util.Arrays; -public class ObjectArraySource extends ArraySourceHelper implements MutableColumnSourceGetDefaults.ForObject { +public class ObjectArraySource extends ArraySourceHelper + implements MutableColumnSourceGetDefaults.ForObject { @SuppressWarnings("rawtypes") private static final SoftRecycler recycler = new SoftRecycler<>(DEFAULT_RECYCLER_CAPACITY, () -> new Object[BLOCK_SIZE], (item) -> Arrays.fill(item, null)); @@ -45,12 +46,12 @@ public ObjectArraySource(Class type, Class componentType) { @Override public void startTrackingPrevValues() { super.startTrackingPrev(blocks.length); - //noinspection unchecked + // noinspection unchecked prevBlocks = (T[][]) new Object[blocks.length][]; } private void init() { - //noinspection unchecked + // noinspection unchecked blocks = (T[][]) new Object[INITIAL_NUMBER_OF_BLOCKS][]; maxIndex = INITIAL_MAX_INDEX; } @@ -157,7 +158,7 @@ public final T getAndSetUnsafe(long index, T newValue) { if (oldValue == newValue) { return oldValue; } - //noinspection unchecked + // noinspection unchecked if (shouldRecordPrevious(index, prevBlocks, recycler)) { prevBlocks[blockIndex][indexWithinBlock] = oldValue; } @@ -181,14 +182,14 @@ public T getPrev(long rowKey) { @Override final T[] allocateNullFilledBlock(int size) { - //noinspection unchecked - return (T[])new Object[size]; + // noinspection unchecked + return (T[]) new Object[size]; } @Override final T[] allocateBlock(int size) { - //noinspection unchecked - return (T[])new Object[size]; + // noinspection unchecked + return (T[]) new Object[size]; } @Override @@ -204,7 +205,7 @@ T[][] getPrevBlocks() { @Override SoftRecycler getRecycler() { - //noinspection unchecked + // noinspection unchecked return (SoftRecycler) recycler; } @@ -222,18 +223,18 @@ Object getPrevBlock(int blockIndex) { public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk chunk, long position) { Assert.eqNull(prevInUse, "prevInUse"); final int blockNo = getBlockNo(position); - final T [] backingArray = blocks[blockNo]; + final T[] backingArray = blocks[blockNo]; chunk.asResettableWritableObjectChunk().resetFromTypedArray(backingArray, 0, BLOCK_SIZE); - return (long)blockNo << LOG_BLOCK_SIZE; + return (long) blockNo << LOG_BLOCK_SIZE; } @Override public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChunk chunk, long position) { Assert.eqNull(prevInUse, "prevInUse"); final int blockNo = getBlockNo(position); - final T [] backingArray = blocks[blockNo]; + final T[] backingArray = blocks[blockNo]; final long firstPosition = ((long) blockNo) << LOG_BLOCK_SIZE; - final int offset = (int)(position - firstPosition); + final int offset = (int) (position - firstPosition); final int capacity = BLOCK_SIZE - offset; chunk.asResettableWritableObjectChunk().resetFromTypedArray(backingArray, offset, capacity); return capacity; @@ -367,7 +368,8 @@ public void fillPrevChunk( } @Override - protected void fillSparseChunk(@NotNull final WritableChunk destGeneric, @NotNull final RowSequence indices) { + protected void fillSparseChunk(@NotNull final WritableChunk destGeneric, + @NotNull final RowSequence indices) { final long sz = indices.size(); if (sz == 0) { destGeneric.setSize(0); @@ -392,7 +394,8 @@ protected void fillSparseChunk(@NotNull final WritableChunk dest } @Override - protected void fillSparsePrevChunk(@NotNull final WritableChunk destGeneric, @NotNull final RowSequence indices) { + protected void fillSparsePrevChunk(@NotNull final WritableChunk destGeneric, + @NotNull final RowSequence indices) { final long sz = indices.size(); if (sz == 0) { destGeneric.setSize(0); @@ -422,15 +425,18 @@ protected void fillSparsePrevChunk(@NotNull final WritableChunk final int indexWithinBlock = (int) (v & INDEX_MASK); final int indexWithinInUse = indexWithinBlock >> LOG_INUSE_BITSET_SIZE; final long maskWithinInUse = 1L << (indexWithinBlock & IN_USE_MASK); - final boolean usePrev = ctx.prevInUseBlock != null && (ctx.prevInUseBlock[indexWithinInUse] & maskWithinInUse) != 0; - dest.set(ctx.offset++, usePrev ? ctx.currentPrevBlock[indexWithinBlock] : ctx.currentBlock[indexWithinBlock]); + final boolean usePrev = + ctx.prevInUseBlock != null && (ctx.prevInUseBlock[indexWithinInUse] & maskWithinInUse) != 0; + dest.set(ctx.offset++, + usePrev ? ctx.currentPrevBlock[indexWithinBlock] : ctx.currentBlock[indexWithinBlock]); return true; }); dest.setSize(ctx.offset); } @Override - protected void fillSparseChunkUnordered(@NotNull final WritableChunk destGeneric, @NotNull final LongChunk indices) { + protected void fillSparseChunkUnordered(@NotNull final WritableChunk destGeneric, + @NotNull final LongChunk indices) { final WritableObjectChunk dest = destGeneric.asWritableObjectChunk(); final int sz = indices.size(); for (int ii = 0; ii < sz; ++ii) { @@ -451,7 +457,8 @@ protected void fillSparseChunkUnordered(@NotNull final WritableChunk destGeneric, @NotNull final LongChunk indices) { + protected void fillSparsePrevChunkUnordered(@NotNull final WritableChunk destGeneric, + @NotNull final LongChunk indices) { final WritableObjectChunk dest = destGeneric.asWritableObjectChunk(); final int sz = indices.size(); for (int ii = 0; ii < sz; ++ii) { @@ -478,7 +485,8 @@ void fillFromChunkByRanges(@NotNull RowSequence rowSequence, Chunk chunk = src.asObjectChunk(); final LongChunk ranges = rowSequence.asRowKeyRangesChunk(); - final boolean trackPrevious = prevFlusher != null && ensurePreviousClockCycle != updateGraph.clock().currentStep(); + final boolean trackPrevious = + prevFlusher != null && ensurePreviousClockCycle != updateGraph.clock().currentStep(); if (trackPrevious) { prevFlusher.maybeActivate(); @@ -540,7 +548,7 @@ public void copyFromChunk(long firstKey, long totalLength, Chunk> LOG_BLOCK_SIZE); final int sIndexWithinBlock = (int) (firstKey & INDEX_MASK); - final T [] inner = blocks[block]; + final T[] inner = blocks[block]; chunk.copyToTypedArray(offset, inner, sIndexWithinBlock, length); firstKey += length; @@ -553,13 +561,14 @@ void fillFromChunkByKeys(@NotNull RowSequence rowSequence, Chunk chunk = src.asObjectChunk(); final LongChunk keys = rowSequence.asRowKeyChunk(); - final boolean trackPrevious = prevFlusher != null && ensurePreviousClockCycle != updateGraph.clock().currentStep(); + final boolean trackPrevious = + prevFlusher != null && ensurePreviousClockCycle != updateGraph.clock().currentStep(); if (trackPrevious) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; int lastII = ii; @@ -590,22 +599,24 @@ void fillFromChunkByKeys(@NotNull RowSequence rowSequence, Chunk src, @NotNull LongChunk keys) { + public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull LongChunk keys) { final ObjectChunk chunk = src.asObjectChunk(); - final boolean trackPrevious = prevFlusher != null && ensurePreviousClockCycle != updateGraph.clock().currentStep(); + final boolean trackPrevious = + prevFlusher != null && ensurePreviousClockCycle != updateGraph.clock().currentStep(); if (trackPrevious) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long minKeyInCurrentBlock = firstKey & ~INDEX_MASK; final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; final int block = (int) (firstKey >> LOG_BLOCK_SIZE); - final T [] inner = blocks[block]; + final T[] inner = blocks[block]; if (chunk.isAlias(inner)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -637,7 +648,7 @@ public void move(long source, long dest, long length) { // TODO (#3359): we can move full blocks! } if (source < dest && source + length >= dest) { - for (long ii = length - 1; ii >= 0; ) { + for (long ii = length - 1; ii >= 0;) { final long sourceKey = source + ii; final long destKey = dest + ii; final int sourceBlock = (int) (sourceKey >> LOG_BLOCK_SIZE); @@ -647,9 +658,10 @@ public void move(long source, long dest, long length) { final int destIndexWithinBlock = (int) (destKey & INDEX_MASK); final int valuesInBothBlocks = Math.min(destIndexWithinBlock + 1, sourceIndexWithinBlock + 1); - final int toMove = (ii + 1) < valuesInBothBlocks ? (int)(ii + 1): valuesInBothBlocks; + final int toMove = (ii + 1) < valuesInBothBlocks ? (int) (ii + 1) : valuesInBothBlocks; - System.arraycopy(blocks[sourceBlock], sourceIndexWithinBlock - toMove + 1, blocks[destBlock], destIndexWithinBlock - toMove + 1, toMove); + System.arraycopy(blocks[sourceBlock], sourceIndexWithinBlock - toMove + 1, blocks[destBlock], + destIndexWithinBlock - toMove + 1, toMove); ii -= toMove; } } else { @@ -663,9 +675,10 @@ public void move(long source, long dest, long length) { final int destIndexWithinBlock = (int) (destKey & INDEX_MASK); final int valuesInBothBlocks = BLOCK_SIZE - Math.max(destIndexWithinBlock, sourceIndexWithinBlock); - final int toMove = (length - ii < valuesInBothBlocks) ? (int)(length - ii): valuesInBothBlocks; + final int toMove = (length - ii < valuesInBothBlocks) ? (int) (length - ii) : valuesInBothBlocks; - System.arraycopy(blocks[sourceBlock], sourceIndexWithinBlock, blocks[destBlock], destIndexWithinBlock, toMove); + System.arraycopy(blocks[sourceBlock], sourceIndexWithinBlock, blocks[destBlock], destIndexWithinBlock, + toMove); ii += toMove; } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ObjectSingleValueSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ObjectSingleValueSource.java index c8465fa6ef0..94ebdd1bbbd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ObjectSingleValueSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ObjectSingleValueSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterSingleValueSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterSingleValueSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableObjectChunk; @@ -30,7 +29,8 @@ * * (C-haracter is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ -public class ObjectSingleValueSource extends SingleValueColumnSource implements MutableColumnSourceGetDefaults.ForObject { +public class ObjectSingleValueSource extends SingleValueColumnSource + implements MutableColumnSourceGetDefaults.ForObject { private T current; private transient T prev; @@ -88,7 +88,8 @@ public final T getPrev(long rowKey) { } @Override - public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.size() == 0) { return; } @@ -98,7 +99,8 @@ public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk } @Override - public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull LongChunk keys) { + public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull LongChunk keys) { if (keys.size() == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ObjectSparseArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ObjectSparseArraySource.java index 877f2fd997f..f85a82380cb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ObjectSparseArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ObjectSparseArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterSparseArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterSparseArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.context.ExecutionContext; @@ -69,9 +68,9 @@ public class ObjectSparseArraySource extends SparseArrayColumnSource /** * Our previous page table could be very sparse, and we do not want to read through millions of nulls to find out - * what blocks to recycle. Instead we maintain a list of blocks that we have allocated (as the key shifted by - * BLOCK0_SHIFT). We recycle those blocks in the PrevFlusher; and accumulate the set of blocks that must be - * recycled from the next level array, and so on until we recycle the top-level prevBlocks and prevInUse arrays. + * what blocks to recycle. Instead we maintain a list of blocks that we have allocated (as the key shifted by + * BLOCK0_SHIFT). We recycle those blocks in the PrevFlusher; and accumulate the set of blocks that must be recycled + * from the next level array, and so on until we recycle the top-level prevBlocks and prevInUse arrays. */ private transient final TLongArrayList blocksToFlush = new TLongArrayList(); @@ -133,7 +132,8 @@ public final void set(long key, T value) { @Override public void shift(final RowSet keysToShift, final long shiftDelta) { - final RowSet.SearchIterator it = (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); + final RowSet.SearchIterator it = + (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); it.forEachLong((i) -> { set(i + shiftDelta, get(i)); setNull(i); @@ -171,7 +171,7 @@ private T getFromBlock(ObjectOneOrN.Block0 blocks, long key) { if (blocks2 == null) { return null; } - return blocks2[(int)(key & INDEX_MASK)]; + return blocks2[(int) (key & INDEX_MASK)]; } // endregion primitive get @@ -184,6 +184,7 @@ final T[] allocateNullFilledBlock(int size){ /** * Make sure that we have an allocated block at the given point, allocating all of the required parents. + * * @return {@code blocks.get(block0).get(block1).get(block2)}, which is non-null. */ T [] ensureBlock(final int block0, final int block1, final int block2) { @@ -212,6 +213,7 @@ final T[] allocateNullFilledBlock(int size){ /** * Make sure that we have an allocated previous and inuse block at the given point, allocating all of the required * parents. + * * @return {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. */ private T [] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { @@ -370,12 +372,13 @@ private void commitUpdates() { } /** - * Decides whether to record the previous value. - * @param key the row key to record - * @return If the caller should record the previous value, returns prev inner block, the value - * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller should not - * record values), returns null. - */ + * Decides whether to record the previous value. + * + * @param key the row key to record + * @return If the caller should record the previous value, returns prev inner block, the value + * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller + * should not record values), returns null. + */ final T [] shouldRecordPrevious(final long key) { if (!shouldTrackPrevious()) { return null; @@ -452,8 +455,9 @@ public void prepareForParallelPopulation(final RowSequence changedRows) { /** * This method supports the 'getPrev' method for its inheritors, doing some of the 'inUse' housekeeping that is * common to all inheritors. + * * @return true if the inheritor should return a value from its "prev" data structure; false if it should return a - * value from its "current" data structure. + * value from its "current" data structure. */ private boolean shouldUsePrevious(final long rowKey) { if (prevFlusher == null) { @@ -464,7 +468,7 @@ private boolean shouldUsePrevious(final long rowKey) { return false; } - final long [] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); + final long[] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); if (inUse == null) { return false; } @@ -481,7 +485,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByRanges( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableObjectChunk chunk = dest.asWritableObjectChunk(); // endregion chunkDecl @@ -497,7 +501,7 @@ private boolean shouldUsePrevious(final long rowKey) { if (ctx.block == null) { chunk.fillWithNullValue(ctx.offset, length); } else { - final int sIndexWithinBlock = (int)(firstKey & INDEX_MASK); + final int sIndexWithinBlock = (int) (firstKey & INDEX_MASK); // for the benefit of code generation. final int offset = ctx.offset; final T [] block = ctx.block; @@ -523,7 +527,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByKeys( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableObjectChunk chunk = dest.asWritableObjectChunk(); // endregion chunkDecl @@ -552,11 +556,11 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableObjectChunk chunk = dest.asWritableObjectChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, null); @@ -593,11 +597,11 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillPrevByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableObjectChunk chunk = dest.asWritableObjectChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, null); @@ -622,14 +626,16 @@ private boolean shouldUsePrevious(final long rowKey) { continue; } - final long [] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); + final long[] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null + : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); final T [] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); while (ii <= lastII) { final int indexWithinBlock = (int) (keys.get(ii) & INDEX_MASK); final int indexWithinInUse = indexWithinBlock >> LOG_INUSE_BITSET_SIZE; final long maskWithinInUse = 1L << (indexWithinBlock & IN_USE_MASK); - final T [] blockToUse = (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; + final T [] blockToUse = + (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; // region conversion chunk.set(ii++, blockToUse == null ? null : blockToUse[indexWithinBlock]); // endregion conversion @@ -644,7 +650,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillFromChunkByRanges( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -718,7 +724,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillFromChunkByKeys( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -733,7 +739,7 @@ private boolean shouldUsePrevious(final long rowKey) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; int lastII = ii; @@ -807,7 +813,7 @@ void nullByRanges(@NotNull final RowSequence rowSequence) { } blockOk.forAllRowKeyRanges((s, e) -> { - final int length = (int)((e - s) + 1); + final int length = (int) ((e - s) + 1); final int sIndexWithinBlock = (int) (s & INDEX_MASK); // This 'if' with its constant condition should be very friendly to the branch predictor. @@ -915,7 +921,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { @NotNull final FillFromContext context, @NotNull final Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { if (keys.size() == 0) { return; } @@ -929,7 +935,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long minKeyInCurrentBlock = firstKey & ~INDEX_MASK; final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/PossiblyImmutableColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/PossiblyImmutableColumnSource.java index 03363ee94c8..4afce6619de 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/PossiblyImmutableColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/PossiblyImmutableColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; /** diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/RedirectedColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/RedirectedColumnSource.java index 7b70f141b5b..3f4a3d33954 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/RedirectedColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/RedirectedColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ReinterpretUtils.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ReinterpretUtils.java index 2b199b47b65..c58f53c3e1e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ReinterpretUtils.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ReinterpretUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ReverseLookupColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ReverseLookupColumnSource.java index 4c6c7668bf6..44223acd8fa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ReverseLookupColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ReverseLookupColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.stringset.LongBitmapStringSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ReversedColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ReversedColumnSource.java index 8ba61bd94f0..6a084cdf406 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ReversedColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ReversedColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/RowKeyAgnosticChunkSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/RowKeyAgnosticChunkSource.java index edfd6d0ca2a..377637be108 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/RowKeyAgnosticChunkSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/RowKeyAgnosticChunkSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/RowKeyColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/RowKeyColumnSource.java index 4dd28914900..d1b21945c65 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/RowKeyColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/RowKeyColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.LongChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/RowPositionColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/RowPositionColumnSource.java index b5b1c9608bc..3289a1f7653 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/RowPositionColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/RowPositionColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ShiftedColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ShiftedColumnSource.java index 95b6b1d4fc0..07a6adc40d0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ShiftedColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ShiftedColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ShortArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ShortArraySource.java index a7913b97f2d..19183ecf12d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ShortArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ShortArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import gnu.trove.list.array.TIntArrayList; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ShortSingleValueSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ShortSingleValueSource.java index e0f21ee2113..ef93a63096e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ShortSingleValueSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ShortSingleValueSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterSingleValueSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterSingleValueSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableShortChunk; @@ -31,7 +30,8 @@ * * (C-haracter is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ -public class ShortSingleValueSource extends SingleValueColumnSource implements MutableColumnSourceGetDefaults.ForShort { +public class ShortSingleValueSource extends SingleValueColumnSource + implements MutableColumnSourceGetDefaults.ForShort { private short current; private transient short prev; @@ -100,7 +100,8 @@ public final short getPrevShort(long rowKey) { } @Override - public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.size() == 0) { return; } @@ -110,7 +111,8 @@ public final void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk } @Override - public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull LongChunk keys) { + public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull LongChunk keys) { if (keys.size() == 0) { return; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ShortSparseArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ShortSparseArraySource.java index 1fe2101b07d..1833d81efed 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ShortSparseArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ShortSparseArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterSparseArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterSparseArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.context.ExecutionContext; @@ -72,9 +71,9 @@ public class ShortSparseArraySource extends SparseArrayColumnSource /** * Our previous page table could be very sparse, and we do not want to read through millions of nulls to find out - * what blocks to recycle. Instead we maintain a list of blocks that we have allocated (as the key shifted by - * BLOCK0_SHIFT). We recycle those blocks in the PrevFlusher; and accumulate the set of blocks that must be - * recycled from the next level array, and so on until we recycle the top-level prevBlocks and prevInUse arrays. + * what blocks to recycle. Instead we maintain a list of blocks that we have allocated (as the key shifted by + * BLOCK0_SHIFT). We recycle those blocks in the PrevFlusher; and accumulate the set of blocks that must be recycled + * from the next level array, and so on until we recycle the top-level prevBlocks and prevInUse arrays. */ private transient final TLongArrayList blocksToFlush = new TLongArrayList(); @@ -96,7 +95,7 @@ public void ensureCapacity(long capacity, boolean nullFill) { // region setNull @Override public void setNull(long key) { - final short [] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); + final short[] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); if (blocks2 == null) { return; } @@ -105,7 +104,7 @@ public void setNull(long key) { return; } - final short [] prevBlocksInner = shouldRecordPrevious(key); + final short[] prevBlocksInner = shouldRecordPrevious(key); if (prevBlocksInner != null) { prevBlocksInner[indexWithinBlock] = blocks2[indexWithinBlock]; } @@ -120,8 +119,8 @@ public final void set(long key, short value) { final int block2 = (int) (key >> BLOCK2_SHIFT) & BLOCK2_MASK; final int indexWithinBlock = (int) (key & INDEX_MASK); - final short [] blocksInner = ensureBlock(block0, block1, block2); - final short [] prevBlocksInner = shouldRecordPrevious(key); + final short[] blocksInner = ensureBlock(block0, block1, block2); + final short[] prevBlocksInner = shouldRecordPrevious(key); if (prevBlocksInner != null) { prevBlocksInner[indexWithinBlock] = blocksInner[indexWithinBlock]; } @@ -130,7 +129,8 @@ public final void set(long key, short value) { @Override public void shift(final RowSet keysToShift, final long shiftDelta) { - final RowSet.SearchIterator it = (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); + final RowSet.SearchIterator it = + (shiftDelta > 0) ? keysToShift.reverseIterator() : keysToShift.searchIterator(); it.forEachLong((i) -> { set(i + shiftDelta, getShort(i)); setNull(i); @@ -178,18 +178,18 @@ public final short getPrevShort(long rowKey) { } private short getShortFromBlock(ShortOneOrN.Block0 blocks, long key) { - final short [] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); + final short[] blocks2 = blocks.getInnermostBlockByKeyOrNull(key); if (blocks2 == null) { return NULL_SHORT; } - return blocks2[(int)(key & INDEX_MASK)]; + return blocks2[(int) (key & INDEX_MASK)]; } // endregion primitive get // region allocateNullFilledBlock @SuppressWarnings("SameParameterValue") - final short [] allocateNullFilledBlock(int size) { - final short [] newBlock = new short[size]; + final short[] allocateNullFilledBlock(int size) { + final short[] newBlock = new short[size]; Arrays.fill(newBlock, NULL_SHORT); return newBlock; } @@ -197,9 +197,10 @@ private short getShortFromBlock(ShortOneOrN.Block0 blocks, long key) { /** * Make sure that we have an allocated block at the given point, allocating all of the required parents. + * * @return {@code blocks.get(block0).get(block1).get(block2)}, which is non-null. */ - short [] ensureBlock(final int block0, final int block1, final int block2) { + short[] ensureBlock(final int block0, final int block1, final int block2) { blocks.ensureIndex(block0, null); ShortOneOrN.Block1 blocks0 = blocks.get(block0); if (blocks0 == null) { @@ -211,7 +212,7 @@ private short getShortFromBlock(ShortOneOrN.Block0 blocks, long key) { blocks0.set(block1, blocks1 = new ShortOneOrN.Block2()); } - short [] result = blocks1.get(block2); + short[] result = blocks1.get(block2); if (result == null) { blocks1.ensureIndex(block2, null); // we do not use the recycler here, because the recycler need not sanitize the block (the inUse recycling @@ -225,9 +226,10 @@ private short getShortFromBlock(ShortOneOrN.Block0 blocks, long key) { /** * Make sure that we have an allocated previous and inuse block at the given point, allocating all of the required * parents. + * * @return {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. */ - private short [] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { + private short[] ensurePrevBlock(final long key, final int block0, final int block1, final int block2) { if (prevBlocks == null) { prevBlocks = new ShortOneOrN.Block0(); prevInUse = new LongOneOrN.Block0(); @@ -318,7 +320,7 @@ private void commitUpdates() { final ShortOneOrN.Block2 blocks1 = localPrevBlocks.get(block0).get(block1); final LongOneOrN.Block2 inUse1 = localPrevInUse.get(block0).get(block1); - final short [] pb = blocks1.get(block2); + final short[] pb = blocks1.get(block2); final long[] inuse = inUse1.get(block2); inUse1.set(block2, null); @@ -383,13 +385,14 @@ private void commitUpdates() { } /** - * Decides whether to record the previous value. - * @param key the row key to record - * @return If the caller should record the previous value, returns prev inner block, the value - * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller should not - * record values), returns null. - */ - final short [] shouldRecordPrevious(final long key) { + * Decides whether to record the previous value. + * + * @param key the row key to record + * @return If the caller should record the previous value, returns prev inner block, the value + * {@code prevBlocks.get(block0).get(block1).get(block2)}, which is non-null. Otherwise (if the caller + * should not record values), returns null. + */ + final short[] shouldRecordPrevious(final long key) { if (!shouldTrackPrevious()) { return null; } @@ -465,8 +468,9 @@ public void prepareForParallelPopulation(final RowSequence changedRows) { /** * This method supports the 'getPrev' method for its inheritors, doing some of the 'inUse' housekeeping that is * common to all inheritors. + * * @return true if the inheritor should return a value from its "prev" data structure; false if it should return a - * value from its "current" data structure. + * value from its "current" data structure. */ private boolean shouldUsePrevious(final long rowKey) { if (prevFlusher == null) { @@ -477,7 +481,7 @@ private boolean shouldUsePrevious(final long rowKey) { return false; } - final long [] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); + final long[] inUse = prevInUse.getInnermostBlockByKeyOrNull(rowKey); if (inUse == null) { return false; } @@ -494,7 +498,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByRanges( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableShortChunk chunk = dest.asWritableShortChunk(); // endregion chunkDecl @@ -510,7 +514,7 @@ private boolean shouldUsePrevious(final long rowKey) { if (ctx.block == null) { chunk.fillWithNullValue(ctx.offset, length); } else { - final int sIndexWithinBlock = (int)(firstKey & INDEX_MASK); + final int sIndexWithinBlock = (int) (firstKey & INDEX_MASK); // for the benefit of code generation. final int offset = ctx.offset; final short[] block = ctx.block; @@ -536,7 +540,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByKeys( @NotNull final WritableChunk dest, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableShortChunk chunk = dest.asWritableShortChunk(); // endregion chunkDecl @@ -565,11 +569,11 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableShortChunk chunk = dest.asWritableShortChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, NULL_SHORT); @@ -586,7 +590,7 @@ private boolean shouldUsePrevious(final long rowKey) { } lastII = nextII; } - final short [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final short[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; @@ -606,11 +610,11 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillPrevByUnRowSequence( @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableShortChunk chunk = dest.asWritableShortChunk(); // endregion chunkDecl - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); if (firstKey == RowSequence.NULL_ROW_KEY) { chunk.set(ii++, NULL_SHORT); @@ -628,21 +632,23 @@ private boolean shouldUsePrevious(final long rowKey) { lastII = nextII; } - final short [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final short[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { chunk.fillWithNullValue(ii, lastII - ii + 1); ii = lastII + 1; continue; } - final long [] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); - final short [] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); + final long[] prevInUse = (prevFlusher == null || this.prevInUse == null) ? null + : this.prevInUse.getInnermostBlockByKeyOrNull(firstKey); + final short[] prevBlock = prevInUse == null ? null : prevBlocks.getInnermostBlockByKeyOrNull(firstKey); while (ii <= lastII) { final int indexWithinBlock = (int) (keys.get(ii) & INDEX_MASK); final int indexWithinInUse = indexWithinBlock >> LOG_INUSE_BITSET_SIZE; final long maskWithinInUse = 1L << (indexWithinBlock & IN_USE_MASK); - final short[] blockToUse = (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; + final short[] blockToUse = + (prevInUse != null && (prevInUse[indexWithinInUse] & maskWithinInUse) != 0) ? prevBlock : block; // region conversion chunk.set(ii++, blockToUse == null ? NULL_SHORT : blockToUse[indexWithinBlock]); // endregion conversion @@ -657,7 +663,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillFromChunkByRanges( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -687,7 +693,7 @@ private boolean shouldUsePrevious(final long rowKey) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final short [] block = ensureBlock(block0, block1, block2); + final short[] block = ensureBlock(block0, block1, block2); if (block != knownUnaliasedBlock && chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -731,7 +737,7 @@ private boolean shouldUsePrevious(final long rowKey) { /* TYPE_MIXIN */ void fillFromChunkByKeys( @NotNull final RowSequence rowSequence, @NotNull final Chunk src - /* CONVERTER */) { + /* CONVERTER */) { if (rowSequence.isEmpty()) { return; } @@ -746,7 +752,7 @@ private boolean shouldUsePrevious(final long rowKey) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; int lastII = ii; @@ -757,7 +763,7 @@ private boolean shouldUsePrevious(final long rowKey) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final short [] block = ensureBlock(block0, block1, block2); + final short[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); @@ -813,14 +819,14 @@ void nullByRanges(@NotNull final RowSequence rowSequence) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final short [] block = blocks.getInnermostBlockByKeyOrNull(firstKey); + final short[] block = blocks.getInnermostBlockByKeyOrNull(firstKey); if (block == null) { continue; } blockOk.forAllRowKeyRanges((s, e) -> { - final int length = (int)((e - s) + 1); + final int length = (int) ((e - s) + 1); final int sIndexWithinBlock = (int) (s & INDEX_MASK); // This 'if' with its constant condition should be very friendly to the branch predictor. @@ -928,7 +934,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { @NotNull final FillFromContext context, @NotNull final Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { if (keys.size() == 0) { return; } @@ -942,7 +948,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { prevFlusher.maybeActivate(); } - for (int ii = 0; ii < keys.size(); ) { + for (int ii = 0; ii < keys.size();) { final long firstKey = keys.get(ii); final long minKeyInCurrentBlock = firstKey & ~INDEX_MASK; final long maxKeyInCurrentBlock = firstKey | INDEX_MASK; @@ -950,7 +956,7 @@ void nullByKeys(@NotNull final RowSequence rowSequence) { final int block0 = (int) (firstKey >> BLOCK0_SHIFT) & BLOCK0_MASK; final int block1 = (int) (firstKey >> BLOCK1_SHIFT) & BLOCK1_MASK; final int block2 = (int) (firstKey >> BLOCK2_SHIFT) & BLOCK2_MASK; - final short [] block = ensureBlock(block0, block1, block2); + final short[] block = ensureBlock(block0, block1, block2); if (chunk.isAlias(block)) { throw new UnsupportedOperationException("Source chunk is an alias for target data"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SingleValueColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SingleValueColumnSource.java index 8cd664e292b..dadb09f9be4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SingleValueColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SingleValueColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SingleValueObjectColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SingleValueObjectColumnSource.java index c1680816f9c..07a8ff97d13 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SingleValueObjectColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SingleValueObjectColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.rowset.RowSequence; @@ -10,19 +10,20 @@ /** * ColumnSource implementation for columns of a single unique value. */ -public class SingleValueObjectColumnSource extends AbstractColumnSource implements ImmutableColumnSourceGetDefaults.ForObject { +public class SingleValueObjectColumnSource extends AbstractColumnSource + implements ImmutableColumnSourceGetDefaults.ForObject { private final DATA_TYPE value; public SingleValueObjectColumnSource(DATA_TYPE value) { - //noinspection unchecked - super((Class)value.getClass()); + // noinspection unchecked + super((Class) value.getClass()); this.value = value; } @Override public DATA_TYPE get(long rowKey) { - if(rowKey == RowSequence.NULL_ROW_KEY) { + if (rowKey == RowSequence.NULL_ROW_KEY) { return null; } return value; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SizedColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SizedColumnSource.java index ea2fdf1a56f..f5aa4c24add 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SizedColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SizedColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SizedContextualizedObjectColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SizedContextualizedObjectColumnSource.java index 9a1f09023e3..2181d749bab 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SizedContextualizedObjectColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SizedContextualizedObjectColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SparseArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SparseArrayColumnSource.java index 42694b11e63..05d895b3eb4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SparseArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SparseArrayColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SwitchColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SwitchColumnSource.java index 6fc22a47a9f..a9e4a5bfdfd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SwitchColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/SwitchColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnboxedLongBackedColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnboxedLongBackedColumnSource.java index e83b5bdca97..3a94711fe1e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnboxedLongBackedColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnboxedLongBackedColumnSource.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -8,10 +11,11 @@ import java.time.Instant; /** - * Reinterpret result for many {@link ColumnSource} implementations that internally represent {@link Instant} values - * as {@code long} values. + * Reinterpret result for many {@link ColumnSource} implementations that internally represent {@link Instant} values as + * {@code long} values. */ -public class UnboxedLongBackedColumnSource extends AbstractColumnSource implements MutableColumnSourceGetDefaults.ForLong { +public class UnboxedLongBackedColumnSource extends AbstractColumnSource + implements MutableColumnSourceGetDefaults.ForLong { private final ColumnSource alternateColumnSource; public UnboxedLongBackedColumnSource(ColumnSource alternateColumnSource) { @@ -49,7 +53,7 @@ public ColumnSource doReinterpret( @NotNull final Class alternateDataType) throws IllegalArgumentException { if (alternateDataType == alternateColumnSource.getType()) { // this is a trivial return conversion - //noinspection unchecked + // noinspection unchecked return (ColumnSource) alternateColumnSource; } return alternateColumnSource.reinterpret(alternateDataType); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnboxedTimeBackedColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnboxedTimeBackedColumnSource.java index 0525341c460..277ddad52ed 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnboxedTimeBackedColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnboxedTimeBackedColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.ObjectChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupableColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupableColumnSource.java index 9874a13fb28..39477b6737a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupableColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupableColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; /** diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedArrayColumnSource.java index 273306a39ce..7f479bdb2d4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedArrayColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBooleanArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBooleanArrayColumnSource.java index cc264ad08ef..ebbbaac0c63 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBooleanArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBooleanArrayColumnSource.java @@ -1,12 +1,13 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; import io.deephaven.engine.table.impl.MutableColumnSourceGetDefaults; -public class UngroupedBooleanArrayColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForBoolean { +public class UngroupedBooleanArrayColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForBoolean { private ColumnSource innerSource; @Override @@ -25,10 +26,10 @@ public Boolean get(long rowKey) { if (rowKey < 0) { return null; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); boolean[] array = innerSource.get(segment); - if(offset >= array.length) { + if (offset >= array.length) { return null; } return array[offset]; @@ -40,9 +41,9 @@ public Boolean getPrev(long rowKey) { return null; } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); boolean[] array = innerSource.getPrev(segment); - if(offset >= array.length) { + if (offset >= array.length) { return null; } return array[offset]; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedBooleanArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedBooleanArrayColumnSource.java index f515c0ee4b8..a45905d6317 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedBooleanArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedBooleanArrayColumnSource.java @@ -1,12 +1,13 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; import io.deephaven.engine.table.impl.MutableColumnSourceGetDefaults; -public class UngroupedBoxedBooleanArrayColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForBoolean { +public class UngroupedBoxedBooleanArrayColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForBoolean { private ColumnSource innerSource; @Override @@ -25,10 +26,10 @@ public Boolean get(long rowKey) { if (rowKey < 0) { return null; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); Boolean[] array = innerSource.get(segment); - if(offset >= array.length) { + if (offset >= array.length) { return null; } return array[offset]; @@ -40,9 +41,9 @@ public Boolean getPrev(long rowKey) { return null; } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); Boolean[] array = innerSource.getPrev(segment); - if(offset >= array.length) { + if (offset >= array.length) { return null; } return array[offset]; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedByteArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedByteArrayColumnSource.java index f69f58f04db..566c40093d2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedByteArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedByteArrayColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedBoxedCharArrayColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedBoxedCharArrayColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -21,7 +20,8 @@ * * (C-har is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ -public class UngroupedBoxedByteArrayColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForObject { +public class UngroupedBoxedByteArrayColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForObject { private ColumnSource innerSource; @Override @@ -38,7 +38,7 @@ public UngroupedBoxedByteArrayColumnSource(ColumnSource innerSource) { @Override public Byte get(long rowKey) { final byte result = getByte(rowKey); - return (result == NULL_BYTE?null:result); + return (result == NULL_BYTE ? null : result); } @@ -47,8 +47,8 @@ public byte getByte(long rowKey) { if (rowKey < 0) { return NULL_BYTE; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); Byte[] array = innerSource.get(segment); if (array == null || offset >= array.length || array[offset] == null) { return NULL_BYTE; @@ -60,7 +60,7 @@ public byte getByte(long rowKey) { @Override public Byte getPrev(long rowKey) { final byte result = getPrevByte(rowKey); - return (result == NULL_BYTE?null:result); + return (result == NULL_BYTE ? null : result); } @Override @@ -69,7 +69,7 @@ public byte getPrevByte(long rowKey) { return NULL_BYTE; } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); Byte[] array = innerSource.getPrev(segment); if (array == null || offset >= array.length || array[offset] == null) { return NULL_BYTE; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedByteObjectVectorColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedByteObjectVectorColumnSource.java index f80eb90b8d5..3f637387e09 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedByteObjectVectorColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedByteObjectVectorColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedBoxedCharObjectVectorColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedBoxedCharObjectVectorColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedCharArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedCharArrayColumnSource.java index 3e6f8c2d940..c4fa2d9dced 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedCharArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedCharArrayColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -16,7 +16,8 @@ * * (C-har is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ -public class UngroupedBoxedCharArrayColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForObject { +public class UngroupedBoxedCharArrayColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForObject { private ColumnSource innerSource; @Override @@ -33,7 +34,7 @@ public UngroupedBoxedCharArrayColumnSource(ColumnSource innerSource @Override public Character get(long rowKey) { final char result = getChar(rowKey); - return (result == NULL_CHAR?null:result); + return (result == NULL_CHAR ? null : result); } @@ -42,8 +43,8 @@ public char getChar(long rowKey) { if (rowKey < 0) { return NULL_CHAR; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); Character[] array = innerSource.get(segment); if (array == null || offset >= array.length || array[offset] == null) { return NULL_CHAR; @@ -55,7 +56,7 @@ public char getChar(long rowKey) { @Override public Character getPrev(long rowKey) { final char result = getPrevChar(rowKey); - return (result == NULL_CHAR?null:result); + return (result == NULL_CHAR ? null : result); } @Override @@ -64,7 +65,7 @@ public char getPrevChar(long rowKey) { return NULL_CHAR; } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); Character[] array = innerSource.getPrev(segment); if (array == null || offset >= array.length || array[offset] == null) { return NULL_CHAR; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedCharObjectVectorColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedCharObjectVectorColumnSource.java index 1e308614f0e..746add84f4c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedCharObjectVectorColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedCharObjectVectorColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedDoubleArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedDoubleArrayColumnSource.java index 17f74605443..f0aaee6ea09 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedDoubleArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedDoubleArrayColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedBoxedCharArrayColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedBoxedCharArrayColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -21,7 +20,8 @@ * * (C-har is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ -public class UngroupedBoxedDoubleArrayColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForObject { +public class UngroupedBoxedDoubleArrayColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForObject { private ColumnSource innerSource; @Override @@ -38,7 +38,7 @@ public UngroupedBoxedDoubleArrayColumnSource(ColumnSource innerSource) @Override public Double get(long rowKey) { final double result = getDouble(rowKey); - return (result == NULL_DOUBLE?null:result); + return (result == NULL_DOUBLE ? null : result); } @@ -47,8 +47,8 @@ public double getDouble(long rowKey) { if (rowKey < 0) { return NULL_DOUBLE; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); Double[] array = innerSource.get(segment); if (array == null || offset >= array.length || array[offset] == null) { return NULL_DOUBLE; @@ -60,7 +60,7 @@ public double getDouble(long rowKey) { @Override public Double getPrev(long rowKey) { final double result = getPrevDouble(rowKey); - return (result == NULL_DOUBLE?null:result); + return (result == NULL_DOUBLE ? null : result); } @Override @@ -69,7 +69,7 @@ public double getPrevDouble(long rowKey) { return NULL_DOUBLE; } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); Double[] array = innerSource.getPrev(segment); if (array == null || offset >= array.length || array[offset] == null) { return NULL_DOUBLE; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedDoubleObjectVectorColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedDoubleObjectVectorColumnSource.java index c681451158a..c32c3b03ac1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedDoubleObjectVectorColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedDoubleObjectVectorColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedBoxedCharObjectVectorColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedBoxedCharObjectVectorColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedFloatArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedFloatArrayColumnSource.java index fb1338814b0..f79b3f99760 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedFloatArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedFloatArrayColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedBoxedCharArrayColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedBoxedCharArrayColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -21,7 +20,8 @@ * * (C-har is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ -public class UngroupedBoxedFloatArrayColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForObject { +public class UngroupedBoxedFloatArrayColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForObject { private ColumnSource innerSource; @Override @@ -38,7 +38,7 @@ public UngroupedBoxedFloatArrayColumnSource(ColumnSource innerSource) { @Override public Float get(long rowKey) { final float result = getFloat(rowKey); - return (result == NULL_FLOAT?null:result); + return (result == NULL_FLOAT ? null : result); } @@ -47,8 +47,8 @@ public float getFloat(long rowKey) { if (rowKey < 0) { return NULL_FLOAT; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); Float[] array = innerSource.get(segment); if (array == null || offset >= array.length || array[offset] == null) { return NULL_FLOAT; @@ -60,7 +60,7 @@ public float getFloat(long rowKey) { @Override public Float getPrev(long rowKey) { final float result = getPrevFloat(rowKey); - return (result == NULL_FLOAT?null:result); + return (result == NULL_FLOAT ? null : result); } @Override @@ -69,7 +69,7 @@ public float getPrevFloat(long rowKey) { return NULL_FLOAT; } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); Float[] array = innerSource.getPrev(segment); if (array == null || offset >= array.length || array[offset] == null) { return NULL_FLOAT; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedFloatObjectVectorColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedFloatObjectVectorColumnSource.java index 2d4d23f1b5f..a44c11b33d4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedFloatObjectVectorColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedFloatObjectVectorColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedBoxedCharObjectVectorColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedBoxedCharObjectVectorColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedIntArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedIntArrayColumnSource.java index fd5e2a9f955..625e51060cc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedIntArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedIntArrayColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedBoxedCharArrayColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedBoxedCharArrayColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -21,7 +20,8 @@ * * (C-har is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ -public class UngroupedBoxedIntArrayColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForObject { +public class UngroupedBoxedIntArrayColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForObject { private ColumnSource innerSource; @Override @@ -38,7 +38,7 @@ public UngroupedBoxedIntArrayColumnSource(ColumnSource innerSource) { @Override public Integer get(long rowKey) { final int result = getInt(rowKey); - return (result == NULL_INT?null:result); + return (result == NULL_INT ? null : result); } @@ -47,8 +47,8 @@ public int getInt(long rowKey) { if (rowKey < 0) { return NULL_INT; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); Integer[] array = innerSource.get(segment); if (array == null || offset >= array.length || array[offset] == null) { return NULL_INT; @@ -60,7 +60,7 @@ public int getInt(long rowKey) { @Override public Integer getPrev(long rowKey) { final int result = getPrevInt(rowKey); - return (result == NULL_INT?null:result); + return (result == NULL_INT ? null : result); } @Override @@ -69,7 +69,7 @@ public int getPrevInt(long rowKey) { return NULL_INT; } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); Integer[] array = innerSource.getPrev(segment); if (array == null || offset >= array.length || array[offset] == null) { return NULL_INT; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedIntObjectVectorColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedIntObjectVectorColumnSource.java index 60f2eab3ba8..41b565c4e12 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedIntObjectVectorColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedIntObjectVectorColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedBoxedCharObjectVectorColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedBoxedCharObjectVectorColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedLongArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedLongArrayColumnSource.java index 32cf8a51c6c..d1b46b5c334 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedLongArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedLongArrayColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedBoxedCharArrayColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedBoxedCharArrayColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -21,7 +20,8 @@ * * (C-har is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ -public class UngroupedBoxedLongArrayColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForObject { +public class UngroupedBoxedLongArrayColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForObject { private ColumnSource innerSource; @Override @@ -38,7 +38,7 @@ public UngroupedBoxedLongArrayColumnSource(ColumnSource innerSource) { @Override public Long get(long rowKey) { final long result = getLong(rowKey); - return (result == NULL_LONG?null:result); + return (result == NULL_LONG ? null : result); } @@ -47,8 +47,8 @@ public long getLong(long rowKey) { if (rowKey < 0) { return NULL_LONG; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); Long[] array = innerSource.get(segment); if (array == null || offset >= array.length || array[offset] == null) { return NULL_LONG; @@ -60,7 +60,7 @@ public long getLong(long rowKey) { @Override public Long getPrev(long rowKey) { final long result = getPrevLong(rowKey); - return (result == NULL_LONG?null:result); + return (result == NULL_LONG ? null : result); } @Override @@ -69,7 +69,7 @@ public long getPrevLong(long rowKey) { return NULL_LONG; } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); Long[] array = innerSource.getPrev(segment); if (array == null || offset >= array.length || array[offset] == null) { return NULL_LONG; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedLongObjectVectorColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedLongObjectVectorColumnSource.java index ddcb93be847..119eb847f95 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedLongObjectVectorColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedLongObjectVectorColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedBoxedCharObjectVectorColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedBoxedCharObjectVectorColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedShortArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedShortArrayColumnSource.java index 592cc178662..c9839fd6bd2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedShortArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedShortArrayColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedBoxedCharArrayColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedBoxedCharArrayColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -21,7 +20,8 @@ * * (C-har is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ -public class UngroupedBoxedShortArrayColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForObject { +public class UngroupedBoxedShortArrayColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForObject { private ColumnSource innerSource; @Override @@ -38,7 +38,7 @@ public UngroupedBoxedShortArrayColumnSource(ColumnSource innerSource) { @Override public Short get(long rowKey) { final short result = getShort(rowKey); - return (result == NULL_SHORT?null:result); + return (result == NULL_SHORT ? null : result); } @@ -47,8 +47,8 @@ public short getShort(long rowKey) { if (rowKey < 0) { return NULL_SHORT; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); Short[] array = innerSource.get(segment); if (array == null || offset >= array.length || array[offset] == null) { return NULL_SHORT; @@ -60,7 +60,7 @@ public short getShort(long rowKey) { @Override public Short getPrev(long rowKey) { final short result = getPrevShort(rowKey); - return (result == NULL_SHORT?null:result); + return (result == NULL_SHORT ? null : result); } @Override @@ -69,7 +69,7 @@ public short getPrevShort(long rowKey) { return NULL_SHORT; } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); Short[] array = innerSource.getPrev(segment); if (array == null || offset >= array.length || array[offset] == null) { return NULL_SHORT; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedShortObjectVectorColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedShortObjectVectorColumnSource.java index 1afc03eb83c..872bd5aa1c7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedShortObjectVectorColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedBoxedShortObjectVectorColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedBoxedCharObjectVectorColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedBoxedCharObjectVectorColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedByteArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedByteArrayColumnSource.java index ef7b0aaa714..bf298e6d23e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedByteArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedByteArrayColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedCharArrayColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedCharArrayColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -13,7 +12,8 @@ import static io.deephaven.util.QueryConstants.NULL_BYTE; -public class UngroupedByteArrayColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForByte { +public class UngroupedByteArrayColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForByte { private ColumnSource innerSource; @Override @@ -32,10 +32,10 @@ public byte getByte(long rowKey) { if (rowKey < 0) { return NULL_BYTE; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); byte[] array = innerSource.get(segment); - if(array == null || offset >= array.length) { + if (array == null || offset >= array.length) { return NULL_BYTE; } return array[offset]; @@ -47,9 +47,9 @@ public byte getPrevByte(long rowKey) { return NULL_BYTE; } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); byte[] array = innerSource.getPrev(segment); - if(array == null || offset >= array.length) { + if (array == null || offset >= array.length) { return NULL_BYTE; } return array[offset]; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedByteVectorColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedByteVectorColumnSource.java index 67103a75e0e..9e8913b4e0c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedByteVectorColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedByteVectorColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedCharVectorColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedCharVectorColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -14,7 +13,8 @@ import static io.deephaven.util.QueryConstants.NULL_BYTE; -public class UngroupedByteVectorColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForByte { +public class UngroupedByteVectorColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForByte { private ColumnSource innerSource; private final boolean isUngroupable; @@ -27,7 +27,8 @@ public Class getComponentType() { public UngroupedByteVectorColumnSource(ColumnSource innerSource) { super(Byte.class); this.innerSource = innerSource; - this.isUngroupable = innerSource instanceof UngroupableColumnSource && ((UngroupableColumnSource)innerSource).isUngroupable(); + this.isUngroupable = innerSource instanceof UngroupableColumnSource + && ((UngroupableColumnSource) innerSource).isUngroupable(); } @Override @@ -35,11 +36,11 @@ public Byte get(long rowKey) { if (rowKey < 0) { return null; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); final Byte result; if (isUngroupable) { - result = (Byte)((UngroupableColumnSource)innerSource).getUngrouped(segment, offset); + result = (Byte) ((UngroupableColumnSource) innerSource).getUngrouped(segment, offset); if (result == null) return null; } else { @@ -56,10 +57,10 @@ public byte getByte(long rowKey) { return NULL_BYTE; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); if (isUngroupable) { - return ((UngroupableColumnSource)innerSource).getUngroupedByte(segment, offset); + return ((UngroupableColumnSource) innerSource).getUngroupedByte(segment, offset); } final ByteVector segmentArray = innerSource.get(segment); @@ -74,10 +75,10 @@ public Byte getPrev(long rowKey) { } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); final Byte result; if (isUngroupable) { - result = (Byte)((UngroupableColumnSource)innerSource).getUngroupedPrev(segment, offset); + result = (Byte) ((UngroupableColumnSource) innerSource).getUngroupedPrev(segment, offset); if (result == null) { return null; } @@ -96,10 +97,10 @@ public byte getPrevByte(long rowKey) { } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); if (isUngroupable) { - return ((UngroupableColumnSource)innerSource).getUngroupedPrevByte(segment, offset); + return ((UngroupableColumnSource) innerSource).getUngroupedPrevByte(segment, offset); } final ByteVector segmentArray = innerSource.getPrev(segment); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedCharArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedCharArrayColumnSource.java index a365a7e5047..23a7f66495a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedCharArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedCharArrayColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -8,7 +8,8 @@ import static io.deephaven.util.QueryConstants.NULL_CHAR; -public class UngroupedCharArrayColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForChar { +public class UngroupedCharArrayColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForChar { private ColumnSource innerSource; @Override @@ -27,10 +28,10 @@ public char getChar(long rowKey) { if (rowKey < 0) { return NULL_CHAR; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); char[] array = innerSource.get(segment); - if(array == null || offset >= array.length) { + if (array == null || offset >= array.length) { return NULL_CHAR; } return array[offset]; @@ -42,9 +43,9 @@ public char getPrevChar(long rowKey) { return NULL_CHAR; } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); char[] array = innerSource.getPrev(segment); - if(array == null || offset >= array.length) { + if (array == null || offset >= array.length) { return NULL_CHAR; } return array[offset]; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedCharVectorColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedCharVectorColumnSource.java index 478e53ad18c..e4066380b50 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedCharVectorColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedCharVectorColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -9,7 +9,8 @@ import static io.deephaven.util.QueryConstants.NULL_CHAR; -public class UngroupedCharVectorColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForChar { +public class UngroupedCharVectorColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForChar { private ColumnSource innerSource; private final boolean isUngroupable; @@ -22,7 +23,8 @@ public Class getComponentType() { public UngroupedCharVectorColumnSource(ColumnSource innerSource) { super(Character.class); this.innerSource = innerSource; - this.isUngroupable = innerSource instanceof UngroupableColumnSource && ((UngroupableColumnSource)innerSource).isUngroupable(); + this.isUngroupable = innerSource instanceof UngroupableColumnSource + && ((UngroupableColumnSource) innerSource).isUngroupable(); } @Override @@ -30,11 +32,11 @@ public Character get(long rowKey) { if (rowKey < 0) { return null; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); final Character result; if (isUngroupable) { - result = (Character)((UngroupableColumnSource)innerSource).getUngrouped(segment, offset); + result = (Character) ((UngroupableColumnSource) innerSource).getUngrouped(segment, offset); if (result == null) return null; } else { @@ -51,10 +53,10 @@ public char getChar(long rowKey) { return NULL_CHAR; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); if (isUngroupable) { - return ((UngroupableColumnSource)innerSource).getUngroupedChar(segment, offset); + return ((UngroupableColumnSource) innerSource).getUngroupedChar(segment, offset); } final CharVector segmentArray = innerSource.get(segment); @@ -69,10 +71,10 @@ public Character getPrev(long rowKey) { } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); final Character result; if (isUngroupable) { - result = (Character)((UngroupableColumnSource)innerSource).getUngroupedPrev(segment, offset); + result = (Character) ((UngroupableColumnSource) innerSource).getUngroupedPrev(segment, offset); if (result == null) { return null; } @@ -91,10 +93,10 @@ public char getPrevChar(long rowKey) { } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); if (isUngroupable) { - return ((UngroupableColumnSource)innerSource).getUngroupedPrevChar(segment, offset); + return ((UngroupableColumnSource) innerSource).getUngroupedPrevChar(segment, offset); } final CharVector segmentArray = innerSource.getPrev(segment); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedColumnSource.java index 3d819f4ff34..a667cda0cd6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedDoubleArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedDoubleArrayColumnSource.java index 92a68163bda..bc331934ac0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedDoubleArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedDoubleArrayColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedCharArrayColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedCharArrayColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -13,7 +12,8 @@ import static io.deephaven.util.QueryConstants.NULL_DOUBLE; -public class UngroupedDoubleArrayColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForDouble { +public class UngroupedDoubleArrayColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForDouble { private ColumnSource innerSource; @Override @@ -32,10 +32,10 @@ public double getDouble(long rowKey) { if (rowKey < 0) { return NULL_DOUBLE; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); double[] array = innerSource.get(segment); - if(array == null || offset >= array.length) { + if (array == null || offset >= array.length) { return NULL_DOUBLE; } return array[offset]; @@ -47,9 +47,9 @@ public double getPrevDouble(long rowKey) { return NULL_DOUBLE; } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); double[] array = innerSource.getPrev(segment); - if(array == null || offset >= array.length) { + if (array == null || offset >= array.length) { return NULL_DOUBLE; } return array[offset]; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedDoubleVectorColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedDoubleVectorColumnSource.java index 4eb6cd55bbd..e5140b1143d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedDoubleVectorColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedDoubleVectorColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedCharVectorColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedCharVectorColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -14,7 +13,8 @@ import static io.deephaven.util.QueryConstants.NULL_DOUBLE; -public class UngroupedDoubleVectorColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForDouble { +public class UngroupedDoubleVectorColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForDouble { private ColumnSource innerSource; private final boolean isUngroupable; @@ -27,7 +27,8 @@ public Class getComponentType() { public UngroupedDoubleVectorColumnSource(ColumnSource innerSource) { super(Double.class); this.innerSource = innerSource; - this.isUngroupable = innerSource instanceof UngroupableColumnSource && ((UngroupableColumnSource)innerSource).isUngroupable(); + this.isUngroupable = innerSource instanceof UngroupableColumnSource + && ((UngroupableColumnSource) innerSource).isUngroupable(); } @Override @@ -35,11 +36,11 @@ public Double get(long rowKey) { if (rowKey < 0) { return null; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); final Double result; if (isUngroupable) { - result = (Double)((UngroupableColumnSource)innerSource).getUngrouped(segment, offset); + result = (Double) ((UngroupableColumnSource) innerSource).getUngrouped(segment, offset); if (result == null) return null; } else { @@ -56,10 +57,10 @@ public double getDouble(long rowKey) { return NULL_DOUBLE; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); if (isUngroupable) { - return ((UngroupableColumnSource)innerSource).getUngroupedDouble(segment, offset); + return ((UngroupableColumnSource) innerSource).getUngroupedDouble(segment, offset); } final DoubleVector segmentArray = innerSource.get(segment); @@ -74,10 +75,10 @@ public Double getPrev(long rowKey) { } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); final Double result; if (isUngroupable) { - result = (Double)((UngroupableColumnSource)innerSource).getUngroupedPrev(segment, offset); + result = (Double) ((UngroupableColumnSource) innerSource).getUngroupedPrev(segment, offset); if (result == null) { return null; } @@ -96,10 +97,10 @@ public double getPrevDouble(long rowKey) { } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); if (isUngroupable) { - return ((UngroupableColumnSource)innerSource).getUngroupedPrevDouble(segment, offset); + return ((UngroupableColumnSource) innerSource).getUngroupedPrevDouble(segment, offset); } final DoubleVector segmentArray = innerSource.getPrev(segment); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedFloatArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedFloatArrayColumnSource.java index c1e1a73dad7..c74eaf39046 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedFloatArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedFloatArrayColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedCharArrayColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedCharArrayColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -13,7 +12,8 @@ import static io.deephaven.util.QueryConstants.NULL_FLOAT; -public class UngroupedFloatArrayColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForFloat { +public class UngroupedFloatArrayColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForFloat { private ColumnSource innerSource; @Override @@ -32,10 +32,10 @@ public float getFloat(long rowKey) { if (rowKey < 0) { return NULL_FLOAT; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); float[] array = innerSource.get(segment); - if(array == null || offset >= array.length) { + if (array == null || offset >= array.length) { return NULL_FLOAT; } return array[offset]; @@ -47,9 +47,9 @@ public float getPrevFloat(long rowKey) { return NULL_FLOAT; } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); float[] array = innerSource.getPrev(segment); - if(array == null || offset >= array.length) { + if (array == null || offset >= array.length) { return NULL_FLOAT; } return array[offset]; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedFloatVectorColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedFloatVectorColumnSource.java index 14e7e4c8bad..2db6bdcda52 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedFloatVectorColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedFloatVectorColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedCharVectorColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedCharVectorColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -14,7 +13,8 @@ import static io.deephaven.util.QueryConstants.NULL_FLOAT; -public class UngroupedFloatVectorColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForFloat { +public class UngroupedFloatVectorColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForFloat { private ColumnSource innerSource; private final boolean isUngroupable; @@ -27,7 +27,8 @@ public Class getComponentType() { public UngroupedFloatVectorColumnSource(ColumnSource innerSource) { super(Float.class); this.innerSource = innerSource; - this.isUngroupable = innerSource instanceof UngroupableColumnSource && ((UngroupableColumnSource)innerSource).isUngroupable(); + this.isUngroupable = innerSource instanceof UngroupableColumnSource + && ((UngroupableColumnSource) innerSource).isUngroupable(); } @Override @@ -35,11 +36,11 @@ public Float get(long rowKey) { if (rowKey < 0) { return null; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); final Float result; if (isUngroupable) { - result = (Float)((UngroupableColumnSource)innerSource).getUngrouped(segment, offset); + result = (Float) ((UngroupableColumnSource) innerSource).getUngrouped(segment, offset); if (result == null) return null; } else { @@ -56,10 +57,10 @@ public float getFloat(long rowKey) { return NULL_FLOAT; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); if (isUngroupable) { - return ((UngroupableColumnSource)innerSource).getUngroupedFloat(segment, offset); + return ((UngroupableColumnSource) innerSource).getUngroupedFloat(segment, offset); } final FloatVector segmentArray = innerSource.get(segment); @@ -74,10 +75,10 @@ public Float getPrev(long rowKey) { } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); final Float result; if (isUngroupable) { - result = (Float)((UngroupableColumnSource)innerSource).getUngroupedPrev(segment, offset); + result = (Float) ((UngroupableColumnSource) innerSource).getUngroupedPrev(segment, offset); if (result == null) { return null; } @@ -96,10 +97,10 @@ public float getPrevFloat(long rowKey) { } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); if (isUngroupable) { - return ((UngroupableColumnSource)innerSource).getUngroupedPrevFloat(segment, offset); + return ((UngroupableColumnSource) innerSource).getUngroupedPrevFloat(segment, offset); } final FloatVector segmentArray = innerSource.getPrev(segment); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedIntArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedIntArrayColumnSource.java index 5059894b5f2..678172ca056 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedIntArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedIntArrayColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedCharArrayColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedCharArrayColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -13,7 +12,8 @@ import static io.deephaven.util.QueryConstants.NULL_INT; -public class UngroupedIntArrayColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForInt { +public class UngroupedIntArrayColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForInt { private ColumnSource innerSource; @Override @@ -32,10 +32,10 @@ public int getInt(long rowKey) { if (rowKey < 0) { return NULL_INT; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); int[] array = innerSource.get(segment); - if(array == null || offset >= array.length) { + if (array == null || offset >= array.length) { return NULL_INT; } return array[offset]; @@ -47,9 +47,9 @@ public int getPrevInt(long rowKey) { return NULL_INT; } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); int[] array = innerSource.getPrev(segment); - if(array == null || offset >= array.length) { + if (array == null || offset >= array.length) { return NULL_INT; } return array[offset]; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedIntVectorColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedIntVectorColumnSource.java index f5222b4b3f6..b6ad1e301b9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedIntVectorColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedIntVectorColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedCharVectorColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedCharVectorColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -14,7 +13,8 @@ import static io.deephaven.util.QueryConstants.NULL_INT; -public class UngroupedIntVectorColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForInt { +public class UngroupedIntVectorColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForInt { private ColumnSource innerSource; private final boolean isUngroupable; @@ -27,7 +27,8 @@ public Class getComponentType() { public UngroupedIntVectorColumnSource(ColumnSource innerSource) { super(Integer.class); this.innerSource = innerSource; - this.isUngroupable = innerSource instanceof UngroupableColumnSource && ((UngroupableColumnSource)innerSource).isUngroupable(); + this.isUngroupable = innerSource instanceof UngroupableColumnSource + && ((UngroupableColumnSource) innerSource).isUngroupable(); } @Override @@ -35,11 +36,11 @@ public Integer get(long rowKey) { if (rowKey < 0) { return null; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); final Integer result; if (isUngroupable) { - result = (Integer)((UngroupableColumnSource)innerSource).getUngrouped(segment, offset); + result = (Integer) ((UngroupableColumnSource) innerSource).getUngrouped(segment, offset); if (result == null) return null; } else { @@ -56,10 +57,10 @@ public int getInt(long rowKey) { return NULL_INT; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); if (isUngroupable) { - return ((UngroupableColumnSource)innerSource).getUngroupedInt(segment, offset); + return ((UngroupableColumnSource) innerSource).getUngroupedInt(segment, offset); } final IntVector segmentArray = innerSource.get(segment); @@ -74,10 +75,10 @@ public Integer getPrev(long rowKey) { } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); final Integer result; if (isUngroupable) { - result = (Integer)((UngroupableColumnSource)innerSource).getUngroupedPrev(segment, offset); + result = (Integer) ((UngroupableColumnSource) innerSource).getUngroupedPrev(segment, offset); if (result == null) { return null; } @@ -96,10 +97,10 @@ public int getPrevInt(long rowKey) { } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); if (isUngroupable) { - return ((UngroupableColumnSource)innerSource).getUngroupedPrevInt(segment, offset); + return ((UngroupableColumnSource) innerSource).getUngroupedPrevInt(segment, offset); } final IntVector segmentArray = innerSource.getPrev(segment); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedLongArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedLongArrayColumnSource.java index 5e1d359de61..4d8dfbd6e9a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedLongArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedLongArrayColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedCharArrayColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedCharArrayColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -13,7 +12,8 @@ import static io.deephaven.util.QueryConstants.NULL_LONG; -public class UngroupedLongArrayColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForLong { +public class UngroupedLongArrayColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForLong { private ColumnSource innerSource; @Override @@ -32,10 +32,10 @@ public long getLong(long rowKey) { if (rowKey < 0) { return NULL_LONG; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); long[] array = innerSource.get(segment); - if(array == null || offset >= array.length) { + if (array == null || offset >= array.length) { return NULL_LONG; } return array[offset]; @@ -47,9 +47,9 @@ public long getPrevLong(long rowKey) { return NULL_LONG; } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); long[] array = innerSource.getPrev(segment); - if(array == null || offset >= array.length) { + if (array == null || offset >= array.length) { return NULL_LONG; } return array[offset]; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedLongVectorColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedLongVectorColumnSource.java index 0c68797c14e..91153e1ee7e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedLongVectorColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedLongVectorColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedCharVectorColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedCharVectorColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -14,7 +13,8 @@ import static io.deephaven.util.QueryConstants.NULL_LONG; -public class UngroupedLongVectorColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForLong { +public class UngroupedLongVectorColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForLong { private ColumnSource innerSource; private final boolean isUngroupable; @@ -27,7 +27,8 @@ public Class getComponentType() { public UngroupedLongVectorColumnSource(ColumnSource innerSource) { super(Long.class); this.innerSource = innerSource; - this.isUngroupable = innerSource instanceof UngroupableColumnSource && ((UngroupableColumnSource)innerSource).isUngroupable(); + this.isUngroupable = innerSource instanceof UngroupableColumnSource + && ((UngroupableColumnSource) innerSource).isUngroupable(); } @Override @@ -35,11 +36,11 @@ public Long get(long rowKey) { if (rowKey < 0) { return null; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); final Long result; if (isUngroupable) { - result = (Long)((UngroupableColumnSource)innerSource).getUngrouped(segment, offset); + result = (Long) ((UngroupableColumnSource) innerSource).getUngrouped(segment, offset); if (result == null) return null; } else { @@ -56,10 +57,10 @@ public long getLong(long rowKey) { return NULL_LONG; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); if (isUngroupable) { - return ((UngroupableColumnSource)innerSource).getUngroupedLong(segment, offset); + return ((UngroupableColumnSource) innerSource).getUngroupedLong(segment, offset); } final LongVector segmentArray = innerSource.get(segment); @@ -74,10 +75,10 @@ public Long getPrev(long rowKey) { } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); final Long result; if (isUngroupable) { - result = (Long)((UngroupableColumnSource)innerSource).getUngroupedPrev(segment, offset); + result = (Long) ((UngroupableColumnSource) innerSource).getUngroupedPrev(segment, offset); if (result == null) { return null; } @@ -96,10 +97,10 @@ public long getPrevLong(long rowKey) { } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); if (isUngroupable) { - return ((UngroupableColumnSource)innerSource).getUngroupedPrevLong(segment, offset); + return ((UngroupableColumnSource) innerSource).getUngroupedPrevLong(segment, offset); } final LongVector segmentArray = innerSource.getPrev(segment); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedObjectVectorColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedObjectVectorColumnSource.java index 6b96eabb887..041a51ecad4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedObjectVectorColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedObjectVectorColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedShortArrayColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedShortArrayColumnSource.java index 6fadb7a6073..334a1f54cab 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedShortArrayColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedShortArrayColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedCharArrayColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedCharArrayColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -13,7 +12,8 @@ import static io.deephaven.util.QueryConstants.NULL_SHORT; -public class UngroupedShortArrayColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForShort { +public class UngroupedShortArrayColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForShort { private ColumnSource innerSource; @Override @@ -32,10 +32,10 @@ public short getShort(long rowKey) { if (rowKey < 0) { return NULL_SHORT; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); short[] array = innerSource.get(segment); - if(array == null || offset >= array.length) { + if (array == null || offset >= array.length) { return NULL_SHORT; } return array[offset]; @@ -47,9 +47,9 @@ public short getPrevShort(long rowKey) { return NULL_SHORT; } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); short[] array = innerSource.getPrev(segment); - if(array == null || offset >= array.length) { + if (array == null || offset >= array.length) { return NULL_SHORT; } return array[offset]; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedShortVectorColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedShortVectorColumnSource.java index 8bbbed732d2..dc8a97a5a66 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedShortVectorColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UngroupedShortVectorColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedCharVectorColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UngroupedCharVectorColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -14,7 +13,8 @@ import static io.deephaven.util.QueryConstants.NULL_SHORT; -public class UngroupedShortVectorColumnSource extends UngroupedColumnSource implements MutableColumnSourceGetDefaults.ForShort { +public class UngroupedShortVectorColumnSource extends UngroupedColumnSource + implements MutableColumnSourceGetDefaults.ForShort { private ColumnSource innerSource; private final boolean isUngroupable; @@ -27,7 +27,8 @@ public Class getComponentType() { public UngroupedShortVectorColumnSource(ColumnSource innerSource) { super(Short.class); this.innerSource = innerSource; - this.isUngroupable = innerSource instanceof UngroupableColumnSource && ((UngroupableColumnSource)innerSource).isUngroupable(); + this.isUngroupable = innerSource instanceof UngroupableColumnSource + && ((UngroupableColumnSource) innerSource).isUngroupable(); } @Override @@ -35,11 +36,11 @@ public Short get(long rowKey) { if (rowKey < 0) { return null; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); final Short result; if (isUngroupable) { - result = (Short)((UngroupableColumnSource)innerSource).getUngrouped(segment, offset); + result = (Short) ((UngroupableColumnSource) innerSource).getUngrouped(segment, offset); if (result == null) return null; } else { @@ -56,10 +57,10 @@ public short getShort(long rowKey) { return NULL_SHORT; } - long segment = rowKey >>base; - int offset = (int) (rowKey & ((1<> base; + int offset = (int) (rowKey & ((1 << base) - 1)); if (isUngroupable) { - return ((UngroupableColumnSource)innerSource).getUngroupedShort(segment, offset); + return ((UngroupableColumnSource) innerSource).getUngroupedShort(segment, offset); } final ShortVector segmentArray = innerSource.get(segment); @@ -74,10 +75,10 @@ public Short getPrev(long rowKey) { } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); final Short result; if (isUngroupable) { - result = (Short)((UngroupableColumnSource)innerSource).getUngroupedPrev(segment, offset); + result = (Short) ((UngroupableColumnSource) innerSource).getUngroupedPrev(segment, offset); if (result == null) { return null; } @@ -96,10 +97,10 @@ public short getPrevShort(long rowKey) { } long segment = rowKey >> getPrevBase(); - int offset = (int) (rowKey & ((1<< getPrevBase()) - 1)); + int offset = (int) (rowKey & ((1 << getPrevBase()) - 1)); if (isUngroupable) { - return ((UngroupableColumnSource)innerSource).getUngroupedPrevShort(segment, offset); + return ((UngroupableColumnSource) innerSource).getUngroupedPrevShort(segment, offset); } final ShortVector segmentArray = innerSource.getPrev(segment); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnionColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnionColumnSource.java index 88ae19afbb6..38046b7c51c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnionColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnionColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnionRedirection.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnionRedirection.java index 2ce76ed2761..19d438cd289 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnionRedirection.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnionRedirection.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.base.ArrayUtil; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnionSourceManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnionSourceManager.java index 546dbcf19ac..f737fe32ee2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnionSourceManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/UnionSourceManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ViewColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ViewColumnSource.java index cb55ba3a6d5..cd24efff2ea 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ViewColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ViewColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.impl.AbstractColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/WritableByteAsBooleanColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/WritableByteAsBooleanColumnSource.java index 6c28b566fb1..a2fa0f7e21f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/WritableByteAsBooleanColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/WritableByteAsBooleanColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.*; @@ -16,7 +16,8 @@ /** * Reinterpret result {@link ColumnSource} implementations that translates {@link byte} to {@code Boolean} values. */ -public class WritableByteAsBooleanColumnSource extends ByteAsBooleanColumnSource implements MutableColumnSourceGetDefaults.ForBoolean, WritableColumnSource { +public class WritableByteAsBooleanColumnSource extends ByteAsBooleanColumnSource + implements MutableColumnSourceGetDefaults.ForBoolean, WritableColumnSource { private final WritableColumnSource alternateColumnSource; @@ -74,16 +75,20 @@ public FillFromContext makeFillFromContext(int chunkCapacity) { } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { - final ConvertingFillFromContext convertingFillFromContext = (ConvertingFillFromContext)context; + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { + final ConvertingFillFromContext convertingFillFromContext = (ConvertingFillFromContext) context; convertingFillFromContext.convert(src.asObjectChunk()); - alternateColumnSource.fillFromChunk(convertingFillFromContext.alternateFillFromContext, convertingFillFromContext.byteChunk, rowSequence); + alternateColumnSource.fillFromChunk(convertingFillFromContext.alternateFillFromContext, + convertingFillFromContext.byteChunk, rowSequence); } @Override - public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull LongChunk keys) { - final ConvertingFillFromContext convertingFillFromContext = (ConvertingFillFromContext)context; + public void fillFromChunkUnordered(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull LongChunk keys) { + final ConvertingFillFromContext convertingFillFromContext = (ConvertingFillFromContext) context; convertingFillFromContext.convert(src.asObjectChunk()); - alternateColumnSource.fillFromChunkUnordered(convertingFillFromContext.alternateFillFromContext, convertingFillFromContext.byteChunk, keys); + alternateColumnSource.fillFromChunkUnordered(convertingFillFromContext.alternateFillFromContext, + convertingFillFromContext.byteChunk, keys); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/WritableRedirectedColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/WritableRedirectedColumnSource.java index df90ac9deec..3445829b493 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/WritableRedirectedColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/WritableRedirectedColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ZonedDateTimeArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ZonedDateTimeArraySource.java index c18d9b2f378..f8157b61020 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ZonedDateTimeArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ZonedDateTimeArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ZonedDateTimeAsLongSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ZonedDateTimeAsLongSource.java index 8de08316620..b12dd70bd9b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ZonedDateTimeAsLongSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ZonedDateTimeAsLongSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; @@ -21,4 +21,4 @@ public ZonedDateTimeAsLongSource(ColumnSource alternateColumnSour protected long toEpochNano(ZonedDateTime val) { return DateTimeUtils.epochNanos(val); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ZonedDateTimeSparseArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ZonedDateTimeSparseArraySource.java index e16bfc537bb..d38e6a91a0f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ZonedDateTimeSparseArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ZonedDateTimeSparseArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/AggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/AggregateColumnSource.java index cc87d4394c6..23e834f4e7c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/AggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/AggregateColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.vector.Vector; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/BaseAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/BaseAggregateColumnSource.java index 780607ec25e..9124a3f27c0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/BaseAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/BaseAggregateColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.engine.rowset.RowSequence; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/BaseAggregateSlicedColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/BaseAggregateSlicedColumnSource.java index 3466332e82b..a3495e9cd72 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/BaseAggregateSlicedColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/BaseAggregateSlicedColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.base.ClampUtil; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/BaseUngroupedAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/BaseUngroupedAggregateColumnSource.java index 77239e95971..92cc3d5fd92 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/BaseUngroupedAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/BaseUngroupedAggregateColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/ByteAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/ByteAggregateColumnSource.java index fc78eeac11e..5ea1c04d06b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/ByteAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/ByteAggregateColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAggregateColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAggregateColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.engine.rowset.RowSequence; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/CharAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/CharAggregateColumnSource.java index ab4511c4458..ec34f7268a2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/CharAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/CharAggregateColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.engine.rowset.RowSequence; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/DoubleAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/DoubleAggregateColumnSource.java index b570f726d70..e1188a5aa24 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/DoubleAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/DoubleAggregateColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAggregateColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAggregateColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.engine.rowset.RowSequence; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/FloatAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/FloatAggregateColumnSource.java index ebc3d3b1b4e..df40db76a81 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/FloatAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/FloatAggregateColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAggregateColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAggregateColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.engine.rowset.RowSequence; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/IntAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/IntAggregateColumnSource.java index 301d7ff2ff5..1b4e52d3ba0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/IntAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/IntAggregateColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAggregateColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAggregateColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.engine.rowset.RowSequence; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/LongAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/LongAggregateColumnSource.java index 02edfe03001..6231769b5e2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/LongAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/LongAggregateColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAggregateColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAggregateColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.engine.rowset.RowSequence; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/ObjectAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/ObjectAggregateColumnSource.java index 0f597952447..957170f435e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/ObjectAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/ObjectAggregateColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.vector.ObjectVector; @@ -22,8 +22,8 @@ public final class ObjectAggregateColumnSource ObjectAggregateColumnSource(@NotNull final ColumnSource aggregatedSource, @NotNull final ColumnSource groupRowSetSource) { - //noinspection unchecked,rawtypes - super((Class>)(Class)ObjectVector.class, aggregatedSource, groupRowSetSource); + // noinspection unchecked,rawtypes + super((Class>) (Class) ObjectVector.class, aggregatedSource, groupRowSetSource); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSource.java index 456ad14d73f..97500c6ad2d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceByte.java index 135dae1d64b..b547bfddfba 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceByte.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RangeAggregateColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RangeAggregateColumnSourceChar and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.chunk.IntChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceChar.java index 3dcafd19b9b..570a679c5cb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceChar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.chunk.IntChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceDouble.java index c2d6992d598..c5a7b2fadb3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceDouble.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RangeAggregateColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RangeAggregateColumnSourceChar and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.chunk.IntChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceFloat.java index da6d2adb516..e529944ad60 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceFloat.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RangeAggregateColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RangeAggregateColumnSourceChar and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.chunk.IntChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceInt.java index 47bb73ca837..1afcd63185b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceInt.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RangeAggregateColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RangeAggregateColumnSourceChar and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.chunk.IntChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceLong.java index e7dee2addfd..5037e76f297 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceLong.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RangeAggregateColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RangeAggregateColumnSourceChar and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.chunk.IntChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceObject.java index 981fc38abef..070e6be9998 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.chunk.IntChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceShort.java index 05cf0b4e218..0beaa4bbe2a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/RangeAggregateColumnSourceShort.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RangeAggregateColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RangeAggregateColumnSourceChar and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.chunk.IntChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/ShortAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/ShortAggregateColumnSource.java index 3814a88666c..47450e5ea76 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/ShortAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/ShortAggregateColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharAggregateColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharAggregateColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.engine.rowset.RowSequence; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedByteAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedByteAggregateColumnSource.java index 78cfaf78b98..1f40ebd38cd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedByteAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedByteAggregateColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SlicedCharAggregateColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SlicedCharAggregateColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.base.ClampUtil; @@ -79,7 +78,7 @@ public ByteVector get(final long rowKey) { final long size = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, size, rowPos + startPos); - final long end = ClampUtil.clampLong(0, size , rowPos + endPos); + final long end = ClampUtil.clampLong(0, size, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -108,7 +107,7 @@ public ByteVector getPrev(final long rowKey) { final long size = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, size, rowPos + startPos); - final long end = ClampUtil.clampLong(0, size , rowPos + endPos); + final long end = ClampUtil.clampLong(0, size, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -123,12 +122,12 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl final LongChunk keyChunk = rowSequence.asRowKeyChunk(); final ObjectChunk groupRowSetChunk = groupRowSetSource .getChunk(ctx.groupRowSetGetContext, rowSequence).asObjectChunk(); - final LongChunk startChunk = startSource != null ? - startSource.getChunk(ctx.startGetContext, rowSequence).asLongChunk() - : null; - final LongChunk endChunk = endSource != null ? - endSource.getChunk(ctx.endGetContext, rowSequence).asLongChunk() - : null; + final LongChunk startChunk = + startSource != null ? startSource.getChunk(ctx.startGetContext, rowSequence).asLongChunk() + : null; + final LongChunk endChunk = + endSource != null ? endSource.getChunk(ctx.endGetContext, rowSequence).asLongChunk() + : null; final WritableObjectChunk typedDestination = destination.asWritableObjectChunk(); final int size = rowSequence.intSize(); @@ -149,7 +148,7 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl final long rowSetSize = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, rowSetSize, rowPos + startPos); - final long end = ClampUtil.clampLong(0, rowSetSize , rowPos + endPos); + final long end = ClampUtil.clampLong(0, rowSetSize, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -167,12 +166,12 @@ public void fillPrevChunk(@NotNull final FillContext context, final LongChunk keyChunk = rowSequence.asRowKeyChunk(); final ObjectChunk groupRowSetPrevChunk = groupRowSetSource .getPrevChunk(ctx.groupRowSetGetContext, rowSequence).asObjectChunk(); - final LongChunk startPrevChunk = startSource != null ? - startSource.getPrevChunk(ctx.startGetContext, rowSequence).asLongChunk() - : null; - final LongChunk endPrevChunk = endSource != null ? - endSource.getPrevChunk(ctx.endGetContext, rowSequence).asLongChunk() - : null; + final LongChunk startPrevChunk = + startSource != null ? startSource.getPrevChunk(ctx.startGetContext, rowSequence).asLongChunk() + : null; + final LongChunk endPrevChunk = + endSource != null ? endSource.getPrevChunk(ctx.endGetContext, rowSequence).asLongChunk() + : null; final WritableObjectChunk typedDestination = destination.asWritableObjectChunk(); final int size = rowSequence.intSize(); @@ -196,7 +195,7 @@ public void fillPrevChunk(@NotNull final FillContext context, final long rowSetSize = groupRowSetToUse.size(); final long start = ClampUtil.clampLong(0, rowSetSize, rowPos + startPos); - final long end = ClampUtil.clampLong(0, rowSetSize , rowPos + endPos); + final long end = ClampUtil.clampLong(0, rowSetSize, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = groupRowSetToUse.subSetByPositionRange(start, end); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedCharAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedCharAggregateColumnSource.java index 1416be51815..678c669199c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedCharAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedCharAggregateColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.base.ClampUtil; @@ -74,7 +74,7 @@ public CharVector get(final long rowKey) { final long size = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, size, rowPos + startPos); - final long end = ClampUtil.clampLong(0, size , rowPos + endPos); + final long end = ClampUtil.clampLong(0, size, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -103,7 +103,7 @@ public CharVector getPrev(final long rowKey) { final long size = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, size, rowPos + startPos); - final long end = ClampUtil.clampLong(0, size , rowPos + endPos); + final long end = ClampUtil.clampLong(0, size, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -118,12 +118,12 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl final LongChunk keyChunk = rowSequence.asRowKeyChunk(); final ObjectChunk groupRowSetChunk = groupRowSetSource .getChunk(ctx.groupRowSetGetContext, rowSequence).asObjectChunk(); - final LongChunk startChunk = startSource != null ? - startSource.getChunk(ctx.startGetContext, rowSequence).asLongChunk() - : null; - final LongChunk endChunk = endSource != null ? - endSource.getChunk(ctx.endGetContext, rowSequence).asLongChunk() - : null; + final LongChunk startChunk = + startSource != null ? startSource.getChunk(ctx.startGetContext, rowSequence).asLongChunk() + : null; + final LongChunk endChunk = + endSource != null ? endSource.getChunk(ctx.endGetContext, rowSequence).asLongChunk() + : null; final WritableObjectChunk typedDestination = destination.asWritableObjectChunk(); final int size = rowSequence.intSize(); @@ -144,7 +144,7 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl final long rowSetSize = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, rowSetSize, rowPos + startPos); - final long end = ClampUtil.clampLong(0, rowSetSize , rowPos + endPos); + final long end = ClampUtil.clampLong(0, rowSetSize, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -162,12 +162,12 @@ public void fillPrevChunk(@NotNull final FillContext context, final LongChunk keyChunk = rowSequence.asRowKeyChunk(); final ObjectChunk groupRowSetPrevChunk = groupRowSetSource .getPrevChunk(ctx.groupRowSetGetContext, rowSequence).asObjectChunk(); - final LongChunk startPrevChunk = startSource != null ? - startSource.getPrevChunk(ctx.startGetContext, rowSequence).asLongChunk() - : null; - final LongChunk endPrevChunk = endSource != null ? - endSource.getPrevChunk(ctx.endGetContext, rowSequence).asLongChunk() - : null; + final LongChunk startPrevChunk = + startSource != null ? startSource.getPrevChunk(ctx.startGetContext, rowSequence).asLongChunk() + : null; + final LongChunk endPrevChunk = + endSource != null ? endSource.getPrevChunk(ctx.endGetContext, rowSequence).asLongChunk() + : null; final WritableObjectChunk typedDestination = destination.asWritableObjectChunk(); final int size = rowSequence.intSize(); @@ -191,7 +191,7 @@ public void fillPrevChunk(@NotNull final FillContext context, final long rowSetSize = groupRowSetToUse.size(); final long start = ClampUtil.clampLong(0, rowSetSize, rowPos + startPos); - final long end = ClampUtil.clampLong(0, rowSetSize , rowPos + endPos); + final long end = ClampUtil.clampLong(0, rowSetSize, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = groupRowSetToUse.subSetByPositionRange(start, end); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedDoubleAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedDoubleAggregateColumnSource.java index 5e44bfb8044..1d4b1e47df2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedDoubleAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedDoubleAggregateColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SlicedCharAggregateColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SlicedCharAggregateColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.base.ClampUtil; @@ -79,7 +78,7 @@ public DoubleVector get(final long rowKey) { final long size = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, size, rowPos + startPos); - final long end = ClampUtil.clampLong(0, size , rowPos + endPos); + final long end = ClampUtil.clampLong(0, size, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -108,7 +107,7 @@ public DoubleVector getPrev(final long rowKey) { final long size = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, size, rowPos + startPos); - final long end = ClampUtil.clampLong(0, size , rowPos + endPos); + final long end = ClampUtil.clampLong(0, size, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -123,12 +122,12 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl final LongChunk keyChunk = rowSequence.asRowKeyChunk(); final ObjectChunk groupRowSetChunk = groupRowSetSource .getChunk(ctx.groupRowSetGetContext, rowSequence).asObjectChunk(); - final LongChunk startChunk = startSource != null ? - startSource.getChunk(ctx.startGetContext, rowSequence).asLongChunk() - : null; - final LongChunk endChunk = endSource != null ? - endSource.getChunk(ctx.endGetContext, rowSequence).asLongChunk() - : null; + final LongChunk startChunk = + startSource != null ? startSource.getChunk(ctx.startGetContext, rowSequence).asLongChunk() + : null; + final LongChunk endChunk = + endSource != null ? endSource.getChunk(ctx.endGetContext, rowSequence).asLongChunk() + : null; final WritableObjectChunk typedDestination = destination.asWritableObjectChunk(); final int size = rowSequence.intSize(); @@ -149,7 +148,7 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl final long rowSetSize = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, rowSetSize, rowPos + startPos); - final long end = ClampUtil.clampLong(0, rowSetSize , rowPos + endPos); + final long end = ClampUtil.clampLong(0, rowSetSize, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -167,12 +166,12 @@ public void fillPrevChunk(@NotNull final FillContext context, final LongChunk keyChunk = rowSequence.asRowKeyChunk(); final ObjectChunk groupRowSetPrevChunk = groupRowSetSource .getPrevChunk(ctx.groupRowSetGetContext, rowSequence).asObjectChunk(); - final LongChunk startPrevChunk = startSource != null ? - startSource.getPrevChunk(ctx.startGetContext, rowSequence).asLongChunk() - : null; - final LongChunk endPrevChunk = endSource != null ? - endSource.getPrevChunk(ctx.endGetContext, rowSequence).asLongChunk() - : null; + final LongChunk startPrevChunk = + startSource != null ? startSource.getPrevChunk(ctx.startGetContext, rowSequence).asLongChunk() + : null; + final LongChunk endPrevChunk = + endSource != null ? endSource.getPrevChunk(ctx.endGetContext, rowSequence).asLongChunk() + : null; final WritableObjectChunk typedDestination = destination.asWritableObjectChunk(); final int size = rowSequence.intSize(); @@ -196,7 +195,7 @@ public void fillPrevChunk(@NotNull final FillContext context, final long rowSetSize = groupRowSetToUse.size(); final long start = ClampUtil.clampLong(0, rowSetSize, rowPos + startPos); - final long end = ClampUtil.clampLong(0, rowSetSize , rowPos + endPos); + final long end = ClampUtil.clampLong(0, rowSetSize, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = groupRowSetToUse.subSetByPositionRange(start, end); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedFloatAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedFloatAggregateColumnSource.java index 887aa0dd7ca..2a681152f64 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedFloatAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedFloatAggregateColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SlicedCharAggregateColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SlicedCharAggregateColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.base.ClampUtil; @@ -79,7 +78,7 @@ public FloatVector get(final long rowKey) { final long size = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, size, rowPos + startPos); - final long end = ClampUtil.clampLong(0, size , rowPos + endPos); + final long end = ClampUtil.clampLong(0, size, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -108,7 +107,7 @@ public FloatVector getPrev(final long rowKey) { final long size = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, size, rowPos + startPos); - final long end = ClampUtil.clampLong(0, size , rowPos + endPos); + final long end = ClampUtil.clampLong(0, size, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -123,12 +122,12 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl final LongChunk keyChunk = rowSequence.asRowKeyChunk(); final ObjectChunk groupRowSetChunk = groupRowSetSource .getChunk(ctx.groupRowSetGetContext, rowSequence).asObjectChunk(); - final LongChunk startChunk = startSource != null ? - startSource.getChunk(ctx.startGetContext, rowSequence).asLongChunk() - : null; - final LongChunk endChunk = endSource != null ? - endSource.getChunk(ctx.endGetContext, rowSequence).asLongChunk() - : null; + final LongChunk startChunk = + startSource != null ? startSource.getChunk(ctx.startGetContext, rowSequence).asLongChunk() + : null; + final LongChunk endChunk = + endSource != null ? endSource.getChunk(ctx.endGetContext, rowSequence).asLongChunk() + : null; final WritableObjectChunk typedDestination = destination.asWritableObjectChunk(); final int size = rowSequence.intSize(); @@ -149,7 +148,7 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl final long rowSetSize = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, rowSetSize, rowPos + startPos); - final long end = ClampUtil.clampLong(0, rowSetSize , rowPos + endPos); + final long end = ClampUtil.clampLong(0, rowSetSize, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -167,12 +166,12 @@ public void fillPrevChunk(@NotNull final FillContext context, final LongChunk keyChunk = rowSequence.asRowKeyChunk(); final ObjectChunk groupRowSetPrevChunk = groupRowSetSource .getPrevChunk(ctx.groupRowSetGetContext, rowSequence).asObjectChunk(); - final LongChunk startPrevChunk = startSource != null ? - startSource.getPrevChunk(ctx.startGetContext, rowSequence).asLongChunk() - : null; - final LongChunk endPrevChunk = endSource != null ? - endSource.getPrevChunk(ctx.endGetContext, rowSequence).asLongChunk() - : null; + final LongChunk startPrevChunk = + startSource != null ? startSource.getPrevChunk(ctx.startGetContext, rowSequence).asLongChunk() + : null; + final LongChunk endPrevChunk = + endSource != null ? endSource.getPrevChunk(ctx.endGetContext, rowSequence).asLongChunk() + : null; final WritableObjectChunk typedDestination = destination.asWritableObjectChunk(); final int size = rowSequence.intSize(); @@ -196,7 +195,7 @@ public void fillPrevChunk(@NotNull final FillContext context, final long rowSetSize = groupRowSetToUse.size(); final long start = ClampUtil.clampLong(0, rowSetSize, rowPos + startPos); - final long end = ClampUtil.clampLong(0, rowSetSize , rowPos + endPos); + final long end = ClampUtil.clampLong(0, rowSetSize, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = groupRowSetToUse.subSetByPositionRange(start, end); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedIntAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedIntAggregateColumnSource.java index 4a80d51282b..c8c8e5a3935 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedIntAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedIntAggregateColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SlicedCharAggregateColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SlicedCharAggregateColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.base.ClampUtil; @@ -79,7 +78,7 @@ public IntVector get(final long rowKey) { final long size = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, size, rowPos + startPos); - final long end = ClampUtil.clampLong(0, size , rowPos + endPos); + final long end = ClampUtil.clampLong(0, size, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -108,7 +107,7 @@ public IntVector getPrev(final long rowKey) { final long size = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, size, rowPos + startPos); - final long end = ClampUtil.clampLong(0, size , rowPos + endPos); + final long end = ClampUtil.clampLong(0, size, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -123,12 +122,12 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl final LongChunk keyChunk = rowSequence.asRowKeyChunk(); final ObjectChunk groupRowSetChunk = groupRowSetSource .getChunk(ctx.groupRowSetGetContext, rowSequence).asObjectChunk(); - final LongChunk startChunk = startSource != null ? - startSource.getChunk(ctx.startGetContext, rowSequence).asLongChunk() - : null; - final LongChunk endChunk = endSource != null ? - endSource.getChunk(ctx.endGetContext, rowSequence).asLongChunk() - : null; + final LongChunk startChunk = + startSource != null ? startSource.getChunk(ctx.startGetContext, rowSequence).asLongChunk() + : null; + final LongChunk endChunk = + endSource != null ? endSource.getChunk(ctx.endGetContext, rowSequence).asLongChunk() + : null; final WritableObjectChunk typedDestination = destination.asWritableObjectChunk(); final int size = rowSequence.intSize(); @@ -149,7 +148,7 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl final long rowSetSize = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, rowSetSize, rowPos + startPos); - final long end = ClampUtil.clampLong(0, rowSetSize , rowPos + endPos); + final long end = ClampUtil.clampLong(0, rowSetSize, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -167,12 +166,12 @@ public void fillPrevChunk(@NotNull final FillContext context, final LongChunk keyChunk = rowSequence.asRowKeyChunk(); final ObjectChunk groupRowSetPrevChunk = groupRowSetSource .getPrevChunk(ctx.groupRowSetGetContext, rowSequence).asObjectChunk(); - final LongChunk startPrevChunk = startSource != null ? - startSource.getPrevChunk(ctx.startGetContext, rowSequence).asLongChunk() - : null; - final LongChunk endPrevChunk = endSource != null ? - endSource.getPrevChunk(ctx.endGetContext, rowSequence).asLongChunk() - : null; + final LongChunk startPrevChunk = + startSource != null ? startSource.getPrevChunk(ctx.startGetContext, rowSequence).asLongChunk() + : null; + final LongChunk endPrevChunk = + endSource != null ? endSource.getPrevChunk(ctx.endGetContext, rowSequence).asLongChunk() + : null; final WritableObjectChunk typedDestination = destination.asWritableObjectChunk(); final int size = rowSequence.intSize(); @@ -196,7 +195,7 @@ public void fillPrevChunk(@NotNull final FillContext context, final long rowSetSize = groupRowSetToUse.size(); final long start = ClampUtil.clampLong(0, rowSetSize, rowPos + startPos); - final long end = ClampUtil.clampLong(0, rowSetSize , rowPos + endPos); + final long end = ClampUtil.clampLong(0, rowSetSize, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = groupRowSetToUse.subSetByPositionRange(start, end); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedLongAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedLongAggregateColumnSource.java index 4d8f19467fa..5754102e0ce 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedLongAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedLongAggregateColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SlicedCharAggregateColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SlicedCharAggregateColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.base.ClampUtil; @@ -79,7 +78,7 @@ public LongVector get(final long rowKey) { final long size = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, size, rowPos + startPos); - final long end = ClampUtil.clampLong(0, size , rowPos + endPos); + final long end = ClampUtil.clampLong(0, size, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -108,7 +107,7 @@ public LongVector getPrev(final long rowKey) { final long size = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, size, rowPos + startPos); - final long end = ClampUtil.clampLong(0, size , rowPos + endPos); + final long end = ClampUtil.clampLong(0, size, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -123,12 +122,12 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl final LongChunk keyChunk = rowSequence.asRowKeyChunk(); final ObjectChunk groupRowSetChunk = groupRowSetSource .getChunk(ctx.groupRowSetGetContext, rowSequence).asObjectChunk(); - final LongChunk startChunk = startSource != null ? - startSource.getChunk(ctx.startGetContext, rowSequence).asLongChunk() - : null; - final LongChunk endChunk = endSource != null ? - endSource.getChunk(ctx.endGetContext, rowSequence).asLongChunk() - : null; + final LongChunk startChunk = + startSource != null ? startSource.getChunk(ctx.startGetContext, rowSequence).asLongChunk() + : null; + final LongChunk endChunk = + endSource != null ? endSource.getChunk(ctx.endGetContext, rowSequence).asLongChunk() + : null; final WritableObjectChunk typedDestination = destination.asWritableObjectChunk(); final int size = rowSequence.intSize(); @@ -149,7 +148,7 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl final long rowSetSize = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, rowSetSize, rowPos + startPos); - final long end = ClampUtil.clampLong(0, rowSetSize , rowPos + endPos); + final long end = ClampUtil.clampLong(0, rowSetSize, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -167,12 +166,12 @@ public void fillPrevChunk(@NotNull final FillContext context, final LongChunk keyChunk = rowSequence.asRowKeyChunk(); final ObjectChunk groupRowSetPrevChunk = groupRowSetSource .getPrevChunk(ctx.groupRowSetGetContext, rowSequence).asObjectChunk(); - final LongChunk startPrevChunk = startSource != null ? - startSource.getPrevChunk(ctx.startGetContext, rowSequence).asLongChunk() - : null; - final LongChunk endPrevChunk = endSource != null ? - endSource.getPrevChunk(ctx.endGetContext, rowSequence).asLongChunk() - : null; + final LongChunk startPrevChunk = + startSource != null ? startSource.getPrevChunk(ctx.startGetContext, rowSequence).asLongChunk() + : null; + final LongChunk endPrevChunk = + endSource != null ? endSource.getPrevChunk(ctx.endGetContext, rowSequence).asLongChunk() + : null; final WritableObjectChunk typedDestination = destination.asWritableObjectChunk(); final int size = rowSequence.intSize(); @@ -196,7 +195,7 @@ public void fillPrevChunk(@NotNull final FillContext context, final long rowSetSize = groupRowSetToUse.size(); final long start = ClampUtil.clampLong(0, rowSetSize, rowPos + startPos); - final long end = ClampUtil.clampLong(0, rowSetSize , rowPos + endPos); + final long end = ClampUtil.clampLong(0, rowSetSize, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = groupRowSetToUse.subSetByPositionRange(start, end); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedObjectAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedObjectAggregateColumnSource.java index 82d4078c8a7..d1905ddc229 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedObjectAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedObjectAggregateColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.base.ClampUtil; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedShortAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedShortAggregateColumnSource.java index b7e281df00f..959e4cc7328 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedShortAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/SlicedShortAggregateColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SlicedCharAggregateColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SlicedCharAggregateColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.base.ClampUtil; @@ -79,7 +78,7 @@ public ShortVector get(final long rowKey) { final long size = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, size, rowPos + startPos); - final long end = ClampUtil.clampLong(0, size , rowPos + endPos); + final long end = ClampUtil.clampLong(0, size, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -108,7 +107,7 @@ public ShortVector getPrev(final long rowKey) { final long size = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, size, rowPos + startPos); - final long end = ClampUtil.clampLong(0, size , rowPos + endPos); + final long end = ClampUtil.clampLong(0, size, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -123,12 +122,12 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl final LongChunk keyChunk = rowSequence.asRowKeyChunk(); final ObjectChunk groupRowSetChunk = groupRowSetSource .getChunk(ctx.groupRowSetGetContext, rowSequence).asObjectChunk(); - final LongChunk startChunk = startSource != null ? - startSource.getChunk(ctx.startGetContext, rowSequence).asLongChunk() - : null; - final LongChunk endChunk = endSource != null ? - endSource.getChunk(ctx.endGetContext, rowSequence).asLongChunk() - : null; + final LongChunk startChunk = + startSource != null ? startSource.getChunk(ctx.startGetContext, rowSequence).asLongChunk() + : null; + final LongChunk endChunk = + endSource != null ? endSource.getChunk(ctx.endGetContext, rowSequence).asLongChunk() + : null; final WritableObjectChunk typedDestination = destination.asWritableObjectChunk(); final int size = rowSequence.intSize(); @@ -149,7 +148,7 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl final long rowSetSize = bucketRowSet.size(); final long start = ClampUtil.clampLong(0, rowSetSize, rowPos + startPos); - final long end = ClampUtil.clampLong(0, rowSetSize , rowPos + endPos); + final long end = ClampUtil.clampLong(0, rowSetSize, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = bucketRowSet.subSetByPositionRange(start, end); @@ -167,12 +166,12 @@ public void fillPrevChunk(@NotNull final FillContext context, final LongChunk keyChunk = rowSequence.asRowKeyChunk(); final ObjectChunk groupRowSetPrevChunk = groupRowSetSource .getPrevChunk(ctx.groupRowSetGetContext, rowSequence).asObjectChunk(); - final LongChunk startPrevChunk = startSource != null ? - startSource.getPrevChunk(ctx.startGetContext, rowSequence).asLongChunk() - : null; - final LongChunk endPrevChunk = endSource != null ? - endSource.getPrevChunk(ctx.endGetContext, rowSequence).asLongChunk() - : null; + final LongChunk startPrevChunk = + startSource != null ? startSource.getPrevChunk(ctx.startGetContext, rowSequence).asLongChunk() + : null; + final LongChunk endPrevChunk = + endSource != null ? endSource.getPrevChunk(ctx.endGetContext, rowSequence).asLongChunk() + : null; final WritableObjectChunk typedDestination = destination.asWritableObjectChunk(); final int size = rowSequence.intSize(); @@ -196,7 +195,7 @@ public void fillPrevChunk(@NotNull final FillContext context, final long rowSetSize = groupRowSetToUse.size(); final long start = ClampUtil.clampLong(0, rowSetSize, rowPos + startPos); - final long end = ClampUtil.clampLong(0, rowSetSize , rowPos + endPos); + final long end = ClampUtil.clampLong(0, rowSetSize, rowPos + endPos); // Determine the slice of the groupRowSetSource from start to end. final RowSet rowSetSlice = groupRowSetToUse.subSetByPositionRange(start, end); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/UngroupedAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/UngroupedAggregateColumnSource.java index df3f035d69a..8f8e12d1386 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/UngroupedAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/UngroupedAggregateColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/UngroupedAggregateSlicedColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/UngroupedAggregateSlicedColumnSource.java index 8c8ce0689f0..aa21a3e91f3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/UngroupedAggregateSlicedColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/UngroupedAggregateSlicedColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.base.ClampUtil; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/UngroupedRangeAggregateColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/UngroupedRangeAggregateColumnSource.java index 8526086d905..e1d70d15744 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/UngroupedRangeAggregateColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/aggregate/UngroupedRangeAggregateColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.aggregate; import io.deephaven.chunk.IntChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/ByteChunkColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/ByteChunkColumnSource.java index 98a6fece2d8..55dc31a6ddc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/ByteChunkColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/ByteChunkColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.chunkcolumnsource; import gnu.trove.list.array.TLongArrayList; @@ -29,11 +28,12 @@ /** * A column source backed by {@link ByteChunk ByteChunks}. *

- * The address space of the column source is dense, with each chunk backing a contiguous set of indices. The - * {@link #getChunk(GetContext, RowSequence)} - * call will return the backing chunk or a slice of the backing chunk if possible. + * The address space of the column source is dense, with each chunk backing a contiguous set of indices. The + * {@link #getChunk(GetContext, RowSequence)} call will return the backing chunk or a slice of the backing chunk if + * possible. */ -public class ByteChunkColumnSource extends AbstractColumnSource implements ImmutableColumnSourceGetDefaults.ForByte, ChunkColumnSource { +public class ByteChunkColumnSource extends AbstractColumnSource + implements ImmutableColumnSourceGetDefaults.ForByte, ChunkColumnSource { private final ArrayList> data = new ArrayList<>(); private final TLongArrayList firstOffsetForData; private long totalSize = 0; @@ -63,7 +63,8 @@ public byte getByte(final long rowKey) { private final static class ChunkGetContext extends DefaultGetContext { private final ResettableByteChunk resettableByteChunk = ResettableByteChunk.makeResettableChunk(); - public ChunkGetContext(final ChunkSource chunkSource, final int chunkCapacity, final SharedContext sharedContext) { + public ChunkGetContext(final ChunkSource chunkSource, final int chunkCapacity, + final SharedContext sharedContext) { super(chunkSource, chunkCapacity, sharedContext); } @@ -103,7 +104,8 @@ public Chunk getChunk(@NotNull final GetContext context, @NotN } @Override - public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, + @NotNull final RowSequence rowSequence) { final MutableInt searchStartChunkIndex = new MutableInt(0); destination.setSize(0); rowSequence.forAllRowKeyRanges((s, e) -> { @@ -130,7 +132,8 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl } @Override - public void fillPrevChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillPrevChunk(@NotNull final FillContext context, + @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { // immutable, so we can delegate to fill fillChunk(context, destination, rowSequence); } @@ -148,7 +151,7 @@ private int getChunkIndex(final long start) { /** * Given a row key within this column's address space; return the chunk index that contains the row key. * - * @param start the data row key to find the corresponding chunk for + * @param start the data row key to find the corresponding chunk for * @param startChunk the first chunk that may possibly contain start * @return the chunk index within data and offsets */ diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/CharChunkColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/CharChunkColumnSource.java index 63cca4bfd3b..f3a81f758b4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/CharChunkColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/CharChunkColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.chunkcolumnsource; import gnu.trove.list.array.TLongArrayList; @@ -24,11 +24,12 @@ /** * A column source backed by {@link CharChunk CharChunks}. *

- * The address space of the column source is dense, with each chunk backing a contiguous set of indices. The - * {@link #getChunk(GetContext, RowSequence)} - * call will return the backing chunk or a slice of the backing chunk if possible. + * The address space of the column source is dense, with each chunk backing a contiguous set of indices. The + * {@link #getChunk(GetContext, RowSequence)} call will return the backing chunk or a slice of the backing chunk if + * possible. */ -public class CharChunkColumnSource extends AbstractColumnSource implements ImmutableColumnSourceGetDefaults.ForChar, ChunkColumnSource { +public class CharChunkColumnSource extends AbstractColumnSource + implements ImmutableColumnSourceGetDefaults.ForChar, ChunkColumnSource { private final ArrayList> data = new ArrayList<>(); private final TLongArrayList firstOffsetForData; private long totalSize = 0; @@ -58,7 +59,8 @@ public char getChar(final long rowKey) { private final static class ChunkGetContext extends DefaultGetContext { private final ResettableCharChunk resettableCharChunk = ResettableCharChunk.makeResettableChunk(); - public ChunkGetContext(final ChunkSource chunkSource, final int chunkCapacity, final SharedContext sharedContext) { + public ChunkGetContext(final ChunkSource chunkSource, final int chunkCapacity, + final SharedContext sharedContext) { super(chunkSource, chunkCapacity, sharedContext); } @@ -98,7 +100,8 @@ public Chunk getChunk(@NotNull final GetContext context, @NotN } @Override - public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, + @NotNull final RowSequence rowSequence) { final MutableInt searchStartChunkIndex = new MutableInt(0); destination.setSize(0); rowSequence.forAllRowKeyRanges((s, e) -> { @@ -125,7 +128,8 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl } @Override - public void fillPrevChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillPrevChunk(@NotNull final FillContext context, + @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { // immutable, so we can delegate to fill fillChunk(context, destination, rowSequence); } @@ -143,7 +147,7 @@ private int getChunkIndex(final long start) { /** * Given a row key within this column's address space; return the chunk index that contains the row key. * - * @param start the data row key to find the corresponding chunk for + * @param start the data row key to find the corresponding chunk for * @param startChunk the first chunk that may possibly contain start * @return the chunk index within data and offsets */ diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/ChunkColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/ChunkColumnSource.java index 547703e3c50..c9bbeb99771 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/ChunkColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/ChunkColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.chunkcolumnsource; import gnu.trove.list.array.TLongArrayList; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/DoubleChunkColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/DoubleChunkColumnSource.java index 4101431d31a..7032e30fd5c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/DoubleChunkColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/DoubleChunkColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.chunkcolumnsource; import gnu.trove.list.array.TLongArrayList; @@ -29,11 +28,12 @@ /** * A column source backed by {@link DoubleChunk DoubleChunks}. *

- * The address space of the column source is dense, with each chunk backing a contiguous set of indices. The - * {@link #getChunk(GetContext, RowSequence)} - * call will return the backing chunk or a slice of the backing chunk if possible. + * The address space of the column source is dense, with each chunk backing a contiguous set of indices. The + * {@link #getChunk(GetContext, RowSequence)} call will return the backing chunk or a slice of the backing chunk if + * possible. */ -public class DoubleChunkColumnSource extends AbstractColumnSource implements ImmutableColumnSourceGetDefaults.ForDouble, ChunkColumnSource { +public class DoubleChunkColumnSource extends AbstractColumnSource + implements ImmutableColumnSourceGetDefaults.ForDouble, ChunkColumnSource { private final ArrayList> data = new ArrayList<>(); private final TLongArrayList firstOffsetForData; private long totalSize = 0; @@ -63,7 +63,8 @@ public double getDouble(final long rowKey) { private final static class ChunkGetContext extends DefaultGetContext { private final ResettableDoubleChunk resettableDoubleChunk = ResettableDoubleChunk.makeResettableChunk(); - public ChunkGetContext(final ChunkSource chunkSource, final int chunkCapacity, final SharedContext sharedContext) { + public ChunkGetContext(final ChunkSource chunkSource, final int chunkCapacity, + final SharedContext sharedContext) { super(chunkSource, chunkCapacity, sharedContext); } @@ -103,7 +104,8 @@ public Chunk getChunk(@NotNull final GetContext context, @NotN } @Override - public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, + @NotNull final RowSequence rowSequence) { final MutableInt searchStartChunkIndex = new MutableInt(0); destination.setSize(0); rowSequence.forAllRowKeyRanges((s, e) -> { @@ -130,7 +132,8 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl } @Override - public void fillPrevChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillPrevChunk(@NotNull final FillContext context, + @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { // immutable, so we can delegate to fill fillChunk(context, destination, rowSequence); } @@ -148,7 +151,7 @@ private int getChunkIndex(final long start) { /** * Given a row key within this column's address space; return the chunk index that contains the row key. * - * @param start the data row key to find the corresponding chunk for + * @param start the data row key to find the corresponding chunk for * @param startChunk the first chunk that may possibly contain start * @return the chunk index within data and offsets */ diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/FloatChunkColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/FloatChunkColumnSource.java index e18dfec553e..6b195597409 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/FloatChunkColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/FloatChunkColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.chunkcolumnsource; import gnu.trove.list.array.TLongArrayList; @@ -29,11 +28,12 @@ /** * A column source backed by {@link FloatChunk FloatChunks}. *

- * The address space of the column source is dense, with each chunk backing a contiguous set of indices. The - * {@link #getChunk(GetContext, RowSequence)} - * call will return the backing chunk or a slice of the backing chunk if possible. + * The address space of the column source is dense, with each chunk backing a contiguous set of indices. The + * {@link #getChunk(GetContext, RowSequence)} call will return the backing chunk or a slice of the backing chunk if + * possible. */ -public class FloatChunkColumnSource extends AbstractColumnSource implements ImmutableColumnSourceGetDefaults.ForFloat, ChunkColumnSource { +public class FloatChunkColumnSource extends AbstractColumnSource + implements ImmutableColumnSourceGetDefaults.ForFloat, ChunkColumnSource { private final ArrayList> data = new ArrayList<>(); private final TLongArrayList firstOffsetForData; private long totalSize = 0; @@ -63,7 +63,8 @@ public float getFloat(final long rowKey) { private final static class ChunkGetContext extends DefaultGetContext { private final ResettableFloatChunk resettableFloatChunk = ResettableFloatChunk.makeResettableChunk(); - public ChunkGetContext(final ChunkSource chunkSource, final int chunkCapacity, final SharedContext sharedContext) { + public ChunkGetContext(final ChunkSource chunkSource, final int chunkCapacity, + final SharedContext sharedContext) { super(chunkSource, chunkCapacity, sharedContext); } @@ -103,7 +104,8 @@ public Chunk getChunk(@NotNull final GetContext context, @NotN } @Override - public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, + @NotNull final RowSequence rowSequence) { final MutableInt searchStartChunkIndex = new MutableInt(0); destination.setSize(0); rowSequence.forAllRowKeyRanges((s, e) -> { @@ -130,7 +132,8 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl } @Override - public void fillPrevChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillPrevChunk(@NotNull final FillContext context, + @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { // immutable, so we can delegate to fill fillChunk(context, destination, rowSequence); } @@ -148,7 +151,7 @@ private int getChunkIndex(final long start) { /** * Given a row key within this column's address space; return the chunk index that contains the row key. * - * @param start the data row key to find the corresponding chunk for + * @param start the data row key to find the corresponding chunk for * @param startChunk the first chunk that may possibly contain start * @return the chunk index within data and offsets */ diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/IntChunkColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/IntChunkColumnSource.java index 5e6f2c520bd..7ef929e27e2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/IntChunkColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/IntChunkColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.chunkcolumnsource; import gnu.trove.list.array.TLongArrayList; @@ -29,11 +28,12 @@ /** * A column source backed by {@link IntChunk IntChunks}. *

- * The address space of the column source is dense, with each chunk backing a contiguous set of indices. The - * {@link #getChunk(GetContext, RowSequence)} - * call will return the backing chunk or a slice of the backing chunk if possible. + * The address space of the column source is dense, with each chunk backing a contiguous set of indices. The + * {@link #getChunk(GetContext, RowSequence)} call will return the backing chunk or a slice of the backing chunk if + * possible. */ -public class IntChunkColumnSource extends AbstractColumnSource implements ImmutableColumnSourceGetDefaults.ForInt, ChunkColumnSource { +public class IntChunkColumnSource extends AbstractColumnSource + implements ImmutableColumnSourceGetDefaults.ForInt, ChunkColumnSource { private final ArrayList> data = new ArrayList<>(); private final TLongArrayList firstOffsetForData; private long totalSize = 0; @@ -63,7 +63,8 @@ public int getInt(final long rowKey) { private final static class ChunkGetContext extends DefaultGetContext { private final ResettableIntChunk resettableIntChunk = ResettableIntChunk.makeResettableChunk(); - public ChunkGetContext(final ChunkSource chunkSource, final int chunkCapacity, final SharedContext sharedContext) { + public ChunkGetContext(final ChunkSource chunkSource, final int chunkCapacity, + final SharedContext sharedContext) { super(chunkSource, chunkCapacity, sharedContext); } @@ -103,7 +104,8 @@ public Chunk getChunk(@NotNull final GetContext context, @NotN } @Override - public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, + @NotNull final RowSequence rowSequence) { final MutableInt searchStartChunkIndex = new MutableInt(0); destination.setSize(0); rowSequence.forAllRowKeyRanges((s, e) -> { @@ -130,7 +132,8 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl } @Override - public void fillPrevChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillPrevChunk(@NotNull final FillContext context, + @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { // immutable, so we can delegate to fill fillChunk(context, destination, rowSequence); } @@ -148,7 +151,7 @@ private int getChunkIndex(final long start) { /** * Given a row key within this column's address space; return the chunk index that contains the row key. * - * @param start the data row key to find the corresponding chunk for + * @param start the data row key to find the corresponding chunk for * @param startChunk the first chunk that may possibly contain start * @return the chunk index within data and offsets */ diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/LongChunkColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/LongChunkColumnSource.java index f0c58b3f495..60629cdf926 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/LongChunkColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/LongChunkColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.chunkcolumnsource; import gnu.trove.list.array.TLongArrayList; @@ -29,11 +28,12 @@ /** * A column source backed by {@link LongChunk LongChunks}. *

- * The address space of the column source is dense, with each chunk backing a contiguous set of indices. The - * {@link #getChunk(GetContext, RowSequence)} - * call will return the backing chunk or a slice of the backing chunk if possible. + * The address space of the column source is dense, with each chunk backing a contiguous set of indices. The + * {@link #getChunk(GetContext, RowSequence)} call will return the backing chunk or a slice of the backing chunk if + * possible. */ -public class LongChunkColumnSource extends AbstractColumnSource implements ImmutableColumnSourceGetDefaults.ForLong, ChunkColumnSource { +public class LongChunkColumnSource extends AbstractColumnSource + implements ImmutableColumnSourceGetDefaults.ForLong, ChunkColumnSource { private final ArrayList> data = new ArrayList<>(); private final TLongArrayList firstOffsetForData; private long totalSize = 0; @@ -63,7 +63,8 @@ public long getLong(final long rowKey) { private final static class ChunkGetContext extends DefaultGetContext { private final ResettableLongChunk resettableLongChunk = ResettableLongChunk.makeResettableChunk(); - public ChunkGetContext(final ChunkSource chunkSource, final int chunkCapacity, final SharedContext sharedContext) { + public ChunkGetContext(final ChunkSource chunkSource, final int chunkCapacity, + final SharedContext sharedContext) { super(chunkSource, chunkCapacity, sharedContext); } @@ -103,7 +104,8 @@ public Chunk getChunk(@NotNull final GetContext context, @NotN } @Override - public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, + @NotNull final RowSequence rowSequence) { final MutableInt searchStartChunkIndex = new MutableInt(0); destination.setSize(0); rowSequence.forAllRowKeyRanges((s, e) -> { @@ -130,7 +132,8 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl } @Override - public void fillPrevChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillPrevChunk(@NotNull final FillContext context, + @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { // immutable, so we can delegate to fill fillChunk(context, destination, rowSequence); } @@ -148,7 +151,7 @@ private int getChunkIndex(final long start) { /** * Given a row key within this column's address space; return the chunk index that contains the row key. * - * @param start the data row key to find the corresponding chunk for + * @param start the data row key to find the corresponding chunk for * @param startChunk the first chunk that may possibly contain start * @return the chunk index within data and offsets */ diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/ObjectChunkColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/ObjectChunkColumnSource.java index 93b5cf50e0b..c9f4cf14606 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/ObjectChunkColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/ObjectChunkColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.chunkcolumnsource; import gnu.trove.list.array.TLongArrayList; @@ -29,11 +28,12 @@ /** * A column source backed by {@link ObjectChunk ObjectChunks}. *

- * The address space of the column source is dense, with each chunk backing a contiguous set of indices. The - * {@link #getChunk(GetContext, RowSequence)} - * call will return the backing chunk or a slice of the backing chunk if possible. + * The address space of the column source is dense, with each chunk backing a contiguous set of indices. The + * {@link #getChunk(GetContext, RowSequence)} call will return the backing chunk or a slice of the backing chunk if + * possible. */ -public class ObjectChunkColumnSource extends AbstractColumnSource implements ImmutableColumnSourceGetDefaults.ForObject, ChunkColumnSource { +public class ObjectChunkColumnSource extends AbstractColumnSource + implements ImmutableColumnSourceGetDefaults.ForObject, ChunkColumnSource { private final ArrayList> data = new ArrayList<>(); private final TLongArrayList firstOffsetForData; private long totalSize = 0; @@ -63,7 +63,8 @@ public T get(final long rowKey) { private final static class ChunkGetContext extends DefaultGetContext { private final ResettableObjectChunk resettableObjectChunk = ResettableObjectChunk.makeResettableChunk(); - public ChunkGetContext(final ChunkSource chunkSource, final int chunkCapacity, final SharedContext sharedContext) { + public ChunkGetContext(final ChunkSource chunkSource, final int chunkCapacity, + final SharedContext sharedContext) { super(chunkSource, chunkCapacity, sharedContext); } @@ -103,7 +104,8 @@ public Chunk getChunk(@NotNull final GetContext context, @NotN } @Override - public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, + @NotNull final RowSequence rowSequence) { final MutableInt searchStartChunkIndex = new MutableInt(0); destination.setSize(0); rowSequence.forAllRowKeyRanges((s, e) -> { @@ -130,7 +132,8 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl } @Override - public void fillPrevChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillPrevChunk(@NotNull final FillContext context, + @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { // immutable, so we can delegate to fill fillChunk(context, destination, rowSequence); } @@ -148,7 +151,7 @@ private int getChunkIndex(final long start) { /** * Given a row key within this column's address space; return the chunk index that contains the row key. * - * @param start the data row key to find the corresponding chunk for + * @param start the data row key to find the corresponding chunk for * @param startChunk the first chunk that may possibly contain start * @return the chunk index within data and offsets */ diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/ShortChunkColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/ShortChunkColumnSource.java index 799a472133b..28c9ecdbaa6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/ShortChunkColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/ShortChunkColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkColumnSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.chunkcolumnsource; import gnu.trove.list.array.TLongArrayList; @@ -29,11 +28,12 @@ /** * A column source backed by {@link ShortChunk ShortChunks}. *

- * The address space of the column source is dense, with each chunk backing a contiguous set of indices. The - * {@link #getChunk(GetContext, RowSequence)} - * call will return the backing chunk or a slice of the backing chunk if possible. + * The address space of the column source is dense, with each chunk backing a contiguous set of indices. The + * {@link #getChunk(GetContext, RowSequence)} call will return the backing chunk or a slice of the backing chunk if + * possible. */ -public class ShortChunkColumnSource extends AbstractColumnSource implements ImmutableColumnSourceGetDefaults.ForShort, ChunkColumnSource { +public class ShortChunkColumnSource extends AbstractColumnSource + implements ImmutableColumnSourceGetDefaults.ForShort, ChunkColumnSource { private final ArrayList> data = new ArrayList<>(); private final TLongArrayList firstOffsetForData; private long totalSize = 0; @@ -63,7 +63,8 @@ public short getShort(final long rowKey) { private final static class ChunkGetContext extends DefaultGetContext { private final ResettableShortChunk resettableShortChunk = ResettableShortChunk.makeResettableChunk(); - public ChunkGetContext(final ChunkSource chunkSource, final int chunkCapacity, final SharedContext sharedContext) { + public ChunkGetContext(final ChunkSource chunkSource, final int chunkCapacity, + final SharedContext sharedContext) { super(chunkSource, chunkCapacity, sharedContext); } @@ -103,7 +104,8 @@ public Chunk getChunk(@NotNull final GetContext context, @NotN } @Override - public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, + @NotNull final RowSequence rowSequence) { final MutableInt searchStartChunkIndex = new MutableInt(0); destination.setSize(0); rowSequence.forAllRowKeyRanges((s, e) -> { @@ -130,7 +132,8 @@ public void fillChunk(@NotNull final FillContext context, @NotNull final Writabl } @Override - public void fillPrevChunk(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillPrevChunk(@NotNull final FillContext context, + @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { // immutable, so we can delegate to fill fillChunk(context, destination, rowSequence); } @@ -148,7 +151,7 @@ private int getChunkIndex(final long start) { /** * Given a row key within this column's address space; return the chunk index that contains the row key. * - * @param start the data row key to find the corresponding chunk for + * @param start the data row key to find the corresponding chunk for * @param startChunk the first chunk that may possibly contain start * @return the chunk index within data and offsets */ diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/deltaaware/ChunkAdapter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/deltaaware/ChunkAdapter.java index 0eb5198b39f..f7a9908ba0b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/deltaaware/ChunkAdapter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/deltaaware/ChunkAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.deltaaware; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/deltaaware/ChunkMerger.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/deltaaware/ChunkMerger.java index 284cf222fc2..f3d5a15071a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/deltaaware/ChunkMerger.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/deltaaware/ChunkMerger.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.deltaaware; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/deltaaware/DeltaAwareColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/deltaaware/DeltaAwareColumnSource.java index b96a16fa443..67357d79ccc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/deltaaware/DeltaAwareColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/deltaaware/DeltaAwareColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.deltaaware; import io.deephaven.engine.table.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/deltaaware/SoleKey.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/deltaaware/SoleKey.java index 084d18c9f29..517fad3727b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/deltaaware/SoleKey.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/deltaaware/SoleKey.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.deltaaware; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DByteArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DByteArraySource.java index 64e61a7bf47..2395fbf56e9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DByteArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DByteArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit Immutable2DCharArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit Immutable2DCharArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.engine.table.ColumnSource; @@ -33,7 +32,7 @@ * * No previous value tracking is permitted, so this column source is only useful as a flat static source. * - * A two-dimension array single array backs the result, with by default segments of 2^30 elements. This is so that + * A two-dimension array single array backs the result, with by default segments of 2^30 elements. This is so that * getChunk calls with contiguous ranges are often able to return a reference to the backing store without an array * copy. * @@ -42,7 +41,7 @@ public class Immutable2DByteArraySource extends AbstractDeferredGroupingColumnSource implements ImmutableColumnSourceGetDefaults.ForByte, WritableColumnSource, FillUnordered, InMemoryColumnSource, ChunkedBackingStoreExposedWritableSource, WritableSourceWithPrepareForParallelPopulation - /* MIXIN_IMPLS */ { +/* MIXIN_IMPLS */ { private static final int DEFAULT_SEGMENT_SHIFT = 30; private final long segmentShift; private final int segmentMask; @@ -65,12 +64,12 @@ public Immutable2DByteArraySource(int segmentShift) { // endregion constructor // region allocateArray - private static byte [][] allocateArray(long size, int segmentSize, boolean nullFilled) { + private static byte[][] allocateArray(long size, int segmentSize, boolean nullFilled) { final int segments = Math.toIntExact((size + segmentSize - 1) / segmentSize); - final byte [][] data = new byte[segments][]; + final byte[][] data = new byte[segments][]; int segment = 0; while (size > 0) { - final int thisSegmentSize = (int)Math.min(segmentSize, size); + final int thisSegmentSize = (int) Math.min(segmentSize, size); data[segment] = new byte[thisSegmentSize]; if (nullFilled) { Arrays.fill(data[segment], 0, thisSegmentSize, NULL_BYTE); @@ -92,11 +91,11 @@ public final byte getByte(long rowKey) { } private int keyToSegment(long rowKey) { - return (int)(rowKey >> segmentShift); + return (int) (rowKey >> segmentShift); } private int keyToOffset(long rowKey) { - return (int)(rowKey & segmentMask); + return (int) (rowKey & segmentMask); } public final byte getUnsafe(long key) { @@ -127,8 +126,8 @@ public void ensureCapacity(long capacity, boolean nullFilled) { @Override public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk chunk, long position) { final int segment = keyToSegment(position); - chunk.asResettableWritableByteChunk().resetFromTypedArray((byte[])data[segment], 0, data[segment].length); - return (long)segment << segmentShift; + chunk.asResettableWritableByteChunk().resetFromTypedArray((byte[]) data[segment], 0, data[segment].length); + return (long) segment << segmentShift; } @Override @@ -137,12 +136,13 @@ public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChu final int offset = keyToOffset(position); final int segmentLength = data[segment].length; final int capacity = segmentLength - offset; - chunk.asResettableWritableByteChunk().resetFromTypedArray((byte[])data[segment], offset, capacity); + chunk.asResettableWritableByteChunk().resetFromTypedArray((byte[]) data[segment], offset, capacity); return capacity; } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillChunkByRanges(destination, rowSequence); } else { @@ -154,7 +154,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableByteChunk chunk = destination.asWritableByteChunk(); // endregion chunkDecl @@ -165,7 +165,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableByteChunk chunk = destination.asWritableByteChunk(); // endregion chunkDecl @@ -212,15 +212,16 @@ public Chunk getChunk(@NotNull GetContext context, long firstK return super.getChunk(context, rs); } } - final int len = (int)(lastKey - firstKey + 1); + final int len = (int) (lastKey - firstKey + 1); final int firstOffset = keyToOffset(firstKey); - //noinspection unchecked + // noinspection unchecked DefaultGetContext context1 = (DefaultGetContext) context; return context1.getResettableChunk().resetFromArray(data[segment], firstOffset, len); } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByRanges(src, rowSequence); } else { @@ -232,7 +233,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ByteChunk chunk = src.asByteChunk(); // endregion chunkDecl @@ -249,7 +250,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ByteChunk chunk = src.asByteChunk(); // endregion chunkDecl @@ -260,7 +261,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ByteChunk chunk = src.asByteChunk(); // endregion chunkDecl @@ -294,7 +295,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableByteChunk chunk = dest.asWritableByteChunk(); // endregion chunkDecl @@ -304,7 +305,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { fillChunkUnordered(context, dest, keys); } @Override - public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { fillChunk(context, destination, rowSequence); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DCharArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DCharArraySource.java index 24dd3c00ea4..28e37d6b35f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DCharArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DCharArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.*; @@ -26,7 +26,7 @@ * * No previous value tracking is permitted, so this column source is only useful as a flat static source. * - * A two-dimension array single array backs the result, with by default segments of 2^30 elements. This is so that + * A two-dimension array single array backs the result, with by default segments of 2^30 elements. This is so that * getChunk calls with contiguous ranges are often able to return a reference to the backing store without an array * copy. * @@ -35,7 +35,7 @@ public class Immutable2DCharArraySource extends AbstractDeferredGroupingColumnSource implements ImmutableColumnSourceGetDefaults.ForChar, WritableColumnSource, FillUnordered, InMemoryColumnSource, ChunkedBackingStoreExposedWritableSource, WritableSourceWithPrepareForParallelPopulation - /* MIXIN_IMPLS */ { +/* MIXIN_IMPLS */ { private static final int DEFAULT_SEGMENT_SHIFT = 30; private final long segmentShift; private final int segmentMask; @@ -58,12 +58,12 @@ public Immutable2DCharArraySource(int segmentShift) { // endregion constructor // region allocateArray - private static char [][] allocateArray(long size, int segmentSize, boolean nullFilled) { + private static char[][] allocateArray(long size, int segmentSize, boolean nullFilled) { final int segments = Math.toIntExact((size + segmentSize - 1) / segmentSize); - final char [][] data = new char[segments][]; + final char[][] data = new char[segments][]; int segment = 0; while (size > 0) { - final int thisSegmentSize = (int)Math.min(segmentSize, size); + final int thisSegmentSize = (int) Math.min(segmentSize, size); data[segment] = new char[thisSegmentSize]; if (nullFilled) { Arrays.fill(data[segment], 0, thisSegmentSize, NULL_CHAR); @@ -85,11 +85,11 @@ public final char getChar(long rowKey) { } private int keyToSegment(long rowKey) { - return (int)(rowKey >> segmentShift); + return (int) (rowKey >> segmentShift); } private int keyToOffset(long rowKey) { - return (int)(rowKey & segmentMask); + return (int) (rowKey & segmentMask); } public final char getUnsafe(long key) { @@ -120,8 +120,8 @@ public void ensureCapacity(long capacity, boolean nullFilled) { @Override public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk chunk, long position) { final int segment = keyToSegment(position); - chunk.asResettableWritableCharChunk().resetFromTypedArray((char[])data[segment], 0, data[segment].length); - return (long)segment << segmentShift; + chunk.asResettableWritableCharChunk().resetFromTypedArray((char[]) data[segment], 0, data[segment].length); + return (long) segment << segmentShift; } @Override @@ -130,12 +130,13 @@ public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChu final int offset = keyToOffset(position); final int segmentLength = data[segment].length; final int capacity = segmentLength - offset; - chunk.asResettableWritableCharChunk().resetFromTypedArray((char[])data[segment], offset, capacity); + chunk.asResettableWritableCharChunk().resetFromTypedArray((char[]) data[segment], offset, capacity); return capacity; } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillChunkByRanges(destination, rowSequence); } else { @@ -147,7 +148,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableCharChunk chunk = destination.asWritableCharChunk(); // endregion chunkDecl @@ -158,7 +159,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableCharChunk chunk = destination.asWritableCharChunk(); // endregion chunkDecl @@ -205,15 +206,16 @@ public Chunk getChunk(@NotNull GetContext context, long firstK return super.getChunk(context, rs); } } - final int len = (int)(lastKey - firstKey + 1); + final int len = (int) (lastKey - firstKey + 1); final int firstOffset = keyToOffset(firstKey); - //noinspection unchecked + // noinspection unchecked DefaultGetContext context1 = (DefaultGetContext) context; return context1.getResettableChunk().resetFromArray(data[segment], firstOffset, len); } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByRanges(src, rowSequence); } else { @@ -225,7 +227,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final CharChunk chunk = src.asCharChunk(); // endregion chunkDecl @@ -242,7 +244,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final CharChunk chunk = src.asCharChunk(); // endregion chunkDecl @@ -253,7 +255,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final CharChunk chunk = src.asCharChunk(); // endregion chunkDecl @@ -287,7 +289,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableCharChunk chunk = dest.asWritableCharChunk(); // endregion chunkDecl @@ -297,7 +299,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { fillChunkUnordered(context, dest, keys); } @Override - public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { fillChunk(context, destination, rowSequence); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DDoubleArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DDoubleArraySource.java index 265abfe5f75..9cd96dc0a92 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DDoubleArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DDoubleArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit Immutable2DCharArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit Immutable2DCharArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.*; @@ -31,7 +30,7 @@ * * No previous value tracking is permitted, so this column source is only useful as a flat static source. * - * A two-dimension array single array backs the result, with by default segments of 2^30 elements. This is so that + * A two-dimension array single array backs the result, with by default segments of 2^30 elements. This is so that * getChunk calls with contiguous ranges are often able to return a reference to the backing store without an array * copy. * @@ -40,7 +39,7 @@ public class Immutable2DDoubleArraySource extends AbstractDeferredGroupingColumnSource implements ImmutableColumnSourceGetDefaults.ForDouble, WritableColumnSource, FillUnordered, InMemoryColumnSource, ChunkedBackingStoreExposedWritableSource, WritableSourceWithPrepareForParallelPopulation - /* MIXIN_IMPLS */ { +/* MIXIN_IMPLS */ { private static final int DEFAULT_SEGMENT_SHIFT = 30; private final long segmentShift; private final int segmentMask; @@ -63,12 +62,12 @@ public Immutable2DDoubleArraySource(int segmentShift) { // endregion constructor // region allocateArray - private static double [][] allocateArray(long size, int segmentSize, boolean nullFilled) { + private static double[][] allocateArray(long size, int segmentSize, boolean nullFilled) { final int segments = Math.toIntExact((size + segmentSize - 1) / segmentSize); - final double [][] data = new double[segments][]; + final double[][] data = new double[segments][]; int segment = 0; while (size > 0) { - final int thisSegmentSize = (int)Math.min(segmentSize, size); + final int thisSegmentSize = (int) Math.min(segmentSize, size); data[segment] = new double[thisSegmentSize]; if (nullFilled) { Arrays.fill(data[segment], 0, thisSegmentSize, NULL_DOUBLE); @@ -90,11 +89,11 @@ public final double getDouble(long rowKey) { } private int keyToSegment(long rowKey) { - return (int)(rowKey >> segmentShift); + return (int) (rowKey >> segmentShift); } private int keyToOffset(long rowKey) { - return (int)(rowKey & segmentMask); + return (int) (rowKey & segmentMask); } public final double getUnsafe(long key) { @@ -125,8 +124,8 @@ public void ensureCapacity(long capacity, boolean nullFilled) { @Override public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk chunk, long position) { final int segment = keyToSegment(position); - chunk.asResettableWritableDoubleChunk().resetFromTypedArray((double[])data[segment], 0, data[segment].length); - return (long)segment << segmentShift; + chunk.asResettableWritableDoubleChunk().resetFromTypedArray((double[]) data[segment], 0, data[segment].length); + return (long) segment << segmentShift; } @Override @@ -135,12 +134,13 @@ public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChu final int offset = keyToOffset(position); final int segmentLength = data[segment].length; final int capacity = segmentLength - offset; - chunk.asResettableWritableDoubleChunk().resetFromTypedArray((double[])data[segment], offset, capacity); + chunk.asResettableWritableDoubleChunk().resetFromTypedArray((double[]) data[segment], offset, capacity); return capacity; } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillChunkByRanges(destination, rowSequence); } else { @@ -152,7 +152,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableDoubleChunk chunk = destination.asWritableDoubleChunk(); // endregion chunkDecl @@ -163,7 +163,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableDoubleChunk chunk = destination.asWritableDoubleChunk(); // endregion chunkDecl @@ -210,15 +210,16 @@ public Chunk getChunk(@NotNull GetContext context, long firstK return super.getChunk(context, rs); } } - final int len = (int)(lastKey - firstKey + 1); + final int len = (int) (lastKey - firstKey + 1); final int firstOffset = keyToOffset(firstKey); - //noinspection unchecked + // noinspection unchecked DefaultGetContext context1 = (DefaultGetContext) context; return context1.getResettableChunk().resetFromArray(data[segment], firstOffset, len); } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByRanges(src, rowSequence); } else { @@ -230,7 +231,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final DoubleChunk chunk = src.asDoubleChunk(); // endregion chunkDecl @@ -247,7 +248,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final DoubleChunk chunk = src.asDoubleChunk(); // endregion chunkDecl @@ -258,7 +259,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final DoubleChunk chunk = src.asDoubleChunk(); // endregion chunkDecl @@ -292,7 +293,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableDoubleChunk chunk = dest.asWritableDoubleChunk(); // endregion chunkDecl @@ -302,7 +303,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { fillChunkUnordered(context, dest, keys); } @Override - public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { fillChunk(context, destination, rowSequence); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DFloatArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DFloatArraySource.java index ff98d3bef5d..81105e99e20 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DFloatArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DFloatArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit Immutable2DCharArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit Immutable2DCharArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.*; @@ -31,7 +30,7 @@ * * No previous value tracking is permitted, so this column source is only useful as a flat static source. * - * A two-dimension array single array backs the result, with by default segments of 2^30 elements. This is so that + * A two-dimension array single array backs the result, with by default segments of 2^30 elements. This is so that * getChunk calls with contiguous ranges are often able to return a reference to the backing store without an array * copy. * @@ -40,7 +39,7 @@ public class Immutable2DFloatArraySource extends AbstractDeferredGroupingColumnSource implements ImmutableColumnSourceGetDefaults.ForFloat, WritableColumnSource, FillUnordered, InMemoryColumnSource, ChunkedBackingStoreExposedWritableSource, WritableSourceWithPrepareForParallelPopulation - /* MIXIN_IMPLS */ { +/* MIXIN_IMPLS */ { private static final int DEFAULT_SEGMENT_SHIFT = 30; private final long segmentShift; private final int segmentMask; @@ -63,12 +62,12 @@ public Immutable2DFloatArraySource(int segmentShift) { // endregion constructor // region allocateArray - private static float [][] allocateArray(long size, int segmentSize, boolean nullFilled) { + private static float[][] allocateArray(long size, int segmentSize, boolean nullFilled) { final int segments = Math.toIntExact((size + segmentSize - 1) / segmentSize); - final float [][] data = new float[segments][]; + final float[][] data = new float[segments][]; int segment = 0; while (size > 0) { - final int thisSegmentSize = (int)Math.min(segmentSize, size); + final int thisSegmentSize = (int) Math.min(segmentSize, size); data[segment] = new float[thisSegmentSize]; if (nullFilled) { Arrays.fill(data[segment], 0, thisSegmentSize, NULL_FLOAT); @@ -90,11 +89,11 @@ public final float getFloat(long rowKey) { } private int keyToSegment(long rowKey) { - return (int)(rowKey >> segmentShift); + return (int) (rowKey >> segmentShift); } private int keyToOffset(long rowKey) { - return (int)(rowKey & segmentMask); + return (int) (rowKey & segmentMask); } public final float getUnsafe(long key) { @@ -125,8 +124,8 @@ public void ensureCapacity(long capacity, boolean nullFilled) { @Override public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk chunk, long position) { final int segment = keyToSegment(position); - chunk.asResettableWritableFloatChunk().resetFromTypedArray((float[])data[segment], 0, data[segment].length); - return (long)segment << segmentShift; + chunk.asResettableWritableFloatChunk().resetFromTypedArray((float[]) data[segment], 0, data[segment].length); + return (long) segment << segmentShift; } @Override @@ -135,12 +134,13 @@ public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChu final int offset = keyToOffset(position); final int segmentLength = data[segment].length; final int capacity = segmentLength - offset; - chunk.asResettableWritableFloatChunk().resetFromTypedArray((float[])data[segment], offset, capacity); + chunk.asResettableWritableFloatChunk().resetFromTypedArray((float[]) data[segment], offset, capacity); return capacity; } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillChunkByRanges(destination, rowSequence); } else { @@ -152,7 +152,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableFloatChunk chunk = destination.asWritableFloatChunk(); // endregion chunkDecl @@ -163,7 +163,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableFloatChunk chunk = destination.asWritableFloatChunk(); // endregion chunkDecl @@ -210,15 +210,16 @@ public Chunk getChunk(@NotNull GetContext context, long firstK return super.getChunk(context, rs); } } - final int len = (int)(lastKey - firstKey + 1); + final int len = (int) (lastKey - firstKey + 1); final int firstOffset = keyToOffset(firstKey); - //noinspection unchecked + // noinspection unchecked DefaultGetContext context1 = (DefaultGetContext) context; return context1.getResettableChunk().resetFromArray(data[segment], firstOffset, len); } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByRanges(src, rowSequence); } else { @@ -230,7 +231,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final FloatChunk chunk = src.asFloatChunk(); // endregion chunkDecl @@ -247,7 +248,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final FloatChunk chunk = src.asFloatChunk(); // endregion chunkDecl @@ -258,7 +259,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final FloatChunk chunk = src.asFloatChunk(); // endregion chunkDecl @@ -292,7 +293,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableFloatChunk chunk = dest.asWritableFloatChunk(); // endregion chunkDecl @@ -302,7 +303,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { fillChunkUnordered(context, dest, keys); } @Override - public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { fillChunk(context, destination, rowSequence); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DInstantArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DInstantArraySource.java index 36ec9fd5fda..08cb841dadf 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DInstantArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DInstantArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DIntArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DIntArraySource.java index eeabb0610ec..5b4b8f4fd86 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DIntArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DIntArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit Immutable2DCharArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit Immutable2DCharArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.*; @@ -31,7 +30,7 @@ * * No previous value tracking is permitted, so this column source is only useful as a flat static source. * - * A two-dimension array single array backs the result, with by default segments of 2^30 elements. This is so that + * A two-dimension array single array backs the result, with by default segments of 2^30 elements. This is so that * getChunk calls with contiguous ranges are often able to return a reference to the backing store without an array * copy. * @@ -40,7 +39,7 @@ public class Immutable2DIntArraySource extends AbstractDeferredGroupingColumnSource implements ImmutableColumnSourceGetDefaults.ForInt, WritableColumnSource, FillUnordered, InMemoryColumnSource, ChunkedBackingStoreExposedWritableSource, WritableSourceWithPrepareForParallelPopulation - /* MIXIN_IMPLS */ { +/* MIXIN_IMPLS */ { private static final int DEFAULT_SEGMENT_SHIFT = 30; private final long segmentShift; private final int segmentMask; @@ -63,12 +62,12 @@ public Immutable2DIntArraySource(int segmentShift) { // endregion constructor // region allocateArray - private static int [][] allocateArray(long size, int segmentSize, boolean nullFilled) { + private static int[][] allocateArray(long size, int segmentSize, boolean nullFilled) { final int segments = Math.toIntExact((size + segmentSize - 1) / segmentSize); - final int [][] data = new int[segments][]; + final int[][] data = new int[segments][]; int segment = 0; while (size > 0) { - final int thisSegmentSize = (int)Math.min(segmentSize, size); + final int thisSegmentSize = (int) Math.min(segmentSize, size); data[segment] = new int[thisSegmentSize]; if (nullFilled) { Arrays.fill(data[segment], 0, thisSegmentSize, NULL_INT); @@ -90,11 +89,11 @@ public final int getInt(long rowKey) { } private int keyToSegment(long rowKey) { - return (int)(rowKey >> segmentShift); + return (int) (rowKey >> segmentShift); } private int keyToOffset(long rowKey) { - return (int)(rowKey & segmentMask); + return (int) (rowKey & segmentMask); } public final int getUnsafe(long key) { @@ -125,8 +124,8 @@ public void ensureCapacity(long capacity, boolean nullFilled) { @Override public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk chunk, long position) { final int segment = keyToSegment(position); - chunk.asResettableWritableIntChunk().resetFromTypedArray((int[])data[segment], 0, data[segment].length); - return (long)segment << segmentShift; + chunk.asResettableWritableIntChunk().resetFromTypedArray((int[]) data[segment], 0, data[segment].length); + return (long) segment << segmentShift; } @Override @@ -135,12 +134,13 @@ public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChu final int offset = keyToOffset(position); final int segmentLength = data[segment].length; final int capacity = segmentLength - offset; - chunk.asResettableWritableIntChunk().resetFromTypedArray((int[])data[segment], offset, capacity); + chunk.asResettableWritableIntChunk().resetFromTypedArray((int[]) data[segment], offset, capacity); return capacity; } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillChunkByRanges(destination, rowSequence); } else { @@ -152,7 +152,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableIntChunk chunk = destination.asWritableIntChunk(); // endregion chunkDecl @@ -163,7 +163,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableIntChunk chunk = destination.asWritableIntChunk(); // endregion chunkDecl @@ -210,15 +210,16 @@ public Chunk getChunk(@NotNull GetContext context, long firstK return super.getChunk(context, rs); } } - final int len = (int)(lastKey - firstKey + 1); + final int len = (int) (lastKey - firstKey + 1); final int firstOffset = keyToOffset(firstKey); - //noinspection unchecked + // noinspection unchecked DefaultGetContext context1 = (DefaultGetContext) context; return context1.getResettableChunk().resetFromArray(data[segment], firstOffset, len); } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByRanges(src, rowSequence); } else { @@ -230,7 +231,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final IntChunk chunk = src.asIntChunk(); // endregion chunkDecl @@ -247,7 +248,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final IntChunk chunk = src.asIntChunk(); // endregion chunkDecl @@ -258,7 +259,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final IntChunk chunk = src.asIntChunk(); // endregion chunkDecl @@ -292,7 +293,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableIntChunk chunk = dest.asWritableIntChunk(); // endregion chunkDecl @@ -302,7 +303,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { fillChunkUnordered(context, dest, keys); } @Override - public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { fillChunk(context, destination, rowSequence); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DLongArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DLongArraySource.java index 09d01b9bb23..d11fc9a95f1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DLongArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DLongArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit Immutable2DCharArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit Immutable2DCharArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import java.util.function.LongFunction; @@ -42,7 +41,7 @@ * * No previous value tracking is permitted, so this column source is only useful as a flat static source. * - * A two-dimension array single array backs the result, with by default segments of 2^30 elements. This is so that + * A two-dimension array single array backs the result, with by default segments of 2^30 elements. This is so that * getChunk calls with contiguous ranges are often able to return a reference to the backing store without an array * copy. * @@ -51,7 +50,7 @@ public class Immutable2DLongArraySource extends AbstractDeferredGroupingColumnSource implements ImmutableColumnSourceGetDefaults.ForLong, WritableColumnSource, FillUnordered, InMemoryColumnSource, ChunkedBackingStoreExposedWritableSource, WritableSourceWithPrepareForParallelPopulation - , ConvertibleTimeSource { +, ConvertibleTimeSource { private static final int DEFAULT_SEGMENT_SHIFT = 30; private final long segmentShift; private final int segmentMask; @@ -74,12 +73,12 @@ public Immutable2DLongArraySource(int segmentShift) { // endregion constructor // region allocateArray - private static long [][] allocateArray(long size, int segmentSize, boolean nullFilled) { + private static long[][] allocateArray(long size, int segmentSize, boolean nullFilled) { final int segments = Math.toIntExact((size + segmentSize - 1) / segmentSize); - final long [][] data = new long[segments][]; + final long[][] data = new long[segments][]; int segment = 0; while (size > 0) { - final int thisSegmentSize = (int)Math.min(segmentSize, size); + final int thisSegmentSize = (int) Math.min(segmentSize, size); data[segment] = new long[thisSegmentSize]; if (nullFilled) { Arrays.fill(data[segment], 0, thisSegmentSize, NULL_LONG); @@ -101,11 +100,11 @@ public final long getLong(long rowKey) { } private int keyToSegment(long rowKey) { - return (int)(rowKey >> segmentShift); + return (int) (rowKey >> segmentShift); } private int keyToOffset(long rowKey) { - return (int)(rowKey & segmentMask); + return (int) (rowKey & segmentMask); } public final long getUnsafe(long key) { @@ -136,8 +135,8 @@ public void ensureCapacity(long capacity, boolean nullFilled) { @Override public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk chunk, long position) { final int segment = keyToSegment(position); - chunk.asResettableWritableLongChunk().resetFromTypedArray((long[])data[segment], 0, data[segment].length); - return (long)segment << segmentShift; + chunk.asResettableWritableLongChunk().resetFromTypedArray((long[]) data[segment], 0, data[segment].length); + return (long) segment << segmentShift; } @Override @@ -146,12 +145,13 @@ public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChu final int offset = keyToOffset(position); final int segmentLength = data[segment].length; final int capacity = segmentLength - offset; - chunk.asResettableWritableLongChunk().resetFromTypedArray((long[])data[segment], offset, capacity); + chunk.asResettableWritableLongChunk().resetFromTypedArray((long[]) data[segment], offset, capacity); return capacity; } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillChunkByRanges(destination, rowSequence); } else { @@ -163,7 +163,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableLongChunk chunk = destination.asWritableLongChunk(); // endregion chunkDecl @@ -174,7 +174,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk void fillChunkByRanges( @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence - , LongFunction converter) { + , LongFunction converter) { // region chunkDecl final WritableObjectChunk chunk = destination.asWritableObjectChunk(); // endregion chunkDecl @@ -196,7 +196,7 @@ void fillChunkByRanges( final int offset = keyToOffset(start); final long segmentEnd = start | segmentMask; final long realEnd = Math.min(segmentEnd, end); - final int length = (int)(realEnd - start + 1); + final int length = (int) (realEnd - start + 1); // region copyFromTypedArrayImmutable2D final int destOffset = destPosition.getAndAdd(length); for (int ii = 0; ii < length; ii++) { @@ -213,7 +213,7 @@ void fillChunkByRanges( /* TYPE_MIXIN */ void fillChunkByKeys( @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableLongChunk chunk = destination.asWritableLongChunk(); // endregion chunkDecl @@ -227,7 +227,7 @@ void fillChunkByRanges( void fillChunkByKeys( @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence - , LongFunction converter) { + , LongFunction converter) { // region chunkDecl final WritableObjectChunk chunk = destination.asWritableObjectChunk(); // endregion chunkDecl @@ -260,15 +260,16 @@ public Chunk getChunk(@NotNull GetContext context, long firstK return super.getChunk(context, rs); } } - final int len = (int)(lastKey - firstKey + 1); + final int len = (int) (lastKey - firstKey + 1); final int firstOffset = keyToOffset(firstKey); - //noinspection unchecked + // noinspection unchecked DefaultGetContext context1 = (DefaultGetContext) context; return context1.getResettableChunk().resetFromArray(data[segment], firstOffset, len); } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByRanges(src, rowSequence); } else { @@ -280,7 +281,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final LongChunk chunk = src.asLongChunk(); // endregion chunkDecl @@ -294,7 +295,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk void fillFromChunkByKeys( @NotNull final Chunk src, @NotNull final RowSequence rowSequence - , ToLongFunction converter) { + , ToLongFunction converter) { // region chunkDecl final ObjectChunk chunk = src.asObjectChunk(); // endregion chunkDecl @@ -311,7 +312,7 @@ void fillFromChunkByKeys( /* TYPE_MIXIN */ void fillFromChunkByRanges( @NotNull final Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final LongChunk chunk = src.asLongChunk(); // endregion chunkDecl @@ -322,7 +323,7 @@ void fillFromChunkByKeys( final int destOffset = keyToOffset(start); final long segmentEnd = start | segmentMask; final long realEnd = Math.min(segmentEnd, end); - final int length = (int)(realEnd - start + 1); + final int length = (int) (realEnd - start + 1); // region copyToTypedArrayImmutable2D chunk.copyToTypedArray(srcPos.getAndAdd(length), data[segment], destOffset, length); // endregion copyToTypedArrayImmutable2D @@ -333,7 +334,7 @@ void fillFromChunkByKeys( void fillFromChunkByRanges( @NotNull final Chunk src, @NotNull final RowSequence rowSequence - , ToLongFunction converter) { + , ToLongFunction converter) { // region chunkDecl final ObjectChunk chunk = src.asObjectChunk(); // endregion chunkDecl @@ -344,7 +345,7 @@ void fillFromChunkByRanges( final int destOffset = keyToOffset(start); final long segmentEnd = start | segmentMask; final long realEnd = Math.min(segmentEnd, end); - final int length = (int)(realEnd - start + 1); + final int length = (int) (realEnd - start + 1); // region copyToTypedArrayImmutable2D final int offset = srcPos.getAndAdd(length); for (int jj = 0; jj < length; jj++) { @@ -363,7 +364,7 @@ void fillFromChunkByRanges( @NotNull final FillFromContext context, @NotNull final Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final LongChunk chunk = src.asLongChunk(); // endregion chunkDecl @@ -378,7 +379,7 @@ public void fillFromChunkUnordered( @NotNull final FillFromContext context, @NotNull final Chunk src, @NotNull final LongChunk keys - , ToLongFunction converter) { + , ToLongFunction converter) { // region chunkDecl final ObjectChunk chunk = src.asObjectChunk(); // endregion chunkDecl @@ -396,7 +397,7 @@ public void fillFromChunkUnordered( @NotNull final FillContext context, @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableLongChunk chunk = dest.asWritableLongChunk(); // endregion chunkDecl @@ -406,7 +407,7 @@ public void fillFromChunkUnordered( chunk.set(ii, NULL_LONG); } else { // region conversion - chunk.set(ii, getUnsafe((int)(rowKey))); + chunk.set(ii, getUnsafe((int) (rowKey))); // endregion conversion } } @@ -416,7 +417,7 @@ public void fillChunkUnordered( @NotNull final FillContext context, @NotNull final WritableChunk dest, @NotNull final LongChunk keys - , LongFunction converter) { + , LongFunction converter) { // region chunkDecl final WritableObjectChunk chunk = dest.asWritableObjectChunk(); // endregion chunkDecl @@ -426,7 +427,7 @@ public void fillChunkUnordered( chunk.set(ii, null); } else { // region conversion - chunk.set(ii,converter.apply( getUnsafe((int)(rowKey)))); + chunk.set(ii,converter.apply( getUnsafe((int) (rowKey)))); // endregion conversion } } @@ -434,12 +435,14 @@ public void fillChunkUnordered( // endregion fillChunkUnordered @Override - public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { fillChunkUnordered(context, dest, keys); } @Override - public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { fillChunk(context, destination, rowSequence); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DNanosBasedTimeArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DNanosBasedTimeArraySource.java index 0569a27a1ec..5226228cfc9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DNanosBasedTimeArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DNanosBasedTimeArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DObjectArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DObjectArraySource.java index 7f88a70f323..805a8a4d238 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DObjectArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DObjectArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit Immutable2DCharArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit Immutable2DCharArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.*; @@ -30,7 +29,7 @@ * * No previous value tracking is permitted, so this column source is only useful as a flat static source. * - * A two-dimension array single array backs the result, with by default segments of 2^30 elements. This is so that + * A two-dimension array single array backs the result, with by default segments of 2^30 elements. This is so that * getChunk calls with contiguous ranges are often able to return a reference to the backing store without an array * copy. * @@ -39,7 +38,7 @@ public class Immutable2DObjectArraySource extends AbstractDeferredGroupingColumnSource implements ImmutableColumnSourceGetDefaults.ForObject, WritableColumnSource, FillUnordered, InMemoryColumnSource, ChunkedBackingStoreExposedWritableSource, WritableSourceWithPrepareForParallelPopulation - /* MIXIN_IMPLS */ { +/* MIXIN_IMPLS */ { private static final int DEFAULT_SEGMENT_SHIFT = 30; private final long segmentShift; private final int segmentMask; @@ -62,12 +61,12 @@ public Immutable2DObjectArraySource(Class type, Class componentType, int s // endregion constructor // region allocateArray - private static Object [][] allocateArray(long size, int segmentSize, boolean nullFilled) { + private static Object[][] allocateArray(long size, int segmentSize, boolean nullFilled) { final int segments = Math.toIntExact((size + segmentSize - 1) / segmentSize); - final Object [][] data = new Object[segments][]; + final Object[][] data = new Object[segments][]; int segment = 0; while (size > 0) { - final int thisSegmentSize = (int)Math.min(segmentSize, size); + final int thisSegmentSize = (int) Math.min(segmentSize, size); data[segment] = new Object[thisSegmentSize]; if (nullFilled) { Arrays.fill(data[segment], 0, thisSegmentSize, null); @@ -89,11 +88,11 @@ public final T get(long rowKey) { } private int keyToSegment(long rowKey) { - return (int)(rowKey >> segmentShift); + return (int) (rowKey >> segmentShift); } private int keyToOffset(long rowKey) { - return (int)(rowKey & segmentMask); + return (int) (rowKey & segmentMask); } public final T getUnsafe(long key) { @@ -124,8 +123,8 @@ public void ensureCapacity(long capacity, boolean nullFilled) { @Override public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk chunk, long position) { final int segment = keyToSegment(position); - chunk.asResettableWritableObjectChunk().resetFromTypedArray((Object[])data[segment], 0, data[segment].length); - return (long)segment << segmentShift; + chunk.asResettableWritableObjectChunk().resetFromTypedArray((Object[]) data[segment], 0, data[segment].length); + return (long) segment << segmentShift; } @Override @@ -134,12 +133,13 @@ public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChu final int offset = keyToOffset(position); final int segmentLength = data[segment].length; final int capacity = segmentLength - offset; - chunk.asResettableWritableObjectChunk().resetFromTypedArray((Object[])data[segment], offset, capacity); + chunk.asResettableWritableObjectChunk().resetFromTypedArray((Object[]) data[segment], offset, capacity); return capacity; } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillChunkByRanges(destination, rowSequence); } else { @@ -151,7 +151,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableObjectChunk chunk = destination.asWritableObjectChunk(); // endregion chunkDecl @@ -162,7 +162,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableObjectChunk chunk = destination.asWritableObjectChunk(); // endregion chunkDecl @@ -209,15 +209,16 @@ public Chunk getChunk(@NotNull GetContext context, long firstK return super.getChunk(context, rs); } } - final int len = (int)(lastKey - firstKey + 1); + final int len = (int) (lastKey - firstKey + 1); final int firstOffset = keyToOffset(firstKey); - //noinspection unchecked + // noinspection unchecked DefaultGetContext context1 = (DefaultGetContext) context; return context1.getResettableChunk().resetFromArray(data[segment], firstOffset, len); } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByRanges(src, rowSequence); } else { @@ -229,7 +230,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ObjectChunk chunk = src.asObjectChunk(); // endregion chunkDecl @@ -246,7 +247,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ObjectChunk chunk = src.asObjectChunk(); // endregion chunkDecl @@ -257,7 +258,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ObjectChunk chunk = src.asObjectChunk(); // endregion chunkDecl @@ -291,7 +292,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableObjectChunk chunk = dest.asWritableObjectChunk(); // endregion chunkDecl @@ -301,7 +302,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { fillChunkUnordered(context, dest, keys); } @Override - public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { fillChunk(context, destination, rowSequence); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DShortArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DShortArraySource.java index 9f94d379d7f..185e8844415 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DShortArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DShortArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit Immutable2DCharArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit Immutable2DCharArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.*; @@ -31,7 +30,7 @@ * * No previous value tracking is permitted, so this column source is only useful as a flat static source. * - * A two-dimension array single array backs the result, with by default segments of 2^30 elements. This is so that + * A two-dimension array single array backs the result, with by default segments of 2^30 elements. This is so that * getChunk calls with contiguous ranges are often able to return a reference to the backing store without an array * copy. * @@ -40,7 +39,7 @@ public class Immutable2DShortArraySource extends AbstractDeferredGroupingColumnSource implements ImmutableColumnSourceGetDefaults.ForShort, WritableColumnSource, FillUnordered, InMemoryColumnSource, ChunkedBackingStoreExposedWritableSource, WritableSourceWithPrepareForParallelPopulation - /* MIXIN_IMPLS */ { +/* MIXIN_IMPLS */ { private static final int DEFAULT_SEGMENT_SHIFT = 30; private final long segmentShift; private final int segmentMask; @@ -63,12 +62,12 @@ public Immutable2DShortArraySource(int segmentShift) { // endregion constructor // region allocateArray - private static short [][] allocateArray(long size, int segmentSize, boolean nullFilled) { + private static short[][] allocateArray(long size, int segmentSize, boolean nullFilled) { final int segments = Math.toIntExact((size + segmentSize - 1) / segmentSize); - final short [][] data = new short[segments][]; + final short[][] data = new short[segments][]; int segment = 0; while (size > 0) { - final int thisSegmentSize = (int)Math.min(segmentSize, size); + final int thisSegmentSize = (int) Math.min(segmentSize, size); data[segment] = new short[thisSegmentSize]; if (nullFilled) { Arrays.fill(data[segment], 0, thisSegmentSize, NULL_SHORT); @@ -90,11 +89,11 @@ public final short getShort(long rowKey) { } private int keyToSegment(long rowKey) { - return (int)(rowKey >> segmentShift); + return (int) (rowKey >> segmentShift); } private int keyToOffset(long rowKey) { - return (int)(rowKey & segmentMask); + return (int) (rowKey & segmentMask); } public final short getUnsafe(long key) { @@ -125,8 +124,8 @@ public void ensureCapacity(long capacity, boolean nullFilled) { @Override public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk chunk, long position) { final int segment = keyToSegment(position); - chunk.asResettableWritableShortChunk().resetFromTypedArray((short[])data[segment], 0, data[segment].length); - return (long)segment << segmentShift; + chunk.asResettableWritableShortChunk().resetFromTypedArray((short[]) data[segment], 0, data[segment].length); + return (long) segment << segmentShift; } @Override @@ -135,12 +134,13 @@ public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChu final int offset = keyToOffset(position); final int segmentLength = data[segment].length; final int capacity = segmentLength - offset; - chunk.asResettableWritableShortChunk().resetFromTypedArray((short[])data[segment], offset, capacity); + chunk.asResettableWritableShortChunk().resetFromTypedArray((short[]) data[segment], offset, capacity); return capacity; } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillChunkByRanges(destination, rowSequence); } else { @@ -152,7 +152,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableShortChunk chunk = destination.asWritableShortChunk(); // endregion chunkDecl @@ -163,7 +163,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableShortChunk chunk = destination.asWritableShortChunk(); // endregion chunkDecl @@ -210,15 +210,16 @@ public Chunk getChunk(@NotNull GetContext context, long firstK return super.getChunk(context, rs); } } - final int len = (int)(lastKey - firstKey + 1); + final int len = (int) (lastKey - firstKey + 1); final int firstOffset = keyToOffset(firstKey); - //noinspection unchecked + // noinspection unchecked DefaultGetContext context1 = (DefaultGetContext) context; return context1.getResettableChunk().resetFromArray(data[segment], firstOffset, len); } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByRanges(src, rowSequence); } else { @@ -230,7 +231,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ShortChunk chunk = src.asShortChunk(); // endregion chunkDecl @@ -247,7 +248,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ShortChunk chunk = src.asShortChunk(); // endregion chunkDecl @@ -258,7 +259,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ShortChunk chunk = src.asShortChunk(); // endregion chunkDecl @@ -292,7 +293,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableShortChunk chunk = dest.asWritableShortChunk(); // endregion chunkDecl @@ -302,7 +303,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { fillChunkUnordered(context, dest, keys); } @Override - public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { fillChunk(context, destination, rowSequence); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DZonedDateTimeArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DZonedDateTimeArraySource.java index a3bdd828ece..e1f1b4618d3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DZonedDateTimeArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/Immutable2DZonedDateTimeArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableByteArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableByteArraySource.java index 2cd36aaf1c7..30eaf958906 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableByteArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableByteArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableCharArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableCharArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.engine.table.ColumnSource; @@ -33,16 +32,16 @@ * * No previous value tracking is permitted, so this column source is only useful as a flat static source. * - * A single array backs the result, so getChunk calls with contiguous ranges should always be able to return a - * reference to the backing store without an array copy. The immediate consequence is that you may not create - * sources that have a capacity larger than the maximum capacity of an array. + * A single array backs the result, so getChunk calls with contiguous ranges should always be able to return a reference + * to the backing store without an array copy. The immediate consequence is that you may not create sources that have a + * capacity larger than the maximum capacity of an array. * * If your size is greater than the maximum capacity of an array, prefer {@link Immutable2DByteArraySource}. */ public class ImmutableByteArraySource extends AbstractDeferredGroupingColumnSource implements ImmutableColumnSourceGetDefaults.ForByte, WritableColumnSource, FillUnordered, InMemoryColumnSource, ChunkedBackingStoreExposedWritableSource, WritableSourceWithPrepareForParallelPopulation - /* MIXIN_IMPLS */ { +/* MIXIN_IMPLS */ { private byte[] data; // region constructor @@ -52,7 +51,7 @@ public ImmutableByteArraySource() { // endregion constructor // region array constructor - public ImmutableByteArraySource(byte [] data) { + public ImmutableByteArraySource(byte[] data) { super(byte.class); this.data = data; } @@ -78,23 +77,23 @@ public final byte getByte(long rowKey) { } public final byte getUnsafe(long rowKey) { - return data[(int)rowKey]; + return data[(int) rowKey]; } public final byte getAndSetUnsafe(long rowKey, byte newValue) { - byte oldValue = data[(int)rowKey]; - data[(int)rowKey] = newValue; + byte oldValue = data[(int) rowKey]; + data[(int) rowKey] = newValue; return oldValue; } @Override public final void setNull(long key) { - data[(int)key] = NULL_BYTE; + data[(int) key] = NULL_BYTE; } @Override public final void set(long key, byte value) { - data[(int)key] = value; + data[(int) key] = value; } @Override @@ -108,7 +107,8 @@ public void ensureCapacity(long capacity, boolean nullFilled) { } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillChunkByRanges(destination, rowSequence); } else { @@ -120,15 +120,15 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableByteChunk chunk = destination.asWritableByteChunk(); // endregion chunkDecl final MutableInt destPosition = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyFromTypedArrayImmutable - chunk.copyFromTypedArray(data, (int)start, destPosition.getAndAdd(length), length); + chunk.copyFromTypedArray(data, (int) start, destPosition.getAndAdd(length), length); // endregion copyFromTypedArrayImmutable }); chunk.setSize(destPosition.intValue()); @@ -139,7 +139,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableByteChunk chunk = destination.asWritableByteChunk(); // endregion chunkDecl @@ -172,22 +172,23 @@ public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk @Override public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChunk chunk, long position) { - final int capacity = (int)(data.length - position); + final int capacity = (int) (data.length - position); ResettableWritableByteChunk resettableWritableByteChunk = chunk.asResettableWritableByteChunk(); - resettableWritableByteChunk.resetFromTypedArray(data, (int)position, capacity); + resettableWritableByteChunk.resetFromTypedArray(data, (int) position, capacity); return capacity; } @Override public Chunk getChunk(@NotNull GetContext context, long firstKey, long lastKey) { - final int len = (int)(lastKey - firstKey + 1); - //noinspection unchecked + final int len = (int) (lastKey - firstKey + 1); + // noinspection unchecked DefaultGetContext context1 = (DefaultGetContext) context; - return context1.getResettableChunk().resetFromArray(data, (int)firstKey, len); + return context1.getResettableChunk().resetFromArray(data, (int) firstKey, len); } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByRanges(src, rowSequence); } else { @@ -199,7 +200,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ByteChunk chunk = src.asByteChunk(); // endregion chunkDecl @@ -216,15 +217,15 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ByteChunk chunk = src.asByteChunk(); // endregion chunkDecl final MutableInt srcPos = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyToTypedArrayImmutable - chunk.copyToTypedArray(srcPos.getAndAdd(length), data, (int)start, length); + chunk.copyToTypedArray(srcPos.getAndAdd(length), data, (int) start, length); // endregion copyToTypedArrayImmutable }); } @@ -236,7 +237,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ByteChunk chunk = src.asByteChunk(); // endregion chunkDecl @@ -254,7 +255,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableByteChunk chunk = dest.asWritableByteChunk(); // endregion chunkDecl @@ -263,7 +264,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { fillChunkUnordered(context, dest, keys); } @Override - public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { fillChunk(context, destination, rowSequence); } @@ -304,13 +307,13 @@ public void prepareForParallelPopulation(@NotNull final RowSequence rowSequence) } // region getArray - public byte [] getArray() { + public byte[] getArray() { return data; } // endregion getArray // region setArray - public void setArray(byte [] array) { + public void setArray(byte[] array) { data = array; } // endregion setArray diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableCharArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableCharArraySource.java index 845929a0a20..a652234a469 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableCharArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableCharArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.*; @@ -26,16 +26,16 @@ * * No previous value tracking is permitted, so this column source is only useful as a flat static source. * - * A single array backs the result, so getChunk calls with contiguous ranges should always be able to return a - * reference to the backing store without an array copy. The immediate consequence is that you may not create - * sources that have a capacity larger than the maximum capacity of an array. + * A single array backs the result, so getChunk calls with contiguous ranges should always be able to return a reference + * to the backing store without an array copy. The immediate consequence is that you may not create sources that have a + * capacity larger than the maximum capacity of an array. * * If your size is greater than the maximum capacity of an array, prefer {@link Immutable2DCharArraySource}. */ public class ImmutableCharArraySource extends AbstractDeferredGroupingColumnSource implements ImmutableColumnSourceGetDefaults.ForChar, WritableColumnSource, FillUnordered, InMemoryColumnSource, ChunkedBackingStoreExposedWritableSource, WritableSourceWithPrepareForParallelPopulation - /* MIXIN_IMPLS */ { +/* MIXIN_IMPLS */ { private char[] data; // region constructor @@ -45,7 +45,7 @@ public ImmutableCharArraySource() { // endregion constructor // region array constructor - public ImmutableCharArraySource(char [] data) { + public ImmutableCharArraySource(char[] data) { super(char.class); this.data = data; } @@ -71,23 +71,23 @@ public final char getChar(long rowKey) { } public final char getUnsafe(long rowKey) { - return data[(int)rowKey]; + return data[(int) rowKey]; } public final char getAndSetUnsafe(long rowKey, char newValue) { - char oldValue = data[(int)rowKey]; - data[(int)rowKey] = newValue; + char oldValue = data[(int) rowKey]; + data[(int) rowKey] = newValue; return oldValue; } @Override public final void setNull(long key) { - data[(int)key] = NULL_CHAR; + data[(int) key] = NULL_CHAR; } @Override public final void set(long key, char value) { - data[(int)key] = value; + data[(int) key] = value; } @Override @@ -101,7 +101,8 @@ public void ensureCapacity(long capacity, boolean nullFilled) { } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillChunkByRanges(destination, rowSequence); } else { @@ -113,15 +114,15 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableCharChunk chunk = destination.asWritableCharChunk(); // endregion chunkDecl final MutableInt destPosition = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyFromTypedArrayImmutable - chunk.copyFromTypedArray(data, (int)start, destPosition.getAndAdd(length), length); + chunk.copyFromTypedArray(data, (int) start, destPosition.getAndAdd(length), length); // endregion copyFromTypedArrayImmutable }); chunk.setSize(destPosition.intValue()); @@ -132,7 +133,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableCharChunk chunk = destination.asWritableCharChunk(); // endregion chunkDecl @@ -165,22 +166,23 @@ public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk @Override public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChunk chunk, long position) { - final int capacity = (int)(data.length - position); + final int capacity = (int) (data.length - position); ResettableWritableCharChunk resettableWritableCharChunk = chunk.asResettableWritableCharChunk(); - resettableWritableCharChunk.resetFromTypedArray(data, (int)position, capacity); + resettableWritableCharChunk.resetFromTypedArray(data, (int) position, capacity); return capacity; } @Override public Chunk getChunk(@NotNull GetContext context, long firstKey, long lastKey) { - final int len = (int)(lastKey - firstKey + 1); - //noinspection unchecked + final int len = (int) (lastKey - firstKey + 1); + // noinspection unchecked DefaultGetContext context1 = (DefaultGetContext) context; - return context1.getResettableChunk().resetFromArray(data, (int)firstKey, len); + return context1.getResettableChunk().resetFromArray(data, (int) firstKey, len); } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByRanges(src, rowSequence); } else { @@ -192,7 +194,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final CharChunk chunk = src.asCharChunk(); // endregion chunkDecl @@ -209,15 +211,15 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final CharChunk chunk = src.asCharChunk(); // endregion chunkDecl final MutableInt srcPos = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyToTypedArrayImmutable - chunk.copyToTypedArray(srcPos.getAndAdd(length), data, (int)start, length); + chunk.copyToTypedArray(srcPos.getAndAdd(length), data, (int) start, length); // endregion copyToTypedArrayImmutable }); } @@ -229,7 +231,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final CharChunk chunk = src.asCharChunk(); // endregion chunkDecl @@ -247,7 +249,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableCharChunk chunk = dest.asWritableCharChunk(); // endregion chunkDecl @@ -256,7 +258,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { fillChunkUnordered(context, dest, keys); } @Override - public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { fillChunk(context, destination, rowSequence); } @@ -297,13 +301,13 @@ public void prepareForParallelPopulation(@NotNull final RowSequence rowSequence) } // region getArray - public char [] getArray() { + public char[] getArray() { return data; } // endregion getArray // region setArray - public void setArray(char [] array) { + public void setArray(char[] array) { data = array; } // endregion setArray diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantByteSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantByteSource.java index 540ad094615..6e8b5e8a813 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantByteSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantByteSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableConstantCharSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableConstantCharSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.engine.table.ColumnSource; @@ -91,7 +90,7 @@ public void fillPrevChunkUnordered( @NotNull FillContext context, @NotNull WritableChunk dest, @NotNull LongChunk keys) { - fillChunkUnordered(context , dest, keys); + fillChunkUnordered(context, dest, keys); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantCharSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantCharSource.java index dd9e2fbaac1..0788b2cb9c3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantCharSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantCharSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.LongChunk; @@ -84,7 +84,7 @@ public void fillPrevChunkUnordered( @NotNull FillContext context, @NotNull WritableChunk dest, @NotNull LongChunk keys) { - fillChunkUnordered(context , dest, keys); + fillChunkUnordered(context, dest, keys); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantDoubleSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantDoubleSource.java index c946099992d..c75d5f2faba 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantDoubleSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantDoubleSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableConstantCharSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableConstantCharSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.LongChunk; @@ -89,7 +88,7 @@ public void fillPrevChunkUnordered( @NotNull FillContext context, @NotNull WritableChunk dest, @NotNull LongChunk keys) { - fillChunkUnordered(context , dest, keys); + fillChunkUnordered(context, dest, keys); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantFloatSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantFloatSource.java index 68e567aa62a..81e961dbfec 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantFloatSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantFloatSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableConstantCharSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableConstantCharSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.LongChunk; @@ -89,7 +88,7 @@ public void fillPrevChunkUnordered( @NotNull FillContext context, @NotNull WritableChunk dest, @NotNull LongChunk keys) { - fillChunkUnordered(context , dest, keys); + fillChunkUnordered(context, dest, keys); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantInstantSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantInstantSource.java index 8fa39631d85..c5b6b28d5e1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantInstantSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantInstantSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantIntSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantIntSource.java index 59299fbe3d3..ea4a6a8a82c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantIntSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantIntSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableConstantCharSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableConstantCharSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.LongChunk; @@ -89,7 +88,7 @@ public void fillPrevChunkUnordered( @NotNull FillContext context, @NotNull WritableChunk dest, @NotNull LongChunk keys) { - fillChunkUnordered(context , dest, keys); + fillChunkUnordered(context, dest, keys); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantLongSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantLongSource.java index 52dd51aca75..7d9e322f6d3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantLongSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantLongSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableConstantCharSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableConstantCharSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import java.time.Instant; @@ -98,7 +97,7 @@ public void fillPrevChunkUnordered( @NotNull FillContext context, @NotNull WritableChunk dest, @NotNull LongChunk keys) { - fillChunkUnordered(context , dest, keys); + fillChunkUnordered(context, dest, keys); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantNanosBasedTimeSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantNanosBasedTimeSource.java index 6dee4cccdc4..075b786b412 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantNanosBasedTimeSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantNanosBasedTimeSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantObjectSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantObjectSource.java index 72a81b9a87d..5971e14e61f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantObjectSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantObjectSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableConstantCharSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableConstantCharSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.LongChunk; @@ -88,7 +87,7 @@ public void fillPrevChunkUnordered( @NotNull FillContext context, @NotNull WritableChunk dest, @NotNull LongChunk keys) { - fillChunkUnordered(context , dest, keys); + fillChunkUnordered(context, dest, keys); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantShortSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantShortSource.java index 2a444754618..cdf53c08c05 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantShortSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantShortSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableConstantCharSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableConstantCharSource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.LongChunk; @@ -89,7 +88,7 @@ public void fillPrevChunkUnordered( @NotNull FillContext context, @NotNull WritableChunk dest, @NotNull LongChunk keys) { - fillChunkUnordered(context , dest, keys); + fillChunkUnordered(context, dest, keys); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantZonedDateTimeSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantZonedDateTimeSource.java index 8d7d85983e2..1821f3d635e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantZonedDateTimeSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableConstantZonedDateTimeSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableDoubleArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableDoubleArraySource.java index f7d1d8cf370..5640e6a55aa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableDoubleArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableDoubleArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableCharArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableCharArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.*; @@ -31,16 +30,16 @@ * * No previous value tracking is permitted, so this column source is only useful as a flat static source. * - * A single array backs the result, so getChunk calls with contiguous ranges should always be able to return a - * reference to the backing store without an array copy. The immediate consequence is that you may not create - * sources that have a capacity larger than the maximum capacity of an array. + * A single array backs the result, so getChunk calls with contiguous ranges should always be able to return a reference + * to the backing store without an array copy. The immediate consequence is that you may not create sources that have a + * capacity larger than the maximum capacity of an array. * * If your size is greater than the maximum capacity of an array, prefer {@link Immutable2DDoubleArraySource}. */ public class ImmutableDoubleArraySource extends AbstractDeferredGroupingColumnSource implements ImmutableColumnSourceGetDefaults.ForDouble, WritableColumnSource, FillUnordered, InMemoryColumnSource, ChunkedBackingStoreExposedWritableSource, WritableSourceWithPrepareForParallelPopulation - /* MIXIN_IMPLS */ { +/* MIXIN_IMPLS */ { private double[] data; // region constructor @@ -50,7 +49,7 @@ public ImmutableDoubleArraySource() { // endregion constructor // region array constructor - public ImmutableDoubleArraySource(double [] data) { + public ImmutableDoubleArraySource(double[] data) { super(double.class); this.data = data; } @@ -76,23 +75,23 @@ public final double getDouble(long rowKey) { } public final double getUnsafe(long rowKey) { - return data[(int)rowKey]; + return data[(int) rowKey]; } public final double getAndSetUnsafe(long rowKey, double newValue) { - double oldValue = data[(int)rowKey]; - data[(int)rowKey] = newValue; + double oldValue = data[(int) rowKey]; + data[(int) rowKey] = newValue; return oldValue; } @Override public final void setNull(long key) { - data[(int)key] = NULL_DOUBLE; + data[(int) key] = NULL_DOUBLE; } @Override public final void set(long key, double value) { - data[(int)key] = value; + data[(int) key] = value; } @Override @@ -106,7 +105,8 @@ public void ensureCapacity(long capacity, boolean nullFilled) { } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillChunkByRanges(destination, rowSequence); } else { @@ -118,15 +118,15 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableDoubleChunk chunk = destination.asWritableDoubleChunk(); // endregion chunkDecl final MutableInt destPosition = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyFromTypedArrayImmutable - chunk.copyFromTypedArray(data, (int)start, destPosition.getAndAdd(length), length); + chunk.copyFromTypedArray(data, (int) start, destPosition.getAndAdd(length), length); // endregion copyFromTypedArrayImmutable }); chunk.setSize(destPosition.intValue()); @@ -137,7 +137,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableDoubleChunk chunk = destination.asWritableDoubleChunk(); // endregion chunkDecl @@ -170,22 +170,23 @@ public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk @Override public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChunk chunk, long position) { - final int capacity = (int)(data.length - position); + final int capacity = (int) (data.length - position); ResettableWritableDoubleChunk resettableWritableDoubleChunk = chunk.asResettableWritableDoubleChunk(); - resettableWritableDoubleChunk.resetFromTypedArray(data, (int)position, capacity); + resettableWritableDoubleChunk.resetFromTypedArray(data, (int) position, capacity); return capacity; } @Override public Chunk getChunk(@NotNull GetContext context, long firstKey, long lastKey) { - final int len = (int)(lastKey - firstKey + 1); - //noinspection unchecked + final int len = (int) (lastKey - firstKey + 1); + // noinspection unchecked DefaultGetContext context1 = (DefaultGetContext) context; - return context1.getResettableChunk().resetFromArray(data, (int)firstKey, len); + return context1.getResettableChunk().resetFromArray(data, (int) firstKey, len); } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByRanges(src, rowSequence); } else { @@ -197,7 +198,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final DoubleChunk chunk = src.asDoubleChunk(); // endregion chunkDecl @@ -214,15 +215,15 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final DoubleChunk chunk = src.asDoubleChunk(); // endregion chunkDecl final MutableInt srcPos = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyToTypedArrayImmutable - chunk.copyToTypedArray(srcPos.getAndAdd(length), data, (int)start, length); + chunk.copyToTypedArray(srcPos.getAndAdd(length), data, (int) start, length); // endregion copyToTypedArrayImmutable }); } @@ -234,7 +235,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final DoubleChunk chunk = src.asDoubleChunk(); // endregion chunkDecl @@ -252,7 +253,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableDoubleChunk chunk = dest.asWritableDoubleChunk(); // endregion chunkDecl @@ -261,7 +262,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { fillChunkUnordered(context, dest, keys); } @Override - public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { fillChunk(context, destination, rowSequence); } @@ -302,13 +305,13 @@ public void prepareForParallelPopulation(@NotNull final RowSequence rowSequence) } // region getArray - public double [] getArray() { + public double[] getArray() { return data; } // endregion getArray // region setArray - public void setArray(double [] array) { + public void setArray(double[] array) { data = array; } // endregion setArray diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableFloatArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableFloatArraySource.java index ad8d10be379..da02a3a9218 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableFloatArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableFloatArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableCharArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableCharArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.*; @@ -31,16 +30,16 @@ * * No previous value tracking is permitted, so this column source is only useful as a flat static source. * - * A single array backs the result, so getChunk calls with contiguous ranges should always be able to return a - * reference to the backing store without an array copy. The immediate consequence is that you may not create - * sources that have a capacity larger than the maximum capacity of an array. + * A single array backs the result, so getChunk calls with contiguous ranges should always be able to return a reference + * to the backing store without an array copy. The immediate consequence is that you may not create sources that have a + * capacity larger than the maximum capacity of an array. * * If your size is greater than the maximum capacity of an array, prefer {@link Immutable2DFloatArraySource}. */ public class ImmutableFloatArraySource extends AbstractDeferredGroupingColumnSource implements ImmutableColumnSourceGetDefaults.ForFloat, WritableColumnSource, FillUnordered, InMemoryColumnSource, ChunkedBackingStoreExposedWritableSource, WritableSourceWithPrepareForParallelPopulation - /* MIXIN_IMPLS */ { +/* MIXIN_IMPLS */ { private float[] data; // region constructor @@ -50,7 +49,7 @@ public ImmutableFloatArraySource() { // endregion constructor // region array constructor - public ImmutableFloatArraySource(float [] data) { + public ImmutableFloatArraySource(float[] data) { super(float.class); this.data = data; } @@ -76,23 +75,23 @@ public final float getFloat(long rowKey) { } public final float getUnsafe(long rowKey) { - return data[(int)rowKey]; + return data[(int) rowKey]; } public final float getAndSetUnsafe(long rowKey, float newValue) { - float oldValue = data[(int)rowKey]; - data[(int)rowKey] = newValue; + float oldValue = data[(int) rowKey]; + data[(int) rowKey] = newValue; return oldValue; } @Override public final void setNull(long key) { - data[(int)key] = NULL_FLOAT; + data[(int) key] = NULL_FLOAT; } @Override public final void set(long key, float value) { - data[(int)key] = value; + data[(int) key] = value; } @Override @@ -106,7 +105,8 @@ public void ensureCapacity(long capacity, boolean nullFilled) { } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillChunkByRanges(destination, rowSequence); } else { @@ -118,15 +118,15 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableFloatChunk chunk = destination.asWritableFloatChunk(); // endregion chunkDecl final MutableInt destPosition = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyFromTypedArrayImmutable - chunk.copyFromTypedArray(data, (int)start, destPosition.getAndAdd(length), length); + chunk.copyFromTypedArray(data, (int) start, destPosition.getAndAdd(length), length); // endregion copyFromTypedArrayImmutable }); chunk.setSize(destPosition.intValue()); @@ -137,7 +137,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableFloatChunk chunk = destination.asWritableFloatChunk(); // endregion chunkDecl @@ -170,22 +170,23 @@ public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk @Override public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChunk chunk, long position) { - final int capacity = (int)(data.length - position); + final int capacity = (int) (data.length - position); ResettableWritableFloatChunk resettableWritableFloatChunk = chunk.asResettableWritableFloatChunk(); - resettableWritableFloatChunk.resetFromTypedArray(data, (int)position, capacity); + resettableWritableFloatChunk.resetFromTypedArray(data, (int) position, capacity); return capacity; } @Override public Chunk getChunk(@NotNull GetContext context, long firstKey, long lastKey) { - final int len = (int)(lastKey - firstKey + 1); - //noinspection unchecked + final int len = (int) (lastKey - firstKey + 1); + // noinspection unchecked DefaultGetContext context1 = (DefaultGetContext) context; - return context1.getResettableChunk().resetFromArray(data, (int)firstKey, len); + return context1.getResettableChunk().resetFromArray(data, (int) firstKey, len); } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByRanges(src, rowSequence); } else { @@ -197,7 +198,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final FloatChunk chunk = src.asFloatChunk(); // endregion chunkDecl @@ -214,15 +215,15 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final FloatChunk chunk = src.asFloatChunk(); // endregion chunkDecl final MutableInt srcPos = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyToTypedArrayImmutable - chunk.copyToTypedArray(srcPos.getAndAdd(length), data, (int)start, length); + chunk.copyToTypedArray(srcPos.getAndAdd(length), data, (int) start, length); // endregion copyToTypedArrayImmutable }); } @@ -234,7 +235,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final FloatChunk chunk = src.asFloatChunk(); // endregion chunkDecl @@ -252,7 +253,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableFloatChunk chunk = dest.asWritableFloatChunk(); // endregion chunkDecl @@ -261,7 +262,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { fillChunkUnordered(context, dest, keys); } @Override - public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { fillChunk(context, destination, rowSequence); } @@ -302,13 +305,13 @@ public void prepareForParallelPopulation(@NotNull final RowSequence rowSequence) } // region getArray - public float [] getArray() { + public float[] getArray() { return data; } // endregion getArray // region setArray - public void setArray(float [] array) { + public void setArray(float[] array) { data = array; } // endregion setArray diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableInstantArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableInstantArraySource.java index e7a35934281..ebf332d3300 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableInstantArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableInstantArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableIntArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableIntArraySource.java index 2fe3a664a3a..6e89e495ab8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableIntArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableIntArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableCharArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableCharArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.*; @@ -31,16 +30,16 @@ * * No previous value tracking is permitted, so this column source is only useful as a flat static source. * - * A single array backs the result, so getChunk calls with contiguous ranges should always be able to return a - * reference to the backing store without an array copy. The immediate consequence is that you may not create - * sources that have a capacity larger than the maximum capacity of an array. + * A single array backs the result, so getChunk calls with contiguous ranges should always be able to return a reference + * to the backing store without an array copy. The immediate consequence is that you may not create sources that have a + * capacity larger than the maximum capacity of an array. * * If your size is greater than the maximum capacity of an array, prefer {@link Immutable2DIntArraySource}. */ public class ImmutableIntArraySource extends AbstractDeferredGroupingColumnSource implements ImmutableColumnSourceGetDefaults.ForInt, WritableColumnSource, FillUnordered, InMemoryColumnSource, ChunkedBackingStoreExposedWritableSource, WritableSourceWithPrepareForParallelPopulation - /* MIXIN_IMPLS */ { +/* MIXIN_IMPLS */ { private int[] data; // region constructor @@ -50,7 +49,7 @@ public ImmutableIntArraySource() { // endregion constructor // region array constructor - public ImmutableIntArraySource(int [] data) { + public ImmutableIntArraySource(int[] data) { super(int.class); this.data = data; } @@ -76,23 +75,23 @@ public final int getInt(long rowKey) { } public final int getUnsafe(long rowKey) { - return data[(int)rowKey]; + return data[(int) rowKey]; } public final int getAndSetUnsafe(long rowKey, int newValue) { - int oldValue = data[(int)rowKey]; - data[(int)rowKey] = newValue; + int oldValue = data[(int) rowKey]; + data[(int) rowKey] = newValue; return oldValue; } @Override public final void setNull(long key) { - data[(int)key] = NULL_INT; + data[(int) key] = NULL_INT; } @Override public final void set(long key, int value) { - data[(int)key] = value; + data[(int) key] = value; } @Override @@ -106,7 +105,8 @@ public void ensureCapacity(long capacity, boolean nullFilled) { } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillChunkByRanges(destination, rowSequence); } else { @@ -118,15 +118,15 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableIntChunk chunk = destination.asWritableIntChunk(); // endregion chunkDecl final MutableInt destPosition = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyFromTypedArrayImmutable - chunk.copyFromTypedArray(data, (int)start, destPosition.getAndAdd(length), length); + chunk.copyFromTypedArray(data, (int) start, destPosition.getAndAdd(length), length); // endregion copyFromTypedArrayImmutable }); chunk.setSize(destPosition.intValue()); @@ -137,7 +137,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableIntChunk chunk = destination.asWritableIntChunk(); // endregion chunkDecl @@ -170,22 +170,23 @@ public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk @Override public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChunk chunk, long position) { - final int capacity = (int)(data.length - position); + final int capacity = (int) (data.length - position); ResettableWritableIntChunk resettableWritableIntChunk = chunk.asResettableWritableIntChunk(); - resettableWritableIntChunk.resetFromTypedArray(data, (int)position, capacity); + resettableWritableIntChunk.resetFromTypedArray(data, (int) position, capacity); return capacity; } @Override public Chunk getChunk(@NotNull GetContext context, long firstKey, long lastKey) { - final int len = (int)(lastKey - firstKey + 1); - //noinspection unchecked + final int len = (int) (lastKey - firstKey + 1); + // noinspection unchecked DefaultGetContext context1 = (DefaultGetContext) context; - return context1.getResettableChunk().resetFromArray(data, (int)firstKey, len); + return context1.getResettableChunk().resetFromArray(data, (int) firstKey, len); } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByRanges(src, rowSequence); } else { @@ -197,7 +198,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final IntChunk chunk = src.asIntChunk(); // endregion chunkDecl @@ -214,15 +215,15 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final IntChunk chunk = src.asIntChunk(); // endregion chunkDecl final MutableInt srcPos = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyToTypedArrayImmutable - chunk.copyToTypedArray(srcPos.getAndAdd(length), data, (int)start, length); + chunk.copyToTypedArray(srcPos.getAndAdd(length), data, (int) start, length); // endregion copyToTypedArrayImmutable }); } @@ -234,7 +235,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final IntChunk chunk = src.asIntChunk(); // endregion chunkDecl @@ -252,7 +253,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableIntChunk chunk = dest.asWritableIntChunk(); // endregion chunkDecl @@ -261,7 +262,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { fillChunkUnordered(context, dest, keys); } @Override - public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { fillChunk(context, destination, rowSequence); } @@ -302,13 +305,13 @@ public void prepareForParallelPopulation(@NotNull final RowSequence rowSequence) } // region getArray - public int [] getArray() { + public int[] getArray() { return data; } // endregion getArray // region setArray - public void setArray(int [] array) { + public void setArray(int[] array) { data = array; } // endregion setArray diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableLongArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableLongArraySource.java index 9c8e0def0bc..9d42b3a477b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableLongArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableLongArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableCharArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableCharArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import java.util.function.LongFunction; @@ -42,16 +41,16 @@ * * No previous value tracking is permitted, so this column source is only useful as a flat static source. * - * A single array backs the result, so getChunk calls with contiguous ranges should always be able to return a - * reference to the backing store without an array copy. The immediate consequence is that you may not create - * sources that have a capacity larger than the maximum capacity of an array. + * A single array backs the result, so getChunk calls with contiguous ranges should always be able to return a reference + * to the backing store without an array copy. The immediate consequence is that you may not create sources that have a + * capacity larger than the maximum capacity of an array. * * If your size is greater than the maximum capacity of an array, prefer {@link Immutable2DLongArraySource}. */ public class ImmutableLongArraySource extends AbstractDeferredGroupingColumnSource implements ImmutableColumnSourceGetDefaults.ForLong, WritableColumnSource, FillUnordered, InMemoryColumnSource, ChunkedBackingStoreExposedWritableSource, WritableSourceWithPrepareForParallelPopulation - , ConvertibleTimeSource { +, ConvertibleTimeSource { private long[] data; // region constructor @@ -61,7 +60,7 @@ public ImmutableLongArraySource() { // endregion constructor // region array constructor - public ImmutableLongArraySource(long [] data) { + public ImmutableLongArraySource(long[] data) { super(long.class); this.data = data; } @@ -87,23 +86,23 @@ public final long getLong(long rowKey) { } public final long getUnsafe(long rowKey) { - return data[(int)rowKey]; + return data[(int) rowKey]; } public final long getAndSetUnsafe(long rowKey, long newValue) { - long oldValue = data[(int)rowKey]; - data[(int)rowKey] = newValue; + long oldValue = data[(int) rowKey]; + data[(int) rowKey] = newValue; return oldValue; } @Override public final void setNull(long key) { - data[(int)key] = NULL_LONG; + data[(int) key] = NULL_LONG; } @Override public final void set(long key, long value) { - data[(int)key] = value; + data[(int) key] = value; } @Override @@ -117,7 +116,8 @@ public void ensureCapacity(long capacity, boolean nullFilled) { } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillChunkByRanges(destination, rowSequence); } else { @@ -129,15 +129,15 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableLongChunk chunk = destination.asWritableLongChunk(); // endregion chunkDecl final MutableInt destPosition = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyFromTypedArrayImmutable - chunk.copyFromTypedArray(data, (int)start, destPosition.getAndAdd(length), length); + chunk.copyFromTypedArray(data, (int) start, destPosition.getAndAdd(length), length); // endregion copyFromTypedArrayImmutable }); chunk.setSize(destPosition.intValue()); @@ -145,13 +145,13 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk void fillChunkByRanges( @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence - , LongFunction converter) { + , LongFunction converter) { // region chunkDecl final WritableObjectChunk chunk = destination.asWritableObjectChunk(); // endregion chunkDecl final MutableInt destPosition = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyFromTypedArrayImmutable final int offset = destPosition.getAndAdd(length); for (int ii = 0; ii < length; ii++) { @@ -167,7 +167,7 @@ void fillChunkByRanges( /* TYPE_MIXIN */ void fillChunkByKeys( @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableLongChunk chunk = destination.asWritableLongChunk(); // endregion chunkDecl @@ -182,7 +182,7 @@ void fillChunkByRanges( void fillChunkByKeys( @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence - , LongFunction converter) { + , LongFunction converter) { // region chunkDecl final WritableObjectChunk chunk = destination.asWritableObjectChunk(); // endregion chunkDecl @@ -215,22 +215,23 @@ public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk @Override public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChunk chunk, long position) { - final int capacity = (int)(data.length - position); + final int capacity = (int) (data.length - position); ResettableWritableLongChunk resettableWritableLongChunk = chunk.asResettableWritableLongChunk(); - resettableWritableLongChunk.resetFromTypedArray(data, (int)position, capacity); + resettableWritableLongChunk.resetFromTypedArray(data, (int) position, capacity); return capacity; } @Override public Chunk getChunk(@NotNull GetContext context, long firstKey, long lastKey) { - final int len = (int)(lastKey - firstKey + 1); - //noinspection unchecked + final int len = (int) (lastKey - firstKey + 1); + // noinspection unchecked DefaultGetContext context1 = (DefaultGetContext) context; - return context1.getResettableChunk().resetFromArray(data, (int)firstKey, len); + return context1.getResettableChunk().resetFromArray(data, (int) firstKey, len); } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByRanges(src, rowSequence); } else { @@ -242,7 +243,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final LongChunk chunk = src.asLongChunk(); // endregion chunkDecl @@ -256,7 +257,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk void fillFromChunkByKeys( @NotNull final Chunk src, @NotNull final RowSequence rowSequence - , ToLongFunction converter) { + , ToLongFunction converter) { // region chunkDecl final ObjectChunk chunk = src.asObjectChunk(); // endregion chunkDecl @@ -273,28 +274,28 @@ void fillFromChunkByKeys( /* TYPE_MIXIN */ void fillFromChunkByRanges( @NotNull final Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final LongChunk chunk = src.asLongChunk(); // endregion chunkDecl final MutableInt srcPos = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyToTypedArrayImmutable - chunk.copyToTypedArray(srcPos.getAndAdd(length), data, (int)start, length); + chunk.copyToTypedArray(srcPos.getAndAdd(length), data, (int) start, length); // endregion copyToTypedArrayImmutable }); } void fillFromChunkByRanges( @NotNull final Chunk src, @NotNull final RowSequence rowSequence - , ToLongFunction converter) { + , ToLongFunction converter) { // region chunkDecl final ObjectChunk chunk = src.asObjectChunk(); // endregion chunkDecl final MutableInt srcPos = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyToTypedArrayImmutable final int offset = srcPos.getAndAdd(length); for (int jj = 0; jj < length; jj++) { @@ -311,7 +312,7 @@ void fillFromChunkByRanges( @NotNull final FillFromContext context, @NotNull final Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final LongChunk chunk = src.asLongChunk(); // endregion chunkDecl @@ -326,7 +327,7 @@ public void fillFromChunkUnordered( @NotNull final FillFromContext context, @NotNull final Chunk src, @NotNull final LongChunk keys - , ToLongFunction converter) { + , ToLongFunction converter) { // region chunkDecl final ObjectChunk chunk = src.asObjectChunk(); // endregion chunkDecl @@ -344,7 +345,7 @@ public void fillFromChunkUnordered( @NotNull final FillContext context, @NotNull final WritableChunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableLongChunk chunk = dest.asWritableLongChunk(); // endregion chunkDecl @@ -353,7 +354,7 @@ public void fillFromChunkUnordered( if (longKey == RowSet.NULL_ROW_KEY) { chunk.set(ii, NULL_LONG); } else { - final int key = (int)longKey; + final int key = (int) longKey; // region conversion chunk.set(ii, getUnsafe(key)); // endregion conversion @@ -365,7 +366,7 @@ public void fillChunkUnordered( @NotNull final FillContext context, @NotNull final WritableChunk dest, @NotNull final LongChunk keys - , LongFunction converter) { + , LongFunction converter) { // region chunkDecl final WritableObjectChunk chunk = dest.asWritableObjectChunk(); // endregion chunkDecl @@ -374,7 +375,7 @@ public void fillChunkUnordered( if (longKey == RowSet.NULL_ROW_KEY) { chunk.set(ii, null); } else { - final int key = (int)longKey; + final int key = (int) longKey; // region conversion chunk.set(ii,converter.apply( getUnsafe(key))); // endregion conversion @@ -384,12 +385,14 @@ public void fillChunkUnordered( // endregion fillChunkUnordered @Override - public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { fillChunkUnordered(context, dest, keys); } @Override - public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { fillChunk(context, destination, rowSequence); } @@ -415,13 +418,13 @@ public void prepareForParallelPopulation(@NotNull final RowSequence rowSequence) } // region getArray - public long [] getArray() { + public long[] getArray() { return data; } // endregion getArray // region setArray - public void setArray(long [] array) { + public void setArray(long[] array) { data = array; } // endregion setArray diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableNanosBasedTimeArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableNanosBasedTimeArraySource.java index 4c74ec79ccf..3a7f447f34d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableNanosBasedTimeArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableNanosBasedTimeArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableObjectArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableObjectArraySource.java index f6c89e887bf..0e592aa40b3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableObjectArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableObjectArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableCharArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableCharArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.*; @@ -30,16 +29,16 @@ * * No previous value tracking is permitted, so this column source is only useful as a flat static source. * - * A single array backs the result, so getChunk calls with contiguous ranges should always be able to return a - * reference to the backing store without an array copy. The immediate consequence is that you may not create - * sources that have a capacity larger than the maximum capacity of an array. + * A single array backs the result, so getChunk calls with contiguous ranges should always be able to return a reference + * to the backing store without an array copy. The immediate consequence is that you may not create sources that have a + * capacity larger than the maximum capacity of an array. * * If your size is greater than the maximum capacity of an array, prefer {@link Immutable2DObjectArraySource}. */ public class ImmutableObjectArraySource extends AbstractDeferredGroupingColumnSource implements ImmutableColumnSourceGetDefaults.ForObject, WritableColumnSource, FillUnordered, InMemoryColumnSource, ChunkedBackingStoreExposedWritableSource, WritableSourceWithPrepareForParallelPopulation - /* MIXIN_IMPLS */ { +/* MIXIN_IMPLS */ { private Object[] data; // region constructor @@ -49,7 +48,7 @@ public ImmutableObjectArraySource(Class type, Class componentType) { // endregion constructor // region array constructor - public ImmutableObjectArraySource(Class type, Class componentType, Object [] data) { + public ImmutableObjectArraySource(Class type, Class componentType, Object[] data) { super(type, componentType); this.data = data; } @@ -75,23 +74,23 @@ public final T get(long rowKey) { } public final T getUnsafe(long rowKey) { - return (T)data[(int)rowKey]; + return (T)data[(int) rowKey]; } public final Object getAndSetUnsafe(long rowKey, Object newValue) { - Object oldValue = data[(int)rowKey]; - data[(int)rowKey] = newValue; + Object oldValue = data[(int) rowKey]; + data[(int) rowKey] = newValue; return oldValue; } @Override public final void setNull(long key) { - data[(int)key] = null; + data[(int) key] = null; } @Override public final void set(long key, T value) { - data[(int)key] = value; + data[(int) key] = value; } @Override @@ -105,7 +104,8 @@ public void ensureCapacity(long capacity, boolean nullFilled) { } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillChunkByRanges(destination, rowSequence); } else { @@ -117,15 +117,15 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableObjectChunk chunk = destination.asWritableObjectChunk(); // endregion chunkDecl final MutableInt destPosition = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyFromTypedArrayImmutable - chunk.copyFromTypedArray((T[])data, (int)start, destPosition.getAndAdd(length), length); + chunk.copyFromTypedArray((T[])data, (int) start, destPosition.getAndAdd(length), length); // endregion copyFromTypedArrayImmutable }); chunk.setSize(destPosition.intValue()); @@ -136,7 +136,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableObjectChunk chunk = destination.asWritableObjectChunk(); // endregion chunkDecl @@ -169,22 +169,23 @@ public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk @Override public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChunk chunk, long position) { - final int capacity = (int)(data.length - position); + final int capacity = (int) (data.length - position); ResettableWritableObjectChunk resettableWritableObjectChunk = chunk.asResettableWritableObjectChunk(); - resettableWritableObjectChunk.resetFromTypedArray((T[])data, (int)position, capacity); + resettableWritableObjectChunk.resetFromTypedArray((T[])data, (int) position, capacity); return capacity; } @Override public Chunk getChunk(@NotNull GetContext context, long firstKey, long lastKey) { - final int len = (int)(lastKey - firstKey + 1); - //noinspection unchecked + final int len = (int) (lastKey - firstKey + 1); + // noinspection unchecked DefaultGetContext context1 = (DefaultGetContext) context; - return context1.getResettableChunk().resetFromArray(data, (int)firstKey, len); + return context1.getResettableChunk().resetFromArray(data, (int) firstKey, len); } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByRanges(src, rowSequence); } else { @@ -196,7 +197,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ObjectChunk chunk = src.asObjectChunk(); // endregion chunkDecl @@ -213,15 +214,15 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ObjectChunk chunk = src.asObjectChunk(); // endregion chunkDecl final MutableInt srcPos = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyToTypedArrayImmutable - chunk.copyToTypedArray(srcPos.getAndAdd(length), (T[])data, (int)start, length); + chunk.copyToTypedArray(srcPos.getAndAdd(length), (T[])data, (int) start, length); // endregion copyToTypedArrayImmutable }); } @@ -233,7 +234,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ObjectChunk chunk = src.asObjectChunk(); // endregion chunkDecl @@ -251,7 +252,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableObjectChunk chunk = dest.asWritableObjectChunk(); // endregion chunkDecl @@ -260,7 +261,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { fillChunkUnordered(context, dest, keys); } @Override - public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { fillChunk(context, destination, rowSequence); } @@ -301,13 +304,13 @@ public void prepareForParallelPopulation(@NotNull final RowSequence rowSequence) } // region getArray - public Object [] getArray() { + public Object[] getArray() { return data; } // endregion getArray // region setArray - public void setArray(Object [] array) { + public void setArray(Object[] array) { data = array; } // endregion setArray diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableShortArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableShortArraySource.java index 4adf1ded65c..13e8799c6c8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableShortArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableShortArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableCharArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableCharArraySource and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.chunk.*; @@ -31,16 +30,16 @@ * * No previous value tracking is permitted, so this column source is only useful as a flat static source. * - * A single array backs the result, so getChunk calls with contiguous ranges should always be able to return a - * reference to the backing store without an array copy. The immediate consequence is that you may not create - * sources that have a capacity larger than the maximum capacity of an array. + * A single array backs the result, so getChunk calls with contiguous ranges should always be able to return a reference + * to the backing store without an array copy. The immediate consequence is that you may not create sources that have a + * capacity larger than the maximum capacity of an array. * * If your size is greater than the maximum capacity of an array, prefer {@link Immutable2DShortArraySource}. */ public class ImmutableShortArraySource extends AbstractDeferredGroupingColumnSource implements ImmutableColumnSourceGetDefaults.ForShort, WritableColumnSource, FillUnordered, InMemoryColumnSource, ChunkedBackingStoreExposedWritableSource, WritableSourceWithPrepareForParallelPopulation - /* MIXIN_IMPLS */ { +/* MIXIN_IMPLS */ { private short[] data; // region constructor @@ -50,7 +49,7 @@ public ImmutableShortArraySource() { // endregion constructor // region array constructor - public ImmutableShortArraySource(short [] data) { + public ImmutableShortArraySource(short[] data) { super(short.class); this.data = data; } @@ -76,23 +75,23 @@ public final short getShort(long rowKey) { } public final short getUnsafe(long rowKey) { - return data[(int)rowKey]; + return data[(int) rowKey]; } public final short getAndSetUnsafe(long rowKey, short newValue) { - short oldValue = data[(int)rowKey]; - data[(int)rowKey] = newValue; + short oldValue = data[(int) rowKey]; + data[(int) rowKey] = newValue; return oldValue; } @Override public final void setNull(long key) { - data[(int)key] = NULL_SHORT; + data[(int) key] = NULL_SHORT; } @Override public final void set(long key, short value) { - data[(int)key] = value; + data[(int) key] = value; } @Override @@ -106,7 +105,8 @@ public void ensureCapacity(long capacity, boolean nullFilled) { } @Override - public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillChunkByRanges(destination, rowSequence); } else { @@ -118,15 +118,15 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableShortChunk chunk = destination.asWritableShortChunk(); // endregion chunkDecl final MutableInt destPosition = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyFromTypedArrayImmutable - chunk.copyFromTypedArray(data, (int)start, destPosition.getAndAdd(length), length); + chunk.copyFromTypedArray(data, (int) start, destPosition.getAndAdd(length), length); // endregion copyFromTypedArrayImmutable }); chunk.setSize(destPosition.intValue()); @@ -137,7 +137,7 @@ public void fillChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableShortChunk chunk = destination.asWritableShortChunk(); // endregion chunkDecl @@ -170,22 +170,23 @@ public long resetWritableChunkToBackingStore(@NotNull ResettableWritableChunk @Override public long resetWritableChunkToBackingStoreSlice(@NotNull ResettableWritableChunk chunk, long position) { - final int capacity = (int)(data.length - position); + final int capacity = (int) (data.length - position); ResettableWritableShortChunk resettableWritableShortChunk = chunk.asResettableWritableShortChunk(); - resettableWritableShortChunk.resetFromTypedArray(data, (int)position, capacity); + resettableWritableShortChunk.resetFromTypedArray(data, (int) position, capacity); return capacity; } @Override public Chunk getChunk(@NotNull GetContext context, long firstKey, long lastKey) { - final int len = (int)(lastKey - firstKey + 1); - //noinspection unchecked + final int len = (int) (lastKey - firstKey + 1); + // noinspection unchecked DefaultGetContext context1 = (DefaultGetContext) context; - return context1.getResettableChunk().resetFromArray(data, (int)firstKey, len); + return context1.getResettableChunk().resetFromArray(data, (int) firstKey, len); } @Override - public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull RowSequence rowSequence) { + public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, + @NotNull RowSequence rowSequence) { if (rowSequence.getAverageRunLengthEstimate() >= ArrayBackedColumnSource.USE_RANGES_AVERAGE_RUN_LENGTH) { fillFromChunkByRanges(src, rowSequence); } else { @@ -197,7 +198,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ShortChunk chunk = src.asShortChunk(); // endregion chunkDecl @@ -214,15 +215,15 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final RowSequence rowSequence - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ShortChunk chunk = src.asShortChunk(); // endregion chunkDecl final MutableInt srcPos = new MutableInt(0); rowSequence.forAllRowKeyRanges((long start, long end) -> { - final int length = (int)(end - start + 1); + final int length = (int) (end - start + 1); // region copyToTypedArrayImmutable - chunk.copyToTypedArray(srcPos.getAndAdd(length), data, (int)start, length); + chunk.copyToTypedArray(srcPos.getAndAdd(length), data, (int) start, length); // endregion copyToTypedArrayImmutable }); } @@ -234,7 +235,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk src, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final ShortChunk chunk = src.asShortChunk(); // endregion chunkDecl @@ -252,7 +253,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull final LongChunk keys - /* CONVERTER */) { + /* CONVERTER */) { // region chunkDecl final WritableShortChunk chunk = dest.asWritableShortChunk(); // endregion chunkDecl @@ -261,7 +262,7 @@ public void fillFromChunk(@NotNull FillFromContext context, @NotNull Chunk dest, @NotNull LongChunk keys) { + public void fillPrevChunkUnordered(@NotNull FillContext context, @NotNull WritableChunk dest, + @NotNull LongChunk keys) { fillChunkUnordered(context, dest, keys); } @Override - public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillPrevChunk(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { fillChunk(context, destination, rowSequence); } @@ -302,13 +305,13 @@ public void prepareForParallelPopulation(@NotNull final RowSequence rowSequence) } // region getArray - public short [] getArray() { + public short[] getArray() { return data; } // endregion getArray // region setArray - public void setArray(short [] array) { + public void setArray(short[] array) { data = array; } // endregion setArray diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableZonedDateTimeArraySource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableZonedDateTimeArraySource.java index 96fbca8dedf..fcb52e4ed67 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableZonedDateTimeArraySource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/immutable/ImmutableZonedDateTimeArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.immutable; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegion.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegion.java index 718b9056bfd..9bdf53c91dd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegion.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegion.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.engine.table.Releasable; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionByte.java index 87e2a3064ee..c2b488858f7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionByte.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; @@ -29,8 +29,8 @@ public interface ColumnRegionByte extends ColumnRegion { /** * Get a single byte from this region. * - * @param context A {@link PagingContextHolder} to enable resource caching where suitable, with current - * region index pointing to this region + * @param context A {@link PagingContextHolder} to enable resource caching where suitable, with current region index + * pointing to this region * @param elementIndex Element row key in the table's address space * @return The byte value at the specified element row ket */ @@ -43,16 +43,15 @@ default byte getByte(@NotNull final FillContext context, final long elementIndex * meaningful. * * @param firstElementIndex First element row keyt in the table's address space - * @param destination Array to store results + * @param destination Array to store results * @param destinationOffset Offset into {@code destination} to begin storing at - * @param length Number of bytes to get + * @param length Number of bytes to get * @return {@code destination}, to enable method chaining */ byte[] getBytes(long firstElementIndex, - @NotNull byte[] destination, - int destinationOffset, - int length - ); + @NotNull byte[] destination, + int destinationOffset, + int length); @Override @FinalDefault @@ -61,13 +60,14 @@ default ChunkType getChunkType() { } static ColumnRegionByte createNull(final long pageMask) { - //noinspection unchecked + // noinspection unchecked return pageMask == Null.DEFAULT_INSTANCE.mask() ? Null.DEFAULT_INSTANCE : new Null(pageMask); } final class Null extends ColumnRegion.Null implements ColumnRegionByte { @SuppressWarnings("rawtypes") - private static final ColumnRegionByte DEFAULT_INSTANCE = new ColumnRegionByte.Null(RegionedColumnSourceBase.PARAMETERS.regionMask); + private static final ColumnRegionByte DEFAULT_INSTANCE = + new ColumnRegionByte.Null(RegionedColumnSourceBase.PARAMETERS.regionMask); private Null(final long pageMask) { super(pageMask); @@ -79,7 +79,8 @@ public byte getByte(final long elementIndex) { } @Override - public byte[] getBytes(final long firstElementIndex, @NotNull final byte[] destination, final int destinationOffset, final int length) { + public byte[] getBytes(final long firstElementIndex, @NotNull final byte[] destination, + final int destinationOffset, final int length) { Arrays.fill(destination, destinationOffset, destinationOffset + length, QueryConstants.NULL_BYTE); return destination; } @@ -102,14 +103,16 @@ public byte getByte(final long elementIndex) { } @Override - public void fillChunkAppend(@NotNull final FillContext context, @NotNull final WritableChunk destination, final int length) { + public void fillChunkAppend(@NotNull final FillContext context, + @NotNull final WritableChunk destination, final int length) { final int offset = destination.size(); destination.asWritableByteChunk().fillWithValue(offset, length, value); destination.setSize(offset + length); } @Override - public byte[] getBytes(final long firstElementIndex, @NotNull final byte[] destination, final int destinationOffset, final int length) { + public byte[] getBytes(final long firstElementIndex, @NotNull final byte[] destination, + final int destinationOffset, final int length) { Arrays.fill(destination, destinationOffset, destinationOffset + length, value); return destination; } @@ -125,7 +128,7 @@ public StaticPageStore(@NotNull final Parameters parameters, @NotNull final Colu @Override public void invalidate() { - for(int ii = 0; ii < getRegionCount(); ii++) { + for (int ii = 0; ii < getRegionCount(); ii++) { getRegion(ii).invalidate(); } } @@ -141,7 +144,8 @@ public byte getByte(@NotNull final FillContext context, final long elementIndex) } @Override - public byte[] getBytes(final long firstElementIndex, @NotNull final byte[] destination, final int destinationOffset, final int length) { + public byte[] getBytes(final long firstElementIndex, @NotNull final byte[] destination, + final int destinationOffset, final int length) { return lookupRegion(firstElementIndex).getBytes(firstElementIndex, destination, destinationOffset, length); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionChar.java index 944d0d550b1..acc706d11db 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionChar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; @@ -27,8 +27,8 @@ public interface ColumnRegionChar extends ColumnRegion { /** * Get a single char from this region. * - * @param context A {@link PagingContextHolder} to enable resource caching where suitable, with current - * region index pointing to this region + * @param context A {@link PagingContextHolder} to enable resource caching where suitable, with current region index + * pointing to this region * @param elementIndex Element row key in the table's address space * @return The char value at the specified element row key */ @@ -43,13 +43,14 @@ default ChunkType getChunkType() { } static ColumnRegionChar createNull(final long pageMask) { - //noinspection unchecked + // noinspection unchecked return pageMask == Null.DEFAULT_INSTANCE.mask() ? Null.DEFAULT_INSTANCE : new Null(pageMask); } final class Null extends ColumnRegion.Null implements ColumnRegionChar { @SuppressWarnings("rawtypes") - private static final ColumnRegionChar DEFAULT_INSTANCE = new ColumnRegionChar.Null(RegionedColumnSourceBase.PARAMETERS.regionMask); + private static final ColumnRegionChar DEFAULT_INSTANCE = + new ColumnRegionChar.Null(RegionedColumnSourceBase.PARAMETERS.regionMask); private Null(final long pageMask) { super(pageMask); @@ -78,7 +79,8 @@ public char getChar(final long elementIndex) { } @Override - public void fillChunkAppend(@NotNull final FillContext context, @NotNull final WritableChunk destination, final int length) { + public void fillChunkAppend(@NotNull final FillContext context, + @NotNull final WritableChunk destination, final int length) { final int offset = destination.size(); destination.asWritableCharChunk().fillWithValue(offset, length, value); destination.setSize(offset + length); @@ -95,7 +97,7 @@ public StaticPageStore(@NotNull final Parameters parameters, @NotNull final Colu @Override public void invalidate() { - for(int ii = 0; ii < getRegionCount(); ii++) { + for (int ii = 0; ii < getRegionCount(); ii++) { getRegion(ii).invalidate(); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionChunkDictionary.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionChunkDictionary.java index d31b33db4c1..c56c58097fd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionChunkDictionary.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionChunkDictionary.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.base.string.cache.StringCache; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionDouble.java index a2a77240898..d91d380ad3d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionDouble.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ColumnRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; @@ -32,8 +31,8 @@ public interface ColumnRegionDouble extends ColumnRegion /** * Get a single double from this region. * - * @param context A {@link PagingContextHolder} to enable resource caching where suitable, with current - * region index pointing to this region + * @param context A {@link PagingContextHolder} to enable resource caching where suitable, with current region index + * pointing to this region * @param elementIndex Element row key in the table's address space * @return The double value at the specified element row key */ @@ -48,13 +47,14 @@ default ChunkType getChunkType() { } static ColumnRegionDouble createNull(final long pageMask) { - //noinspection unchecked + // noinspection unchecked return pageMask == Null.DEFAULT_INSTANCE.mask() ? Null.DEFAULT_INSTANCE : new Null(pageMask); } final class Null extends ColumnRegion.Null implements ColumnRegionDouble { @SuppressWarnings("rawtypes") - private static final ColumnRegionDouble DEFAULT_INSTANCE = new ColumnRegionDouble.Null(RegionedColumnSourceBase.PARAMETERS.regionMask); + private static final ColumnRegionDouble DEFAULT_INSTANCE = + new ColumnRegionDouble.Null(RegionedColumnSourceBase.PARAMETERS.regionMask); private Null(final long pageMask) { super(pageMask); @@ -83,7 +83,8 @@ public double getDouble(final long elementIndex) { } @Override - public void fillChunkAppend(@NotNull final FillContext context, @NotNull final WritableChunk destination, final int length) { + public void fillChunkAppend(@NotNull final FillContext context, + @NotNull final WritableChunk destination, final int length) { final int offset = destination.size(); destination.asWritableDoubleChunk().fillWithValue(offset, length, value); destination.setSize(offset + length); @@ -100,7 +101,7 @@ public StaticPageStore(@NotNull final Parameters parameters, @NotNull final Colu @Override public void invalidate() { - for(int ii = 0; ii < getRegionCount(); ii++) { + for (int ii = 0; ii < getRegionCount(); ii++) { getRegion(ii).invalidate(); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionFloat.java index c16ac87565c..aee4b8e0629 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionFloat.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ColumnRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; @@ -32,8 +31,8 @@ public interface ColumnRegionFloat extends ColumnRegion /** * Get a single float from this region. * - * @param context A {@link PagingContextHolder} to enable resource caching where suitable, with current - * region index pointing to this region + * @param context A {@link PagingContextHolder} to enable resource caching where suitable, with current region index + * pointing to this region * @param elementIndex Element row key in the table's address space * @return The float value at the specified element row key */ @@ -48,13 +47,14 @@ default ChunkType getChunkType() { } static ColumnRegionFloat createNull(final long pageMask) { - //noinspection unchecked + // noinspection unchecked return pageMask == Null.DEFAULT_INSTANCE.mask() ? Null.DEFAULT_INSTANCE : new Null(pageMask); } final class Null extends ColumnRegion.Null implements ColumnRegionFloat { @SuppressWarnings("rawtypes") - private static final ColumnRegionFloat DEFAULT_INSTANCE = new ColumnRegionFloat.Null(RegionedColumnSourceBase.PARAMETERS.regionMask); + private static final ColumnRegionFloat DEFAULT_INSTANCE = + new ColumnRegionFloat.Null(RegionedColumnSourceBase.PARAMETERS.regionMask); private Null(final long pageMask) { super(pageMask); @@ -83,7 +83,8 @@ public float getFloat(final long elementIndex) { } @Override - public void fillChunkAppend(@NotNull final FillContext context, @NotNull final WritableChunk destination, final int length) { + public void fillChunkAppend(@NotNull final FillContext context, + @NotNull final WritableChunk destination, final int length) { final int offset = destination.size(); destination.asWritableFloatChunk().fillWithValue(offset, length, value); destination.setSize(offset + length); @@ -100,7 +101,7 @@ public StaticPageStore(@NotNull final Parameters parameters, @NotNull final Colu @Override public void invalidate() { - for(int ii = 0; ii < getRegionCount(); ii++) { + for (int ii = 0; ii < getRegionCount(); ii++) { getRegion(ii).invalidate(); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionInt.java index e969bb28c56..650d437f488 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionInt.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ColumnRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; @@ -32,8 +31,8 @@ public interface ColumnRegionInt extends ColumnRegion { /** * Get a single int from this region. * - * @param context A {@link PagingContextHolder} to enable resource caching where suitable, with current - * region index pointing to this region + * @param context A {@link PagingContextHolder} to enable resource caching where suitable, with current region index + * pointing to this region * @param elementIndex Element row key in the table's address space * @return The int value at the specified element row key */ @@ -48,13 +47,14 @@ default ChunkType getChunkType() { } static ColumnRegionInt createNull(final long pageMask) { - //noinspection unchecked + // noinspection unchecked return pageMask == Null.DEFAULT_INSTANCE.mask() ? Null.DEFAULT_INSTANCE : new Null(pageMask); } final class Null extends ColumnRegion.Null implements ColumnRegionInt { @SuppressWarnings("rawtypes") - private static final ColumnRegionInt DEFAULT_INSTANCE = new ColumnRegionInt.Null(RegionedColumnSourceBase.PARAMETERS.regionMask); + private static final ColumnRegionInt DEFAULT_INSTANCE = + new ColumnRegionInt.Null(RegionedColumnSourceBase.PARAMETERS.regionMask); private Null(final long pageMask) { super(pageMask); @@ -83,7 +83,8 @@ public int getInt(final long elementIndex) { } @Override - public void fillChunkAppend(@NotNull final FillContext context, @NotNull final WritableChunk destination, final int length) { + public void fillChunkAppend(@NotNull final FillContext context, + @NotNull final WritableChunk destination, final int length) { final int offset = destination.size(); destination.asWritableIntChunk().fillWithValue(offset, length, value); destination.setSize(offset + length); @@ -100,7 +101,7 @@ public StaticPageStore(@NotNull final Parameters parameters, @NotNull final Colu @Override public void invalidate() { - for(int ii = 0; ii < getRegionCount(); ii++) { + for (int ii = 0; ii < getRegionCount(); ii++) { getRegion(ii).invalidate(); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionLong.java index de33fea447f..832a439fb4d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionLong.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ColumnRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; @@ -32,8 +31,8 @@ public interface ColumnRegionLong extends ColumnRegion { /** * Get a single long from this region. * - * @param context A {@link PagingContextHolder} to enable resource caching where suitable, with current - * region index pointing to this region + * @param context A {@link PagingContextHolder} to enable resource caching where suitable, with current region index + * pointing to this region * @param elementIndex Element row key in the table's address space * @return The long value at the specified element row key */ @@ -48,13 +47,14 @@ default ChunkType getChunkType() { } static ColumnRegionLong createNull(final long pageMask) { - //noinspection unchecked + // noinspection unchecked return pageMask == Null.DEFAULT_INSTANCE.mask() ? Null.DEFAULT_INSTANCE : new Null(pageMask); } final class Null extends ColumnRegion.Null implements ColumnRegionLong { @SuppressWarnings("rawtypes") - private static final ColumnRegionLong DEFAULT_INSTANCE = new ColumnRegionLong.Null(RegionedColumnSourceBase.PARAMETERS.regionMask); + private static final ColumnRegionLong DEFAULT_INSTANCE = + new ColumnRegionLong.Null(RegionedColumnSourceBase.PARAMETERS.regionMask); private Null(final long pageMask) { super(pageMask); @@ -83,7 +83,8 @@ public long getLong(final long elementIndex) { } @Override - public void fillChunkAppend(@NotNull final FillContext context, @NotNull final WritableChunk destination, final int length) { + public void fillChunkAppend(@NotNull final FillContext context, + @NotNull final WritableChunk destination, final int length) { final int offset = destination.size(); destination.asWritableLongChunk().fillWithValue(offset, length, value); destination.setSize(offset + length); @@ -100,7 +101,7 @@ public StaticPageStore(@NotNull final Parameters parameters, @NotNull final Colu @Override public void invalidate() { - for(int ii = 0; ii < getRegionCount(); ii++) { + for (int ii = 0; ii < getRegionCount(); ii++) { getRegion(ii).invalidate(); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionObject.java index 26b25270ff9..b4a86b90fb0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; @@ -36,8 +36,8 @@ public interface ColumnRegionObject extends ColumnR /** * Get a single object from this region. * - * @param context A {@link PagingContextHolder} to enable resource caching where suitable, with current - * region index pointing to this region + * @param context A {@link PagingContextHolder} to enable resource caching where suitable, with current region index + * pointing to this region * @param elementIndex Element row key in the table's address space * @return The object value at the specified element row key */ @@ -49,43 +49,45 @@ default DATA_TYPE getObject(@NotNull final FillContext context, final long eleme * Check if this region can expose an alternate form as paired regions of {@code long} keys and {@code DATA_TYPE} * values covering all of its row keys in {@code keysToVisit}. * - *

Both alternate regions must use the same or smaller row key space as this one. Indices fetched from the - * keys region must represent valid element indices in the values region. Values regions must support + *

+ * Both alternate regions must use the same or smaller row key space as this one. Indices fetched from the keys + * region must represent valid element indices in the values region. Values regions must support * {@link #gatherDictionaryValuesRowSet(RowSet.SearchIterator, RowSequence.Iterator, RowSetBuilderSequential)}. * - *

Use {@link #getDictionaryKeysRegion()} to access the region of keys and {@link #getDictionaryValuesRegion()} - * to access the region of values. + *

+ * Use {@link #getDictionaryKeysRegion()} to access the region of keys and {@link #getDictionaryValuesRegion()} to + * access the region of values. * - * @param keysToVisit Iterator positioned at the first relevant row key belonging to this region. - * Will be advanced to after this region if {@code true} is returned. - * No guarantee is made if {@code false} is returned. + * @param keysToVisit Iterator positioned at the first relevant row key belonging to this region. Will be advanced + * to after this region if {@code true} is returned. No guarantee is made if {@code false} is + * returned. * @return A {@link RegionVisitResult} specifying {@code FAILED} if this region cannot supply a dictionary, - * {@code CONTINUE} if it can and {@code keysToVisit} is not exhausted, and {@code COMPLETE} if it can and - * {@code keysToVisit} is exhausted + * {@code CONTINUE} if it can and {@code keysToVisit} is not exhausted, and {@code COMPLETE} if it + * can and {@code keysToVisit} is exhausted */ default RegionVisitResult supportsDictionaryFormat(@NotNull final RowSet.SearchIterator keysToVisit) { return RegionVisitResult.FAILED; } /** - * Optional method that should only be used on regions returned by {@link #getDictionaryValuesRegion()}. - * Gathers row keys representing the dictionary values for this region, excluding those already known to the caller. - * This is used to support {@link SymbolTableSource symbol table} access. + * Optional method that should only be used on regions returned by {@link #getDictionaryValuesRegion()}. Gathers row + * keys representing the dictionary values for this region, excluding those already known to the caller. This is + * used to support {@link SymbolTableSource symbol table} access. * - * @param keysToVisit A search iterator over the enclosing table address space (which must have the same - * regions at the same masks), positioned at a row key in this region. Used to - * identify regions to visit. Should be advanced to after this region as a side-effect. - * @param knownKeys An iterator over the previously-known row keys, positioned at the first known key in - * this region, or after the region's maximum key if no keys are known. Should be advanced - * to after this region as a side effect. + * @param keysToVisit A search iterator over the enclosing table address space (which must have the same regions at + * the same masks), positioned at a row key in this region. Used to identify regions to visit. Should be + * advanced to after this region as a side-effect. + * @param knownKeys An iterator over the previously-known row keys, positioned at the first known key in this + * region, or after the region's maximum key if no keys are known. Should be advanced to after this region as + * a side effect. * @param sequentialBuilder Output builder; implementations should append ranges for row keys not found in - * {@code knownKeys} + * {@code knownKeys} * @throws UnsupportedOperationException If this region is incapable of gathering its dictionary values RowSet * @return Whether {@code keysToVisit} has been exhausted */ default boolean gatherDictionaryValuesRowSet(@NotNull final RowSet.SearchIterator keysToVisit, - @NotNull final RowSequence.Iterator knownKeys, - @NotNull final RowSetBuilderSequential sequentialBuilder) { + @NotNull final RowSequence.Iterator knownKeys, + @NotNull final RowSetBuilderSequential sequentialBuilder) { throw new UnsupportedOperationException(); } @@ -129,14 +131,16 @@ default ColumnRegionObject getDictionaryValuesRegion() { } static ColumnRegionObject createNull(final long pageMask) { - //noinspection unchecked + // noinspection unchecked return pageMask == Null.DEFAULT_INSTANCE.mask() ? Null.DEFAULT_INSTANCE : new Null(pageMask); } - final class Null extends ColumnRegion.Null implements SelfDictionaryRegion { + final class Null extends ColumnRegion.Null + implements SelfDictionaryRegion { @SuppressWarnings("rawtypes") - private static final ColumnRegionObject DEFAULT_INSTANCE = new ColumnRegionObject.Null(RegionedColumnSourceBase.PARAMETERS.regionMask); + private static final ColumnRegionObject DEFAULT_INSTANCE = + new ColumnRegionObject.Null(RegionedColumnSourceBase.PARAMETERS.regionMask); private ColumnRegionLong dictionaryKeysRegion; @@ -151,8 +155,8 @@ public DATA_TYPE getObject(final long elementIndex) { @Override public boolean gatherDictionaryValuesRowSet(@NotNull final RowSet.SearchIterator keysToVisit, - @NotNull final RowSequence.Iterator knownKeys, - @NotNull final RowSetBuilderSequential sequentialBuilder) { + @NotNull final RowSequence.Iterator knownKeys, + @NotNull final RowSetBuilderSequential sequentialBuilder) { // Nothing to be gathered, we don't include null regions in dictionary values. advanceToNextPage(knownKeys); return advanceToNextPage(keysToVisit); @@ -160,7 +164,8 @@ public boolean gatherDictionaryValuesRowSet(@NotNull final RowSet.SearchIterator @Override public ColumnRegionLong getDictionaryKeysRegion() { - return dictionaryKeysRegion == null ? dictionaryKeysRegion = ColumnRegionLong.createNull(mask()) : dictionaryKeysRegion; + return dictionaryKeysRegion == null ? dictionaryKeysRegion = ColumnRegionLong.createNull(mask()) + : dictionaryKeysRegion; } } @@ -174,7 +179,8 @@ final class Constant extends GenericColumnRegionBase implements SelfDictionaryRegion, WithDefaultsForRepeatingValues { - private static final ColumnRegionLong DEFAULT_SINGLETON_DICTIONARY_KEYS_REGION = new ColumnRegionLong.Constant<>(RegionedColumnSourceBase.PARAMETERS.regionMask, 0L); + private static final ColumnRegionLong DEFAULT_SINGLETON_DICTIONARY_KEYS_REGION = + new ColumnRegionLong.Constant<>(RegionedColumnSourceBase.PARAMETERS.regionMask, 0L); private final DATA_TYPE value; @@ -191,7 +197,8 @@ public DATA_TYPE getObject(final long elementIndex) { } @Override - public void fillChunkAppend(@NotNull final FillContext context, @NotNull final WritableChunk destination, final int length) { + public void fillChunkAppend(@NotNull final FillContext context, + @NotNull final WritableChunk destination, final int length) { final int offset = destination.size(); destination.asWritableObjectChunk().fillWithValue(offset, length, value); destination.setSize(offset + length); @@ -199,8 +206,8 @@ public void fillChunkAppend(@NotNull final FillContext context, @NotNull final W @Override public boolean gatherDictionaryValuesRowSet(@NotNull final RowSet.SearchIterator keysToVisit, - @NotNull final RowSequence.Iterator knownKeys, - @NotNull final RowSetBuilderSequential sequentialBuilder) { + @NotNull final RowSequence.Iterator knownKeys, + @NotNull final RowSetBuilderSequential sequentialBuilder) { final long pageOnlyKey = firstRow(keysToVisit.currentValue()); if (knownKeys.peekNextKey() != pageOnlyKey) { sequentialBuilder.appendKey(pageOnlyKey); @@ -211,7 +218,8 @@ public boolean gatherDictionaryValuesRowSet(@NotNull final RowSet.SearchIterator @Override public ColumnRegionLong getDictionaryKeysRegion() { - return dictionaryKeysRegion == null ? dictionaryKeysRegion = createConstantDictionaryKeysRegion(mask()) : dictionaryKeysRegion; + return dictionaryKeysRegion == null ? dictionaryKeysRegion = createConstantDictionaryKeysRegion(mask()) + : dictionaryKeysRegion; } } @@ -222,13 +230,14 @@ final class StaticPageStore private ColumnRegionLong dictionaryKeysRegion; private ColumnRegionObject dictionaryValuesRegion; - public StaticPageStore(@NotNull final Parameters parameters, @NotNull final ColumnRegionObject[] regions) { + public StaticPageStore(@NotNull final Parameters parameters, + @NotNull final ColumnRegionObject[] regions) { super(parameters, regions); } @Override public void invalidate() { - for(int ii = 0; ii < getRegionCount(); ii++) { + for (int ii = 0; ii < getRegionCount(); ii++) { getRegion(ii).invalidate(); } } @@ -255,12 +264,13 @@ public RegionVisitResult supportsDictionaryFormat(@NotNull final RowSet.SearchIt @Override public boolean gatherDictionaryValuesRowSet(@NotNull final RowSet.SearchIterator keysToVisit, - @NotNull final RowSequence.Iterator knownKeys, - @NotNull final RowSetBuilderSequential sequentialBuilder) { + @NotNull final RowSequence.Iterator knownKeys, + @NotNull final RowSetBuilderSequential sequentialBuilder) { final long pageMaxKey = maxRow(keysToVisit.currentValue()); boolean moreKeysToVisit; do { - moreKeysToVisit = lookupRegion(keysToVisit.currentValue()).gatherDictionaryValuesRowSet(keysToVisit, knownKeys, sequentialBuilder); + moreKeysToVisit = lookupRegion(keysToVisit.currentValue()).gatherDictionaryValuesRowSet(keysToVisit, + knownKeys, sequentialBuilder); } while (moreKeysToVisit && keysToVisit.currentValue() <= pageMaxKey); return moreKeysToVisit; } @@ -268,26 +278,28 @@ public boolean gatherDictionaryValuesRowSet(@NotNull final RowSet.SearchIterator @Override public ColumnRegionLong getDictionaryKeysRegion() { return dictionaryKeysRegion == null - ? dictionaryKeysRegion = new ColumnRegionLong.StaticPageStore<>(parameters(), mapRegionsToDictionaryKeys()) + ? dictionaryKeysRegion = + new ColumnRegionLong.StaticPageStore<>(parameters(), mapRegionsToDictionaryKeys()) : dictionaryKeysRegion; } @Override public ColumnRegionObject getDictionaryValuesRegion() { return dictionaryValuesRegion == null - ? dictionaryValuesRegion = new ColumnRegionObject.StaticPageStore<>(parameters(), mapRegionsToDictionaryValues()) + ? dictionaryValuesRegion = + new ColumnRegionObject.StaticPageStore<>(parameters(), mapRegionsToDictionaryValues()) : dictionaryValuesRegion; } private ColumnRegionLong[] mapRegionsToDictionaryKeys() { - //noinspection unchecked + // noinspection unchecked return IntStream.range(0, getRegionCount()) .mapToObj(ri -> DictionaryKeysWrapper.create(parameters(), ri, getRegion(ri))) .toArray(ColumnRegionLong[]::new); } private ColumnRegionObject[] mapRegionsToDictionaryValues() { - //noinspection unchecked + // noinspection unchecked return IntStream.range(0, getRegionCount()) .mapToObj(ri -> getRegion(ri).getDictionaryValuesRegion()) .toArray(ColumnRegionObject[]::new); @@ -297,8 +309,8 @@ private ColumnRegionObject[] mapRegionsToDictionaryValues() { final class DictionaryKeysWrapper implements ColumnRegionLong, Page.WithDefaults { public static ColumnRegionLong create(@NotNull final RegionedPageStore.Parameters parameters, - final int regionIndex, - @NotNull final ColumnRegionObject sourceRegion) { + final int regionIndex, + @NotNull final ColumnRegionObject sourceRegion) { final ColumnRegionLong sourceDictKeys = sourceRegion.getDictionaryKeysRegion(); if (sourceDictKeys instanceof ColumnRegionLong.Null) { return sourceDictKeys; @@ -337,7 +349,9 @@ public long getLong(@NotNull final FillContext context, final long elementIndex) } @Override - public void fillChunkAppend(@NotNull final FillContext context, @NotNull final WritableChunk destination, @NotNull final RowSequence rowSequence) { + public void fillChunkAppend(@NotNull final FillContext context, + @NotNull final WritableChunk destination, + @NotNull final RowSequence rowSequence) { final WritableLongChunk typed = destination.asWritableLongChunk(); final int firstOffsetInclusive = destination.size(); try (final RowSequence.Iterator rsi = rowSequence.getRowSequenceIterator()) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionReferencing.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionReferencing.java index 688b52ca829..0cc0e295959 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionReferencing.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionReferencing.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionReferencingImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionReferencingImpl.java index 4b8b10bbbcd..97f99148ee3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionReferencingImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionReferencingImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionShort.java index eeef5380f32..8644c477950 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/ColumnRegionShort.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ColumnRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; @@ -32,8 +31,8 @@ public interface ColumnRegionShort extends ColumnRegion /** * Get a single short from this region. * - * @param context A {@link PagingContextHolder} to enable resource caching where suitable, with current - * region index pointing to this region + * @param context A {@link PagingContextHolder} to enable resource caching where suitable, with current region index + * pointing to this region * @param elementIndex Element row key in the table's address space * @return The short value at the specified element row key */ @@ -48,13 +47,14 @@ default ChunkType getChunkType() { } static ColumnRegionShort createNull(final long pageMask) { - //noinspection unchecked + // noinspection unchecked return pageMask == Null.DEFAULT_INSTANCE.mask() ? Null.DEFAULT_INSTANCE : new Null(pageMask); } final class Null extends ColumnRegion.Null implements ColumnRegionShort { @SuppressWarnings("rawtypes") - private static final ColumnRegionShort DEFAULT_INSTANCE = new ColumnRegionShort.Null(RegionedColumnSourceBase.PARAMETERS.regionMask); + private static final ColumnRegionShort DEFAULT_INSTANCE = + new ColumnRegionShort.Null(RegionedColumnSourceBase.PARAMETERS.regionMask); private Null(final long pageMask) { super(pageMask); @@ -83,7 +83,8 @@ public short getShort(final long elementIndex) { } @Override - public void fillChunkAppend(@NotNull final FillContext context, @NotNull final WritableChunk destination, final int length) { + public void fillChunkAppend(@NotNull final FillContext context, + @NotNull final WritableChunk destination, final int length) { final int offset = destination.size(); destination.asWritableShortChunk().fillWithValue(offset, length, value); destination.setSize(offset + length); @@ -100,7 +101,7 @@ public StaticPageStore(@NotNull final Parameters parameters, @NotNull final Colu @Override public void invalidate() { - for(int ii = 0; ii < getRegionCount(); ii++) { + for (int ii = 0; ii < getRegionCount(); ii++) { getRegion(ii).invalidate(); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegion.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegion.java index 4d1180ce840..a92bb64d480 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegion.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegion.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionBase.java index b0e4bc0f91b..faffd8f9759 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionByte.java index 2c10f4d0110..9aa30ac9a9d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionByte.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; @@ -9,8 +9,8 @@ import java.util.function.Supplier; /** - * {@link ColumnRegionChar} implementation for deferred regions, i.e. regions that will be properly constructed on - * first access. + * {@link ColumnRegionChar} implementation for deferred regions, i.e. regions that will be properly constructed on first + * access. */ class DeferredColumnRegionByte extends DeferredColumnRegionBase> implements ColumnRegionByte { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionChar.java index 336226b1a98..e5e7bca4175 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionChar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; @@ -9,8 +9,8 @@ import java.util.function.Supplier; /** - * {@link ColumnRegionChar} implementation for deferred regions, i.e. regions that will be properly constructed on - * first access. + * {@link ColumnRegionChar} implementation for deferred regions, i.e. regions that will be properly constructed on first + * access. */ public class DeferredColumnRegionChar extends DeferredColumnRegionBase> diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionDouble.java index c0041b6d01a..819e353a60d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionDouble.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit DeferredColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DeferredColumnRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; @@ -14,8 +13,8 @@ import java.util.function.Supplier; /** - * {@link ColumnRegionDouble} implementation for deferred regions, i.e. regions that will be properly constructed on - * first access. + * {@link ColumnRegionDouble} implementation for deferred regions, i.e. regions that will be properly constructed on first + * access. */ public class DeferredColumnRegionDouble extends DeferredColumnRegionBase> diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionFloat.java index 877d36e1d35..e555130d9cd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionFloat.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit DeferredColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DeferredColumnRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; @@ -14,8 +13,8 @@ import java.util.function.Supplier; /** - * {@link ColumnRegionFloat} implementation for deferred regions, i.e. regions that will be properly constructed on - * first access. + * {@link ColumnRegionFloat} implementation for deferred regions, i.e. regions that will be properly constructed on first + * access. */ public class DeferredColumnRegionFloat extends DeferredColumnRegionBase> diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionInt.java index 6a29c240cb6..ecaadccdf2a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionInt.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit DeferredColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DeferredColumnRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; @@ -14,8 +13,8 @@ import java.util.function.Supplier; /** - * {@link ColumnRegionInt} implementation for deferred regions, i.e. regions that will be properly constructed on - * first access. + * {@link ColumnRegionInt} implementation for deferred regions, i.e. regions that will be properly constructed on first + * access. */ public class DeferredColumnRegionInt extends DeferredColumnRegionBase> diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionLong.java index 475d2aadb14..989e1537f21 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionLong.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit DeferredColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DeferredColumnRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; @@ -14,8 +13,8 @@ import java.util.function.Supplier; /** - * {@link ColumnRegionLong} implementation for deferred regions, i.e. regions that will be properly constructed on - * first access. + * {@link ColumnRegionLong} implementation for deferred regions, i.e. regions that will be properly constructed on first + * access. */ public class DeferredColumnRegionLong extends DeferredColumnRegionBase> diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionObject.java index 44414dd334d..96f5f67372e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; @@ -20,7 +20,8 @@ public class DeferredColumnRegionObject extends DeferredColumnRegionBase> implements ColumnRegionObject { - DeferredColumnRegionObject(final long pageMask, @NotNull final Supplier> resultRegionFactory) { + DeferredColumnRegionObject(final long pageMask, + @NotNull final Supplier> resultRegionFactory) { super(pageMask, resultRegionFactory); } @@ -41,8 +42,8 @@ public RegionVisitResult supportsDictionaryFormat(@NotNull final RowSet.SearchIt @Override public boolean gatherDictionaryValuesRowSet(@NotNull final RowSet.SearchIterator keysToVisit, - @NotNull final RowSequence.Iterator knownKeys, - @NotNull final RowSetBuilderSequential sequentialBuilder) { + @NotNull final RowSequence.Iterator knownKeys, + @NotNull final RowSetBuilderSequential sequentialBuilder) { return getResultRegion().gatherDictionaryValuesRowSet(keysToVisit, knownKeys, sequentialBuilder); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionReferencing.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionReferencing.java index 0ea34389d48..5844f3eaf29 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionReferencing.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionReferencing.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionShort.java index e60210d79f3..da95cfb52f5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/DeferredColumnRegionShort.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit DeferredColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DeferredColumnRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; @@ -14,8 +13,8 @@ import java.util.function.Supplier; /** - * {@link ColumnRegionShort} implementation for deferred regions, i.e. regions that will be properly constructed on - * first access. + * {@link ColumnRegionShort} implementation for deferred regions, i.e. regions that will be properly constructed on first + * access. */ public class DeferredColumnRegionShort extends DeferredColumnRegionBase> diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/GenericColumnRegionBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/GenericColumnRegionBase.java index 5f24d1737bb..03024ab533d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/GenericColumnRegionBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/GenericColumnRegionBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/MakeRegion.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/MakeRegion.java index bf7683325f4..39ae113984b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/MakeRegion.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/MakeRegion.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/PartitioningSourceFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/PartitioningSourceFactory.java index d3d86906d48..377c3995177 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/PartitioningSourceFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/PartitioningSourceFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import org.jetbrains.annotations.NotNull; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionVisitResult.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionVisitResult.java index b3a208b3167..2207efb4468 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionVisitResult.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionVisitResult.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; /** diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSource.java index ce0afa78d5f..8d9a2e4d0a3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.engine.table.ColumnDefinition; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceArray.java index b43d4fdbfb6..90ed4ae8577 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceBase.java index 7ac1e19e170..98d3bf44595 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceBoolean.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceBoolean.java index 7aea30c3742..ef2d030a878 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceBoolean.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceBoolean.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; @@ -44,7 +44,7 @@ public void convertRegion( @Override public Boolean get(long rowKey) { - return rowKey == RowSequence.NULL_ROW_KEY ? null : - BooleanUtils.byteAsBoolean(getNativeSource().lookupRegion(rowKey).getByte(rowKey)); + return rowKey == RowSequence.NULL_ROW_KEY ? null + : BooleanUtils.byteAsBoolean(getNativeSource().lookupRegion(rowKey).getByte(rowKey)); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceByte.java index d617073347a..14a7964a31b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceByte.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RegionedColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RegionedColumnSourceChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.engine.table.ColumnSource; @@ -29,7 +28,7 @@ abstract class RegionedColumnSourceByte implements ColumnSourceGetDefaults.ForByte /* MIXIN_INTERFACES */ { RegionedColumnSourceByte(@NotNull final ColumnRegionByte nullRegion, - @NotNull final MakeDeferred> makeDeferred) { + @NotNull final MakeDeferred> makeDeferred) { super(nullRegion, byte.class, makeDeferred); } @@ -41,8 +40,8 @@ public byte getByte(final long rowKey) { interface MakeRegionDefault extends MakeRegion> { @Override default ColumnRegionByte makeRegion(@NotNull final ColumnDefinition columnDefinition, - @NotNull final ColumnLocation columnLocation, - final int regionIndex) { + @NotNull final ColumnLocation columnLocation, + final int regionIndex) { if (columnLocation.exists()) { return columnLocation.makeColumnRegionByte(columnDefinition); } @@ -79,13 +78,15 @@ static final class Partitioning extends RegionedColumnSourceByte { @Override public ColumnRegionByte makeRegion(@NotNull final ColumnDefinition columnDefinition, - @NotNull final ColumnLocation columnLocation, - final int regionIndex) { + @NotNull final ColumnLocation columnLocation, + final int regionIndex) { final TableLocationKey locationKey = columnLocation.getTableLocation().getKey(); final Object partitioningColumnValue = locationKey.getPartitionValue(columnDefinition.getName()); - if (partitioningColumnValue != null && !Byte.class.isAssignableFrom(partitioningColumnValue.getClass())) { - throw new TableDataException("Unexpected partitioning column value type for " + columnDefinition.getName() - + ": " + partitioningColumnValue + " is not a Byte at location " + locationKey); + if (partitioningColumnValue != null + && !Byte.class.isAssignableFrom(partitioningColumnValue.getClass())) { + throw new TableDataException( + "Unexpected partitioning column value type for " + columnDefinition.getName() + + ": " + partitioningColumnValue + " is not a Byte at location " + locationKey); } return new ColumnRegionByte.Constant<>(regionMask(), unbox((Byte) partitioningColumnValue)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceChar.java index 0316daefc43..4c10c482fc6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceChar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.engine.rowset.RowSequence; @@ -22,7 +22,7 @@ abstract class RegionedColumnSourceChar implements ColumnSourceGetDefaults.ForChar /* MIXIN_INTERFACES */ { RegionedColumnSourceChar(@NotNull final ColumnRegionChar nullRegion, - @NotNull final MakeDeferred> makeDeferred) { + @NotNull final MakeDeferred> makeDeferred) { super(nullRegion, char.class, makeDeferred); } @@ -34,8 +34,8 @@ public char getChar(final long rowKey) { interface MakeRegionDefault extends MakeRegion> { @Override default ColumnRegionChar makeRegion(@NotNull final ColumnDefinition columnDefinition, - @NotNull final ColumnLocation columnLocation, - final int regionIndex) { + @NotNull final ColumnLocation columnLocation, + final int regionIndex) { if (columnLocation.exists()) { return columnLocation.makeColumnRegionChar(columnDefinition); } @@ -62,13 +62,15 @@ static final class Partitioning extends RegionedColumnSourceChar { @Override public ColumnRegionChar makeRegion(@NotNull final ColumnDefinition columnDefinition, - @NotNull final ColumnLocation columnLocation, - final int regionIndex) { + @NotNull final ColumnLocation columnLocation, + final int regionIndex) { final TableLocationKey locationKey = columnLocation.getTableLocation().getKey(); final Object partitioningColumnValue = locationKey.getPartitionValue(columnDefinition.getName()); - if (partitioningColumnValue != null && !Character.class.isAssignableFrom(partitioningColumnValue.getClass())) { - throw new TableDataException("Unexpected partitioning column value type for " + columnDefinition.getName() - + ": " + partitioningColumnValue + " is not a Character at location " + locationKey); + if (partitioningColumnValue != null + && !Character.class.isAssignableFrom(partitioningColumnValue.getClass())) { + throw new TableDataException( + "Unexpected partitioning column value type for " + columnDefinition.getName() + + ": " + partitioningColumnValue + " is not a Character at location " + locationKey); } return new ColumnRegionChar.Constant<>(regionMask(), unbox((Character) partitioningColumnValue)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceDouble.java index 6c50a7cc3a0..ee7839bb391 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceDouble.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RegionedColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RegionedColumnSourceChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.engine.rowset.RowSequence; @@ -27,7 +26,7 @@ abstract class RegionedColumnSourceDouble implements ColumnSourceGetDefaults.ForDouble /* MIXIN_INTERFACES */ { RegionedColumnSourceDouble(@NotNull final ColumnRegionDouble nullRegion, - @NotNull final MakeDeferred> makeDeferred) { + @NotNull final MakeDeferred> makeDeferred) { super(nullRegion, double.class, makeDeferred); } @@ -39,8 +38,8 @@ public double getDouble(final long rowKey) { interface MakeRegionDefault extends MakeRegion> { @Override default ColumnRegionDouble makeRegion(@NotNull final ColumnDefinition columnDefinition, - @NotNull final ColumnLocation columnLocation, - final int regionIndex) { + @NotNull final ColumnLocation columnLocation, + final int regionIndex) { if (columnLocation.exists()) { return columnLocation.makeColumnRegionDouble(columnDefinition); } @@ -67,13 +66,15 @@ static final class Partitioning extends RegionedColumnSourceDouble { @Override public ColumnRegionDouble makeRegion(@NotNull final ColumnDefinition columnDefinition, - @NotNull final ColumnLocation columnLocation, - final int regionIndex) { + @NotNull final ColumnLocation columnLocation, + final int regionIndex) { final TableLocationKey locationKey = columnLocation.getTableLocation().getKey(); final Object partitioningColumnValue = locationKey.getPartitionValue(columnDefinition.getName()); - if (partitioningColumnValue != null && !Double.class.isAssignableFrom(partitioningColumnValue.getClass())) { - throw new TableDataException("Unexpected partitioning column value type for " + columnDefinition.getName() - + ": " + partitioningColumnValue + " is not a Double at location " + locationKey); + if (partitioningColumnValue != null + && !Double.class.isAssignableFrom(partitioningColumnValue.getClass())) { + throw new TableDataException( + "Unexpected partitioning column value type for " + columnDefinition.getName() + + ": " + partitioningColumnValue + " is not a Double at location " + locationKey); } return new ColumnRegionDouble.Constant<>(regionMask(), unbox((Double) partitioningColumnValue)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceFloat.java index ae8bb9184dc..62608b70fb2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceFloat.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RegionedColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RegionedColumnSourceChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.engine.rowset.RowSequence; @@ -27,7 +26,7 @@ abstract class RegionedColumnSourceFloat implements ColumnSourceGetDefaults.ForFloat /* MIXIN_INTERFACES */ { RegionedColumnSourceFloat(@NotNull final ColumnRegionFloat nullRegion, - @NotNull final MakeDeferred> makeDeferred) { + @NotNull final MakeDeferred> makeDeferred) { super(nullRegion, float.class, makeDeferred); } @@ -39,8 +38,8 @@ public float getFloat(final long rowKey) { interface MakeRegionDefault extends MakeRegion> { @Override default ColumnRegionFloat makeRegion(@NotNull final ColumnDefinition columnDefinition, - @NotNull final ColumnLocation columnLocation, - final int regionIndex) { + @NotNull final ColumnLocation columnLocation, + final int regionIndex) { if (columnLocation.exists()) { return columnLocation.makeColumnRegionFloat(columnDefinition); } @@ -67,13 +66,15 @@ static final class Partitioning extends RegionedColumnSourceFloat { @Override public ColumnRegionFloat makeRegion(@NotNull final ColumnDefinition columnDefinition, - @NotNull final ColumnLocation columnLocation, - final int regionIndex) { + @NotNull final ColumnLocation columnLocation, + final int regionIndex) { final TableLocationKey locationKey = columnLocation.getTableLocation().getKey(); final Object partitioningColumnValue = locationKey.getPartitionValue(columnDefinition.getName()); - if (partitioningColumnValue != null && !Float.class.isAssignableFrom(partitioningColumnValue.getClass())) { - throw new TableDataException("Unexpected partitioning column value type for " + columnDefinition.getName() - + ": " + partitioningColumnValue + " is not a Float at location " + locationKey); + if (partitioningColumnValue != null + && !Float.class.isAssignableFrom(partitioningColumnValue.getClass())) { + throw new TableDataException( + "Unexpected partitioning column value type for " + columnDefinition.getName() + + ": " + partitioningColumnValue + " is not a Float at location " + locationKey); } return new ColumnRegionFloat.Constant<>(regionMask(), unbox((Float) partitioningColumnValue)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceInstant.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceInstant.java index d90c58bb209..75bafe9b6ac 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceInstant.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceInstant.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceInt.java index f07e2d05733..35cad6b5a8f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceInt.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RegionedColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RegionedColumnSourceChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.engine.rowset.RowSequence; @@ -27,7 +26,7 @@ abstract class RegionedColumnSourceInt implements ColumnSourceGetDefaults.ForInt /* MIXIN_INTERFACES */ { RegionedColumnSourceInt(@NotNull final ColumnRegionInt nullRegion, - @NotNull final MakeDeferred> makeDeferred) { + @NotNull final MakeDeferred> makeDeferred) { super(nullRegion, int.class, makeDeferred); } @@ -39,8 +38,8 @@ public int getInt(final long rowKey) { interface MakeRegionDefault extends MakeRegion> { @Override default ColumnRegionInt makeRegion(@NotNull final ColumnDefinition columnDefinition, - @NotNull final ColumnLocation columnLocation, - final int regionIndex) { + @NotNull final ColumnLocation columnLocation, + final int regionIndex) { if (columnLocation.exists()) { return columnLocation.makeColumnRegionInt(columnDefinition); } @@ -67,13 +66,15 @@ static final class Partitioning extends RegionedColumnSourceInt { @Override public ColumnRegionInt makeRegion(@NotNull final ColumnDefinition columnDefinition, - @NotNull final ColumnLocation columnLocation, - final int regionIndex) { + @NotNull final ColumnLocation columnLocation, + final int regionIndex) { final TableLocationKey locationKey = columnLocation.getTableLocation().getKey(); final Object partitioningColumnValue = locationKey.getPartitionValue(columnDefinition.getName()); - if (partitioningColumnValue != null && !Integer.class.isAssignableFrom(partitioningColumnValue.getClass())) { - throw new TableDataException("Unexpected partitioning column value type for " + columnDefinition.getName() - + ": " + partitioningColumnValue + " is not a Integer at location " + locationKey); + if (partitioningColumnValue != null + && !Integer.class.isAssignableFrom(partitioningColumnValue.getClass())) { + throw new TableDataException( + "Unexpected partitioning column value type for " + columnDefinition.getName() + + ": " + partitioningColumnValue + " is not a Integer at location " + locationKey); } return new ColumnRegionInt.Constant<>(regionMask(), unbox((Integer) partitioningColumnValue)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceLong.java index 9009869c1bb..eac68792661 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceLong.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RegionedColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RegionedColumnSourceChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import java.time.Instant; @@ -38,7 +37,7 @@ abstract class RegionedColumnSourceLong implements ColumnSourceGetDefaults.ForLong , ConvertibleTimeSource { RegionedColumnSourceLong(@NotNull final ColumnRegionLong nullRegion, - @NotNull final MakeDeferred> makeDeferred) { + @NotNull final MakeDeferred> makeDeferred) { super(nullRegion, long.class, makeDeferred); } @@ -50,8 +49,8 @@ public long getLong(final long rowKey) { interface MakeRegionDefault extends MakeRegion> { @Override default ColumnRegionLong makeRegion(@NotNull final ColumnDefinition columnDefinition, - @NotNull final ColumnLocation columnLocation, - final int regionIndex) { + @NotNull final ColumnLocation columnLocation, + final int regionIndex) { if (columnLocation.exists()) { return columnLocation.makeColumnRegionLong(columnDefinition); } @@ -127,13 +126,15 @@ static final class Partitioning extends RegionedColumnSourceLong { @Override public ColumnRegionLong makeRegion(@NotNull final ColumnDefinition columnDefinition, - @NotNull final ColumnLocation columnLocation, - final int regionIndex) { + @NotNull final ColumnLocation columnLocation, + final int regionIndex) { final TableLocationKey locationKey = columnLocation.getTableLocation().getKey(); final Object partitioningColumnValue = locationKey.getPartitionValue(columnDefinition.getName()); - if (partitioningColumnValue != null && !Long.class.isAssignableFrom(partitioningColumnValue.getClass())) { - throw new TableDataException("Unexpected partitioning column value type for " + columnDefinition.getName() - + ": " + partitioningColumnValue + " is not a Long at location " + locationKey); + if (partitioningColumnValue != null + && !Long.class.isAssignableFrom(partitioningColumnValue.getClass())) { + throw new TableDataException( + "Unexpected partitioning column value type for " + columnDefinition.getName() + + ": " + partitioningColumnValue + " is not a Long at location " + locationKey); } return new ColumnRegionLong.Constant<>(regionMask(), unbox((Long) partitioningColumnValue)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceManager.java index 572e36a0313..edcc041a676 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceObject.java index b73e5bdf8a6..54f52bde7b2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.engine.rowset.RowSequence; @@ -18,9 +18,9 @@ abstract class RegionedColumnSourceObject implements ColumnSourceGetDefaults.ForObject { private RegionedColumnSourceObject(@NotNull final ColumnRegionObject nullRegion, - @NotNull final Class dataType, - @Nullable final Class componentType, - @NotNull final MakeDeferred> makeDeferred) { + @NotNull final Class dataType, + @Nullable final Class componentType, + @NotNull final MakeDeferred> makeDeferred) { super(nullRegion, dataType, componentType, makeDeferred); } @@ -36,14 +36,15 @@ public AsValues(@NotNull final Class dataType) { } public AsValues(@NotNull final Class dataType, @Nullable final Class componentType) { - super(ColumnRegionObject.createNull(PARAMETERS.regionMask), dataType, componentType, DeferredColumnRegionObject::new); + super(ColumnRegionObject.createNull(PARAMETERS.regionMask), dataType, componentType, + DeferredColumnRegionObject::new); } public ColumnRegionObject makeRegion(@NotNull final ColumnDefinition columnDefinition, - @NotNull final ColumnLocation columnLocation, - final int regionIndex) { + @NotNull final ColumnLocation columnLocation, + final int regionIndex) { if (columnLocation.exists()) { - //noinspection unchecked + // noinspection unchecked return (ColumnRegionObject) columnLocation.makeColumnRegionObject(columnDefinition); } return null; @@ -60,15 +61,16 @@ static final class Partitioning extends RegionedColumnSourceObject makeRegion(@NotNull final ColumnDefinition columnDefinition, - @NotNull final ColumnLocation columnLocation, - final int regionIndex) { + @NotNull final ColumnLocation columnLocation, + final int regionIndex) { final TableLocationKey locationKey = columnLocation.getTableLocation().getKey(); final Object partitioningColumnValue = locationKey.getPartitionValue(columnDefinition.getName()); if (partitioningColumnValue != null && !getType().isAssignableFrom(partitioningColumnValue.getClass())) { - throw new TableDataException("Unexpected partitioning column value type for " + columnDefinition.getName() + throw new TableDataException("Unexpected partitioning column value type for " + + columnDefinition.getName() + ": " + partitioningColumnValue + " is not a " + getType() + " at location " + locationKey); } - //noinspection unchecked + // noinspection unchecked return new ColumnRegionObject.Constant<>(PARAMETERS.regionMask, (DATA_TYPE) partitioningColumnValue); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceReferencing.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceReferencing.java index b963c238557..fa4a8dc409a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceReferencing.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceReferencing.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceShort.java index 181984c3ea3..7cf0a920b59 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceShort.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit RegionedColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit RegionedColumnSourceChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.engine.rowset.RowSequence; @@ -27,7 +26,7 @@ abstract class RegionedColumnSourceShort implements ColumnSourceGetDefaults.ForShort /* MIXIN_INTERFACES */ { RegionedColumnSourceShort(@NotNull final ColumnRegionShort nullRegion, - @NotNull final MakeDeferred> makeDeferred) { + @NotNull final MakeDeferred> makeDeferred) { super(nullRegion, short.class, makeDeferred); } @@ -39,8 +38,8 @@ public short getShort(final long rowKey) { interface MakeRegionDefault extends MakeRegion> { @Override default ColumnRegionShort makeRegion(@NotNull final ColumnDefinition columnDefinition, - @NotNull final ColumnLocation columnLocation, - final int regionIndex) { + @NotNull final ColumnLocation columnLocation, + final int regionIndex) { if (columnLocation.exists()) { return columnLocation.makeColumnRegionShort(columnDefinition); } @@ -67,13 +66,15 @@ static final class Partitioning extends RegionedColumnSourceShort { @Override public ColumnRegionShort makeRegion(@NotNull final ColumnDefinition columnDefinition, - @NotNull final ColumnLocation columnLocation, - final int regionIndex) { + @NotNull final ColumnLocation columnLocation, + final int regionIndex) { final TableLocationKey locationKey = columnLocation.getTableLocation().getKey(); final Object partitioningColumnValue = locationKey.getPartitionValue(columnDefinition.getName()); - if (partitioningColumnValue != null && !Short.class.isAssignableFrom(partitioningColumnValue.getClass())) { - throw new TableDataException("Unexpected partitioning column value type for " + columnDefinition.getName() - + ": " + partitioningColumnValue + " is not a Short at location " + locationKey); + if (partitioningColumnValue != null + && !Short.class.isAssignableFrom(partitioningColumnValue.getClass())) { + throw new TableDataException( + "Unexpected partitioning column value type for " + columnDefinition.getName() + + ": " + partitioningColumnValue + " is not a Short at location " + locationKey); } return new ColumnRegionShort.Constant<>(regionMask(), unbox((Short) partitioningColumnValue)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceWithDictionary.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceWithDictionary.java index 2565664ed73..bf0364f8efe 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceWithDictionary.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceWithDictionary.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.engine.rowset.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceZonedDateTime.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceZonedDateTime.java index 333366aaee5..c061e61293b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceZonedDateTime.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceZonedDateTime.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedPageStore.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedPageStore.java index 7893e456dbc..806e544eec0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedPageStore.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedPageStore.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.base.MathUtil; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedTableComponentFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedTableComponentFactory.java index 8efbecfb1fb..5c693255c1b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedTableComponentFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedTableComponentFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.engine.table.ColumnDefinition; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedTableComponentFactoryImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedTableComponentFactoryImpl.java index 70a7154f799..a8a9c24a345 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedTableComponentFactoryImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedTableComponentFactoryImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.engine.table.ColumnDefinition; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/SymbolTableSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/SymbolTableSource.java index 133e45f4d3f..837ac1e71a9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/SymbolTableSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/SymbolTableSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/decoder/EncodedStringDecoder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/decoder/EncodedStringDecoder.java index 80842477f15..e84077c47fd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/decoder/EncodedStringDecoder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/decoder/EncodedStringDecoder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned.decoder; import io.deephaven.base.string.EncodingInfo; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/decoder/SimpleStringDecoder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/decoder/SimpleStringDecoder.java index d3d476da831..dfc57fe1626 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/decoder/SimpleStringDecoder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/decoder/SimpleStringDecoder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned.decoder; import io.deephaven.base.string.cache.ByteArrayCharSequenceAdapterImpl; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ByteRegionBinarySearchKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ByteRegionBinarySearchKernel.java index 7761a43becc..c37cf0a7aff 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ByteRegionBinarySearchKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ByteRegionBinarySearchKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRegionBinarySearchKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRegionBinarySearchKernel and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned.kernel; import io.deephaven.api.SortColumn; @@ -23,16 +22,16 @@ public class ByteRegionBinarySearchKernel { /** - * Performs a binary search on a given column region to find the positions (row keys) of specified sorted keys. - * The method returns the RowSet containing the matched row keys. + * Performs a binary search on a given column region to find the positions (row keys) of specified sorted keys. The + * method returns the RowSet containing the matched row keys. * - * @param region The column region in which the search will be performed. - * @param firstKey The first key in the column region to consider for the search. - * @param lastKey The last key in the column region to consider for the search. - * @param sortColumn A {@link SortColumn} object representing the sorting order of the column. - * @param searchValues An array of keys to find within the column region. + * @param region The column region in which the search will be performed. + * @param firstKey The first key in the column region to consider for the search. + * @param lastKey The last key in the column region to consider for the search. + * @param sortColumn A {@link SortColumn} object representing the sorting order of the column. + * @param searchValues An array of keys to find within the column region. * - * @return A {@link RowSet} containing the row keys where the sorted keys were found. + * @return A {@link RowSet} containing the row keys where the sorted keys were found. */ public static RowSet binarySearchMatch( ColumnRegionByte region, @@ -44,12 +43,12 @@ public static RowSet binarySearchMatch( final byte[] unboxed = ArrayTypeUtils.getUnboxedByteArray(searchValues); if (order == SortColumn.Order.DESCENDING) { try (final ByteTimsortDescendingKernel.ByteSortKernelContext context = - ByteTimsortDescendingKernel.createContext(unboxed.length)) { + ByteTimsortDescendingKernel.createContext(unboxed.length)) { context.sort(WritableByteChunk.writableChunkWrap(unboxed)); } } else { try (final ByteTimsortKernel.ByteSortKernelContext context = - ByteTimsortKernel.createContext(unboxed.length)) { + ByteTimsortKernel.createContext(unboxed.length)) { context.sort(WritableByteChunk.writableChunkWrap(unboxed)); } } @@ -69,11 +68,11 @@ public static RowSet binarySearchMatch( /** * Find the extents of the range containing the key to find, returning the last index found. * - * @param builder the builder to accumulate into - * @param firstKey the key to start searching - * @param lastKey the key to end searching + * @param builder the builder to accumulate into + * @param firstKey the key to start searching + * @param lastKey the key to end searching * @param sortDirection the sort direction of the column - * @param toFind the element to find + * @param toFind the element to find * @return the last key in the found range. */ private static long binarySearchSingle( @@ -91,7 +90,7 @@ private static long binarySearchSingle( // Now we have to locate the actual start and end of the range. long matchEnd = matchStart; - if (matchStart < lastKey && ByteComparisons.eq(region.getByte(matchStart + 1),toFind)) { + if (matchStart < lastKey && ByteComparisons.eq(region.getByte(matchStart + 1), toFind)) { matchEnd = binarySearchRange(region, toFind, matchStart + 1, lastKey, sortDirection, 1); } @@ -100,18 +99,18 @@ private static long binarySearchSingle( } /** - * Performs a binary search on a specified column region to find a byte within a given range. - * The method returns the row key where the byte was found. If the byte is not found, it returns -1. + * Performs a binary search on a specified column region to find a byte within a given range. The method returns the + * row key where the byte was found. If the byte is not found, it returns -1. * - * @param region The column region in which the search will be performed. - * @param toFind The byte to find within the column region. - * @param start The first row key in the column region to consider for the search. - * @param end The last row key in the column region to consider for the search. - * @param sortDirection An enum specifying the sorting direction of the column. - * @param rangeDirection An integer indicating the direction of the range search. Positive for forward search, - * negative for backward search. + * @param region The column region in which the search will be performed. + * @param toFind The byte to find within the column region. + * @param start The first row key in the column region to consider for the search. + * @param end The last row key in the column region to consider for the search. + * @param sortDirection An enum specifying the sorting direction of the column. + * @param rangeDirection An integer indicating the direction of the range search. Positive for forward search, + * negative for backward search. * - * @return The row key where the specified byte was found. If not found, returns -1. + * @return The row key where the specified byte was found. If not found, returns -1. */ private static long binarySearchRange( @NotNull final ColumnRegionByte region, diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/CharRegionBinarySearchKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/CharRegionBinarySearchKernel.java index 28b518e6449..858fff1b1da 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/CharRegionBinarySearchKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/CharRegionBinarySearchKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned.kernel; import io.deephaven.api.SortColumn; @@ -18,16 +18,16 @@ public class CharRegionBinarySearchKernel { /** - * Performs a binary search on a given column region to find the positions (row keys) of specified sorted keys. - * The method returns the RowSet containing the matched row keys. + * Performs a binary search on a given column region to find the positions (row keys) of specified sorted keys. The + * method returns the RowSet containing the matched row keys. * - * @param region The column region in which the search will be performed. - * @param firstKey The first key in the column region to consider for the search. - * @param lastKey The last key in the column region to consider for the search. - * @param sortColumn A {@link SortColumn} object representing the sorting order of the column. - * @param searchValues An array of keys to find within the column region. + * @param region The column region in which the search will be performed. + * @param firstKey The first key in the column region to consider for the search. + * @param lastKey The last key in the column region to consider for the search. + * @param sortColumn A {@link SortColumn} object representing the sorting order of the column. + * @param searchValues An array of keys to find within the column region. * - * @return A {@link RowSet} containing the row keys where the sorted keys were found. + * @return A {@link RowSet} containing the row keys where the sorted keys were found. */ public static RowSet binarySearchMatch( ColumnRegionChar region, @@ -39,12 +39,12 @@ public static RowSet binarySearchMatch( final char[] unboxed = ArrayTypeUtils.getUnboxedCharArray(searchValues); if (order == SortColumn.Order.DESCENDING) { try (final CharTimsortDescendingKernel.CharSortKernelContext context = - CharTimsortDescendingKernel.createContext(unboxed.length)) { + CharTimsortDescendingKernel.createContext(unboxed.length)) { context.sort(WritableCharChunk.writableChunkWrap(unboxed)); } } else { try (final CharTimsortKernel.CharSortKernelContext context = - CharTimsortKernel.createContext(unboxed.length)) { + CharTimsortKernel.createContext(unboxed.length)) { context.sort(WritableCharChunk.writableChunkWrap(unboxed)); } } @@ -64,11 +64,11 @@ public static RowSet binarySearchMatch( /** * Find the extents of the range containing the key to find, returning the last index found. * - * @param builder the builder to accumulate into - * @param firstKey the key to start searching - * @param lastKey the key to end searching + * @param builder the builder to accumulate into + * @param firstKey the key to start searching + * @param lastKey the key to end searching * @param sortDirection the sort direction of the column - * @param toFind the element to find + * @param toFind the element to find * @return the last key in the found range. */ private static long binarySearchSingle( @@ -86,7 +86,7 @@ private static long binarySearchSingle( // Now we have to locate the actual start and end of the range. long matchEnd = matchStart; - if (matchStart < lastKey && CharComparisons.eq(region.getChar(matchStart + 1),toFind)) { + if (matchStart < lastKey && CharComparisons.eq(region.getChar(matchStart + 1), toFind)) { matchEnd = binarySearchRange(region, toFind, matchStart + 1, lastKey, sortDirection, 1); } @@ -95,18 +95,18 @@ private static long binarySearchSingle( } /** - * Performs a binary search on a specified column region to find a char within a given range. - * The method returns the row key where the char was found. If the char is not found, it returns -1. + * Performs a binary search on a specified column region to find a char within a given range. The method returns the + * row key where the char was found. If the char is not found, it returns -1. * - * @param region The column region in which the search will be performed. - * @param toFind The char to find within the column region. - * @param start The first row key in the column region to consider for the search. - * @param end The last row key in the column region to consider for the search. - * @param sortDirection An enum specifying the sorting direction of the column. - * @param rangeDirection An integer indicating the direction of the range search. Positive for forward search, - * negative for backward search. + * @param region The column region in which the search will be performed. + * @param toFind The char to find within the column region. + * @param start The first row key in the column region to consider for the search. + * @param end The last row key in the column region to consider for the search. + * @param sortDirection An enum specifying the sorting direction of the column. + * @param rangeDirection An integer indicating the direction of the range search. Positive for forward search, + * negative for backward search. * - * @return The row key where the specified char was found. If not found, returns -1. + * @return The row key where the specified char was found. If not found, returns -1. */ private static long binarySearchRange( @NotNull final ColumnRegionChar region, diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/DoubleRegionBinarySearchKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/DoubleRegionBinarySearchKernel.java index 53f4d23eb75..f1d6b9ad0e2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/DoubleRegionBinarySearchKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/DoubleRegionBinarySearchKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRegionBinarySearchKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRegionBinarySearchKernel and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned.kernel; import io.deephaven.api.SortColumn; @@ -23,16 +22,16 @@ public class DoubleRegionBinarySearchKernel { /** - * Performs a binary search on a given column region to find the positions (row keys) of specified sorted keys. - * The method returns the RowSet containing the matched row keys. + * Performs a binary search on a given column region to find the positions (row keys) of specified sorted keys. The + * method returns the RowSet containing the matched row keys. * - * @param region The column region in which the search will be performed. - * @param firstKey The first key in the column region to consider for the search. - * @param lastKey The last key in the column region to consider for the search. - * @param sortColumn A {@link SortColumn} object representing the sorting order of the column. - * @param searchValues An array of keys to find within the column region. + * @param region The column region in which the search will be performed. + * @param firstKey The first key in the column region to consider for the search. + * @param lastKey The last key in the column region to consider for the search. + * @param sortColumn A {@link SortColumn} object representing the sorting order of the column. + * @param searchValues An array of keys to find within the column region. * - * @return A {@link RowSet} containing the row keys where the sorted keys were found. + * @return A {@link RowSet} containing the row keys where the sorted keys were found. */ public static RowSet binarySearchMatch( ColumnRegionDouble region, @@ -44,12 +43,12 @@ public static RowSet binarySearchMatch( final double[] unboxed = ArrayTypeUtils.getUnboxedDoubleArray(searchValues); if (order == SortColumn.Order.DESCENDING) { try (final DoubleTimsortDescendingKernel.DoubleSortKernelContext context = - DoubleTimsortDescendingKernel.createContext(unboxed.length)) { + DoubleTimsortDescendingKernel.createContext(unboxed.length)) { context.sort(WritableDoubleChunk.writableChunkWrap(unboxed)); } } else { try (final DoubleTimsortKernel.DoubleSortKernelContext context = - DoubleTimsortKernel.createContext(unboxed.length)) { + DoubleTimsortKernel.createContext(unboxed.length)) { context.sort(WritableDoubleChunk.writableChunkWrap(unboxed)); } } @@ -69,11 +68,11 @@ public static RowSet binarySearchMatch( /** * Find the extents of the range containing the key to find, returning the last index found. * - * @param builder the builder to accumulate into - * @param firstKey the key to start searching - * @param lastKey the key to end searching + * @param builder the builder to accumulate into + * @param firstKey the key to start searching + * @param lastKey the key to end searching * @param sortDirection the sort direction of the column - * @param toFind the element to find + * @param toFind the element to find * @return the last key in the found range. */ private static long binarySearchSingle( @@ -91,7 +90,7 @@ private static long binarySearchSingle( // Now we have to locate the actual start and end of the range. long matchEnd = matchStart; - if (matchStart < lastKey && DoubleComparisons.eq(region.getDouble(matchStart + 1),toFind)) { + if (matchStart < lastKey && DoubleComparisons.eq(region.getDouble(matchStart + 1), toFind)) { matchEnd = binarySearchRange(region, toFind, matchStart + 1, lastKey, sortDirection, 1); } @@ -100,18 +99,18 @@ private static long binarySearchSingle( } /** - * Performs a binary search on a specified column region to find a double within a given range. - * The method returns the row key where the double was found. If the double is not found, it returns -1. + * Performs a binary search on a specified column region to find a double within a given range. The method returns the + * row key where the double was found. If the double is not found, it returns -1. * - * @param region The column region in which the search will be performed. - * @param toFind The double to find within the column region. - * @param start The first row key in the column region to consider for the search. - * @param end The last row key in the column region to consider for the search. - * @param sortDirection An enum specifying the sorting direction of the column. - * @param rangeDirection An integer indicating the direction of the range search. Positive for forward search, - * negative for backward search. + * @param region The column region in which the search will be performed. + * @param toFind The double to find within the column region. + * @param start The first row key in the column region to consider for the search. + * @param end The last row key in the column region to consider for the search. + * @param sortDirection An enum specifying the sorting direction of the column. + * @param rangeDirection An integer indicating the direction of the range search. Positive for forward search, + * negative for backward search. * - * @return The row key where the specified double was found. If not found, returns -1. + * @return The row key where the specified double was found. If not found, returns -1. */ private static long binarySearchRange( @NotNull final ColumnRegionDouble region, diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/FloatRegionBinarySearchKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/FloatRegionBinarySearchKernel.java index a8400bcd275..5f9d2f7341c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/FloatRegionBinarySearchKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/FloatRegionBinarySearchKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRegionBinarySearchKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRegionBinarySearchKernel and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned.kernel; import io.deephaven.api.SortColumn; @@ -23,16 +22,16 @@ public class FloatRegionBinarySearchKernel { /** - * Performs a binary search on a given column region to find the positions (row keys) of specified sorted keys. - * The method returns the RowSet containing the matched row keys. + * Performs a binary search on a given column region to find the positions (row keys) of specified sorted keys. The + * method returns the RowSet containing the matched row keys. * - * @param region The column region in which the search will be performed. - * @param firstKey The first key in the column region to consider for the search. - * @param lastKey The last key in the column region to consider for the search. - * @param sortColumn A {@link SortColumn} object representing the sorting order of the column. - * @param searchValues An array of keys to find within the column region. + * @param region The column region in which the search will be performed. + * @param firstKey The first key in the column region to consider for the search. + * @param lastKey The last key in the column region to consider for the search. + * @param sortColumn A {@link SortColumn} object representing the sorting order of the column. + * @param searchValues An array of keys to find within the column region. * - * @return A {@link RowSet} containing the row keys where the sorted keys were found. + * @return A {@link RowSet} containing the row keys where the sorted keys were found. */ public static RowSet binarySearchMatch( ColumnRegionFloat region, @@ -44,12 +43,12 @@ public static RowSet binarySearchMatch( final float[] unboxed = ArrayTypeUtils.getUnboxedFloatArray(searchValues); if (order == SortColumn.Order.DESCENDING) { try (final FloatTimsortDescendingKernel.FloatSortKernelContext context = - FloatTimsortDescendingKernel.createContext(unboxed.length)) { + FloatTimsortDescendingKernel.createContext(unboxed.length)) { context.sort(WritableFloatChunk.writableChunkWrap(unboxed)); } } else { try (final FloatTimsortKernel.FloatSortKernelContext context = - FloatTimsortKernel.createContext(unboxed.length)) { + FloatTimsortKernel.createContext(unboxed.length)) { context.sort(WritableFloatChunk.writableChunkWrap(unboxed)); } } @@ -69,11 +68,11 @@ public static RowSet binarySearchMatch( /** * Find the extents of the range containing the key to find, returning the last index found. * - * @param builder the builder to accumulate into - * @param firstKey the key to start searching - * @param lastKey the key to end searching + * @param builder the builder to accumulate into + * @param firstKey the key to start searching + * @param lastKey the key to end searching * @param sortDirection the sort direction of the column - * @param toFind the element to find + * @param toFind the element to find * @return the last key in the found range. */ private static long binarySearchSingle( @@ -91,7 +90,7 @@ private static long binarySearchSingle( // Now we have to locate the actual start and end of the range. long matchEnd = matchStart; - if (matchStart < lastKey && FloatComparisons.eq(region.getFloat(matchStart + 1),toFind)) { + if (matchStart < lastKey && FloatComparisons.eq(region.getFloat(matchStart + 1), toFind)) { matchEnd = binarySearchRange(region, toFind, matchStart + 1, lastKey, sortDirection, 1); } @@ -100,18 +99,18 @@ private static long binarySearchSingle( } /** - * Performs a binary search on a specified column region to find a float within a given range. - * The method returns the row key where the float was found. If the float is not found, it returns -1. + * Performs a binary search on a specified column region to find a float within a given range. The method returns the + * row key where the float was found. If the float is not found, it returns -1. * - * @param region The column region in which the search will be performed. - * @param toFind The float to find within the column region. - * @param start The first row key in the column region to consider for the search. - * @param end The last row key in the column region to consider for the search. - * @param sortDirection An enum specifying the sorting direction of the column. - * @param rangeDirection An integer indicating the direction of the range search. Positive for forward search, - * negative for backward search. + * @param region The column region in which the search will be performed. + * @param toFind The float to find within the column region. + * @param start The first row key in the column region to consider for the search. + * @param end The last row key in the column region to consider for the search. + * @param sortDirection An enum specifying the sorting direction of the column. + * @param rangeDirection An integer indicating the direction of the range search. Positive for forward search, + * negative for backward search. * - * @return The row key where the specified float was found. If not found, returns -1. + * @return The row key where the specified float was found. If not found, returns -1. */ private static long binarySearchRange( @NotNull final ColumnRegionFloat region, diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/IntRegionBinarySearchKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/IntRegionBinarySearchKernel.java index 8d5c3c9612a..91be3b23a17 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/IntRegionBinarySearchKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/IntRegionBinarySearchKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRegionBinarySearchKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRegionBinarySearchKernel and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned.kernel; import io.deephaven.api.SortColumn; @@ -23,16 +22,16 @@ public class IntRegionBinarySearchKernel { /** - * Performs a binary search on a given column region to find the positions (row keys) of specified sorted keys. - * The method returns the RowSet containing the matched row keys. + * Performs a binary search on a given column region to find the positions (row keys) of specified sorted keys. The + * method returns the RowSet containing the matched row keys. * - * @param region The column region in which the search will be performed. - * @param firstKey The first key in the column region to consider for the search. - * @param lastKey The last key in the column region to consider for the search. - * @param sortColumn A {@link SortColumn} object representing the sorting order of the column. - * @param searchValues An array of keys to find within the column region. + * @param region The column region in which the search will be performed. + * @param firstKey The first key in the column region to consider for the search. + * @param lastKey The last key in the column region to consider for the search. + * @param sortColumn A {@link SortColumn} object representing the sorting order of the column. + * @param searchValues An array of keys to find within the column region. * - * @return A {@link RowSet} containing the row keys where the sorted keys were found. + * @return A {@link RowSet} containing the row keys where the sorted keys were found. */ public static RowSet binarySearchMatch( ColumnRegionInt region, @@ -44,12 +43,12 @@ public static RowSet binarySearchMatch( final int[] unboxed = ArrayTypeUtils.getUnboxedIntArray(searchValues); if (order == SortColumn.Order.DESCENDING) { try (final IntTimsortDescendingKernel.IntSortKernelContext context = - IntTimsortDescendingKernel.createContext(unboxed.length)) { + IntTimsortDescendingKernel.createContext(unboxed.length)) { context.sort(WritableIntChunk.writableChunkWrap(unboxed)); } } else { try (final IntTimsortKernel.IntSortKernelContext context = - IntTimsortKernel.createContext(unboxed.length)) { + IntTimsortKernel.createContext(unboxed.length)) { context.sort(WritableIntChunk.writableChunkWrap(unboxed)); } } @@ -69,11 +68,11 @@ public static RowSet binarySearchMatch( /** * Find the extents of the range containing the key to find, returning the last index found. * - * @param builder the builder to accumulate into - * @param firstKey the key to start searching - * @param lastKey the key to end searching + * @param builder the builder to accumulate into + * @param firstKey the key to start searching + * @param lastKey the key to end searching * @param sortDirection the sort direction of the column - * @param toFind the element to find + * @param toFind the element to find * @return the last key in the found range. */ private static long binarySearchSingle( @@ -91,7 +90,7 @@ private static long binarySearchSingle( // Now we have to locate the actual start and end of the range. long matchEnd = matchStart; - if (matchStart < lastKey && IntComparisons.eq(region.getInt(matchStart + 1),toFind)) { + if (matchStart < lastKey && IntComparisons.eq(region.getInt(matchStart + 1), toFind)) { matchEnd = binarySearchRange(region, toFind, matchStart + 1, lastKey, sortDirection, 1); } @@ -100,18 +99,18 @@ private static long binarySearchSingle( } /** - * Performs a binary search on a specified column region to find a int within a given range. - * The method returns the row key where the int was found. If the int is not found, it returns -1. + * Performs a binary search on a specified column region to find a int within a given range. The method returns the + * row key where the int was found. If the int is not found, it returns -1. * - * @param region The column region in which the search will be performed. - * @param toFind The int to find within the column region. - * @param start The first row key in the column region to consider for the search. - * @param end The last row key in the column region to consider for the search. - * @param sortDirection An enum specifying the sorting direction of the column. - * @param rangeDirection An integer indicating the direction of the range search. Positive for forward search, - * negative for backward search. + * @param region The column region in which the search will be performed. + * @param toFind The int to find within the column region. + * @param start The first row key in the column region to consider for the search. + * @param end The last row key in the column region to consider for the search. + * @param sortDirection An enum specifying the sorting direction of the column. + * @param rangeDirection An integer indicating the direction of the range search. Positive for forward search, + * negative for backward search. * - * @return The row key where the specified int was found. If not found, returns -1. + * @return The row key where the specified int was found. If not found, returns -1. */ private static long binarySearchRange( @NotNull final ColumnRegionInt region, diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/LongRegionBinarySearchKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/LongRegionBinarySearchKernel.java index fa35a94c050..f6d6ad0bd98 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/LongRegionBinarySearchKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/LongRegionBinarySearchKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRegionBinarySearchKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRegionBinarySearchKernel and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned.kernel; import io.deephaven.api.SortColumn; @@ -23,16 +22,16 @@ public class LongRegionBinarySearchKernel { /** - * Performs a binary search on a given column region to find the positions (row keys) of specified sorted keys. - * The method returns the RowSet containing the matched row keys. + * Performs a binary search on a given column region to find the positions (row keys) of specified sorted keys. The + * method returns the RowSet containing the matched row keys. * - * @param region The column region in which the search will be performed. - * @param firstKey The first key in the column region to consider for the search. - * @param lastKey The last key in the column region to consider for the search. - * @param sortColumn A {@link SortColumn} object representing the sorting order of the column. - * @param searchValues An array of keys to find within the column region. + * @param region The column region in which the search will be performed. + * @param firstKey The first key in the column region to consider for the search. + * @param lastKey The last key in the column region to consider for the search. + * @param sortColumn A {@link SortColumn} object representing the sorting order of the column. + * @param searchValues An array of keys to find within the column region. * - * @return A {@link RowSet} containing the row keys where the sorted keys were found. + * @return A {@link RowSet} containing the row keys where the sorted keys were found. */ public static RowSet binarySearchMatch( ColumnRegionLong region, @@ -44,12 +43,12 @@ public static RowSet binarySearchMatch( final long[] unboxed = ArrayTypeUtils.getUnboxedLongArray(searchValues); if (order == SortColumn.Order.DESCENDING) { try (final LongTimsortDescendingKernel.LongSortKernelContext context = - LongTimsortDescendingKernel.createContext(unboxed.length)) { + LongTimsortDescendingKernel.createContext(unboxed.length)) { context.sort(WritableLongChunk.writableChunkWrap(unboxed)); } } else { try (final LongTimsortKernel.LongSortKernelContext context = - LongTimsortKernel.createContext(unboxed.length)) { + LongTimsortKernel.createContext(unboxed.length)) { context.sort(WritableLongChunk.writableChunkWrap(unboxed)); } } @@ -69,11 +68,11 @@ public static RowSet binarySearchMatch( /** * Find the extents of the range containing the key to find, returning the last index found. * - * @param builder the builder to accumulate into - * @param firstKey the key to start searching - * @param lastKey the key to end searching + * @param builder the builder to accumulate into + * @param firstKey the key to start searching + * @param lastKey the key to end searching * @param sortDirection the sort direction of the column - * @param toFind the element to find + * @param toFind the element to find * @return the last key in the found range. */ private static long binarySearchSingle( @@ -91,7 +90,7 @@ private static long binarySearchSingle( // Now we have to locate the actual start and end of the range. long matchEnd = matchStart; - if (matchStart < lastKey && LongComparisons.eq(region.getLong(matchStart + 1),toFind)) { + if (matchStart < lastKey && LongComparisons.eq(region.getLong(matchStart + 1), toFind)) { matchEnd = binarySearchRange(region, toFind, matchStart + 1, lastKey, sortDirection, 1); } @@ -100,18 +99,18 @@ private static long binarySearchSingle( } /** - * Performs a binary search on a specified column region to find a long within a given range. - * The method returns the row key where the long was found. If the long is not found, it returns -1. + * Performs a binary search on a specified column region to find a long within a given range. The method returns the + * row key where the long was found. If the long is not found, it returns -1. * - * @param region The column region in which the search will be performed. - * @param toFind The long to find within the column region. - * @param start The first row key in the column region to consider for the search. - * @param end The last row key in the column region to consider for the search. - * @param sortDirection An enum specifying the sorting direction of the column. - * @param rangeDirection An integer indicating the direction of the range search. Positive for forward search, - * negative for backward search. + * @param region The column region in which the search will be performed. + * @param toFind The long to find within the column region. + * @param start The first row key in the column region to consider for the search. + * @param end The last row key in the column region to consider for the search. + * @param sortDirection An enum specifying the sorting direction of the column. + * @param rangeDirection An integer indicating the direction of the range search. Positive for forward search, + * negative for backward search. * - * @return The row key where the specified long was found. If not found, returns -1. + * @return The row key where the specified long was found. If not found, returns -1. */ private static long binarySearchRange( @NotNull final ColumnRegionLong region, diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ObjectRegionBinarySearchKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ObjectRegionBinarySearchKernel.java index b0409e0a161..5d67be1f54f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ObjectRegionBinarySearchKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ObjectRegionBinarySearchKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRegionBinarySearchKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRegionBinarySearchKernel and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned.kernel; import io.deephaven.api.SortColumn; @@ -22,16 +21,16 @@ public class ObjectRegionBinarySearchKernel { /** - * Performs a binary search on a given column region to find the positions (row keys) of specified sorted keys. - * The method returns the RowSet containing the matched row keys. + * Performs a binary search on a given column region to find the positions (row keys) of specified sorted keys. The + * method returns the RowSet containing the matched row keys. * - * @param region The column region in which the search will be performed. - * @param firstKey The first key in the column region to consider for the search. - * @param lastKey The last key in the column region to consider for the search. - * @param sortColumn A {@link SortColumn} object representing the sorting order of the column. - * @param searchValues An array of keys to find within the column region. + * @param region The column region in which the search will be performed. + * @param firstKey The first key in the column region to consider for the search. + * @param lastKey The last key in the column region to consider for the search. + * @param sortColumn A {@link SortColumn} object representing the sorting order of the column. + * @param searchValues An array of keys to find within the column region. * - * @return A {@link RowSet} containing the row keys where the sorted keys were found. + * @return A {@link RowSet} containing the row keys where the sorted keys were found. */ public static RowSet binarySearchMatch( ColumnRegionObject region, @@ -43,12 +42,12 @@ public static RowSet binarySearchMatch( if (order == SortColumn.Order.DESCENDING) { try (final ObjectTimsortDescendingKernel.ObjectSortKernelContext context = - ObjectTimsortDescendingKernel.createContext(searchValues.length)) { + ObjectTimsortDescendingKernel.createContext(searchValues.length)) { context.sort(WritableObjectChunk.writableChunkWrap(searchValues)); } } else { try (final ObjectTimsortKernel.ObjectSortKernelContext context = - ObjectTimsortKernel.createContext(searchValues.length)) { + ObjectTimsortKernel.createContext(searchValues.length)) { context.sort(WritableObjectChunk.writableChunkWrap(searchValues)); } } @@ -68,11 +67,11 @@ public static RowSet binarySearchMatch( /** * Find the extents of the range containing the key to find, returning the last index found. * - * @param builder the builder to accumulate into - * @param firstKey the key to start searching - * @param lastKey the key to end searching + * @param builder the builder to accumulate into + * @param firstKey the key to start searching + * @param lastKey the key to end searching * @param sortDirection the sort direction of the column - * @param toFind the element to find + * @param toFind the element to find * @return the last key in the found range. */ private static long binarySearchSingle( @@ -90,7 +89,7 @@ private static long binarySearchSingle( // Now we have to locate the actual start and end of the range. long matchEnd = matchStart; - if (matchStart < lastKey && ObjectComparisons.eq(region.getObject(matchStart + 1),toFind)) { + if (matchStart < lastKey && ObjectComparisons.eq(region.getObject(matchStart + 1), toFind)) { matchEnd = binarySearchRange(region, toFind, matchStart + 1, lastKey, sortDirection, 1); } @@ -99,18 +98,18 @@ private static long binarySearchSingle( } /** - * Performs a binary search on a specified column region to find a Object within a given range. - * The method returns the row key where the Object was found. If the Object is not found, it returns -1. + * Performs a binary search on a specified column region to find a Object within a given range. The method returns the + * row key where the Object was found. If the Object is not found, it returns -1. * - * @param region The column region in which the search will be performed. - * @param toFind The Object to find within the column region. - * @param start The first row key in the column region to consider for the search. - * @param end The last row key in the column region to consider for the search. - * @param sortDirection An enum specifying the sorting direction of the column. - * @param rangeDirection An integer indicating the direction of the range search. Positive for forward search, - * negative for backward search. + * @param region The column region in which the search will be performed. + * @param toFind The Object to find within the column region. + * @param start The first row key in the column region to consider for the search. + * @param end The last row key in the column region to consider for the search. + * @param sortDirection An enum specifying the sorting direction of the column. + * @param rangeDirection An integer indicating the direction of the range search. Positive for forward search, + * negative for backward search. * - * @return The row key where the specified Object was found. If not found, returns -1. + * @return The row key where the specified Object was found. If not found, returns -1. */ private static long binarySearchRange( @NotNull final ColumnRegionObject region, diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ShortRegionBinarySearchKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ShortRegionBinarySearchKernel.java index 0f2cd90da1d..42eb3be872b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ShortRegionBinarySearchKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ShortRegionBinarySearchKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRegionBinarySearchKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRegionBinarySearchKernel and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned.kernel; import io.deephaven.api.SortColumn; @@ -23,16 +22,16 @@ public class ShortRegionBinarySearchKernel { /** - * Performs a binary search on a given column region to find the positions (row keys) of specified sorted keys. - * The method returns the RowSet containing the matched row keys. + * Performs a binary search on a given column region to find the positions (row keys) of specified sorted keys. The + * method returns the RowSet containing the matched row keys. * - * @param region The column region in which the search will be performed. - * @param firstKey The first key in the column region to consider for the search. - * @param lastKey The last key in the column region to consider for the search. - * @param sortColumn A {@link SortColumn} object representing the sorting order of the column. - * @param searchValues An array of keys to find within the column region. + * @param region The column region in which the search will be performed. + * @param firstKey The first key in the column region to consider for the search. + * @param lastKey The last key in the column region to consider for the search. + * @param sortColumn A {@link SortColumn} object representing the sorting order of the column. + * @param searchValues An array of keys to find within the column region. * - * @return A {@link RowSet} containing the row keys where the sorted keys were found. + * @return A {@link RowSet} containing the row keys where the sorted keys were found. */ public static RowSet binarySearchMatch( ColumnRegionShort region, @@ -44,12 +43,12 @@ public static RowSet binarySearchMatch( final short[] unboxed = ArrayTypeUtils.getUnboxedShortArray(searchValues); if (order == SortColumn.Order.DESCENDING) { try (final ShortTimsortDescendingKernel.ShortSortKernelContext context = - ShortTimsortDescendingKernel.createContext(unboxed.length)) { + ShortTimsortDescendingKernel.createContext(unboxed.length)) { context.sort(WritableShortChunk.writableChunkWrap(unboxed)); } } else { try (final ShortTimsortKernel.ShortSortKernelContext context = - ShortTimsortKernel.createContext(unboxed.length)) { + ShortTimsortKernel.createContext(unboxed.length)) { context.sort(WritableShortChunk.writableChunkWrap(unboxed)); } } @@ -69,11 +68,11 @@ public static RowSet binarySearchMatch( /** * Find the extents of the range containing the key to find, returning the last index found. * - * @param builder the builder to accumulate into - * @param firstKey the key to start searching - * @param lastKey the key to end searching + * @param builder the builder to accumulate into + * @param firstKey the key to start searching + * @param lastKey the key to end searching * @param sortDirection the sort direction of the column - * @param toFind the element to find + * @param toFind the element to find * @return the last key in the found range. */ private static long binarySearchSingle( @@ -91,7 +90,7 @@ private static long binarySearchSingle( // Now we have to locate the actual start and end of the range. long matchEnd = matchStart; - if (matchStart < lastKey && ShortComparisons.eq(region.getShort(matchStart + 1),toFind)) { + if (matchStart < lastKey && ShortComparisons.eq(region.getShort(matchStart + 1), toFind)) { matchEnd = binarySearchRange(region, toFind, matchStart + 1, lastKey, sortDirection, 1); } @@ -100,18 +99,18 @@ private static long binarySearchSingle( } /** - * Performs a binary search on a specified column region to find a short within a given range. - * The method returns the row key where the short was found. If the short is not found, it returns -1. + * Performs a binary search on a specified column region to find a short within a given range. The method returns the + * row key where the short was found. If the short is not found, it returns -1. * - * @param region The column region in which the search will be performed. - * @param toFind The short to find within the column region. - * @param start The first row key in the column region to consider for the search. - * @param end The last row key in the column region to consider for the search. - * @param sortDirection An enum specifying the sorting direction of the column. - * @param rangeDirection An integer indicating the direction of the range search. Positive for forward search, - * negative for backward search. + * @param region The column region in which the search will be performed. + * @param toFind The short to find within the column region. + * @param start The first row key in the column region to consider for the search. + * @param end The last row key in the column region to consider for the search. + * @param sortDirection An enum specifying the sorting direction of the column. + * @param rangeDirection An integer indicating the direction of the range search. Positive for forward search, + * negative for backward search. * - * @return The row key where the specified short was found. If not found, returns -1. + * @return The row key where the specified short was found. If not found, returns -1. */ private static long binarySearchRange( @NotNull final ColumnRegionShort region, diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/AbstractRingChunkSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/AbstractRingChunkSource.java index b14bc1d6305..e6298b41a07 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/AbstractRingChunkSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/AbstractRingChunkSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.ring; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/AddsToRingsListener.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/AddsToRingsListener.java index 48599d174c2..b1622a0bd28 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/AddsToRingsListener.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/AddsToRingsListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.ring; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/ByteRingChunkSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/ByteRingChunkSource.java index 1f5beab2fca..d5371cb329d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/ByteRingChunkSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/ByteRingChunkSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterRingChunkSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterRingChunkSource and run "./gradlew replicateRingChunkSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.ring; import io.deephaven.chunk.ChunkType; @@ -45,7 +44,8 @@ byte getByte(long key) { return NULL_BYTE; } if (STRICT_KEYS && !containsKey(key)) { - throw new IllegalArgumentException(String.format("Invalid key %d. available=[%d, %d]", key, firstKey(), lastKey())); + throw new IllegalArgumentException( + String.format("Invalid key %d. available=[%d, %d]", key, firstKey(), lastKey())); } return ring[keyToRingIndex(key)]; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/CharacterRingChunkSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/CharacterRingChunkSource.java index bde79c3fa70..09ac71fcd0a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/CharacterRingChunkSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/CharacterRingChunkSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.ring; import io.deephaven.chunk.ChunkType; @@ -40,7 +40,8 @@ char getChar(long key) { return NULL_CHAR; } if (STRICT_KEYS && !containsKey(key)) { - throw new IllegalArgumentException(String.format("Invalid key %d. available=[%d, %d]", key, firstKey(), lastKey())); + throw new IllegalArgumentException( + String.format("Invalid key %d. available=[%d, %d]", key, firstKey(), lastKey())); } return ring[keyToRingIndex(key)]; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/DoubleRingChunkSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/DoubleRingChunkSource.java index 3e10522f295..d79302e997c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/DoubleRingChunkSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/DoubleRingChunkSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterRingChunkSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterRingChunkSource and run "./gradlew replicateRingChunkSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.ring; import io.deephaven.chunk.ChunkType; @@ -45,7 +44,8 @@ Double get(long key) { return NULL_DOUBLE; } if (STRICT_KEYS && !containsKey(key)) { - throw new IllegalArgumentException(String.format("Invalid key %d. available=[%d, %d]", key, firstKey(), lastKey())); + throw new IllegalArgumentException( + String.format("Invalid key %d. available=[%d, %d]", key, firstKey(), lastKey())); } return ring[keyToRingIndex(key)]; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/FloatRingChunkSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/FloatRingChunkSource.java index 36a7b27a1af..e1cb73b3575 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/FloatRingChunkSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/FloatRingChunkSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterRingChunkSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterRingChunkSource and run "./gradlew replicateRingChunkSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.ring; import io.deephaven.chunk.ChunkType; @@ -45,7 +44,8 @@ float getFloat(long key) { return NULL_FLOAT; } if (STRICT_KEYS && !containsKey(key)) { - throw new IllegalArgumentException(String.format("Invalid key %d. available=[%d, %d]", key, firstKey(), lastKey())); + throw new IllegalArgumentException( + String.format("Invalid key %d. available=[%d, %d]", key, firstKey(), lastKey())); } return ring[keyToRingIndex(key)]; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/IntegerRingChunkSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/IntegerRingChunkSource.java index af8a43456ff..13901f2e787 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/IntegerRingChunkSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/IntegerRingChunkSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterRingChunkSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterRingChunkSource and run "./gradlew replicateRingChunkSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.ring; import io.deephaven.chunk.ChunkType; @@ -45,7 +44,8 @@ int getInt(long key) { return NULL_INT; } if (STRICT_KEYS && !containsKey(key)) { - throw new IllegalArgumentException(String.format("Invalid key %d. available=[%d, %d]", key, firstKey(), lastKey())); + throw new IllegalArgumentException( + String.format("Invalid key %d. available=[%d, %d]", key, firstKey(), lastKey())); } return ring[keyToRingIndex(key)]; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/LongRingChunkSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/LongRingChunkSource.java index 091c019dfec..c62144dcf9c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/LongRingChunkSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/LongRingChunkSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterRingChunkSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterRingChunkSource and run "./gradlew replicateRingChunkSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.ring; import io.deephaven.chunk.ChunkType; @@ -45,7 +44,8 @@ long getLong(long key) { return NULL_LONG; } if (STRICT_KEYS && !containsKey(key)) { - throw new IllegalArgumentException(String.format("Invalid key %d. available=[%d, %d]", key, firstKey(), lastKey())); + throw new IllegalArgumentException( + String.format("Invalid key %d. available=[%d, %d]", key, firstKey(), lastKey())); } return ring[keyToRingIndex(key)]; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/ObjectRingChunkSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/ObjectRingChunkSource.java index c9ae6dbac44..23913b99a4a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/ObjectRingChunkSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/ObjectRingChunkSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.ring; import io.deephaven.chunk.ChunkType; @@ -15,11 +15,13 @@ // Note: this is not being auto-generated ATM final class ObjectRingChunkSource extends AbstractRingChunkSource> { public static RingColumnSource columnSource(Class type, int capacity) { - return new RingColumnSource<>(type, new ObjectRingChunkSource<>(type, capacity), new ObjectRingChunkSource<>(type, capacity)); + return new RingColumnSource<>(type, new ObjectRingChunkSource<>(type, capacity), + new ObjectRingChunkSource<>(type, capacity)); } public static RingColumnSource columnSource(Class type, Class componentType, int capacity) { - return new RingColumnSource<>(type, componentType, new ObjectRingChunkSource<>(type, capacity), new ObjectRingChunkSource<>(type, capacity)); + return new RingColumnSource<>(type, componentType, new ObjectRingChunkSource<>(type, capacity), + new ObjectRingChunkSource<>(type, capacity)); } public ObjectRingChunkSource(Class type, int capacity) { @@ -37,10 +39,11 @@ T get(long key) { return null; } if (STRICT_KEYS && !containsKey(key)) { - throw new IllegalArgumentException(String.format("Invalid key %d. available=[%d, %d]", key, firstKey(), lastKey())); + throw new IllegalArgumentException( + String.format("Invalid key %d. available=[%d, %d]", key, firstKey(), lastKey())); } - //noinspection unchecked - return (T)ring[keyToRingIndex(key)]; + // noinspection unchecked + return (T) ring[keyToRingIndex(key)]; } @Override @@ -57,14 +60,14 @@ private class FillerImpl extends Filler { @Override protected void copyFromRing(int srcRingIx, int destOffset) { - //noinspection unchecked - dest.set(destOffset, (T)ring[srcRingIx]); + // noinspection unchecked + dest.set(destOffset, (T) ring[srcRingIx]); } @Override protected void copyFromRing(int srcRingIx, int destOffset, int size) { - //noinspection unchecked - dest.copyFromTypedArray((T[])ring, srcRingIx, destOffset, size); + // noinspection unchecked + dest.copyFromTypedArray((T[]) ring, srcRingIx, destOffset, size); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/RingColumnSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/RingColumnSource.java index 095dc3f4f2f..f5e7068598a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/RingColumnSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/RingColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.ring; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/RingTableTools.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/RingTableTools.java index 14bfc983410..80bd1be94d7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/RingTableTools.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/RingTableTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.ring; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/ShortRingChunkSource.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/ShortRingChunkSource.java index 7e8b5a3c6c2..afd40a019c9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/ShortRingChunkSource.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/ring/ShortRingChunkSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterRingChunkSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterRingChunkSource and run "./gradlew replicateRingChunkSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.ring; import io.deephaven.chunk.ChunkType; @@ -45,7 +44,8 @@ short getShort(long key) { return NULL_SHORT; } if (STRICT_KEYS && !containsKey(key)) { - throw new IllegalArgumentException(String.format("Invalid key %d. available=[%d, %d]", key, firstKey(), lastKey())); + throw new IllegalArgumentException( + String.format("Invalid key %d. available=[%d, %d]", key, firstKey(), lastKey())); } return ring[keyToRingIndex(key)]; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/BooleanOneOrN.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/BooleanOneOrN.java index 84a1f3a7f01..47d3020ef2d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/BooleanOneOrN.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/BooleanOneOrN.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharOneOrN and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharOneOrN and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.sparse; import io.deephaven.util.SoftRecycler; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/ByteOneOrN.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/ByteOneOrN.java index 4c4b45938d7..28af5bcfbd6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/ByteOneOrN.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/ByteOneOrN.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharOneOrN and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharOneOrN and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.sparse; import io.deephaven.util.SoftRecycler; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/DoubleOneOrN.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/DoubleOneOrN.java index 9e3fc2e613d..9af09ba04c4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/DoubleOneOrN.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/DoubleOneOrN.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharOneOrN and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharOneOrN and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.sparse; import io.deephaven.util.SoftRecycler; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/FloatOneOrN.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/FloatOneOrN.java index aa8b901b448..c13b45ebd01 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/FloatOneOrN.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/FloatOneOrN.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharOneOrN and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharOneOrN and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.sparse; import io.deephaven.util.SoftRecycler; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/IntOneOrN.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/IntOneOrN.java index c75b0714291..9b537c0fc65 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/IntOneOrN.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/IntOneOrN.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharOneOrN and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharOneOrN and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.sparse; import io.deephaven.util.SoftRecycler; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/LongOneOrN.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/LongOneOrN.java index 694ac3fe4b5..53e0de683c0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/LongOneOrN.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/LongOneOrN.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharOneOrN and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharOneOrN and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.sparse; import io.deephaven.util.SoftRecycler; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/ObjectOneOrN.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/ObjectOneOrN.java index ca2a38c7a36..f7f21d68608 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/ObjectOneOrN.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/ObjectOneOrN.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharOneOrN and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharOneOrN and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.sparse; import io.deephaven.util.SoftRecycler; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/ShortOneOrN.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/ShortOneOrN.java index 1896bb1f7f0..7c1b39c81cd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/ShortOneOrN.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/ShortOneOrN.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharOneOrN and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharOneOrN and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.sparse; import io.deephaven.util.SoftRecycler; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/SparseConstants.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/SparseConstants.java index 9a278dde2a5..8518044ba99 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/SparseConstants.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/sources/sparse/SparseConstants.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.sparse; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteChunkSsaStamp.java index 72a82a8b655..5910bd25faa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteChunkSsaStamp.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -25,11 +24,14 @@ public class ByteChunkSsaStamp implements ChunkSsaStamp { private ByteChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asByteChunk(), leftStampKeys, (ByteSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asByteChunk(), leftStampKeys, (ByteSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(ByteChunk leftStampValues, Chunk leftStampKeys, ByteSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(ByteChunk leftStampValues, Chunk leftStampKeys, + ByteSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -40,14 +42,13 @@ private static void processEntry(ByteChunk leftStampValues, Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asByteChunk(), leftStampKeys, rightStampChunk.asByteChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asByteChunk(), leftStampKeys, rightStampChunk.asByteChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(ByteChunk leftStampValues, LongChunk leftStampKeys, ByteChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(ByteChunk leftStampValues, LongChunk leftStampKeys, + ByteChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -106,15 +115,24 @@ private static void processRemovals(ByteChunk leftStampValues, LongChunk } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asByteChunk(), leftStampKeys, rightStampChunk.asByteChunk(), rightKeys, nextRightValue.asByteChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asByteChunk(), leftStampKeys, rightStampChunk.asByteChunk(), rightKeys, + nextRightValue.asByteChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(ByteChunk leftStampValues, LongChunk leftStampKeys, ByteChunk rightStampChunk, LongChunk rightKeys, ByteChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(ByteChunk leftStampValues, LongChunk leftStampKeys, + ByteChunk rightStampChunk, LongChunk rightKeys, ByteChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -151,11 +169,16 @@ private static void processInsertion(ByteChunk leftStampValues, LongChun } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asByteChunk(), leftStampKeys, rowRedirection, rightStampChunk.asByteChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asByteChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asByteChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, ByteChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, ByteChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, ByteChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, ByteChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final byte rightStampValue = rightStampChunk.get(ii); @@ -164,7 +187,8 @@ private static int findModified(int leftLowIdx, ByteChunk leftStampValue final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -174,11 +198,16 @@ private static int findModified(int leftLowIdx, ByteChunk leftStampValue } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asByteChunk(), leftStampKeys, rightStampChunk.asByteChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asByteChunk(), leftStampKeys, rightStampChunk.asByteChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(ByteChunk leftStampValues, LongChunk leftStampKeys, ByteChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(ByteChunk leftStampValues, LongChunk leftStampKeys, + ByteChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final byte rightStampValue = rightStampChunk.get(ii); @@ -188,14 +217,16 @@ private void applyShift(ByteChunk leftStampValues, LongChunk le final long rightStampKey = rightStampKeys.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { rowRedirection.putVoid(leftStampKeys.get(checkIdx), rightStampKey + shiftDelta); checkIdx++; } } } - private static int findFirstResponsiveLeft(int leftLowIdx, ByteChunk leftStampValues, boolean disallowExactMatch, byte rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, ByteChunk leftStampValues, + boolean disallowExactMatch, byte rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteReverseChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteReverseChunkSsaStamp.java index 5957e41985e..12fe78fbc21 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteReverseChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteReverseChunkSsaStamp.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ByteChunkSsaStamp and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -25,11 +26,14 @@ public class ByteReverseChunkSsaStamp implements ChunkSsaStamp { private ByteReverseChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asByteChunk(), leftStampKeys, (ByteReverseSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asByteChunk(), leftStampKeys, (ByteReverseSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(ByteChunk leftStampValues, Chunk leftStampKeys, ByteReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(ByteChunk leftStampValues, Chunk leftStampKeys, + ByteReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -40,14 +44,13 @@ private static void processEntry(ByteChunk leftStampValues, Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asByteChunk(), leftStampKeys, rightStampChunk.asByteChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asByteChunk(), leftStampKeys, rightStampChunk.asByteChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(ByteChunk leftStampValues, LongChunk leftStampKeys, ByteChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(ByteChunk leftStampValues, LongChunk leftStampKeys, + ByteChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -106,15 +117,24 @@ private static void processRemovals(ByteChunk leftStampValues, LongChunk } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asByteChunk(), leftStampKeys, rightStampChunk.asByteChunk(), rightKeys, nextRightValue.asByteChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asByteChunk(), leftStampKeys, rightStampChunk.asByteChunk(), rightKeys, + nextRightValue.asByteChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(ByteChunk leftStampValues, LongChunk leftStampKeys, ByteChunk rightStampChunk, LongChunk rightKeys, ByteChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(ByteChunk leftStampValues, LongChunk leftStampKeys, + ByteChunk rightStampChunk, LongChunk rightKeys, ByteChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -151,11 +171,16 @@ private static void processInsertion(ByteChunk leftStampValues, LongChun } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asByteChunk(), leftStampKeys, rowRedirection, rightStampChunk.asByteChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asByteChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asByteChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, ByteChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, ByteChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, ByteChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, ByteChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final byte rightStampValue = rightStampChunk.get(ii); @@ -164,7 +189,8 @@ private static int findModified(int leftLowIdx, ByteChunk leftStampValue final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -174,11 +200,16 @@ private static int findModified(int leftLowIdx, ByteChunk leftStampValue } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asByteChunk(), leftStampKeys, rightStampChunk.asByteChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asByteChunk(), leftStampKeys, rightStampChunk.asByteChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(ByteChunk leftStampValues, LongChunk leftStampKeys, ByteChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(ByteChunk leftStampValues, LongChunk leftStampKeys, + ByteChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final byte rightStampValue = rightStampChunk.get(ii); @@ -188,14 +219,16 @@ private void applyShift(ByteChunk leftStampValues, LongChunk le final long rightStampKey = rightStampKeys.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { rowRedirection.putVoid(leftStampKeys.get(checkIdx), rightStampKey + shiftDelta); checkIdx++; } } } - private static int findFirstResponsiveLeft(int leftLowIdx, ByteChunk leftStampValues, boolean disallowExactMatch, byte rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, ByteChunk leftStampValues, + boolean disallowExactMatch, byte rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteReverseSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteReverseSegmentedSortedArray.java index 4f59c601780..637151d3296 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteReverseSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteReverseSegmentedSortedArray.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ByteSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -24,14 +25,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the byte values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the byte values, and then on the corresponding row + * key. */ public final class ByteReverseSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -41,16 +42,16 @@ public final class ByteReverseSegmentedSortedArray implements SegmentedSortedArr private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private byte [] directoryValues; - private long [] directoryRowKeys; + private byte[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private byte [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private byte[][] leafValues; + private long[][] leafRowKeys; /** * Create a ByteReverseSegmentedSortedArray with the given leafSize. @@ -69,7 +70,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asByteChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asByteChunk(), rowKeysToInsert, nextValue.asWritableByteChunk()); @@ -78,13 +80,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(ByteChunk stampValues, LongChunk stampRowKeys, WritableByteChunk nextValues) { + private int findNext(ByteChunk stampValues, LongChunk stampRowKeys, + WritableByteChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -116,14 +119,17 @@ private int findNext(ByteChunk stampValues, LongChunk int findNextOneLeaf(int offset, ByteChunk stampValues, LongChunk stampRowKeys, WritableByteChunk nextValues, int leafSize, byte [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, ByteChunk stampValues, + LongChunk stampRowKeys, WritableByteChunk nextValues, int leafSize, byte[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -144,7 +150,7 @@ private static int findNextOneLeaf(int offset, ByteChunk stam } /** - * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. + * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. * * @param valuesToInsert the valuesToInsert to insert (must be sorted, with ties broken by the row key) * @param rowKeysToInsert the corresponding rowKeysToInsert @@ -181,12 +187,15 @@ void insert(ByteChunk valuesToInsert, LongChunk leafValuesInsertChunk = ResettableByteChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -194,7 +203,8 @@ void insert(ByteChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, byte[] leafValues, ByteChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, byte[] leafValues, ByteChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, byte[] leafValues, ByteChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -412,7 +428,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, ByteChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + ByteChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -423,7 +440,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new byte[leafSize]; @@ -450,11 +467,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -524,7 +541,8 @@ private void makeLeavesInitial(ByteChunk values, LongChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, byte[] leafValues, ByteChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -574,11 +592,12 @@ private void insertIntoLeaf(int leafSize, byte [] leafValues, ByteChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -587,17 +606,20 @@ private void insertIntoLeaf(int leafSize, byte [] leafValues, ByteChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -613,8 +635,7 @@ private void insertIntoLeaf(int leafSize, byte [] leafValues, ByteChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final byte searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -625,13 +646,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -652,7 +675,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, byte[] leafValues, ByteChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, byte[] leafValues, ByteChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final byte firstInsertValue = insertValues.get(0); final byte lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -674,7 +698,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, byte [] leafValues, ByteChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, byte[] leafValues, ByteChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -684,7 +710,7 @@ private void removeFromLeaf(int leafSize, byte [] leafValues, ByteChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, byte searchValue, long searchKey) { + private static int lowerBound(ByteChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, byte searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final byte testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -751,7 +779,8 @@ private static int lowerBound(ByteChunk valuesToSearch, LongChunk return lo; } - private static int upperBound(ByteChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, byte searchValue, long searchKey) { + private static int upperBound(ByteChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, byte searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final byte testValue = valuesToSearch.get(mid); @@ -770,12 +799,13 @@ private static int upperBound(ByteChunk valuesToSearch, LongChunk return lo; } - private static int lowerBound(byte [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, byte searchValue, long searchKey) { + private static int lowerBound(byte[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, byte searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final byte testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -811,20 +841,21 @@ private static int upperBound(byte[] valuesToSearch, int lo, int hi, byte search /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(byte [] valuesToSearch, long [] rowKeysToSearch, final byte searchValue, long searchRowKey, int lo, int hi) { + private static int bound(byte[] valuesToSearch, long[] rowKeysToSearch, final byte searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final byte testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -842,7 +873,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asByteChunk(), rowKeysToRemove, priorRedirections); } @@ -851,13 +883,15 @@ private void remove(ByteChunk valuesToRemove, LongChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(ByteChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -877,11 +911,13 @@ private void removeAndGetNextInternal(ByteChunk valuesToRemove, L } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableByteChunk leafValuesRemoveChunk = ResettableByteChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -889,7 +925,9 @@ private void removeAndGetNextInternal(ByteChunk valuesToRemove, L while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -897,7 +935,8 @@ private void removeAndGetNextInternal(ByteChunk valuesToRemove, L } else { final byte leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -905,7 +944,8 @@ private void removeAndGetNextInternal(ByteChunk valuesToRemove, L if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -919,14 +959,18 @@ private void removeAndGetNextInternal(ByteChunk valuesToRemove, L priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -951,18 +995,23 @@ private void removeAndGetNextInternal(ByteChunk valuesToRemove, L } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1037,11 +1086,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asByteChunk(), keyChunk, shiftDelta); } - private void applyShift(ByteChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(ByteChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1052,11 +1103,13 @@ private void applyShift(ByteChunk stampChunk, LongChunk leafValuesChunk = ResettableByteChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1064,7 +1117,8 @@ private void applyShift(ByteChunk stampChunk, LongChunk stampChunk, LongChunk= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1088,15 +1144,17 @@ private void applyShift(ByteChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, byte[] leafValues, ByteChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1114,7 +1172,8 @@ private void shiftLeaf(int leafSize, byte [] leafValues, ByteChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(ByteChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1143,11 +1203,13 @@ private void applyShiftReverse(ByteChunk stampChunk, LongChunk leafValuesChunk = ResettableByteChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1155,15 +1217,20 @@ private void applyShiftReverse(ByteChunk stampChunk, LongChunk stampChunk, LongChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, byte[] leafValues, ByteChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1210,7 +1280,8 @@ private void shiftLeafReverse(int leafSize, byte [] leafValues, ByteChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1641,9 +1712,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1680,7 +1751,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(byte value) { if (disallowExactMatch) { @@ -1696,26 +1768,31 @@ private void findInLeaf(byte value) { private void findLastInLeaf(byte value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(byte value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteReverseSsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteReverseSsaChecker.java index 908730f700e..4ef08ad5174 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteReverseSsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteReverseSsaChecker.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaChecker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ByteSsaChecker and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -26,16 +27,18 @@ public class ByteReverseSsaChecker implements SsaChecker { private ByteReverseSsaChecker() {} // static use only @Override - public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, LongChunk tableIndexChunk) { - checkSsa((ByteReverseSegmentedSortedArray)ssa, valueChunk.asByteChunk(), tableIndexChunk); + public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, + LongChunk tableIndexChunk) { + checkSsa((ByteReverseSegmentedSortedArray) ssa, valueChunk.asByteChunk(), tableIndexChunk); } - static void checkSsa(ByteReverseSegmentedSortedArray ssa, ByteChunk valueChunk, LongChunk tableIndexChunk) { + static void checkSsa(ByteReverseSegmentedSortedArray ssa, ByteChunk valueChunk, + LongChunk tableIndexChunk) { ssa.validateInternal(); - //noinspection unchecked + // noinspection unchecked try (final WritableByteChunk resultChunk = (WritableByteChunk) ssa.asByteChunk(); - final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { + final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { Assert.eq(valueChunk.size(), "valueChunk.size()", resultChunk.size(), "resultChunk.size()"); Assert.eq(tableIndexChunk.size(), "tableIndexChunk.size()", indexChunk.size(), "indexChunk.size()"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteReverseSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteReverseSsaSsaStamp.java index a73c0f154af..ee151417a55 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteReverseSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteReverseSsaSsaStamp.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ByteSsaSsaStamp and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -26,11 +27,14 @@ public class ByteReverseSsaSsaStamp implements SsaSsaStamp { private ByteReverseSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((ByteReverseSegmentedSortedArray)leftSsa, (ByteReverseSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((ByteReverseSegmentedSortedArray) leftSsa, (ByteReverseSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(ByteReverseSegmentedSortedArray leftSsa, ByteReverseSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(ByteReverseSegmentedSortedArray leftSsa, ByteReverseSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -47,8 +51,7 @@ private static void processEntry(ByteReverseSegmentedSortedArray leftSsa, ByteRe if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -63,7 +66,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final byte nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -78,7 +82,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, ByteReve } } - private static void fillWithValue(WritableRowRedirection rowRedirection, ByteReverseSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, ByteReverseSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -86,13 +91,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, ByteRev } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((ByteReverseSegmentedSortedArray)leftSsa, rightStampChunk.asByteChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((ByteReverseSegmentedSortedArray) leftSsa, rightStampChunk.asByteChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(ByteReverseSegmentedSortedArray leftSsa, ByteChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(ByteReverseSegmentedSortedArray leftSsa, ByteChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final ByteReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -139,15 +149,22 @@ static private void processRemovals(ByteReverseSegmentedSortedArray leftSsa, Byt } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((ByteReverseSegmentedSortedArray)leftSsa, rightStampChunk.asByteChunk(), rightKeys, nextRightValue.asByteChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((ByteReverseSegmentedSortedArray) leftSsa, rightStampChunk.asByteChunk(), rightKeys, + nextRightValue.asByteChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(ByteReverseSegmentedSortedArray leftSsa, ByteChunk rightStampChunk, LongChunk rightKeys, ByteChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(ByteReverseSegmentedSortedArray leftSsa, ByteChunk rightStampChunk, + LongChunk rightKeys, ByteChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final ByteReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -203,11 +220,16 @@ static private void processInsertion(ByteReverseSegmentedSortedArray leftSsa, By } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((ByteReverseSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asByteChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((ByteReverseSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asByteChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(ByteReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, ByteChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(ByteReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + ByteChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final ByteReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -242,11 +264,16 @@ private static void findModified(ByteReverseSegmentedSortedArray leftSsa, RowRed } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((ByteReverseSegmentedSortedArray)leftSsa, rightStampChunk.asByteChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((ByteReverseSegmentedSortedArray) leftSsa, rightStampChunk.asByteChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(ByteReverseSegmentedSortedArray leftSsa, ByteChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(ByteReverseSegmentedSortedArray leftSsa, ByteChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final ByteReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteSegmentedSortedArray.java index 8a5e520801e..0c1c87b963a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteSegmentedSortedArray.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -24,14 +23,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the byte values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the byte values, and then on the corresponding row + * key. */ public final class ByteSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -41,16 +40,16 @@ public final class ByteSegmentedSortedArray implements SegmentedSortedArray { private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private byte [] directoryValues; - private long [] directoryRowKeys; + private byte[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private byte [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private byte[][] leafValues; + private long[][] leafRowKeys; /** * Create a ByteSegmentedSortedArray with the given leafSize. @@ -69,7 +68,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asByteChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asByteChunk(), rowKeysToInsert, nextValue.asWritableByteChunk()); @@ -78,13 +78,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(ByteChunk stampValues, LongChunk stampRowKeys, WritableByteChunk nextValues) { + private int findNext(ByteChunk stampValues, LongChunk stampRowKeys, + WritableByteChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -116,14 +117,17 @@ private int findNext(ByteChunk stampValues, LongChunk int findNextOneLeaf(int offset, ByteChunk stampValues, LongChunk stampRowKeys, WritableByteChunk nextValues, int leafSize, byte [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, ByteChunk stampValues, + LongChunk stampRowKeys, WritableByteChunk nextValues, int leafSize, byte[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -144,7 +148,7 @@ private static int findNextOneLeaf(int offset, ByteChunk stam } /** - * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. + * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. * * @param valuesToInsert the valuesToInsert to insert (must be sorted, with ties broken by the row key) * @param rowKeysToInsert the corresponding rowKeysToInsert @@ -181,12 +185,15 @@ void insert(ByteChunk valuesToInsert, LongChunk leafValuesInsertChunk = ResettableByteChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -194,7 +201,8 @@ void insert(ByteChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, byte[] leafValues, ByteChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, byte[] leafValues, ByteChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, byte[] leafValues, ByteChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -412,7 +426,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, ByteChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + ByteChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -423,7 +438,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new byte[leafSize]; @@ -450,11 +465,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -524,7 +539,8 @@ private void makeLeavesInitial(ByteChunk values, LongChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, byte[] leafValues, ByteChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -574,11 +590,12 @@ private void insertIntoLeaf(int leafSize, byte [] leafValues, ByteChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -587,17 +604,20 @@ private void insertIntoLeaf(int leafSize, byte [] leafValues, ByteChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -613,8 +633,7 @@ private void insertIntoLeaf(int leafSize, byte [] leafValues, ByteChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final byte searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -625,13 +644,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -652,7 +673,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, byte[] leafValues, ByteChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, byte[] leafValues, ByteChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final byte firstInsertValue = insertValues.get(0); final byte lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -674,7 +696,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, byte [] leafValues, ByteChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, byte[] leafValues, ByteChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -684,7 +708,7 @@ private void removeFromLeaf(int leafSize, byte [] leafValues, ByteChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, byte searchValue, long searchKey) { + private static int lowerBound(ByteChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, byte searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final byte testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -751,7 +777,8 @@ private static int lowerBound(ByteChunk valuesToSearch, LongChunk return lo; } - private static int upperBound(ByteChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, byte searchValue, long searchKey) { + private static int upperBound(ByteChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, byte searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final byte testValue = valuesToSearch.get(mid); @@ -770,12 +797,13 @@ private static int upperBound(ByteChunk valuesToSearch, LongChunk return lo; } - private static int lowerBound(byte [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, byte searchValue, long searchKey) { + private static int lowerBound(byte[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, byte searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final byte testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -811,20 +839,21 @@ private static int upperBound(byte[] valuesToSearch, int lo, int hi, byte search /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(byte [] valuesToSearch, long [] rowKeysToSearch, final byte searchValue, long searchRowKey, int lo, int hi) { + private static int bound(byte[] valuesToSearch, long[] rowKeysToSearch, final byte searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final byte testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -842,7 +871,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asByteChunk(), rowKeysToRemove, priorRedirections); } @@ -851,13 +881,15 @@ private void remove(ByteChunk valuesToRemove, LongChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(ByteChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -877,11 +909,13 @@ private void removeAndGetNextInternal(ByteChunk valuesToRemove, L } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableByteChunk leafValuesRemoveChunk = ResettableByteChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -889,7 +923,9 @@ private void removeAndGetNextInternal(ByteChunk valuesToRemove, L while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -897,7 +933,8 @@ private void removeAndGetNextInternal(ByteChunk valuesToRemove, L } else { final byte leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -905,7 +942,8 @@ private void removeAndGetNextInternal(ByteChunk valuesToRemove, L if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -919,14 +957,18 @@ private void removeAndGetNextInternal(ByteChunk valuesToRemove, L priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -951,18 +993,23 @@ private void removeAndGetNextInternal(ByteChunk valuesToRemove, L } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1037,11 +1084,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asByteChunk(), keyChunk, shiftDelta); } - private void applyShift(ByteChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(ByteChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1052,11 +1101,13 @@ private void applyShift(ByteChunk stampChunk, LongChunk leafValuesChunk = ResettableByteChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1064,7 +1115,8 @@ private void applyShift(ByteChunk stampChunk, LongChunk stampChunk, LongChunk= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1088,15 +1142,17 @@ private void applyShift(ByteChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, byte[] leafValues, ByteChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1114,7 +1170,8 @@ private void shiftLeaf(int leafSize, byte [] leafValues, ByteChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(ByteChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1143,11 +1201,13 @@ private void applyShiftReverse(ByteChunk stampChunk, LongChunk leafValuesChunk = ResettableByteChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1155,15 +1215,20 @@ private void applyShiftReverse(ByteChunk stampChunk, LongChunk stampChunk, LongChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, byte[] leafValues, ByteChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1210,7 +1278,8 @@ private void shiftLeafReverse(int leafSize, byte [] leafValues, ByteChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1640,9 +1709,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1679,7 +1748,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(byte value) { if (disallowExactMatch) { @@ -1695,26 +1765,31 @@ private void findInLeaf(byte value) { private void findLastInLeaf(byte value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(byte value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } @@ -1760,4 +1835,4 @@ public long getLast() { public SsaChecker makeChecker() { return ByteSsaChecker.INSTANCE; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteSsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteSsaChecker.java index 6d0640e0141..060c0f51f24 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteSsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteSsaChecker.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaChecker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsaChecker and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -26,16 +25,18 @@ public class ByteSsaChecker implements SsaChecker { private ByteSsaChecker() {} // static use only @Override - public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, LongChunk tableIndexChunk) { - checkSsa((ByteSegmentedSortedArray)ssa, valueChunk.asByteChunk(), tableIndexChunk); + public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, + LongChunk tableIndexChunk) { + checkSsa((ByteSegmentedSortedArray) ssa, valueChunk.asByteChunk(), tableIndexChunk); } - static void checkSsa(ByteSegmentedSortedArray ssa, ByteChunk valueChunk, LongChunk tableIndexChunk) { + static void checkSsa(ByteSegmentedSortedArray ssa, ByteChunk valueChunk, + LongChunk tableIndexChunk) { ssa.validateInternal(); - //noinspection unchecked + // noinspection unchecked try (final WritableByteChunk resultChunk = (WritableByteChunk) ssa.asByteChunk(); - final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { + final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { Assert.eq(valueChunk.size(), "valueChunk.size()", resultChunk.size(), "resultChunk.size()"); Assert.eq(tableIndexChunk.size(), "tableIndexChunk.size()", indexChunk.size(), "indexChunk.size()"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteSsaSsaStamp.java index 5330e9cb4b6..2f86d8d8d8d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ByteSsaSsaStamp.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsaSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -26,11 +25,14 @@ public class ByteSsaSsaStamp implements SsaSsaStamp { private ByteSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((ByteSegmentedSortedArray)leftSsa, (ByteSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((ByteSegmentedSortedArray) leftSsa, (ByteSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(ByteSegmentedSortedArray leftSsa, ByteSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(ByteSegmentedSortedArray leftSsa, ByteSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -47,8 +49,7 @@ private static void processEntry(ByteSegmentedSortedArray leftSsa, ByteSegmented if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -63,7 +64,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final byte nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -78,7 +80,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, ByteSegm } } - private static void fillWithValue(WritableRowRedirection rowRedirection, ByteSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, ByteSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -86,13 +89,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, ByteSeg } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((ByteSegmentedSortedArray)leftSsa, rightStampChunk.asByteChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((ByteSegmentedSortedArray) leftSsa, rightStampChunk.asByteChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(ByteSegmentedSortedArray leftSsa, ByteChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(ByteSegmentedSortedArray leftSsa, ByteChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final ByteSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -139,15 +147,22 @@ static private void processRemovals(ByteSegmentedSortedArray leftSsa, ByteChunk< } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((ByteSegmentedSortedArray)leftSsa, rightStampChunk.asByteChunk(), rightKeys, nextRightValue.asByteChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((ByteSegmentedSortedArray) leftSsa, rightStampChunk.asByteChunk(), rightKeys, + nextRightValue.asByteChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(ByteSegmentedSortedArray leftSsa, ByteChunk rightStampChunk, LongChunk rightKeys, ByteChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(ByteSegmentedSortedArray leftSsa, ByteChunk rightStampChunk, + LongChunk rightKeys, ByteChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final ByteSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -203,11 +218,16 @@ static private void processInsertion(ByteSegmentedSortedArray leftSsa, ByteChunk } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((ByteSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asByteChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((ByteSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asByteChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(ByteSegmentedSortedArray leftSsa, RowRedirection rowRedirection, ByteChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(ByteSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + ByteChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final ByteSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -242,11 +262,16 @@ private static void findModified(ByteSegmentedSortedArray leftSsa, RowRedirectio } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((ByteSegmentedSortedArray)leftSsa, rightStampChunk.asByteChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((ByteSegmentedSortedArray) leftSsa, rightStampChunk.asByteChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(ByteSegmentedSortedArray leftSsa, ByteChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(ByteSegmentedSortedArray leftSsa, ByteChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final ByteSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharChunkSsaStamp.java index cc9dbce9655..5632669cd03 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharChunkSsaStamp.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -20,11 +20,14 @@ public class CharChunkSsaStamp implements ChunkSsaStamp { private CharChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asCharChunk(), leftStampKeys, (CharSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asCharChunk(), leftStampKeys, (CharSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(CharChunk leftStampValues, Chunk leftStampKeys, CharSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(CharChunk leftStampValues, Chunk leftStampKeys, + CharSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -35,14 +38,13 @@ private static void processEntry(CharChunk leftStampValues, Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(CharChunk leftStampValues, LongChunk leftStampKeys, CharChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(CharChunk leftStampValues, LongChunk leftStampKeys, + CharChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -101,15 +111,24 @@ private static void processRemovals(CharChunk leftStampValues, LongChunk } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightKeys, nextRightValue.asCharChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightKeys, + nextRightValue.asCharChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(CharChunk leftStampValues, LongChunk leftStampKeys, CharChunk rightStampChunk, LongChunk rightKeys, CharChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(CharChunk leftStampValues, LongChunk leftStampKeys, + CharChunk rightStampChunk, LongChunk rightKeys, CharChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -146,11 +165,16 @@ private static void processInsertion(CharChunk leftStampValues, LongChun } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asCharChunk(), leftStampKeys, rowRedirection, rightStampChunk.asCharChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asCharChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asCharChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, CharChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, CharChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, CharChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, CharChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final char rightStampValue = rightStampChunk.get(ii); @@ -159,7 +183,8 @@ private static int findModified(int leftLowIdx, CharChunk leftStampValue final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -169,11 +194,16 @@ private static int findModified(int leftLowIdx, CharChunk leftStampValue } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(CharChunk leftStampValues, LongChunk leftStampKeys, CharChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(CharChunk leftStampValues, LongChunk leftStampKeys, + CharChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final char rightStampValue = rightStampChunk.get(ii); @@ -183,14 +213,16 @@ private void applyShift(CharChunk leftStampValues, LongChunk le final long rightStampKey = rightStampKeys.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { rowRedirection.putVoid(leftStampKeys.get(checkIdx), rightStampKey + shiftDelta); checkIdx++; } } } - private static int findFirstResponsiveLeft(int leftLowIdx, CharChunk leftStampValues, boolean disallowExactMatch, char rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, CharChunk leftStampValues, + boolean disallowExactMatch, char rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharReverseChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharReverseChunkSsaStamp.java index b243d840964..e10a59d396f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharReverseChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharReverseChunkSsaStamp.java @@ -1,6 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkSsaStamp and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -20,11 +26,14 @@ public class CharReverseChunkSsaStamp implements ChunkSsaStamp { private CharReverseChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asCharChunk(), leftStampKeys, (CharReverseSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asCharChunk(), leftStampKeys, (CharReverseSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(CharChunk leftStampValues, Chunk leftStampKeys, CharReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(CharChunk leftStampValues, Chunk leftStampKeys, + CharReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -35,14 +44,13 @@ private static void processEntry(CharChunk leftStampValues, Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(CharChunk leftStampValues, LongChunk leftStampKeys, CharChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(CharChunk leftStampValues, LongChunk leftStampKeys, + CharChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -101,15 +117,24 @@ private static void processRemovals(CharChunk leftStampValues, LongChunk } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightKeys, nextRightValue.asCharChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightKeys, + nextRightValue.asCharChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(CharChunk leftStampValues, LongChunk leftStampKeys, CharChunk rightStampChunk, LongChunk rightKeys, CharChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(CharChunk leftStampValues, LongChunk leftStampKeys, + CharChunk rightStampChunk, LongChunk rightKeys, CharChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -146,11 +171,16 @@ private static void processInsertion(CharChunk leftStampValues, LongChun } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asCharChunk(), leftStampKeys, rowRedirection, rightStampChunk.asCharChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asCharChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asCharChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, CharChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, CharChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, CharChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, CharChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final char rightStampValue = rightStampChunk.get(ii); @@ -159,7 +189,8 @@ private static int findModified(int leftLowIdx, CharChunk leftStampValue final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -169,11 +200,16 @@ private static int findModified(int leftLowIdx, CharChunk leftStampValue } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(CharChunk leftStampValues, LongChunk leftStampKeys, CharChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(CharChunk leftStampValues, LongChunk leftStampKeys, + CharChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final char rightStampValue = rightStampChunk.get(ii); @@ -183,14 +219,16 @@ private void applyShift(CharChunk leftStampValues, LongChunk le final long rightStampKey = rightStampKeys.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { rowRedirection.putVoid(leftStampKeys.get(checkIdx), rightStampKey + shiftDelta); checkIdx++; } } } - private static int findFirstResponsiveLeft(int leftLowIdx, CharChunk leftStampValues, boolean disallowExactMatch, char rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, CharChunk leftStampValues, + boolean disallowExactMatch, char rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharReverseSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharReverseSegmentedSortedArray.java index 063f50a14ea..6a2e4ac372e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharReverseSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharReverseSegmentedSortedArray.java @@ -1,6 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -19,14 +25,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the char values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the char values, and then on the corresponding row + * key. */ public final class CharReverseSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -36,16 +42,16 @@ public final class CharReverseSegmentedSortedArray implements SegmentedSortedArr private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private char [] directoryValues; - private long [] directoryRowKeys; + private char[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private char [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private char[][] leafValues; + private long[][] leafRowKeys; /** * Create a CharReverseSegmentedSortedArray with the given leafSize. @@ -64,7 +70,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asCharChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asCharChunk(), rowKeysToInsert, nextValue.asWritableCharChunk()); @@ -73,13 +80,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(CharChunk stampValues, LongChunk stampRowKeys, WritableCharChunk nextValues) { + private int findNext(CharChunk stampValues, LongChunk stampRowKeys, + WritableCharChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -111,14 +119,17 @@ private int findNext(CharChunk stampValues, LongChunk int findNextOneLeaf(int offset, CharChunk stampValues, LongChunk stampRowKeys, WritableCharChunk nextValues, int leafSize, char [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, CharChunk stampValues, + LongChunk stampRowKeys, WritableCharChunk nextValues, int leafSize, char[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -139,7 +150,7 @@ private static int findNextOneLeaf(int offset, CharChunk stam } /** - * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. + * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. * * @param valuesToInsert the valuesToInsert to insert (must be sorted, with ties broken by the row key) * @param rowKeysToInsert the corresponding rowKeysToInsert @@ -176,12 +187,15 @@ void insert(CharChunk valuesToInsert, LongChunk leafValuesInsertChunk = ResettableCharChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -189,7 +203,8 @@ void insert(CharChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, char[] leafValues, CharChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, char[] leafValues, CharChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, char[] leafValues, CharChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -407,7 +428,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, CharChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + CharChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -418,7 +440,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new char[leafSize]; @@ -445,11 +467,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -519,7 +541,8 @@ private void makeLeavesInitial(CharChunk values, LongChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, char[] leafValues, CharChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -569,11 +592,12 @@ private void insertIntoLeaf(int leafSize, char [] leafValues, CharChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -582,17 +606,20 @@ private void insertIntoLeaf(int leafSize, char [] leafValues, CharChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -608,8 +635,7 @@ private void insertIntoLeaf(int leafSize, char [] leafValues, CharChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final char searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -620,13 +646,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -647,7 +675,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, char[] leafValues, CharChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, char[] leafValues, CharChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final char firstInsertValue = insertValues.get(0); final char lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -669,7 +698,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, char [] leafValues, CharChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, char[] leafValues, CharChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -679,7 +710,7 @@ private void removeFromLeaf(int leafSize, char [] leafValues, CharChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, char searchValue, long searchKey) { + private static int lowerBound(CharChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, char searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -746,7 +779,8 @@ private static int lowerBound(CharChunk valuesToSearch, LongChunk return lo; } - private static int upperBound(CharChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, char searchValue, long searchKey) { + private static int upperBound(CharChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, char searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch.get(mid); @@ -765,12 +799,13 @@ private static int upperBound(CharChunk valuesToSearch, LongChunk return lo; } - private static int lowerBound(char [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, char searchValue, long searchKey) { + private static int lowerBound(char[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, char searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -806,20 +841,21 @@ private static int upperBound(char[] valuesToSearch, int lo, int hi, char search /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(char [] valuesToSearch, long [] rowKeysToSearch, final char searchValue, long searchRowKey, int lo, int hi) { + private static int bound(char[] valuesToSearch, long[] rowKeysToSearch, final char searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -837,7 +873,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asCharChunk(), rowKeysToRemove, priorRedirections); } @@ -846,13 +883,15 @@ private void remove(CharChunk valuesToRemove, LongChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(CharChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -872,11 +911,13 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableCharChunk leafValuesRemoveChunk = ResettableCharChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -884,7 +925,9 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -892,7 +935,8 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L } else { final char leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -900,7 +944,8 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -914,14 +959,18 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -946,18 +995,23 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1032,11 +1086,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asCharChunk(), keyChunk, shiftDelta); } - private void applyShift(CharChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(CharChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1047,11 +1103,13 @@ private void applyShift(CharChunk stampChunk, LongChunk leafValuesChunk = ResettableCharChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1059,7 +1117,8 @@ private void applyShift(CharChunk stampChunk, LongChunk stampChunk, LongChunk= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1083,15 +1144,17 @@ private void applyShift(CharChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, char[] leafValues, CharChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1109,7 +1172,8 @@ private void shiftLeaf(int leafSize, char [] leafValues, CharChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(CharChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1138,11 +1203,13 @@ private void applyShiftReverse(CharChunk stampChunk, LongChunk leafValuesChunk = ResettableCharChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1150,15 +1217,20 @@ private void applyShiftReverse(CharChunk stampChunk, LongChunk stampChunk, LongChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, char[] leafValues, CharChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1205,7 +1280,8 @@ private void shiftLeafReverse(int leafSize, char [] leafValues, CharChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1636,9 +1712,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1675,7 +1751,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(char value) { if (disallowExactMatch) { @@ -1691,26 +1768,31 @@ private void findInLeaf(char value) { private void findLastInLeaf(char value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(char value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharReverseSsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharReverseSsaChecker.java index ec6d795cc31..ef6abd7b5e9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharReverseSsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharReverseSsaChecker.java @@ -1,6 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsaChecker and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -21,16 +27,18 @@ public class CharReverseSsaChecker implements SsaChecker { private CharReverseSsaChecker() {} // static use only @Override - public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, LongChunk tableIndexChunk) { - checkSsa((CharReverseSegmentedSortedArray)ssa, valueChunk.asCharChunk(), tableIndexChunk); + public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, + LongChunk tableIndexChunk) { + checkSsa((CharReverseSegmentedSortedArray) ssa, valueChunk.asCharChunk(), tableIndexChunk); } - static void checkSsa(CharReverseSegmentedSortedArray ssa, CharChunk valueChunk, LongChunk tableIndexChunk) { + static void checkSsa(CharReverseSegmentedSortedArray ssa, CharChunk valueChunk, + LongChunk tableIndexChunk) { ssa.validateInternal(); - //noinspection unchecked + // noinspection unchecked try (final WritableCharChunk resultChunk = (WritableCharChunk) ssa.asCharChunk(); - final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { + final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { Assert.eq(valueChunk.size(), "valueChunk.size()", resultChunk.size(), "resultChunk.size()"); Assert.eq(tableIndexChunk.size(), "tableIndexChunk.size()", indexChunk.size(), "indexChunk.size()"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharReverseSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharReverseSsaSsaStamp.java index d78de6f17af..6f76654de85 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharReverseSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharReverseSsaSsaStamp.java @@ -1,6 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsaSsaStamp and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -21,11 +27,14 @@ public class CharReverseSsaSsaStamp implements SsaSsaStamp { private CharReverseSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((CharReverseSegmentedSortedArray)leftSsa, (CharReverseSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((CharReverseSegmentedSortedArray) leftSsa, (CharReverseSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(CharReverseSegmentedSortedArray leftSsa, CharReverseSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(CharReverseSegmentedSortedArray leftSsa, CharReverseSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -42,8 +51,7 @@ private static void processEntry(CharReverseSegmentedSortedArray leftSsa, CharRe if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -58,7 +66,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final char nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -73,7 +82,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, CharReve } } - private static void fillWithValue(WritableRowRedirection rowRedirection, CharReverseSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, CharReverseSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -81,13 +91,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, CharRev } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((CharReverseSegmentedSortedArray)leftSsa, rightStampChunk.asCharChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((CharReverseSegmentedSortedArray) leftSsa, rightStampChunk.asCharChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(CharReverseSegmentedSortedArray leftSsa, CharChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(CharReverseSegmentedSortedArray leftSsa, CharChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final CharReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -134,15 +149,22 @@ static private void processRemovals(CharReverseSegmentedSortedArray leftSsa, Cha } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((CharReverseSegmentedSortedArray)leftSsa, rightStampChunk.asCharChunk(), rightKeys, nextRightValue.asCharChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((CharReverseSegmentedSortedArray) leftSsa, rightStampChunk.asCharChunk(), rightKeys, + nextRightValue.asCharChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(CharReverseSegmentedSortedArray leftSsa, CharChunk rightStampChunk, LongChunk rightKeys, CharChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(CharReverseSegmentedSortedArray leftSsa, CharChunk rightStampChunk, + LongChunk rightKeys, CharChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final CharReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -198,11 +220,16 @@ static private void processInsertion(CharReverseSegmentedSortedArray leftSsa, Ch } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((CharReverseSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asCharChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((CharReverseSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asCharChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(CharReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, CharChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(CharReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + CharChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final CharReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -237,11 +264,16 @@ private static void findModified(CharReverseSegmentedSortedArray leftSsa, RowRed } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((CharReverseSegmentedSortedArray)leftSsa, rightStampChunk.asCharChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((CharReverseSegmentedSortedArray) leftSsa, rightStampChunk.asCharChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(CharReverseSegmentedSortedArray leftSsa, CharChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(CharReverseSegmentedSortedArray leftSsa, CharChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final CharReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharSegmentedSortedArray.java index c653baf6f93..89510635e06 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharSegmentedSortedArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -19,14 +19,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the char values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the char values, and then on the corresponding row + * key. */ public final class CharSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -36,16 +36,16 @@ public final class CharSegmentedSortedArray implements SegmentedSortedArray { private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private char [] directoryValues; - private long [] directoryRowKeys; + private char[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private char [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private char[][] leafValues; + private long[][] leafRowKeys; /** * Create a CharSegmentedSortedArray with the given leafSize. @@ -64,7 +64,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asCharChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asCharChunk(), rowKeysToInsert, nextValue.asWritableCharChunk()); @@ -73,13 +74,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(CharChunk stampValues, LongChunk stampRowKeys, WritableCharChunk nextValues) { + private int findNext(CharChunk stampValues, LongChunk stampRowKeys, + WritableCharChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -111,14 +113,17 @@ private int findNext(CharChunk stampValues, LongChunk int findNextOneLeaf(int offset, CharChunk stampValues, LongChunk stampRowKeys, WritableCharChunk nextValues, int leafSize, char [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, CharChunk stampValues, + LongChunk stampRowKeys, WritableCharChunk nextValues, int leafSize, char[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -139,7 +144,7 @@ private static int findNextOneLeaf(int offset, CharChunk stam } /** - * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. + * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. * * @param valuesToInsert the valuesToInsert to insert (must be sorted, with ties broken by the row key) * @param rowKeysToInsert the corresponding rowKeysToInsert @@ -176,12 +181,15 @@ void insert(CharChunk valuesToInsert, LongChunk leafValuesInsertChunk = ResettableCharChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -189,7 +197,8 @@ void insert(CharChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, char[] leafValues, CharChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, char[] leafValues, CharChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, char[] leafValues, CharChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -407,7 +422,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, CharChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + CharChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -418,7 +434,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new char[leafSize]; @@ -445,11 +461,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -519,7 +535,8 @@ private void makeLeavesInitial(CharChunk values, LongChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, char[] leafValues, CharChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -569,11 +586,12 @@ private void insertIntoLeaf(int leafSize, char [] leafValues, CharChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -582,17 +600,20 @@ private void insertIntoLeaf(int leafSize, char [] leafValues, CharChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -608,8 +629,7 @@ private void insertIntoLeaf(int leafSize, char [] leafValues, CharChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final char searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -620,13 +640,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -647,7 +669,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, char[] leafValues, CharChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, char[] leafValues, CharChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final char firstInsertValue = insertValues.get(0); final char lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -669,7 +692,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, char [] leafValues, CharChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, char[] leafValues, CharChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -679,7 +704,7 @@ private void removeFromLeaf(int leafSize, char [] leafValues, CharChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, char searchValue, long searchKey) { + private static int lowerBound(CharChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, char searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -746,7 +773,8 @@ private static int lowerBound(CharChunk valuesToSearch, LongChunk return lo; } - private static int upperBound(CharChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, char searchValue, long searchKey) { + private static int upperBound(CharChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, char searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch.get(mid); @@ -765,12 +793,13 @@ private static int upperBound(CharChunk valuesToSearch, LongChunk return lo; } - private static int lowerBound(char [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, char searchValue, long searchKey) { + private static int lowerBound(char[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, char searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -806,20 +835,21 @@ private static int upperBound(char[] valuesToSearch, int lo, int hi, char search /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(char [] valuesToSearch, long [] rowKeysToSearch, final char searchValue, long searchRowKey, int lo, int hi) { + private static int bound(char[] valuesToSearch, long[] rowKeysToSearch, final char searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -837,7 +867,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asCharChunk(), rowKeysToRemove, priorRedirections); } @@ -846,13 +877,15 @@ private void remove(CharChunk valuesToRemove, LongChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(CharChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -872,11 +905,13 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableCharChunk leafValuesRemoveChunk = ResettableCharChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -884,7 +919,9 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -892,7 +929,8 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L } else { final char leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -900,7 +938,8 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -914,14 +953,18 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -946,18 +989,23 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1032,11 +1080,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asCharChunk(), keyChunk, shiftDelta); } - private void applyShift(CharChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(CharChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1047,11 +1097,13 @@ private void applyShift(CharChunk stampChunk, LongChunk leafValuesChunk = ResettableCharChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1059,7 +1111,8 @@ private void applyShift(CharChunk stampChunk, LongChunk stampChunk, LongChunk= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1083,15 +1138,17 @@ private void applyShift(CharChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, char[] leafValues, CharChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1109,7 +1166,8 @@ private void shiftLeaf(int leafSize, char [] leafValues, CharChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(CharChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1138,11 +1197,13 @@ private void applyShiftReverse(CharChunk stampChunk, LongChunk leafValuesChunk = ResettableCharChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1150,15 +1211,20 @@ private void applyShiftReverse(CharChunk stampChunk, LongChunk stampChunk, LongChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, char[] leafValues, CharChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1205,7 +1274,8 @@ private void shiftLeafReverse(int leafSize, char [] leafValues, CharChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1635,9 +1705,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1674,7 +1744,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(char value) { if (disallowExactMatch) { @@ -1690,26 +1761,31 @@ private void findInLeaf(char value) { private void findLastInLeaf(char value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(char value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } @@ -1755,4 +1831,4 @@ public long getLast() { public SsaChecker makeChecker() { return CharSsaChecker.INSTANCE; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharSsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharSsaChecker.java index 27534bda6f2..38afc3611e6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharSsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharSsaChecker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -21,16 +21,18 @@ public class CharSsaChecker implements SsaChecker { private CharSsaChecker() {} // static use only @Override - public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, LongChunk tableIndexChunk) { - checkSsa((CharSegmentedSortedArray)ssa, valueChunk.asCharChunk(), tableIndexChunk); + public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, + LongChunk tableIndexChunk) { + checkSsa((CharSegmentedSortedArray) ssa, valueChunk.asCharChunk(), tableIndexChunk); } - static void checkSsa(CharSegmentedSortedArray ssa, CharChunk valueChunk, LongChunk tableIndexChunk) { + static void checkSsa(CharSegmentedSortedArray ssa, CharChunk valueChunk, + LongChunk tableIndexChunk) { ssa.validateInternal(); - //noinspection unchecked + // noinspection unchecked try (final WritableCharChunk resultChunk = (WritableCharChunk) ssa.asCharChunk(); - final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { + final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { Assert.eq(valueChunk.size(), "valueChunk.size()", resultChunk.size(), "resultChunk.size()"); Assert.eq(tableIndexChunk.size(), "tableIndexChunk.size()", indexChunk.size(), "indexChunk.size()"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharSsaSsaStamp.java index 9d06990e263..10b6a74b077 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/CharSsaSsaStamp.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -21,11 +21,14 @@ public class CharSsaSsaStamp implements SsaSsaStamp { private CharSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((CharSegmentedSortedArray)leftSsa, (CharSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((CharSegmentedSortedArray) leftSsa, (CharSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(CharSegmentedSortedArray leftSsa, CharSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(CharSegmentedSortedArray leftSsa, CharSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -42,8 +45,7 @@ private static void processEntry(CharSegmentedSortedArray leftSsa, CharSegmented if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -58,7 +60,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final char nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -73,7 +76,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, CharSegm } } - private static void fillWithValue(WritableRowRedirection rowRedirection, CharSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, CharSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -81,13 +85,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, CharSeg } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((CharSegmentedSortedArray)leftSsa, rightStampChunk.asCharChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((CharSegmentedSortedArray) leftSsa, rightStampChunk.asCharChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(CharSegmentedSortedArray leftSsa, CharChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(CharSegmentedSortedArray leftSsa, CharChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final CharSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -134,15 +143,22 @@ static private void processRemovals(CharSegmentedSortedArray leftSsa, CharChunk< } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((CharSegmentedSortedArray)leftSsa, rightStampChunk.asCharChunk(), rightKeys, nextRightValue.asCharChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((CharSegmentedSortedArray) leftSsa, rightStampChunk.asCharChunk(), rightKeys, + nextRightValue.asCharChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(CharSegmentedSortedArray leftSsa, CharChunk rightStampChunk, LongChunk rightKeys, CharChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(CharSegmentedSortedArray leftSsa, CharChunk rightStampChunk, + LongChunk rightKeys, CharChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final CharSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -198,11 +214,16 @@ static private void processInsertion(CharSegmentedSortedArray leftSsa, CharChunk } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((CharSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asCharChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((CharSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asCharChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(CharSegmentedSortedArray leftSsa, RowRedirection rowRedirection, CharChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(CharSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + CharChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final CharSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -237,11 +258,16 @@ private static void findModified(CharSegmentedSortedArray leftSsa, RowRedirectio } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((CharSegmentedSortedArray)leftSsa, rightStampChunk.asCharChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((CharSegmentedSortedArray) leftSsa, rightStampChunk.asCharChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(CharSegmentedSortedArray leftSsa, CharChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(CharSegmentedSortedArray leftSsa, CharChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final CharSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ChunkSsaStamp.java index c6573063d0a..7f786a7cdc1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ChunkSsaStamp.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleChunkSsaStamp.java index 328d2993c54..d50ebb62eaf 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleChunkSsaStamp.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.compare.DoubleComparisons; @@ -27,11 +26,14 @@ public class DoubleChunkSsaStamp implements ChunkSsaStamp { private DoubleChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asDoubleChunk(), leftStampKeys, (DoubleSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asDoubleChunk(), leftStampKeys, (DoubleSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(DoubleChunk leftStampValues, Chunk leftStampKeys, DoubleSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(DoubleChunk leftStampValues, Chunk leftStampKeys, + DoubleSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -42,14 +44,13 @@ private static void processEntry(DoubleChunk leftStampValues, Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asDoubleChunk(), leftStampKeys, rightStampChunk.asDoubleChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asDoubleChunk(), leftStampKeys, rightStampChunk.asDoubleChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(DoubleChunk leftStampValues, LongChunk leftStampKeys, DoubleChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(DoubleChunk leftStampValues, LongChunk leftStampKeys, + DoubleChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -108,15 +117,24 @@ private static void processRemovals(DoubleChunk leftStampValues, LongChu } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asDoubleChunk(), leftStampKeys, rightStampChunk.asDoubleChunk(), rightKeys, nextRightValue.asDoubleChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asDoubleChunk(), leftStampKeys, rightStampChunk.asDoubleChunk(), rightKeys, + nextRightValue.asDoubleChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(DoubleChunk leftStampValues, LongChunk leftStampKeys, DoubleChunk rightStampChunk, LongChunk rightKeys, DoubleChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(DoubleChunk leftStampValues, LongChunk leftStampKeys, + DoubleChunk rightStampChunk, LongChunk rightKeys, DoubleChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -153,11 +171,16 @@ private static void processInsertion(DoubleChunk leftStampValues, LongCh } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asDoubleChunk(), leftStampKeys, rowRedirection, rightStampChunk.asDoubleChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asDoubleChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asDoubleChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, DoubleChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, DoubleChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, DoubleChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, DoubleChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final double rightStampValue = rightStampChunk.get(ii); @@ -166,7 +189,8 @@ private static int findModified(int leftLowIdx, DoubleChunk leftStampVal final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -176,11 +200,16 @@ private static int findModified(int leftLowIdx, DoubleChunk leftStampVal } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asDoubleChunk(), leftStampKeys, rightStampChunk.asDoubleChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asDoubleChunk(), leftStampKeys, rightStampChunk.asDoubleChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(DoubleChunk leftStampValues, LongChunk leftStampKeys, DoubleChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(DoubleChunk leftStampValues, LongChunk leftStampKeys, + DoubleChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final double rightStampValue = rightStampChunk.get(ii); @@ -190,14 +219,16 @@ private void applyShift(DoubleChunk leftStampValues, LongChunk final long rightStampKey = rightStampKeys.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { rowRedirection.putVoid(leftStampKeys.get(checkIdx), rightStampKey + shiftDelta); checkIdx++; } } } - private static int findFirstResponsiveLeft(int leftLowIdx, DoubleChunk leftStampValues, boolean disallowExactMatch, double rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, DoubleChunk leftStampValues, + boolean disallowExactMatch, double rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleReverseChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleReverseChunkSsaStamp.java index f70bd6fab8e..40bbebf2eb7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleReverseChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleReverseChunkSsaStamp.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DoubleChunkSsaStamp and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.compare.DoubleComparisons; @@ -27,11 +28,14 @@ public class DoubleReverseChunkSsaStamp implements ChunkSsaStamp { private DoubleReverseChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asDoubleChunk(), leftStampKeys, (DoubleReverseSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asDoubleChunk(), leftStampKeys, (DoubleReverseSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(DoubleChunk leftStampValues, Chunk leftStampKeys, DoubleReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(DoubleChunk leftStampValues, Chunk leftStampKeys, + DoubleReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -42,14 +46,13 @@ private static void processEntry(DoubleChunk leftStampValues, Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asDoubleChunk(), leftStampKeys, rightStampChunk.asDoubleChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asDoubleChunk(), leftStampKeys, rightStampChunk.asDoubleChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(DoubleChunk leftStampValues, LongChunk leftStampKeys, DoubleChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(DoubleChunk leftStampValues, LongChunk leftStampKeys, + DoubleChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -108,15 +119,24 @@ private static void processRemovals(DoubleChunk leftStampValues, LongChu } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asDoubleChunk(), leftStampKeys, rightStampChunk.asDoubleChunk(), rightKeys, nextRightValue.asDoubleChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asDoubleChunk(), leftStampKeys, rightStampChunk.asDoubleChunk(), rightKeys, + nextRightValue.asDoubleChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(DoubleChunk leftStampValues, LongChunk leftStampKeys, DoubleChunk rightStampChunk, LongChunk rightKeys, DoubleChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(DoubleChunk leftStampValues, LongChunk leftStampKeys, + DoubleChunk rightStampChunk, LongChunk rightKeys, DoubleChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -153,11 +173,16 @@ private static void processInsertion(DoubleChunk leftStampValues, LongCh } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asDoubleChunk(), leftStampKeys, rowRedirection, rightStampChunk.asDoubleChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asDoubleChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asDoubleChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, DoubleChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, DoubleChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, DoubleChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, DoubleChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final double rightStampValue = rightStampChunk.get(ii); @@ -166,7 +191,8 @@ private static int findModified(int leftLowIdx, DoubleChunk leftStampVal final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -176,11 +202,16 @@ private static int findModified(int leftLowIdx, DoubleChunk leftStampVal } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asDoubleChunk(), leftStampKeys, rightStampChunk.asDoubleChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asDoubleChunk(), leftStampKeys, rightStampChunk.asDoubleChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(DoubleChunk leftStampValues, LongChunk leftStampKeys, DoubleChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(DoubleChunk leftStampValues, LongChunk leftStampKeys, + DoubleChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final double rightStampValue = rightStampChunk.get(ii); @@ -190,14 +221,16 @@ private void applyShift(DoubleChunk leftStampValues, LongChunk final long rightStampKey = rightStampKeys.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { rowRedirection.putVoid(leftStampKeys.get(checkIdx), rightStampKey + shiftDelta); checkIdx++; } } } - private static int findFirstResponsiveLeft(int leftLowIdx, DoubleChunk leftStampValues, boolean disallowExactMatch, double rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, DoubleChunk leftStampValues, + boolean disallowExactMatch, double rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleReverseSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleReverseSegmentedSortedArray.java index f598eac7ee5..f808fbce650 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleReverseSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleReverseSegmentedSortedArray.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DoubleSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.compare.DoubleComparisons; @@ -26,14 +27,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the double values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the double values, and then on the corresponding row + * key. */ public final class DoubleReverseSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -43,16 +44,16 @@ public final class DoubleReverseSegmentedSortedArray implements SegmentedSortedA private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private double [] directoryValues; - private long [] directoryRowKeys; + private double[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private double [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private double[][] leafValues; + private long[][] leafRowKeys; /** * Create a DoubleReverseSegmentedSortedArray with the given leafSize. @@ -71,7 +72,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asDoubleChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asDoubleChunk(), rowKeysToInsert, nextValue.asWritableDoubleChunk()); @@ -80,13 +82,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(DoubleChunk stampValues, LongChunk stampRowKeys, WritableDoubleChunk nextValues) { + private int findNext(DoubleChunk stampValues, LongChunk stampRowKeys, + WritableDoubleChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -118,14 +121,17 @@ private int findNext(DoubleChunk stampValues, LongChunk int findNextOneLeaf(int offset, DoubleChunk stampValues, LongChunk stampRowKeys, WritableDoubleChunk nextValues, int leafSize, double [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, DoubleChunk stampValues, + LongChunk stampRowKeys, WritableDoubleChunk nextValues, int leafSize, double[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -146,7 +152,7 @@ private static int findNextOneLeaf(int offset, DoubleChunk st } /** - * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. + * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. * * @param valuesToInsert the valuesToInsert to insert (must be sorted, with ties broken by the row key) * @param rowKeysToInsert the corresponding rowKeysToInsert @@ -183,12 +189,15 @@ void insert(DoubleChunk valuesToInsert, LongChunk leafValuesInsertChunk = ResettableDoubleChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -196,7 +205,8 @@ void insert(DoubleChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, double[] leafValues, DoubleChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, double[] leafValues, DoubleChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, double[] leafValues, DoubleChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -414,7 +430,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, DoubleChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + DoubleChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -425,7 +442,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new double[leafSize]; @@ -452,11 +469,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -526,7 +543,8 @@ private void makeLeavesInitial(DoubleChunk values, LongChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, double[] leafValues, DoubleChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -576,11 +594,12 @@ private void insertIntoLeaf(int leafSize, double [] leafValues, DoubleChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -589,17 +608,20 @@ private void insertIntoLeaf(int leafSize, double [] leafValues, DoubleChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -615,8 +637,7 @@ private void insertIntoLeaf(int leafSize, double [] leafValues, DoubleChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final double searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -627,13 +648,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -654,7 +677,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, double[] leafValues, DoubleChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, double[] leafValues, DoubleChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final double firstInsertValue = insertValues.get(0); final double lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -676,7 +700,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, double [] leafValues, DoubleChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, double[] leafValues, DoubleChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -686,7 +712,7 @@ private void removeFromLeaf(int leafSize, double [] leafValues, DoubleChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, double searchValue, long searchKey) { + private static int lowerBound(DoubleChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, double searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final double testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -753,7 +781,8 @@ private static int lowerBound(DoubleChunk valuesToSearch, LongChu return lo; } - private static int upperBound(DoubleChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, double searchValue, long searchKey) { + private static int upperBound(DoubleChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, double searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final double testValue = valuesToSearch.get(mid); @@ -772,12 +801,13 @@ private static int upperBound(DoubleChunk valuesToSearch, LongChu return lo; } - private static int lowerBound(double [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, double searchValue, long searchKey) { + private static int lowerBound(double[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, double searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final double testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -813,20 +843,21 @@ private static int upperBound(double[] valuesToSearch, int lo, int hi, double se /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(double [] valuesToSearch, long [] rowKeysToSearch, final double searchValue, long searchRowKey, int lo, int hi) { + private static int bound(double[] valuesToSearch, long[] rowKeysToSearch, final double searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final double testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -844,7 +875,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asDoubleChunk(), rowKeysToRemove, priorRedirections); } @@ -853,13 +885,15 @@ private void remove(DoubleChunk valuesToRemove, LongChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(DoubleChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -879,11 +913,13 @@ private void removeAndGetNextInternal(DoubleChunk valuesToRemove, } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableDoubleChunk leafValuesRemoveChunk = ResettableDoubleChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -891,7 +927,9 @@ private void removeAndGetNextInternal(DoubleChunk valuesToRemove, while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -899,7 +937,8 @@ private void removeAndGetNextInternal(DoubleChunk valuesToRemove, } else { final double leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -907,7 +946,8 @@ private void removeAndGetNextInternal(DoubleChunk valuesToRemove, if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -921,14 +961,18 @@ private void removeAndGetNextInternal(DoubleChunk valuesToRemove, priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -953,18 +997,23 @@ private void removeAndGetNextInternal(DoubleChunk valuesToRemove, } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1039,11 +1088,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asDoubleChunk(), keyChunk, shiftDelta); } - private void applyShift(DoubleChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(DoubleChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1054,11 +1105,13 @@ private void applyShift(DoubleChunk stampChunk, LongChunk leafValuesChunk = ResettableDoubleChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1066,7 +1119,8 @@ private void applyShift(DoubleChunk stampChunk, LongChunk stampChunk, LongChunk= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1090,15 +1146,17 @@ private void applyShift(DoubleChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, double[] leafValues, DoubleChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1116,7 +1174,8 @@ private void shiftLeaf(int leafSize, double [] leafValues, DoubleChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(DoubleChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1145,11 +1205,13 @@ private void applyShiftReverse(DoubleChunk stampChunk, LongChunk< shiftLeafReverse(size, directoryValues, stampChunk, directoryRowKeys, keyChunk, shiftDelta); } else { try (final ResettableDoubleChunk leafValuesChunk = ResettableDoubleChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1157,15 +1219,20 @@ private void applyShiftReverse(DoubleChunk stampChunk, LongChunk< } else { final double leafMinValue = leafValues[firstLeaf][0]; final long leafMinRowKey = leafRowKeys[firstLeaf][0]; - firstValueForLeaf = lowerBound(stampChunk, keyChunk, 0, lastValuesPosition + 1, leafMinValue, leafMinRowKey); + firstValueForLeaf = lowerBound(stampChunk, keyChunk, 0, lastValuesPosition + 1, leafMinValue, + leafMinRowKey); double foundValue = stampChunk.get(firstValueForLeaf); - if (lt(foundValue, leafMinValue) || (eq(foundValue, leafMinValue) && keyChunk.get(firstValueForLeaf) < leafMinRowKey)) { + if (lt(foundValue, leafMinValue) + || (eq(foundValue, leafMinValue) && keyChunk.get(firstValueForLeaf) < leafMinRowKey)) { firstValueForLeaf++; foundValue = stampChunk.get(firstValueForLeaf); } - Assert.assertion(geq(foundValue, leafMinValue), "geq(stampChunk.get(firstValueForLeaf), leafMinValue)", foundValue, "foundValue", leafMinValue, "leafMinValue"); + Assert.assertion(geq(foundValue, leafMinValue), + "geq(stampChunk.get(firstValueForLeaf), leafMinValue)", foundValue, "foundValue", + leafMinValue, "leafMinValue"); if (eq(foundValue, leafMinValue)) { - Assert.geq(keyChunk.get(firstValueForLeaf), "keyChunk.get(firstValueForLeaf)", leafMinRowKey, "leafMinRowKey"); + Assert.geq(keyChunk.get(firstValueForLeaf), "keyChunk.get(firstValueForLeaf)", + leafMinRowKey, "leafMinRowKey"); } } @@ -1174,7 +1241,8 @@ private void applyShiftReverse(DoubleChunk stampChunk, LongChunk< leafValuesChunk.resetFromTypedChunk(stampChunk, firstValueForLeaf, count); leafKeyChunk.resetFromTypedChunk(keyChunk, firstValueForLeaf, count); - shiftLeafReverse(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesChunk, leafRowKeys[firstLeaf], leafKeyChunk, shiftDelta); + shiftLeafReverse(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesChunk, + leafRowKeys[firstLeaf], leafKeyChunk, shiftDelta); directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1185,15 +1253,17 @@ private void applyShiftReverse(DoubleChunk stampChunk, LongChunk< validate(); } - private void shiftLeafReverse(int leafSize, double [] leafValues, DoubleChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, double[] leafValues, DoubleChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1212,7 +1282,8 @@ private void shiftLeafReverse(int leafSize, double [] leafValues, DoubleChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1642,9 +1713,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1681,7 +1752,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(double value) { if (disallowExactMatch) { @@ -1697,26 +1769,31 @@ private void findInLeaf(double value) { private void findLastInLeaf(double value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(double value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleReverseSsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleReverseSsaChecker.java index 55009fe6ffd..a5c0aabcc81 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleReverseSsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleReverseSsaChecker.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaChecker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DoubleSsaChecker and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.compare.DoubleComparisons; @@ -28,16 +29,18 @@ public class DoubleReverseSsaChecker implements SsaChecker { private DoubleReverseSsaChecker() {} // static use only @Override - public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, LongChunk tableIndexChunk) { - checkSsa((DoubleReverseSegmentedSortedArray)ssa, valueChunk.asDoubleChunk(), tableIndexChunk); + public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, + LongChunk tableIndexChunk) { + checkSsa((DoubleReverseSegmentedSortedArray) ssa, valueChunk.asDoubleChunk(), tableIndexChunk); } - static void checkSsa(DoubleReverseSegmentedSortedArray ssa, DoubleChunk valueChunk, LongChunk tableIndexChunk) { + static void checkSsa(DoubleReverseSegmentedSortedArray ssa, DoubleChunk valueChunk, + LongChunk tableIndexChunk) { ssa.validateInternal(); - //noinspection unchecked + // noinspection unchecked try (final WritableDoubleChunk resultChunk = (WritableDoubleChunk) ssa.asDoubleChunk(); - final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { + final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { Assert.eq(valueChunk.size(), "valueChunk.size()", resultChunk.size(), "resultChunk.size()"); Assert.eq(tableIndexChunk.size(), "tableIndexChunk.size()", indexChunk.size(), "indexChunk.size()"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleReverseSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleReverseSsaSsaStamp.java index 6a02f08e85a..25414090883 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleReverseSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleReverseSsaSsaStamp.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit DoubleSsaSsaStamp and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.compare.DoubleComparisons; @@ -28,11 +29,14 @@ public class DoubleReverseSsaSsaStamp implements SsaSsaStamp { private DoubleReverseSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((DoubleReverseSegmentedSortedArray)leftSsa, (DoubleReverseSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((DoubleReverseSegmentedSortedArray) leftSsa, (DoubleReverseSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(DoubleReverseSegmentedSortedArray leftSsa, DoubleReverseSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(DoubleReverseSegmentedSortedArray leftSsa, DoubleReverseSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -49,8 +53,7 @@ private static void processEntry(DoubleReverseSegmentedSortedArray leftSsa, Doub if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -65,7 +68,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final double nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -80,7 +84,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, DoubleRe } } - private static void fillWithValue(WritableRowRedirection rowRedirection, DoubleReverseSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, DoubleReverseSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -88,13 +93,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, DoubleR } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((DoubleReverseSegmentedSortedArray)leftSsa, rightStampChunk.asDoubleChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((DoubleReverseSegmentedSortedArray) leftSsa, rightStampChunk.asDoubleChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(DoubleReverseSegmentedSortedArray leftSsa, DoubleChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(DoubleReverseSegmentedSortedArray leftSsa, DoubleChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final DoubleReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -141,15 +151,22 @@ static private void processRemovals(DoubleReverseSegmentedSortedArray leftSsa, D } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((DoubleReverseSegmentedSortedArray)leftSsa, rightStampChunk.asDoubleChunk(), rightKeys, nextRightValue.asDoubleChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((DoubleReverseSegmentedSortedArray) leftSsa, rightStampChunk.asDoubleChunk(), rightKeys, + nextRightValue.asDoubleChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(DoubleReverseSegmentedSortedArray leftSsa, DoubleChunk rightStampChunk, LongChunk rightKeys, DoubleChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(DoubleReverseSegmentedSortedArray leftSsa, DoubleChunk rightStampChunk, + LongChunk rightKeys, DoubleChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final DoubleReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -205,11 +222,16 @@ static private void processInsertion(DoubleReverseSegmentedSortedArray leftSsa, } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((DoubleReverseSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asDoubleChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((DoubleReverseSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asDoubleChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(DoubleReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, DoubleChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(DoubleReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + DoubleChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final DoubleReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -244,11 +266,16 @@ private static void findModified(DoubleReverseSegmentedSortedArray leftSsa, RowR } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((DoubleReverseSegmentedSortedArray)leftSsa, rightStampChunk.asDoubleChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((DoubleReverseSegmentedSortedArray) leftSsa, rightStampChunk.asDoubleChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(DoubleReverseSegmentedSortedArray leftSsa, DoubleChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(DoubleReverseSegmentedSortedArray leftSsa, DoubleChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final DoubleReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleSegmentedSortedArray.java index e86cd0ef38e..e51bc53067c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleSegmentedSortedArray.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.compare.DoubleComparisons; @@ -26,14 +25,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the double values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the double values, and then on the corresponding row + * key. */ public final class DoubleSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -43,16 +42,16 @@ public final class DoubleSegmentedSortedArray implements SegmentedSortedArray { private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private double [] directoryValues; - private long [] directoryRowKeys; + private double[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private double [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private double[][] leafValues; + private long[][] leafRowKeys; /** * Create a DoubleSegmentedSortedArray with the given leafSize. @@ -71,7 +70,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asDoubleChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asDoubleChunk(), rowKeysToInsert, nextValue.asWritableDoubleChunk()); @@ -80,13 +80,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(DoubleChunk stampValues, LongChunk stampRowKeys, WritableDoubleChunk nextValues) { + private int findNext(DoubleChunk stampValues, LongChunk stampRowKeys, + WritableDoubleChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -118,14 +119,17 @@ private int findNext(DoubleChunk stampValues, LongChunk int findNextOneLeaf(int offset, DoubleChunk stampValues, LongChunk stampRowKeys, WritableDoubleChunk nextValues, int leafSize, double [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, DoubleChunk stampValues, + LongChunk stampRowKeys, WritableDoubleChunk nextValues, int leafSize, double[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -146,7 +150,7 @@ private static int findNextOneLeaf(int offset, DoubleChunk st } /** - * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. + * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. * * @param valuesToInsert the valuesToInsert to insert (must be sorted, with ties broken by the row key) * @param rowKeysToInsert the corresponding rowKeysToInsert @@ -183,12 +187,15 @@ void insert(DoubleChunk valuesToInsert, LongChunk leafValuesInsertChunk = ResettableDoubleChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -196,7 +203,8 @@ void insert(DoubleChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, double[] leafValues, DoubleChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, double[] leafValues, DoubleChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, double[] leafValues, DoubleChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -414,7 +428,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, DoubleChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + DoubleChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -425,7 +440,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new double[leafSize]; @@ -452,11 +467,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -526,7 +541,8 @@ private void makeLeavesInitial(DoubleChunk values, LongChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, double[] leafValues, DoubleChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -576,11 +592,12 @@ private void insertIntoLeaf(int leafSize, double [] leafValues, DoubleChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -589,17 +606,20 @@ private void insertIntoLeaf(int leafSize, double [] leafValues, DoubleChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -615,8 +635,7 @@ private void insertIntoLeaf(int leafSize, double [] leafValues, DoubleChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final double searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -627,13 +646,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -654,7 +675,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, double[] leafValues, DoubleChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, double[] leafValues, DoubleChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final double firstInsertValue = insertValues.get(0); final double lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -676,7 +698,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, double [] leafValues, DoubleChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, double[] leafValues, DoubleChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -686,7 +710,7 @@ private void removeFromLeaf(int leafSize, double [] leafValues, DoubleChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, double searchValue, long searchKey) { + private static int lowerBound(DoubleChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, double searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final double testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -753,7 +779,8 @@ private static int lowerBound(DoubleChunk valuesToSearch, LongChu return lo; } - private static int upperBound(DoubleChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, double searchValue, long searchKey) { + private static int upperBound(DoubleChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, double searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final double testValue = valuesToSearch.get(mid); @@ -772,12 +799,13 @@ private static int upperBound(DoubleChunk valuesToSearch, LongChu return lo; } - private static int lowerBound(double [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, double searchValue, long searchKey) { + private static int lowerBound(double[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, double searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final double testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -813,20 +841,21 @@ private static int upperBound(double[] valuesToSearch, int lo, int hi, double se /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(double [] valuesToSearch, long [] rowKeysToSearch, final double searchValue, long searchRowKey, int lo, int hi) { + private static int bound(double[] valuesToSearch, long[] rowKeysToSearch, final double searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final double testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -844,7 +873,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asDoubleChunk(), rowKeysToRemove, priorRedirections); } @@ -853,13 +883,15 @@ private void remove(DoubleChunk valuesToRemove, LongChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(DoubleChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -879,11 +911,13 @@ private void removeAndGetNextInternal(DoubleChunk valuesToRemove, } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableDoubleChunk leafValuesRemoveChunk = ResettableDoubleChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -891,7 +925,9 @@ private void removeAndGetNextInternal(DoubleChunk valuesToRemove, while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -899,7 +935,8 @@ private void removeAndGetNextInternal(DoubleChunk valuesToRemove, } else { final double leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -907,7 +944,8 @@ private void removeAndGetNextInternal(DoubleChunk valuesToRemove, if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -921,14 +959,18 @@ private void removeAndGetNextInternal(DoubleChunk valuesToRemove, priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -953,18 +995,23 @@ private void removeAndGetNextInternal(DoubleChunk valuesToRemove, } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1039,11 +1086,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asDoubleChunk(), keyChunk, shiftDelta); } - private void applyShift(DoubleChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(DoubleChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1054,11 +1103,13 @@ private void applyShift(DoubleChunk stampChunk, LongChunk leafValuesChunk = ResettableDoubleChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1066,7 +1117,8 @@ private void applyShift(DoubleChunk stampChunk, LongChunk stampChunk, LongChunk= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1090,15 +1144,17 @@ private void applyShift(DoubleChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, double[] leafValues, DoubleChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1116,7 +1172,8 @@ private void shiftLeaf(int leafSize, double [] leafValues, DoubleChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(DoubleChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1145,11 +1203,13 @@ private void applyShiftReverse(DoubleChunk stampChunk, LongChunk< shiftLeafReverse(size, directoryValues, stampChunk, directoryRowKeys, keyChunk, shiftDelta); } else { try (final ResettableDoubleChunk leafValuesChunk = ResettableDoubleChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1157,15 +1217,20 @@ private void applyShiftReverse(DoubleChunk stampChunk, LongChunk< } else { final double leafMinValue = leafValues[firstLeaf][0]; final long leafMinRowKey = leafRowKeys[firstLeaf][0]; - firstValueForLeaf = lowerBound(stampChunk, keyChunk, 0, lastValuesPosition + 1, leafMinValue, leafMinRowKey); + firstValueForLeaf = lowerBound(stampChunk, keyChunk, 0, lastValuesPosition + 1, leafMinValue, + leafMinRowKey); double foundValue = stampChunk.get(firstValueForLeaf); - if (lt(foundValue, leafMinValue) || (eq(foundValue, leafMinValue) && keyChunk.get(firstValueForLeaf) < leafMinRowKey)) { + if (lt(foundValue, leafMinValue) + || (eq(foundValue, leafMinValue) && keyChunk.get(firstValueForLeaf) < leafMinRowKey)) { firstValueForLeaf++; foundValue = stampChunk.get(firstValueForLeaf); } - Assert.assertion(geq(foundValue, leafMinValue), "geq(stampChunk.get(firstValueForLeaf), leafMinValue)", foundValue, "foundValue", leafMinValue, "leafMinValue"); + Assert.assertion(geq(foundValue, leafMinValue), + "geq(stampChunk.get(firstValueForLeaf), leafMinValue)", foundValue, "foundValue", + leafMinValue, "leafMinValue"); if (eq(foundValue, leafMinValue)) { - Assert.geq(keyChunk.get(firstValueForLeaf), "keyChunk.get(firstValueForLeaf)", leafMinRowKey, "leafMinRowKey"); + Assert.geq(keyChunk.get(firstValueForLeaf), "keyChunk.get(firstValueForLeaf)", + leafMinRowKey, "leafMinRowKey"); } } @@ -1174,7 +1239,8 @@ private void applyShiftReverse(DoubleChunk stampChunk, LongChunk< leafValuesChunk.resetFromTypedChunk(stampChunk, firstValueForLeaf, count); leafKeyChunk.resetFromTypedChunk(keyChunk, firstValueForLeaf, count); - shiftLeafReverse(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesChunk, leafRowKeys[firstLeaf], leafKeyChunk, shiftDelta); + shiftLeafReverse(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesChunk, + leafRowKeys[firstLeaf], leafKeyChunk, shiftDelta); directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1185,15 +1251,17 @@ private void applyShiftReverse(DoubleChunk stampChunk, LongChunk< validate(); } - private void shiftLeafReverse(int leafSize, double [] leafValues, DoubleChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, double[] leafValues, DoubleChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1212,7 +1280,8 @@ private void shiftLeafReverse(int leafSize, double [] leafValues, DoubleChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1642,9 +1711,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1681,7 +1750,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(double value) { if (disallowExactMatch) { @@ -1697,26 +1767,31 @@ private void findInLeaf(double value) { private void findLastInLeaf(double value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(double value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleSsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleSsaChecker.java index faff3d58b67..d8c63f49d8f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleSsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleSsaChecker.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaChecker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsaChecker and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.compare.DoubleComparisons; @@ -28,16 +27,18 @@ public class DoubleSsaChecker implements SsaChecker { private DoubleSsaChecker() {} // static use only @Override - public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, LongChunk tableIndexChunk) { - checkSsa((DoubleSegmentedSortedArray)ssa, valueChunk.asDoubleChunk(), tableIndexChunk); + public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, + LongChunk tableIndexChunk) { + checkSsa((DoubleSegmentedSortedArray) ssa, valueChunk.asDoubleChunk(), tableIndexChunk); } - static void checkSsa(DoubleSegmentedSortedArray ssa, DoubleChunk valueChunk, LongChunk tableIndexChunk) { + static void checkSsa(DoubleSegmentedSortedArray ssa, DoubleChunk valueChunk, + LongChunk tableIndexChunk) { ssa.validateInternal(); - //noinspection unchecked + // noinspection unchecked try (final WritableDoubleChunk resultChunk = (WritableDoubleChunk) ssa.asDoubleChunk(); - final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { + final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { Assert.eq(valueChunk.size(), "valueChunk.size()", resultChunk.size(), "resultChunk.size()"); Assert.eq(tableIndexChunk.size(), "tableIndexChunk.size()", indexChunk.size(), "indexChunk.size()"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleSsaSsaStamp.java index 167053cef08..4b50d16f17e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/DoubleSsaSsaStamp.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsaSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.compare.DoubleComparisons; @@ -28,11 +27,14 @@ public class DoubleSsaSsaStamp implements SsaSsaStamp { private DoubleSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((DoubleSegmentedSortedArray)leftSsa, (DoubleSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((DoubleSegmentedSortedArray) leftSsa, (DoubleSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(DoubleSegmentedSortedArray leftSsa, DoubleSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(DoubleSegmentedSortedArray leftSsa, DoubleSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -49,8 +51,7 @@ private static void processEntry(DoubleSegmentedSortedArray leftSsa, DoubleSegme if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -65,7 +66,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final double nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -80,7 +82,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, DoubleSe } } - private static void fillWithValue(WritableRowRedirection rowRedirection, DoubleSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, DoubleSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -88,13 +91,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, DoubleS } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((DoubleSegmentedSortedArray)leftSsa, rightStampChunk.asDoubleChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((DoubleSegmentedSortedArray) leftSsa, rightStampChunk.asDoubleChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(DoubleSegmentedSortedArray leftSsa, DoubleChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(DoubleSegmentedSortedArray leftSsa, DoubleChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final DoubleSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -141,15 +149,22 @@ static private void processRemovals(DoubleSegmentedSortedArray leftSsa, DoubleCh } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((DoubleSegmentedSortedArray)leftSsa, rightStampChunk.asDoubleChunk(), rightKeys, nextRightValue.asDoubleChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((DoubleSegmentedSortedArray) leftSsa, rightStampChunk.asDoubleChunk(), rightKeys, + nextRightValue.asDoubleChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(DoubleSegmentedSortedArray leftSsa, DoubleChunk rightStampChunk, LongChunk rightKeys, DoubleChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(DoubleSegmentedSortedArray leftSsa, DoubleChunk rightStampChunk, + LongChunk rightKeys, DoubleChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final DoubleSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -205,11 +220,16 @@ static private void processInsertion(DoubleSegmentedSortedArray leftSsa, DoubleC } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((DoubleSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asDoubleChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((DoubleSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asDoubleChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(DoubleSegmentedSortedArray leftSsa, RowRedirection rowRedirection, DoubleChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(DoubleSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + DoubleChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final DoubleSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -244,11 +264,16 @@ private static void findModified(DoubleSegmentedSortedArray leftSsa, RowRedirect } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((DoubleSegmentedSortedArray)leftSsa, rightStampChunk.asDoubleChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((DoubleSegmentedSortedArray) leftSsa, rightStampChunk.asDoubleChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(DoubleSegmentedSortedArray leftSsa, DoubleChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(DoubleSegmentedSortedArray leftSsa, DoubleChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final DoubleSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatChunkSsaStamp.java index 1c06ed784b9..ce94183465a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatChunkSsaStamp.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.compare.FloatComparisons; @@ -27,11 +26,14 @@ public class FloatChunkSsaStamp implements ChunkSsaStamp { private FloatChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asFloatChunk(), leftStampKeys, (FloatSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asFloatChunk(), leftStampKeys, (FloatSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(FloatChunk leftStampValues, Chunk leftStampKeys, FloatSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(FloatChunk leftStampValues, Chunk leftStampKeys, + FloatSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -42,14 +44,13 @@ private static void processEntry(FloatChunk leftStampValues, Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asFloatChunk(), leftStampKeys, rightStampChunk.asFloatChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asFloatChunk(), leftStampKeys, rightStampChunk.asFloatChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(FloatChunk leftStampValues, LongChunk leftStampKeys, FloatChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(FloatChunk leftStampValues, LongChunk leftStampKeys, + FloatChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -108,15 +117,24 @@ private static void processRemovals(FloatChunk leftStampValues, LongChun } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asFloatChunk(), leftStampKeys, rightStampChunk.asFloatChunk(), rightKeys, nextRightValue.asFloatChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asFloatChunk(), leftStampKeys, rightStampChunk.asFloatChunk(), rightKeys, + nextRightValue.asFloatChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(FloatChunk leftStampValues, LongChunk leftStampKeys, FloatChunk rightStampChunk, LongChunk rightKeys, FloatChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(FloatChunk leftStampValues, LongChunk leftStampKeys, + FloatChunk rightStampChunk, LongChunk rightKeys, FloatChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -153,11 +171,16 @@ private static void processInsertion(FloatChunk leftStampValues, LongChu } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asFloatChunk(), leftStampKeys, rowRedirection, rightStampChunk.asFloatChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asFloatChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asFloatChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, FloatChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, FloatChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, FloatChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, FloatChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final float rightStampValue = rightStampChunk.get(ii); @@ -166,7 +189,8 @@ private static int findModified(int leftLowIdx, FloatChunk leftStampValu final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -176,11 +200,16 @@ private static int findModified(int leftLowIdx, FloatChunk leftStampValu } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asFloatChunk(), leftStampKeys, rightStampChunk.asFloatChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asFloatChunk(), leftStampKeys, rightStampChunk.asFloatChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(FloatChunk leftStampValues, LongChunk leftStampKeys, FloatChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(FloatChunk leftStampValues, LongChunk leftStampKeys, + FloatChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final float rightStampValue = rightStampChunk.get(ii); @@ -190,14 +219,16 @@ private void applyShift(FloatChunk leftStampValues, LongChunk l final long rightStampKey = rightStampKeys.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { rowRedirection.putVoid(leftStampKeys.get(checkIdx), rightStampKey + shiftDelta); checkIdx++; } } } - private static int findFirstResponsiveLeft(int leftLowIdx, FloatChunk leftStampValues, boolean disallowExactMatch, float rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, FloatChunk leftStampValues, + boolean disallowExactMatch, float rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatReverseChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatReverseChunkSsaStamp.java index c91c3f99040..2d31d6bdd90 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatReverseChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatReverseChunkSsaStamp.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatChunkSsaStamp and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.compare.FloatComparisons; @@ -27,11 +28,14 @@ public class FloatReverseChunkSsaStamp implements ChunkSsaStamp { private FloatReverseChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asFloatChunk(), leftStampKeys, (FloatReverseSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asFloatChunk(), leftStampKeys, (FloatReverseSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(FloatChunk leftStampValues, Chunk leftStampKeys, FloatReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(FloatChunk leftStampValues, Chunk leftStampKeys, + FloatReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -42,14 +46,13 @@ private static void processEntry(FloatChunk leftStampValues, Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asFloatChunk(), leftStampKeys, rightStampChunk.asFloatChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asFloatChunk(), leftStampKeys, rightStampChunk.asFloatChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(FloatChunk leftStampValues, LongChunk leftStampKeys, FloatChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(FloatChunk leftStampValues, LongChunk leftStampKeys, + FloatChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -108,15 +119,24 @@ private static void processRemovals(FloatChunk leftStampValues, LongChun } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asFloatChunk(), leftStampKeys, rightStampChunk.asFloatChunk(), rightKeys, nextRightValue.asFloatChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asFloatChunk(), leftStampKeys, rightStampChunk.asFloatChunk(), rightKeys, + nextRightValue.asFloatChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(FloatChunk leftStampValues, LongChunk leftStampKeys, FloatChunk rightStampChunk, LongChunk rightKeys, FloatChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(FloatChunk leftStampValues, LongChunk leftStampKeys, + FloatChunk rightStampChunk, LongChunk rightKeys, FloatChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -153,11 +173,16 @@ private static void processInsertion(FloatChunk leftStampValues, LongChu } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asFloatChunk(), leftStampKeys, rowRedirection, rightStampChunk.asFloatChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asFloatChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asFloatChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, FloatChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, FloatChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, FloatChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, FloatChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final float rightStampValue = rightStampChunk.get(ii); @@ -166,7 +191,8 @@ private static int findModified(int leftLowIdx, FloatChunk leftStampValu final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -176,11 +202,16 @@ private static int findModified(int leftLowIdx, FloatChunk leftStampValu } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asFloatChunk(), leftStampKeys, rightStampChunk.asFloatChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asFloatChunk(), leftStampKeys, rightStampChunk.asFloatChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(FloatChunk leftStampValues, LongChunk leftStampKeys, FloatChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(FloatChunk leftStampValues, LongChunk leftStampKeys, + FloatChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final float rightStampValue = rightStampChunk.get(ii); @@ -190,14 +221,16 @@ private void applyShift(FloatChunk leftStampValues, LongChunk l final long rightStampKey = rightStampKeys.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { rowRedirection.putVoid(leftStampKeys.get(checkIdx), rightStampKey + shiftDelta); checkIdx++; } } } - private static int findFirstResponsiveLeft(int leftLowIdx, FloatChunk leftStampValues, boolean disallowExactMatch, float rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, FloatChunk leftStampValues, + boolean disallowExactMatch, float rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatReverseSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatReverseSegmentedSortedArray.java index cb8013699be..488f0894e4c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatReverseSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatReverseSegmentedSortedArray.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.compare.FloatComparisons; @@ -26,14 +27,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the float values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the float values, and then on the corresponding row + * key. */ public final class FloatReverseSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -43,16 +44,16 @@ public final class FloatReverseSegmentedSortedArray implements SegmentedSortedAr private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private float [] directoryValues; - private long [] directoryRowKeys; + private float[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private float [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private float[][] leafValues; + private long[][] leafRowKeys; /** * Create a FloatReverseSegmentedSortedArray with the given leafSize. @@ -71,7 +72,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asFloatChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asFloatChunk(), rowKeysToInsert, nextValue.asWritableFloatChunk()); @@ -80,13 +82,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(FloatChunk stampValues, LongChunk stampRowKeys, WritableFloatChunk nextValues) { + private int findNext(FloatChunk stampValues, LongChunk stampRowKeys, + WritableFloatChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -118,14 +121,17 @@ private int findNext(FloatChunk stampValues, LongChunk int findNextOneLeaf(int offset, FloatChunk stampValues, LongChunk stampRowKeys, WritableFloatChunk nextValues, int leafSize, float [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, FloatChunk stampValues, + LongChunk stampRowKeys, WritableFloatChunk nextValues, int leafSize, float[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -146,7 +152,7 @@ private static int findNextOneLeaf(int offset, FloatChunk sta } /** - * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. + * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. * * @param valuesToInsert the valuesToInsert to insert (must be sorted, with ties broken by the row key) * @param rowKeysToInsert the corresponding rowKeysToInsert @@ -183,12 +189,15 @@ void insert(FloatChunk valuesToInsert, LongChunk leafValuesInsertChunk = ResettableFloatChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -196,7 +205,8 @@ void insert(FloatChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, float[] leafValues, FloatChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, float[] leafValues, FloatChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, float[] leafValues, FloatChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -414,7 +430,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, FloatChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + FloatChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -425,7 +442,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new float[leafSize]; @@ -452,11 +469,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -526,7 +543,8 @@ private void makeLeavesInitial(FloatChunk values, LongChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, float[] leafValues, FloatChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -576,11 +594,12 @@ private void insertIntoLeaf(int leafSize, float [] leafValues, FloatChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -589,17 +608,20 @@ private void insertIntoLeaf(int leafSize, float [] leafValues, FloatChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -615,8 +637,7 @@ private void insertIntoLeaf(int leafSize, float [] leafValues, FloatChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final float searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -627,13 +648,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -654,7 +677,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, float[] leafValues, FloatChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, float[] leafValues, FloatChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final float firstInsertValue = insertValues.get(0); final float lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -676,7 +700,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, float [] leafValues, FloatChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, float[] leafValues, FloatChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -686,7 +712,7 @@ private void removeFromLeaf(int leafSize, float [] leafValues, FloatChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, float searchValue, long searchKey) { + private static int lowerBound(FloatChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, float searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final float testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -753,7 +781,8 @@ private static int lowerBound(FloatChunk valuesToSearch, LongChun return lo; } - private static int upperBound(FloatChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, float searchValue, long searchKey) { + private static int upperBound(FloatChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, float searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final float testValue = valuesToSearch.get(mid); @@ -772,12 +801,13 @@ private static int upperBound(FloatChunk valuesToSearch, LongChun return lo; } - private static int lowerBound(float [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, float searchValue, long searchKey) { + private static int lowerBound(float[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, float searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final float testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -813,20 +843,21 @@ private static int upperBound(float[] valuesToSearch, int lo, int hi, float sear /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(float [] valuesToSearch, long [] rowKeysToSearch, final float searchValue, long searchRowKey, int lo, int hi) { + private static int bound(float[] valuesToSearch, long[] rowKeysToSearch, final float searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final float testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -844,7 +875,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asFloatChunk(), rowKeysToRemove, priorRedirections); } @@ -853,13 +885,15 @@ private void remove(FloatChunk valuesToRemove, LongChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(FloatChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -879,11 +913,13 @@ private void removeAndGetNextInternal(FloatChunk valuesToRemove, } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableFloatChunk leafValuesRemoveChunk = ResettableFloatChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -891,7 +927,9 @@ private void removeAndGetNextInternal(FloatChunk valuesToRemove, while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -899,7 +937,8 @@ private void removeAndGetNextInternal(FloatChunk valuesToRemove, } else { final float leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -907,7 +946,8 @@ private void removeAndGetNextInternal(FloatChunk valuesToRemove, if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -921,14 +961,18 @@ private void removeAndGetNextInternal(FloatChunk valuesToRemove, priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -953,18 +997,23 @@ private void removeAndGetNextInternal(FloatChunk valuesToRemove, } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1039,11 +1088,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asFloatChunk(), keyChunk, shiftDelta); } - private void applyShift(FloatChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(FloatChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1054,11 +1105,13 @@ private void applyShift(FloatChunk stampChunk, LongChunk leafValuesChunk = ResettableFloatChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1066,7 +1119,8 @@ private void applyShift(FloatChunk stampChunk, LongChunk stampChunk, LongChunk= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1090,15 +1146,17 @@ private void applyShift(FloatChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, float[] leafValues, FloatChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1116,7 +1174,8 @@ private void shiftLeaf(int leafSize, float [] leafValues, FloatChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(FloatChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1145,11 +1205,13 @@ private void applyShiftReverse(FloatChunk stampChunk, LongChunk leafValuesChunk = ResettableFloatChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1157,15 +1219,20 @@ private void applyShiftReverse(FloatChunk stampChunk, LongChunk stampChunk, LongChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, float[] leafValues, FloatChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1212,7 +1282,8 @@ private void shiftLeafReverse(int leafSize, float [] leafValues, FloatChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1642,9 +1713,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1681,7 +1752,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(float value) { if (disallowExactMatch) { @@ -1697,26 +1769,31 @@ private void findInLeaf(float value) { private void findLastInLeaf(float value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(float value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatReverseSsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatReverseSsaChecker.java index 24022a6050f..01a9ba5a4aa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatReverseSsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatReverseSsaChecker.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaChecker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatSsaChecker and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.compare.FloatComparisons; @@ -28,16 +29,18 @@ public class FloatReverseSsaChecker implements SsaChecker { private FloatReverseSsaChecker() {} // static use only @Override - public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, LongChunk tableIndexChunk) { - checkSsa((FloatReverseSegmentedSortedArray)ssa, valueChunk.asFloatChunk(), tableIndexChunk); + public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, + LongChunk tableIndexChunk) { + checkSsa((FloatReverseSegmentedSortedArray) ssa, valueChunk.asFloatChunk(), tableIndexChunk); } - static void checkSsa(FloatReverseSegmentedSortedArray ssa, FloatChunk valueChunk, LongChunk tableIndexChunk) { + static void checkSsa(FloatReverseSegmentedSortedArray ssa, FloatChunk valueChunk, + LongChunk tableIndexChunk) { ssa.validateInternal(); - //noinspection unchecked + // noinspection unchecked try (final WritableFloatChunk resultChunk = (WritableFloatChunk) ssa.asFloatChunk(); - final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { + final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { Assert.eq(valueChunk.size(), "valueChunk.size()", resultChunk.size(), "resultChunk.size()"); Assert.eq(tableIndexChunk.size(), "tableIndexChunk.size()", indexChunk.size(), "indexChunk.size()"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatReverseSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatReverseSsaSsaStamp.java index bc98eb2356d..8b689a61abc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatReverseSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatReverseSsaSsaStamp.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatSsaSsaStamp and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.compare.FloatComparisons; @@ -28,11 +29,14 @@ public class FloatReverseSsaSsaStamp implements SsaSsaStamp { private FloatReverseSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((FloatReverseSegmentedSortedArray)leftSsa, (FloatReverseSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((FloatReverseSegmentedSortedArray) leftSsa, (FloatReverseSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(FloatReverseSegmentedSortedArray leftSsa, FloatReverseSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(FloatReverseSegmentedSortedArray leftSsa, FloatReverseSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -49,8 +53,7 @@ private static void processEntry(FloatReverseSegmentedSortedArray leftSsa, Float if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -65,7 +68,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final float nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -80,7 +84,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, FloatRev } } - private static void fillWithValue(WritableRowRedirection rowRedirection, FloatReverseSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, FloatReverseSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -88,13 +93,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, FloatRe } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((FloatReverseSegmentedSortedArray)leftSsa, rightStampChunk.asFloatChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((FloatReverseSegmentedSortedArray) leftSsa, rightStampChunk.asFloatChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(FloatReverseSegmentedSortedArray leftSsa, FloatChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(FloatReverseSegmentedSortedArray leftSsa, FloatChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final FloatReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -141,15 +151,22 @@ static private void processRemovals(FloatReverseSegmentedSortedArray leftSsa, Fl } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((FloatReverseSegmentedSortedArray)leftSsa, rightStampChunk.asFloatChunk(), rightKeys, nextRightValue.asFloatChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((FloatReverseSegmentedSortedArray) leftSsa, rightStampChunk.asFloatChunk(), rightKeys, + nextRightValue.asFloatChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(FloatReverseSegmentedSortedArray leftSsa, FloatChunk rightStampChunk, LongChunk rightKeys, FloatChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(FloatReverseSegmentedSortedArray leftSsa, FloatChunk rightStampChunk, + LongChunk rightKeys, FloatChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final FloatReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -205,11 +222,16 @@ static private void processInsertion(FloatReverseSegmentedSortedArray leftSsa, F } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((FloatReverseSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asFloatChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((FloatReverseSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asFloatChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(FloatReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, FloatChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(FloatReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + FloatChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final FloatReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -244,11 +266,16 @@ private static void findModified(FloatReverseSegmentedSortedArray leftSsa, RowRe } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((FloatReverseSegmentedSortedArray)leftSsa, rightStampChunk.asFloatChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((FloatReverseSegmentedSortedArray) leftSsa, rightStampChunk.asFloatChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(FloatReverseSegmentedSortedArray leftSsa, FloatChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(FloatReverseSegmentedSortedArray leftSsa, FloatChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final FloatReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatSegmentedSortedArray.java index 40207e00631..f6c7ca0696b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatSegmentedSortedArray.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.compare.FloatComparisons; @@ -26,14 +25,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the float values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the float values, and then on the corresponding row + * key. */ public final class FloatSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -43,16 +42,16 @@ public final class FloatSegmentedSortedArray implements SegmentedSortedArray { private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private float [] directoryValues; - private long [] directoryRowKeys; + private float[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private float [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private float[][] leafValues; + private long[][] leafRowKeys; /** * Create a FloatSegmentedSortedArray with the given leafSize. @@ -71,7 +70,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asFloatChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asFloatChunk(), rowKeysToInsert, nextValue.asWritableFloatChunk()); @@ -80,13 +80,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(FloatChunk stampValues, LongChunk stampRowKeys, WritableFloatChunk nextValues) { + private int findNext(FloatChunk stampValues, LongChunk stampRowKeys, + WritableFloatChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -118,14 +119,17 @@ private int findNext(FloatChunk stampValues, LongChunk int findNextOneLeaf(int offset, FloatChunk stampValues, LongChunk stampRowKeys, WritableFloatChunk nextValues, int leafSize, float [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, FloatChunk stampValues, + LongChunk stampRowKeys, WritableFloatChunk nextValues, int leafSize, float[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -146,7 +150,7 @@ private static int findNextOneLeaf(int offset, FloatChunk sta } /** - * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. + * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. * * @param valuesToInsert the valuesToInsert to insert (must be sorted, with ties broken by the row key) * @param rowKeysToInsert the corresponding rowKeysToInsert @@ -183,12 +187,15 @@ void insert(FloatChunk valuesToInsert, LongChunk leafValuesInsertChunk = ResettableFloatChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -196,7 +203,8 @@ void insert(FloatChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, float[] leafValues, FloatChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, float[] leafValues, FloatChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, float[] leafValues, FloatChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -414,7 +428,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, FloatChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + FloatChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -425,7 +440,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new float[leafSize]; @@ -452,11 +467,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -526,7 +541,8 @@ private void makeLeavesInitial(FloatChunk values, LongChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, float[] leafValues, FloatChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -576,11 +592,12 @@ private void insertIntoLeaf(int leafSize, float [] leafValues, FloatChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -589,17 +606,20 @@ private void insertIntoLeaf(int leafSize, float [] leafValues, FloatChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -615,8 +635,7 @@ private void insertIntoLeaf(int leafSize, float [] leafValues, FloatChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final float searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -627,13 +646,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -654,7 +675,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, float[] leafValues, FloatChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, float[] leafValues, FloatChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final float firstInsertValue = insertValues.get(0); final float lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -676,7 +698,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, float [] leafValues, FloatChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, float[] leafValues, FloatChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -686,7 +710,7 @@ private void removeFromLeaf(int leafSize, float [] leafValues, FloatChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, float searchValue, long searchKey) { + private static int lowerBound(FloatChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, float searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final float testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -753,7 +779,8 @@ private static int lowerBound(FloatChunk valuesToSearch, LongChun return lo; } - private static int upperBound(FloatChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, float searchValue, long searchKey) { + private static int upperBound(FloatChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, float searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final float testValue = valuesToSearch.get(mid); @@ -772,12 +799,13 @@ private static int upperBound(FloatChunk valuesToSearch, LongChun return lo; } - private static int lowerBound(float [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, float searchValue, long searchKey) { + private static int lowerBound(float[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, float searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final float testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -813,20 +841,21 @@ private static int upperBound(float[] valuesToSearch, int lo, int hi, float sear /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(float [] valuesToSearch, long [] rowKeysToSearch, final float searchValue, long searchRowKey, int lo, int hi) { + private static int bound(float[] valuesToSearch, long[] rowKeysToSearch, final float searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final float testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -844,7 +873,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asFloatChunk(), rowKeysToRemove, priorRedirections); } @@ -853,13 +883,15 @@ private void remove(FloatChunk valuesToRemove, LongChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(FloatChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -879,11 +911,13 @@ private void removeAndGetNextInternal(FloatChunk valuesToRemove, } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableFloatChunk leafValuesRemoveChunk = ResettableFloatChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -891,7 +925,9 @@ private void removeAndGetNextInternal(FloatChunk valuesToRemove, while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -899,7 +935,8 @@ private void removeAndGetNextInternal(FloatChunk valuesToRemove, } else { final float leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -907,7 +944,8 @@ private void removeAndGetNextInternal(FloatChunk valuesToRemove, if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -921,14 +959,18 @@ private void removeAndGetNextInternal(FloatChunk valuesToRemove, priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -953,18 +995,23 @@ private void removeAndGetNextInternal(FloatChunk valuesToRemove, } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1039,11 +1086,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asFloatChunk(), keyChunk, shiftDelta); } - private void applyShift(FloatChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(FloatChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1054,11 +1103,13 @@ private void applyShift(FloatChunk stampChunk, LongChunk leafValuesChunk = ResettableFloatChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1066,7 +1117,8 @@ private void applyShift(FloatChunk stampChunk, LongChunk stampChunk, LongChunk= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1090,15 +1144,17 @@ private void applyShift(FloatChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, float[] leafValues, FloatChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1116,7 +1172,8 @@ private void shiftLeaf(int leafSize, float [] leafValues, FloatChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(FloatChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1145,11 +1203,13 @@ private void applyShiftReverse(FloatChunk stampChunk, LongChunk leafValuesChunk = ResettableFloatChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1157,15 +1217,20 @@ private void applyShiftReverse(FloatChunk stampChunk, LongChunk stampChunk, LongChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, float[] leafValues, FloatChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1212,7 +1280,8 @@ private void shiftLeafReverse(int leafSize, float [] leafValues, FloatChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1642,9 +1711,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1681,7 +1750,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(float value) { if (disallowExactMatch) { @@ -1697,26 +1767,31 @@ private void findInLeaf(float value) { private void findLastInLeaf(float value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(float value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatSsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatSsaChecker.java index 2c31d7012ef..53277c2b437 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatSsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatSsaChecker.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaChecker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsaChecker and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.compare.FloatComparisons; @@ -28,16 +27,18 @@ public class FloatSsaChecker implements SsaChecker { private FloatSsaChecker() {} // static use only @Override - public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, LongChunk tableIndexChunk) { - checkSsa((FloatSegmentedSortedArray)ssa, valueChunk.asFloatChunk(), tableIndexChunk); + public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, + LongChunk tableIndexChunk) { + checkSsa((FloatSegmentedSortedArray) ssa, valueChunk.asFloatChunk(), tableIndexChunk); } - static void checkSsa(FloatSegmentedSortedArray ssa, FloatChunk valueChunk, LongChunk tableIndexChunk) { + static void checkSsa(FloatSegmentedSortedArray ssa, FloatChunk valueChunk, + LongChunk tableIndexChunk) { ssa.validateInternal(); - //noinspection unchecked + // noinspection unchecked try (final WritableFloatChunk resultChunk = (WritableFloatChunk) ssa.asFloatChunk(); - final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { + final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { Assert.eq(valueChunk.size(), "valueChunk.size()", resultChunk.size(), "resultChunk.size()"); Assert.eq(tableIndexChunk.size(), "tableIndexChunk.size()", indexChunk.size(), "indexChunk.size()"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatSsaSsaStamp.java index a8f1b5ebca3..42322479776 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/FloatSsaSsaStamp.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsaSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.compare.FloatComparisons; @@ -28,11 +27,14 @@ public class FloatSsaSsaStamp implements SsaSsaStamp { private FloatSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((FloatSegmentedSortedArray)leftSsa, (FloatSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((FloatSegmentedSortedArray) leftSsa, (FloatSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(FloatSegmentedSortedArray leftSsa, FloatSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(FloatSegmentedSortedArray leftSsa, FloatSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -49,8 +51,7 @@ private static void processEntry(FloatSegmentedSortedArray leftSsa, FloatSegment if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -65,7 +66,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final float nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -80,7 +82,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, FloatSeg } } - private static void fillWithValue(WritableRowRedirection rowRedirection, FloatSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, FloatSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -88,13 +91,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, FloatSe } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((FloatSegmentedSortedArray)leftSsa, rightStampChunk.asFloatChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((FloatSegmentedSortedArray) leftSsa, rightStampChunk.asFloatChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(FloatSegmentedSortedArray leftSsa, FloatChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(FloatSegmentedSortedArray leftSsa, FloatChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final FloatSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -141,15 +149,22 @@ static private void processRemovals(FloatSegmentedSortedArray leftSsa, FloatChun } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((FloatSegmentedSortedArray)leftSsa, rightStampChunk.asFloatChunk(), rightKeys, nextRightValue.asFloatChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((FloatSegmentedSortedArray) leftSsa, rightStampChunk.asFloatChunk(), rightKeys, + nextRightValue.asFloatChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(FloatSegmentedSortedArray leftSsa, FloatChunk rightStampChunk, LongChunk rightKeys, FloatChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(FloatSegmentedSortedArray leftSsa, FloatChunk rightStampChunk, + LongChunk rightKeys, FloatChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final FloatSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -205,11 +220,16 @@ static private void processInsertion(FloatSegmentedSortedArray leftSsa, FloatChu } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((FloatSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asFloatChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((FloatSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asFloatChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(FloatSegmentedSortedArray leftSsa, RowRedirection rowRedirection, FloatChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(FloatSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + FloatChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final FloatSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -244,11 +264,16 @@ private static void findModified(FloatSegmentedSortedArray leftSsa, RowRedirecti } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((FloatSegmentedSortedArray)leftSsa, rightStampChunk.asFloatChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((FloatSegmentedSortedArray) leftSsa, rightStampChunk.asFloatChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(FloatSegmentedSortedArray leftSsa, FloatChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(FloatSegmentedSortedArray leftSsa, FloatChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final FloatSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntChunkSsaStamp.java index f12d6d40b37..8ec92581f00 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntChunkSsaStamp.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -25,11 +24,14 @@ public class IntChunkSsaStamp implements ChunkSsaStamp { private IntChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asIntChunk(), leftStampKeys, (IntSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asIntChunk(), leftStampKeys, (IntSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(IntChunk leftStampValues, Chunk leftStampKeys, IntSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(IntChunk leftStampValues, Chunk leftStampKeys, + IntSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -40,14 +42,13 @@ private static void processEntry(IntChunk leftStampValues, Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asIntChunk(), leftStampKeys, rightStampChunk.asIntChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asIntChunk(), leftStampKeys, rightStampChunk.asIntChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(IntChunk leftStampValues, LongChunk leftStampKeys, IntChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(IntChunk leftStampValues, LongChunk leftStampKeys, + IntChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -106,15 +115,24 @@ private static void processRemovals(IntChunk leftStampValues, LongChunk< } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asIntChunk(), leftStampKeys, rightStampChunk.asIntChunk(), rightKeys, nextRightValue.asIntChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asIntChunk(), leftStampKeys, rightStampChunk.asIntChunk(), rightKeys, + nextRightValue.asIntChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(IntChunk leftStampValues, LongChunk leftStampKeys, IntChunk rightStampChunk, LongChunk rightKeys, IntChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(IntChunk leftStampValues, LongChunk leftStampKeys, + IntChunk rightStampChunk, LongChunk rightKeys, IntChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -151,11 +169,16 @@ private static void processInsertion(IntChunk leftStampValues, LongChunk } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asIntChunk(), leftStampKeys, rowRedirection, rightStampChunk.asIntChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asIntChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asIntChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, IntChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, IntChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, IntChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, IntChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final int rightStampValue = rightStampChunk.get(ii); @@ -164,7 +187,8 @@ private static int findModified(int leftLowIdx, IntChunk leftStampValues final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -174,11 +198,16 @@ private static int findModified(int leftLowIdx, IntChunk leftStampValues } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asIntChunk(), leftStampKeys, rightStampChunk.asIntChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asIntChunk(), leftStampKeys, rightStampChunk.asIntChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(IntChunk leftStampValues, LongChunk leftStampKeys, IntChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(IntChunk leftStampValues, LongChunk leftStampKeys, + IntChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final int rightStampValue = rightStampChunk.get(ii); @@ -188,14 +217,16 @@ private void applyShift(IntChunk leftStampValues, LongChunk lef final long rightStampKey = rightStampKeys.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { rowRedirection.putVoid(leftStampKeys.get(checkIdx), rightStampKey + shiftDelta); checkIdx++; } } } - private static int findFirstResponsiveLeft(int leftLowIdx, IntChunk leftStampValues, boolean disallowExactMatch, int rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, IntChunk leftStampValues, + boolean disallowExactMatch, int rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntReverseChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntReverseChunkSsaStamp.java index c0bceddea81..43f0d55c2c9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntReverseChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntReverseChunkSsaStamp.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntChunkSsaStamp and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -25,11 +26,14 @@ public class IntReverseChunkSsaStamp implements ChunkSsaStamp { private IntReverseChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asIntChunk(), leftStampKeys, (IntReverseSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asIntChunk(), leftStampKeys, (IntReverseSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(IntChunk leftStampValues, Chunk leftStampKeys, IntReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(IntChunk leftStampValues, Chunk leftStampKeys, + IntReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -40,14 +44,13 @@ private static void processEntry(IntChunk leftStampValues, Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asIntChunk(), leftStampKeys, rightStampChunk.asIntChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asIntChunk(), leftStampKeys, rightStampChunk.asIntChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(IntChunk leftStampValues, LongChunk leftStampKeys, IntChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(IntChunk leftStampValues, LongChunk leftStampKeys, + IntChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -106,15 +117,24 @@ private static void processRemovals(IntChunk leftStampValues, LongChunk< } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asIntChunk(), leftStampKeys, rightStampChunk.asIntChunk(), rightKeys, nextRightValue.asIntChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asIntChunk(), leftStampKeys, rightStampChunk.asIntChunk(), rightKeys, + nextRightValue.asIntChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(IntChunk leftStampValues, LongChunk leftStampKeys, IntChunk rightStampChunk, LongChunk rightKeys, IntChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(IntChunk leftStampValues, LongChunk leftStampKeys, + IntChunk rightStampChunk, LongChunk rightKeys, IntChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -151,11 +171,16 @@ private static void processInsertion(IntChunk leftStampValues, LongChunk } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asIntChunk(), leftStampKeys, rowRedirection, rightStampChunk.asIntChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asIntChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asIntChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, IntChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, IntChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, IntChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, IntChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final int rightStampValue = rightStampChunk.get(ii); @@ -164,7 +189,8 @@ private static int findModified(int leftLowIdx, IntChunk leftStampValues final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -174,11 +200,16 @@ private static int findModified(int leftLowIdx, IntChunk leftStampValues } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asIntChunk(), leftStampKeys, rightStampChunk.asIntChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asIntChunk(), leftStampKeys, rightStampChunk.asIntChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(IntChunk leftStampValues, LongChunk leftStampKeys, IntChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(IntChunk leftStampValues, LongChunk leftStampKeys, + IntChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final int rightStampValue = rightStampChunk.get(ii); @@ -188,14 +219,16 @@ private void applyShift(IntChunk leftStampValues, LongChunk lef final long rightStampKey = rightStampKeys.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { rowRedirection.putVoid(leftStampKeys.get(checkIdx), rightStampKey + shiftDelta); checkIdx++; } } } - private static int findFirstResponsiveLeft(int leftLowIdx, IntChunk leftStampValues, boolean disallowExactMatch, int rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, IntChunk leftStampValues, + boolean disallowExactMatch, int rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntReverseSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntReverseSegmentedSortedArray.java index 3f2af4a8042..d99310a322a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntReverseSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntReverseSegmentedSortedArray.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -24,14 +25,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the int values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the int values, and then on the corresponding row + * key. */ public final class IntReverseSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -41,16 +42,16 @@ public final class IntReverseSegmentedSortedArray implements SegmentedSortedArra private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private int [] directoryValues; - private long [] directoryRowKeys; + private int[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private int [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private int[][] leafValues; + private long[][] leafRowKeys; /** * Create a IntReverseSegmentedSortedArray with the given leafSize. @@ -69,7 +70,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asIntChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asIntChunk(), rowKeysToInsert, nextValue.asWritableIntChunk()); @@ -78,13 +80,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(IntChunk stampValues, LongChunk stampRowKeys, WritableIntChunk nextValues) { + private int findNext(IntChunk stampValues, LongChunk stampRowKeys, + WritableIntChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -116,14 +119,17 @@ private int findNext(IntChunk stampValues, LongChunk int findNextOneLeaf(int offset, IntChunk stampValues, LongChunk stampRowKeys, WritableIntChunk nextValues, int leafSize, int [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, IntChunk stampValues, + LongChunk stampRowKeys, WritableIntChunk nextValues, int leafSize, int[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -144,7 +150,7 @@ private static int findNextOneLeaf(int offset, IntChunk stamp } /** - * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. + * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. * * @param valuesToInsert the valuesToInsert to insert (must be sorted, with ties broken by the row key) * @param rowKeysToInsert the corresponding rowKeysToInsert @@ -181,12 +187,15 @@ void insert(IntChunk valuesToInsert, LongChunk } } else { try (final ResettableIntChunk leafValuesInsertChunk = ResettableIntChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -194,7 +203,8 @@ void insert(IntChunk valuesToInsert, LongChunk } else { final int leafMaxValue = leafValues[firstLeaf + 1][0]; final long leafMaxRowKey = leafRowKeys[firstLeaf + 1][0]; - lastValueForLeaf = lowerBound(valuesToInsert, rowKeysToInsert, firstValuesPosition, insertSize, leafMaxValue, leafMaxRowKey); + lastValueForLeaf = lowerBound(valuesToInsert, rowKeysToInsert, firstValuesPosition, insertSize, + leafMaxValue, leafMaxRowKey); } @@ -207,7 +217,8 @@ void insert(IntChunk valuesToInsert, LongChunk final int sizeForThisLeaf = count + leafSizes[firstLeaf]; if (sizeForThisLeaf <= leafSize) { - insertIntoLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesInsertChunk, leafRowKeys[firstLeaf], leafKeysInsertChunk); + insertIntoLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesInsertChunk, + leafRowKeys[firstLeaf], leafKeysInsertChunk); leafSizes[firstLeaf] += count; directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -217,7 +228,8 @@ void insert(IntChunk valuesToInsert, LongChunk final int newLeafCount = getDesiredLeafCount(sizeForThisLeaf); final boolean isLastLeaf = firstLeaf == leafCount - 1; makeLeafHole(firstLeaf + 1, newLeafCount - 1); - if (isLastLeaf && isAfterLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesInsertChunk, leafRowKeys[firstLeaf], leafKeysInsertChunk)) { + if (isLastLeaf && isAfterLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], + leafValuesInsertChunk, leafRowKeys[firstLeaf], leafKeysInsertChunk)) { int copyLimit = leafSize - leafSizes[firstLeaf]; int offset = 0; @@ -226,7 +238,8 @@ void insert(IntChunk valuesToInsert, LongChunk leafValues[leaf] = new int[leafSize]; leafRowKeys[leaf] = new long[leafSize]; } - copyToLeaf(leafSizes[leaf], leafValues[leaf], leafValuesInsertChunk, leafRowKeys[leaf], leafKeysInsertChunk, offset, copyLimit); + copyToLeaf(leafSizes[leaf], leafValues[leaf], leafValuesInsertChunk, leafRowKeys[leaf], + leafKeysInsertChunk, offset, copyLimit); final int newLeafSize = leafSizes[leaf] += copyLimit; directoryValues[leaf] = leafValues[leaf][newLeafSize - 1]; @@ -236,7 +249,8 @@ void insert(IntChunk valuesToInsert, LongChunk copyLimit = Math.min(leafSize, leafValuesInsertChunk.size() - offset); } } else { - distributeValues(valuesPerLeaf(sizeForThisLeaf, newLeafCount), firstLeaf, newLeafCount, leafValuesInsertChunk, leafKeysInsertChunk); + distributeValues(valuesPerLeaf(sizeForThisLeaf, newLeafCount), firstLeaf, newLeafCount, + leafValuesInsertChunk, leafKeysInsertChunk); } validateLeafRange(firstLeaf, newLeafCount); } @@ -271,8 +285,8 @@ private void mergeLeaves(int leaf, TIntList leavesToRemove) { copyLeafValues(leaf + 1, leaf, destinationSize, sourceSize, 0); - final int [] tmpValues = leafValues[leaf + 1]; - final long [] tmpRowKeys = leafRowKeys[leaf + 1]; + final int[] tmpValues = leafValues[leaf + 1]; + final long[] tmpRowKeys = leafRowKeys[leaf + 1]; leafValues[leaf + 1] = leafValues[leaf]; leafRowKeys[leaf + 1] = leafRowKeys[leaf]; @@ -298,8 +312,8 @@ private void mergeThreeLeaves(int leaf, TIntList leavesToRemove) { copyLeafValues(leaf + 1, leaf, destinationSize, sourceMiddleSize, 0); copyLeafValues(leaf + 2, leaf, destinationSize + sourceMiddleSize, sourceRightSize, 0); - final int [] tmpValues = leafValues[leaf + 1]; - final long [] tmpRowKeys = leafRowKeys[leaf + 1]; + final int[] tmpValues = leafValues[leaf + 1]; + final long[] tmpRowKeys = leafRowKeys[leaf + 1]; leafValues[leaf + 2] = leafValues[leaf]; leafRowKeys[leaf + 2] = leafRowKeys[leaf]; @@ -344,11 +358,13 @@ private void copyLeavesAndDirectory(int srcPos, int destPos, int length) { System.arraycopy(directoryRowKeys, srcPos, directoryRowKeys, destPos, length); } - private void copyToLeaf(int leafOffset, int[] leafValues, IntChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, int[] leafValues, IntChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, int[] leafValues, IntChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, int[] leafValues, IntChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -412,7 +428,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, IntChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + IntChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -423,7 +440,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new int[leafSize]; @@ -450,11 +467,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -524,7 +541,8 @@ private void makeLeavesInitial(IntChunk values, LongChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, int[] leafValues, IntChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -574,11 +592,12 @@ private void insertIntoLeaf(int leafSize, int [] leafValues, IntChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -587,17 +606,20 @@ private void insertIntoLeaf(int leafSize, int [] leafValues, IntChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -613,8 +635,7 @@ private void insertIntoLeaf(int leafSize, int [] leafValues, IntChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final int searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -625,13 +646,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -652,7 +675,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, int[] leafValues, IntChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, int[] leafValues, IntChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int firstInsertValue = insertValues.get(0); final int lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -674,7 +698,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, int [] leafValues, IntChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, int[] leafValues, IntChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -684,7 +710,7 @@ private void removeFromLeaf(int leafSize, int [] leafValues, IntChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, int searchValue, long searchKey) { + private static int lowerBound(IntChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, int searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final int testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -751,7 +779,8 @@ private static int lowerBound(IntChunk valuesToSearch, LongChunk< return lo; } - private static int upperBound(IntChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, int searchValue, long searchKey) { + private static int upperBound(IntChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, int searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final int testValue = valuesToSearch.get(mid); @@ -770,12 +799,13 @@ private static int upperBound(IntChunk valuesToSearch, LongChunk< return lo; } - private static int lowerBound(int [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, int searchValue, long searchKey) { + private static int lowerBound(int[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, int searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final int testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -811,20 +841,21 @@ private static int upperBound(int[] valuesToSearch, int lo, int hi, int searchVa /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(int [] valuesToSearch, long [] rowKeysToSearch, final int searchValue, long searchRowKey, int lo, int hi) { + private static int bound(int[] valuesToSearch, long[] rowKeysToSearch, final int searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final int testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -842,7 +873,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asIntChunk(), rowKeysToRemove, priorRedirections); } @@ -851,13 +883,15 @@ private void remove(IntChunk valuesToRemove, LongChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(IntChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -877,11 +911,13 @@ private void removeAndGetNextInternal(IntChunk valuesToRemove, Lo } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableIntChunk leafValuesRemoveChunk = ResettableIntChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -889,7 +925,9 @@ private void removeAndGetNextInternal(IntChunk valuesToRemove, Lo while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -897,7 +935,8 @@ private void removeAndGetNextInternal(IntChunk valuesToRemove, Lo } else { final int leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -905,7 +944,8 @@ private void removeAndGetNextInternal(IntChunk valuesToRemove, Lo if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -919,14 +959,18 @@ private void removeAndGetNextInternal(IntChunk valuesToRemove, Lo priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -951,18 +995,23 @@ private void removeAndGetNextInternal(IntChunk valuesToRemove, Lo } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1037,11 +1086,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asIntChunk(), keyChunk, shiftDelta); } - private void applyShift(IntChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(IntChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1052,11 +1103,13 @@ private void applyShift(IntChunk stampChunk, LongChunk leafValuesChunk = ResettableIntChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1064,7 +1117,8 @@ private void applyShift(IntChunk stampChunk, LongChunk stampChunk, LongChunk= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1088,15 +1144,17 @@ private void applyShift(IntChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, int[] leafValues, IntChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1114,7 +1172,8 @@ private void shiftLeaf(int leafSize, int [] leafValues, IntChunk final int searchValue = shiftValues.get(shiftPos); final long searchKey = shiftRowKeys.get(shiftPos); - final int locationToShiftInLeaf = bound(leafValues, leafRowKeys, searchValue, searchKey, leafPos, leafSize); + final int locationToShiftInLeaf = + bound(leafValues, leafRowKeys, searchValue, searchKey, leafPos, leafSize); final int gallopSize = locationToShiftInLeaf - leafPos; @@ -1132,7 +1191,8 @@ private void shiftLeaf(int leafSize, int [] leafValues, IntChunk } } - private void applyShiftReverse(IntChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(IntChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1143,11 +1203,13 @@ private void applyShiftReverse(IntChunk stampChunk, LongChunk leafValuesChunk = ResettableIntChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1155,15 +1217,20 @@ private void applyShiftReverse(IntChunk stampChunk, LongChunk stampChunk, LongChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, int[] leafValues, IntChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1210,7 +1280,8 @@ private void shiftLeafReverse(int leafSize, int [] leafValues, IntChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1641,9 +1712,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1680,7 +1751,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(int value) { if (disallowExactMatch) { @@ -1696,26 +1768,31 @@ private void findInLeaf(int value) { private void findLastInLeaf(int value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(int value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntReverseSsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntReverseSsaChecker.java index 0f31189dd54..aed5f9ee093 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntReverseSsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntReverseSsaChecker.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaChecker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntSsaChecker and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -26,16 +27,18 @@ public class IntReverseSsaChecker implements SsaChecker { private IntReverseSsaChecker() {} // static use only @Override - public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, LongChunk tableIndexChunk) { - checkSsa((IntReverseSegmentedSortedArray)ssa, valueChunk.asIntChunk(), tableIndexChunk); + public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, + LongChunk tableIndexChunk) { + checkSsa((IntReverseSegmentedSortedArray) ssa, valueChunk.asIntChunk(), tableIndexChunk); } - static void checkSsa(IntReverseSegmentedSortedArray ssa, IntChunk valueChunk, LongChunk tableIndexChunk) { + static void checkSsa(IntReverseSegmentedSortedArray ssa, IntChunk valueChunk, + LongChunk tableIndexChunk) { ssa.validateInternal(); - //noinspection unchecked + // noinspection unchecked try (final WritableIntChunk resultChunk = (WritableIntChunk) ssa.asIntChunk(); - final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { + final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { Assert.eq(valueChunk.size(), "valueChunk.size()", resultChunk.size(), "resultChunk.size()"); Assert.eq(tableIndexChunk.size(), "tableIndexChunk.size()", indexChunk.size(), "indexChunk.size()"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntReverseSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntReverseSsaSsaStamp.java index 864dbf0ca57..d610084727b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntReverseSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntReverseSsaSsaStamp.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntSsaSsaStamp and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -26,11 +27,14 @@ public class IntReverseSsaSsaStamp implements SsaSsaStamp { private IntReverseSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((IntReverseSegmentedSortedArray)leftSsa, (IntReverseSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((IntReverseSegmentedSortedArray) leftSsa, (IntReverseSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(IntReverseSegmentedSortedArray leftSsa, IntReverseSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(IntReverseSegmentedSortedArray leftSsa, IntReverseSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -47,8 +51,7 @@ private static void processEntry(IntReverseSegmentedSortedArray leftSsa, IntReve if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -63,7 +66,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final int nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -78,7 +82,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, IntRever } } - private static void fillWithValue(WritableRowRedirection rowRedirection, IntReverseSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, IntReverseSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -86,13 +91,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, IntReve } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((IntReverseSegmentedSortedArray)leftSsa, rightStampChunk.asIntChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((IntReverseSegmentedSortedArray) leftSsa, rightStampChunk.asIntChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(IntReverseSegmentedSortedArray leftSsa, IntChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(IntReverseSegmentedSortedArray leftSsa, IntChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final IntReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -139,15 +149,22 @@ static private void processRemovals(IntReverseSegmentedSortedArray leftSsa, IntC } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((IntReverseSegmentedSortedArray)leftSsa, rightStampChunk.asIntChunk(), rightKeys, nextRightValue.asIntChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((IntReverseSegmentedSortedArray) leftSsa, rightStampChunk.asIntChunk(), rightKeys, + nextRightValue.asIntChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(IntReverseSegmentedSortedArray leftSsa, IntChunk rightStampChunk, LongChunk rightKeys, IntChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(IntReverseSegmentedSortedArray leftSsa, IntChunk rightStampChunk, + LongChunk rightKeys, IntChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final IntReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -203,11 +220,16 @@ static private void processInsertion(IntReverseSegmentedSortedArray leftSsa, Int } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((IntReverseSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asIntChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((IntReverseSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asIntChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(IntReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, IntChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(IntReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + IntChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final IntReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -242,11 +264,16 @@ private static void findModified(IntReverseSegmentedSortedArray leftSsa, RowRedi } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((IntReverseSegmentedSortedArray)leftSsa, rightStampChunk.asIntChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((IntReverseSegmentedSortedArray) leftSsa, rightStampChunk.asIntChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(IntReverseSegmentedSortedArray leftSsa, IntChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(IntReverseSegmentedSortedArray leftSsa, IntChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final IntReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntSegmentedSortedArray.java index dbae99bd607..4c82c413189 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntSegmentedSortedArray.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -24,14 +23,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the int values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the int values, and then on the corresponding row + * key. */ public final class IntSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -41,16 +40,16 @@ public final class IntSegmentedSortedArray implements SegmentedSortedArray { private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private int [] directoryValues; - private long [] directoryRowKeys; + private int[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private int [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private int[][] leafValues; + private long[][] leafRowKeys; /** * Create a IntSegmentedSortedArray with the given leafSize. @@ -69,7 +68,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asIntChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asIntChunk(), rowKeysToInsert, nextValue.asWritableIntChunk()); @@ -78,13 +78,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(IntChunk stampValues, LongChunk stampRowKeys, WritableIntChunk nextValues) { + private int findNext(IntChunk stampValues, LongChunk stampRowKeys, + WritableIntChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -116,14 +117,17 @@ private int findNext(IntChunk stampValues, LongChunk int findNextOneLeaf(int offset, IntChunk stampValues, LongChunk stampRowKeys, WritableIntChunk nextValues, int leafSize, int [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, IntChunk stampValues, + LongChunk stampRowKeys, WritableIntChunk nextValues, int leafSize, int[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -144,7 +148,7 @@ private static int findNextOneLeaf(int offset, IntChunk stamp } /** - * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. + * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. * * @param valuesToInsert the valuesToInsert to insert (must be sorted, with ties broken by the row key) * @param rowKeysToInsert the corresponding rowKeysToInsert @@ -181,12 +185,15 @@ void insert(IntChunk valuesToInsert, LongChunk } } else { try (final ResettableIntChunk leafValuesInsertChunk = ResettableIntChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -194,7 +201,8 @@ void insert(IntChunk valuesToInsert, LongChunk } else { final int leafMaxValue = leafValues[firstLeaf + 1][0]; final long leafMaxRowKey = leafRowKeys[firstLeaf + 1][0]; - lastValueForLeaf = lowerBound(valuesToInsert, rowKeysToInsert, firstValuesPosition, insertSize, leafMaxValue, leafMaxRowKey); + lastValueForLeaf = lowerBound(valuesToInsert, rowKeysToInsert, firstValuesPosition, insertSize, + leafMaxValue, leafMaxRowKey); } @@ -207,7 +215,8 @@ void insert(IntChunk valuesToInsert, LongChunk final int sizeForThisLeaf = count + leafSizes[firstLeaf]; if (sizeForThisLeaf <= leafSize) { - insertIntoLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesInsertChunk, leafRowKeys[firstLeaf], leafKeysInsertChunk); + insertIntoLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesInsertChunk, + leafRowKeys[firstLeaf], leafKeysInsertChunk); leafSizes[firstLeaf] += count; directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -217,7 +226,8 @@ void insert(IntChunk valuesToInsert, LongChunk final int newLeafCount = getDesiredLeafCount(sizeForThisLeaf); final boolean isLastLeaf = firstLeaf == leafCount - 1; makeLeafHole(firstLeaf + 1, newLeafCount - 1); - if (isLastLeaf && isAfterLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesInsertChunk, leafRowKeys[firstLeaf], leafKeysInsertChunk)) { + if (isLastLeaf && isAfterLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], + leafValuesInsertChunk, leafRowKeys[firstLeaf], leafKeysInsertChunk)) { int copyLimit = leafSize - leafSizes[firstLeaf]; int offset = 0; @@ -226,7 +236,8 @@ void insert(IntChunk valuesToInsert, LongChunk leafValues[leaf] = new int[leafSize]; leafRowKeys[leaf] = new long[leafSize]; } - copyToLeaf(leafSizes[leaf], leafValues[leaf], leafValuesInsertChunk, leafRowKeys[leaf], leafKeysInsertChunk, offset, copyLimit); + copyToLeaf(leafSizes[leaf], leafValues[leaf], leafValuesInsertChunk, leafRowKeys[leaf], + leafKeysInsertChunk, offset, copyLimit); final int newLeafSize = leafSizes[leaf] += copyLimit; directoryValues[leaf] = leafValues[leaf][newLeafSize - 1]; @@ -236,7 +247,8 @@ void insert(IntChunk valuesToInsert, LongChunk copyLimit = Math.min(leafSize, leafValuesInsertChunk.size() - offset); } } else { - distributeValues(valuesPerLeaf(sizeForThisLeaf, newLeafCount), firstLeaf, newLeafCount, leafValuesInsertChunk, leafKeysInsertChunk); + distributeValues(valuesPerLeaf(sizeForThisLeaf, newLeafCount), firstLeaf, newLeafCount, + leafValuesInsertChunk, leafKeysInsertChunk); } validateLeafRange(firstLeaf, newLeafCount); } @@ -271,8 +283,8 @@ private void mergeLeaves(int leaf, TIntList leavesToRemove) { copyLeafValues(leaf + 1, leaf, destinationSize, sourceSize, 0); - final int [] tmpValues = leafValues[leaf + 1]; - final long [] tmpRowKeys = leafRowKeys[leaf + 1]; + final int[] tmpValues = leafValues[leaf + 1]; + final long[] tmpRowKeys = leafRowKeys[leaf + 1]; leafValues[leaf + 1] = leafValues[leaf]; leafRowKeys[leaf + 1] = leafRowKeys[leaf]; @@ -298,8 +310,8 @@ private void mergeThreeLeaves(int leaf, TIntList leavesToRemove) { copyLeafValues(leaf + 1, leaf, destinationSize, sourceMiddleSize, 0); copyLeafValues(leaf + 2, leaf, destinationSize + sourceMiddleSize, sourceRightSize, 0); - final int [] tmpValues = leafValues[leaf + 1]; - final long [] tmpRowKeys = leafRowKeys[leaf + 1]; + final int[] tmpValues = leafValues[leaf + 1]; + final long[] tmpRowKeys = leafRowKeys[leaf + 1]; leafValues[leaf + 2] = leafValues[leaf]; leafRowKeys[leaf + 2] = leafRowKeys[leaf]; @@ -344,11 +356,13 @@ private void copyLeavesAndDirectory(int srcPos, int destPos, int length) { System.arraycopy(directoryRowKeys, srcPos, directoryRowKeys, destPos, length); } - private void copyToLeaf(int leafOffset, int[] leafValues, IntChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, int[] leafValues, IntChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, int[] leafValues, IntChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, int[] leafValues, IntChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -412,7 +426,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, IntChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + IntChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -423,7 +438,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new int[leafSize]; @@ -450,11 +465,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -524,7 +539,8 @@ private void makeLeavesInitial(IntChunk values, LongChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, int[] leafValues, IntChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -574,11 +590,12 @@ private void insertIntoLeaf(int leafSize, int [] leafValues, IntChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -587,17 +604,20 @@ private void insertIntoLeaf(int leafSize, int [] leafValues, IntChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -613,8 +633,7 @@ private void insertIntoLeaf(int leafSize, int [] leafValues, IntChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final int searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -625,13 +644,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -652,7 +673,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, int[] leafValues, IntChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, int[] leafValues, IntChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int firstInsertValue = insertValues.get(0); final int lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -674,7 +696,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, int [] leafValues, IntChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, int[] leafValues, IntChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -684,7 +708,7 @@ private void removeFromLeaf(int leafSize, int [] leafValues, IntChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, int searchValue, long searchKey) { + private static int lowerBound(IntChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, int searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final int testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -751,7 +777,8 @@ private static int lowerBound(IntChunk valuesToSearch, LongChunk< return lo; } - private static int upperBound(IntChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, int searchValue, long searchKey) { + private static int upperBound(IntChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, int searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final int testValue = valuesToSearch.get(mid); @@ -770,12 +797,13 @@ private static int upperBound(IntChunk valuesToSearch, LongChunk< return lo; } - private static int lowerBound(int [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, int searchValue, long searchKey) { + private static int lowerBound(int[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, int searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final int testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -811,20 +839,21 @@ private static int upperBound(int[] valuesToSearch, int lo, int hi, int searchVa /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(int [] valuesToSearch, long [] rowKeysToSearch, final int searchValue, long searchRowKey, int lo, int hi) { + private static int bound(int[] valuesToSearch, long[] rowKeysToSearch, final int searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final int testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -842,7 +871,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asIntChunk(), rowKeysToRemove, priorRedirections); } @@ -851,13 +881,15 @@ private void remove(IntChunk valuesToRemove, LongChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(IntChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -877,11 +909,13 @@ private void removeAndGetNextInternal(IntChunk valuesToRemove, Lo } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableIntChunk leafValuesRemoveChunk = ResettableIntChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -889,7 +923,9 @@ private void removeAndGetNextInternal(IntChunk valuesToRemove, Lo while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -897,7 +933,8 @@ private void removeAndGetNextInternal(IntChunk valuesToRemove, Lo } else { final int leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -905,7 +942,8 @@ private void removeAndGetNextInternal(IntChunk valuesToRemove, Lo if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -919,14 +957,18 @@ private void removeAndGetNextInternal(IntChunk valuesToRemove, Lo priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -951,18 +993,23 @@ private void removeAndGetNextInternal(IntChunk valuesToRemove, Lo } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1037,11 +1084,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asIntChunk(), keyChunk, shiftDelta); } - private void applyShift(IntChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(IntChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1052,11 +1101,13 @@ private void applyShift(IntChunk stampChunk, LongChunk leafValuesChunk = ResettableIntChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1064,7 +1115,8 @@ private void applyShift(IntChunk stampChunk, LongChunk stampChunk, LongChunk= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1088,15 +1142,17 @@ private void applyShift(IntChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, int[] leafValues, IntChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1114,7 +1170,8 @@ private void shiftLeaf(int leafSize, int [] leafValues, IntChunk final int searchValue = shiftValues.get(shiftPos); final long searchKey = shiftRowKeys.get(shiftPos); - final int locationToShiftInLeaf = bound(leafValues, leafRowKeys, searchValue, searchKey, leafPos, leafSize); + final int locationToShiftInLeaf = + bound(leafValues, leafRowKeys, searchValue, searchKey, leafPos, leafSize); final int gallopSize = locationToShiftInLeaf - leafPos; @@ -1132,7 +1189,8 @@ private void shiftLeaf(int leafSize, int [] leafValues, IntChunk } } - private void applyShiftReverse(IntChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(IntChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1143,11 +1201,13 @@ private void applyShiftReverse(IntChunk stampChunk, LongChunk leafValuesChunk = ResettableIntChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1155,15 +1215,20 @@ private void applyShiftReverse(IntChunk stampChunk, LongChunk stampChunk, LongChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, int[] leafValues, IntChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1210,7 +1278,8 @@ private void shiftLeafReverse(int leafSize, int [] leafValues, IntChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1640,9 +1709,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1679,7 +1748,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(int value) { if (disallowExactMatch) { @@ -1695,26 +1765,31 @@ private void findInLeaf(int value) { private void findLastInLeaf(int value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(int value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } @@ -1760,4 +1835,4 @@ public long getLast() { public SsaChecker makeChecker() { return IntSsaChecker.INSTANCE; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntSsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntSsaChecker.java index 6223cca2591..7dd713ae6b0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntSsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntSsaChecker.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaChecker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsaChecker and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -26,16 +25,18 @@ public class IntSsaChecker implements SsaChecker { private IntSsaChecker() {} // static use only @Override - public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, LongChunk tableIndexChunk) { - checkSsa((IntSegmentedSortedArray)ssa, valueChunk.asIntChunk(), tableIndexChunk); + public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, + LongChunk tableIndexChunk) { + checkSsa((IntSegmentedSortedArray) ssa, valueChunk.asIntChunk(), tableIndexChunk); } - static void checkSsa(IntSegmentedSortedArray ssa, IntChunk valueChunk, LongChunk tableIndexChunk) { + static void checkSsa(IntSegmentedSortedArray ssa, IntChunk valueChunk, + LongChunk tableIndexChunk) { ssa.validateInternal(); - //noinspection unchecked + // noinspection unchecked try (final WritableIntChunk resultChunk = (WritableIntChunk) ssa.asIntChunk(); - final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { + final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { Assert.eq(valueChunk.size(), "valueChunk.size()", resultChunk.size(), "resultChunk.size()"); Assert.eq(tableIndexChunk.size(), "tableIndexChunk.size()", indexChunk.size(), "indexChunk.size()"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntSsaSsaStamp.java index 37d891bda53..fb7569f3265 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/IntSsaSsaStamp.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsaSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -26,11 +25,14 @@ public class IntSsaSsaStamp implements SsaSsaStamp { private IntSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((IntSegmentedSortedArray)leftSsa, (IntSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((IntSegmentedSortedArray) leftSsa, (IntSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(IntSegmentedSortedArray leftSsa, IntSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(IntSegmentedSortedArray leftSsa, IntSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -47,8 +49,7 @@ private static void processEntry(IntSegmentedSortedArray leftSsa, IntSegmentedSo if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -63,7 +64,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final int nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -78,7 +80,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, IntSegme } } - private static void fillWithValue(WritableRowRedirection rowRedirection, IntSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, IntSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -86,13 +89,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, IntSegm } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((IntSegmentedSortedArray)leftSsa, rightStampChunk.asIntChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((IntSegmentedSortedArray) leftSsa, rightStampChunk.asIntChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(IntSegmentedSortedArray leftSsa, IntChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(IntSegmentedSortedArray leftSsa, IntChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final IntSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -139,15 +147,22 @@ static private void processRemovals(IntSegmentedSortedArray leftSsa, IntChunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((IntSegmentedSortedArray)leftSsa, rightStampChunk.asIntChunk(), rightKeys, nextRightValue.asIntChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((IntSegmentedSortedArray) leftSsa, rightStampChunk.asIntChunk(), rightKeys, + nextRightValue.asIntChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(IntSegmentedSortedArray leftSsa, IntChunk rightStampChunk, LongChunk rightKeys, IntChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(IntSegmentedSortedArray leftSsa, IntChunk rightStampChunk, + LongChunk rightKeys, IntChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final IntSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -203,11 +218,16 @@ static private void processInsertion(IntSegmentedSortedArray leftSsa, IntChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((IntSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asIntChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((IntSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asIntChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(IntSegmentedSortedArray leftSsa, RowRedirection rowRedirection, IntChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(IntSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + IntChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final IntSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -242,11 +262,16 @@ private static void findModified(IntSegmentedSortedArray leftSsa, RowRedirection } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((IntSegmentedSortedArray)leftSsa, rightStampChunk.asIntChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((IntSegmentedSortedArray) leftSsa, rightStampChunk.asIntChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(IntSegmentedSortedArray leftSsa, IntChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(IntSegmentedSortedArray leftSsa, IntChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final IntSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongChunkSsaStamp.java index 9402e8367a8..9614a62edfa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongChunkSsaStamp.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -25,11 +24,14 @@ public class LongChunkSsaStamp implements ChunkSsaStamp { private LongChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asLongChunk(), leftStampKeys, (LongSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asLongChunk(), leftStampKeys, (LongSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(LongChunk leftStampValues, Chunk leftStampKeys, LongSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(LongChunk leftStampValues, Chunk leftStampKeys, + LongSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -40,14 +42,13 @@ private static void processEntry(LongChunk leftStampValues, Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asLongChunk(), leftStampKeys, rightStampChunk.asLongChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asLongChunk(), leftStampKeys, rightStampChunk.asLongChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(LongChunk leftStampValues, LongChunk leftStampKeys, LongChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(LongChunk leftStampValues, LongChunk leftStampKeys, + LongChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -106,15 +115,24 @@ private static void processRemovals(LongChunk leftStampValues, LongChunk } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asLongChunk(), leftStampKeys, rightStampChunk.asLongChunk(), rightKeys, nextRightValue.asLongChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asLongChunk(), leftStampKeys, rightStampChunk.asLongChunk(), rightKeys, + nextRightValue.asLongChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(LongChunk leftStampValues, LongChunk leftStampKeys, LongChunk rightStampChunk, LongChunk rightKeys, LongChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(LongChunk leftStampValues, LongChunk leftStampKeys, + LongChunk rightStampChunk, LongChunk rightKeys, LongChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -151,11 +169,16 @@ private static void processInsertion(LongChunk leftStampValues, LongChun } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asLongChunk(), leftStampKeys, rowRedirection, rightStampChunk.asLongChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asLongChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asLongChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, LongChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, LongChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, LongChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, LongChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final long rightStampValue = rightStampChunk.get(ii); @@ -164,7 +187,8 @@ private static int findModified(int leftLowIdx, LongChunk leftStampValue final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -174,11 +198,16 @@ private static int findModified(int leftLowIdx, LongChunk leftStampValue } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asLongChunk(), leftStampKeys, rightStampChunk.asLongChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asLongChunk(), leftStampKeys, rightStampChunk.asLongChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(LongChunk leftStampValues, LongChunk leftStampKeys, LongChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(LongChunk leftStampValues, LongChunk leftStampKeys, + LongChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final long rightStampValue = rightStampChunk.get(ii); @@ -188,14 +217,16 @@ private void applyShift(LongChunk leftStampValues, LongChunk le final long rightStampKey = rightStampKeys.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { rowRedirection.putVoid(leftStampKeys.get(checkIdx), rightStampKey + shiftDelta); checkIdx++; } } } - private static int findFirstResponsiveLeft(int leftLowIdx, LongChunk leftStampValues, boolean disallowExactMatch, long rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, LongChunk leftStampValues, + boolean disallowExactMatch, long rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongReverseChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongReverseChunkSsaStamp.java index af2efa0e6f4..342e02127f4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongReverseChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongReverseChunkSsaStamp.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit LongChunkSsaStamp and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -25,11 +26,14 @@ public class LongReverseChunkSsaStamp implements ChunkSsaStamp { private LongReverseChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asLongChunk(), leftStampKeys, (LongReverseSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asLongChunk(), leftStampKeys, (LongReverseSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(LongChunk leftStampValues, Chunk leftStampKeys, LongReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(LongChunk leftStampValues, Chunk leftStampKeys, + LongReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -40,14 +44,13 @@ private static void processEntry(LongChunk leftStampValues, Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asLongChunk(), leftStampKeys, rightStampChunk.asLongChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asLongChunk(), leftStampKeys, rightStampChunk.asLongChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(LongChunk leftStampValues, LongChunk leftStampKeys, LongChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(LongChunk leftStampValues, LongChunk leftStampKeys, + LongChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -106,15 +117,24 @@ private static void processRemovals(LongChunk leftStampValues, LongChunk } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asLongChunk(), leftStampKeys, rightStampChunk.asLongChunk(), rightKeys, nextRightValue.asLongChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asLongChunk(), leftStampKeys, rightStampChunk.asLongChunk(), rightKeys, + nextRightValue.asLongChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(LongChunk leftStampValues, LongChunk leftStampKeys, LongChunk rightStampChunk, LongChunk rightKeys, LongChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(LongChunk leftStampValues, LongChunk leftStampKeys, + LongChunk rightStampChunk, LongChunk rightKeys, LongChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -151,11 +171,16 @@ private static void processInsertion(LongChunk leftStampValues, LongChun } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asLongChunk(), leftStampKeys, rowRedirection, rightStampChunk.asLongChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asLongChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asLongChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, LongChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, LongChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, LongChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, LongChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final long rightStampValue = rightStampChunk.get(ii); @@ -164,7 +189,8 @@ private static int findModified(int leftLowIdx, LongChunk leftStampValue final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -174,11 +200,16 @@ private static int findModified(int leftLowIdx, LongChunk leftStampValue } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asLongChunk(), leftStampKeys, rightStampChunk.asLongChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asLongChunk(), leftStampKeys, rightStampChunk.asLongChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(LongChunk leftStampValues, LongChunk leftStampKeys, LongChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(LongChunk leftStampValues, LongChunk leftStampKeys, + LongChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final long rightStampValue = rightStampChunk.get(ii); @@ -188,14 +219,16 @@ private void applyShift(LongChunk leftStampValues, LongChunk le final long rightStampKey = rightStampKeys.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { rowRedirection.putVoid(leftStampKeys.get(checkIdx), rightStampKey + shiftDelta); checkIdx++; } } } - private static int findFirstResponsiveLeft(int leftLowIdx, LongChunk leftStampValues, boolean disallowExactMatch, long rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, LongChunk leftStampValues, + boolean disallowExactMatch, long rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongReverseSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongReverseSegmentedSortedArray.java index 889ea460ab4..62a0d449874 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongReverseSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongReverseSegmentedSortedArray.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit LongSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -24,14 +25,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the long values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the long values, and then on the corresponding row + * key. */ public final class LongReverseSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -41,16 +42,16 @@ public final class LongReverseSegmentedSortedArray implements SegmentedSortedArr private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private long [] directoryValues; - private long [] directoryRowKeys; + private long[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private long [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private long[][] leafValues; + private long[][] leafRowKeys; /** * Create a LongReverseSegmentedSortedArray with the given leafSize. @@ -69,7 +70,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asLongChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asLongChunk(), rowKeysToInsert, nextValue.asWritableLongChunk()); @@ -78,13 +80,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(LongChunk stampValues, LongChunk stampRowKeys, WritableLongChunk nextValues) { + private int findNext(LongChunk stampValues, LongChunk stampRowKeys, + WritableLongChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -116,14 +119,17 @@ private int findNext(LongChunk stampValues, LongChunk int findNextOneLeaf(int offset, LongChunk stampValues, LongChunk stampRowKeys, WritableLongChunk nextValues, int leafSize, long [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, LongChunk stampValues, + LongChunk stampRowKeys, WritableLongChunk nextValues, int leafSize, long[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -144,7 +150,7 @@ private static int findNextOneLeaf(int offset, LongChunk stam } /** - * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. + * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. * * @param valuesToInsert the valuesToInsert to insert (must be sorted, with ties broken by the row key) * @param rowKeysToInsert the corresponding rowKeysToInsert @@ -181,12 +187,15 @@ void insert(LongChunk valuesToInsert, LongChunk leafValuesInsertChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -194,7 +203,8 @@ void insert(LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, long[] leafValues, LongChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, long[] leafValues, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, long[] leafValues, LongChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -412,7 +428,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, LongChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + LongChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -423,7 +440,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new long[leafSize]; @@ -450,11 +467,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -524,7 +541,8 @@ private void makeLeavesInitial(LongChunk values, LongChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, long[] leafValues, LongChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -574,11 +592,12 @@ private void insertIntoLeaf(int leafSize, long [] leafValues, LongChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -587,17 +606,20 @@ private void insertIntoLeaf(int leafSize, long [] leafValues, LongChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -613,8 +635,7 @@ private void insertIntoLeaf(int leafSize, long [] leafValues, LongChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final long searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -625,13 +646,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -652,7 +675,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, long[] leafValues, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, long[] leafValues, LongChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final long firstInsertValue = insertValues.get(0); final long lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -674,7 +698,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, long [] leafValues, LongChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, long[] leafValues, LongChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -684,7 +710,7 @@ private void removeFromLeaf(int leafSize, long [] leafValues, LongChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, long searchValue, long searchKey) { + private static int lowerBound(LongChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, long searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final long testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -751,7 +779,8 @@ private static int lowerBound(LongChunk valuesToSearch, LongChunk return lo; } - private static int upperBound(LongChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, long searchValue, long searchKey) { + private static int upperBound(LongChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, long searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final long testValue = valuesToSearch.get(mid); @@ -770,12 +799,13 @@ private static int upperBound(LongChunk valuesToSearch, LongChunk return lo; } - private static int lowerBound(long [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, long searchValue, long searchKey) { + private static int lowerBound(long[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, long searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final long testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -811,20 +841,21 @@ private static int upperBound(long[] valuesToSearch, int lo, int hi, long search /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(long [] valuesToSearch, long [] rowKeysToSearch, final long searchValue, long searchRowKey, int lo, int hi) { + private static int bound(long[] valuesToSearch, long[] rowKeysToSearch, final long searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final long testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -842,7 +873,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asLongChunk(), rowKeysToRemove, priorRedirections); } @@ -851,13 +883,15 @@ private void remove(LongChunk valuesToRemove, LongChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(LongChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -877,11 +911,13 @@ private void removeAndGetNextInternal(LongChunk valuesToRemove, L } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableLongChunk leafValuesRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -889,7 +925,9 @@ private void removeAndGetNextInternal(LongChunk valuesToRemove, L while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -897,7 +935,8 @@ private void removeAndGetNextInternal(LongChunk valuesToRemove, L } else { final long leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -905,7 +944,8 @@ private void removeAndGetNextInternal(LongChunk valuesToRemove, L if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -919,14 +959,18 @@ private void removeAndGetNextInternal(LongChunk valuesToRemove, L priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -951,18 +995,23 @@ private void removeAndGetNextInternal(LongChunk valuesToRemove, L } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1037,11 +1086,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asLongChunk(), keyChunk, shiftDelta); } - private void applyShift(LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(LongChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1052,11 +1103,13 @@ private void applyShift(LongChunk stampChunk, LongChunk leafValuesChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1064,7 +1117,8 @@ private void applyShift(LongChunk stampChunk, LongChunk stampChunk, LongChunk= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1088,15 +1144,17 @@ private void applyShift(LongChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, long[] leafValues, LongChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1114,7 +1172,8 @@ private void shiftLeaf(int leafSize, long [] leafValues, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(LongChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1143,11 +1203,13 @@ private void applyShiftReverse(LongChunk stampChunk, LongChunk leafValuesChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1155,15 +1217,20 @@ private void applyShiftReverse(LongChunk stampChunk, LongChunk stampChunk, LongChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, long[] leafValues, LongChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1210,7 +1280,8 @@ private void shiftLeafReverse(int leafSize, long [] leafValues, LongChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1641,9 +1712,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1680,7 +1751,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(long value) { if (disallowExactMatch) { @@ -1696,26 +1768,31 @@ private void findInLeaf(long value) { private void findLastInLeaf(long value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(long value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongReverseSsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongReverseSsaChecker.java index a2cdca37c78..56087f0c5eb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongReverseSsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongReverseSsaChecker.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaChecker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit LongSsaChecker and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -26,16 +27,18 @@ public class LongReverseSsaChecker implements SsaChecker { private LongReverseSsaChecker() {} // static use only @Override - public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, LongChunk tableIndexChunk) { - checkSsa((LongReverseSegmentedSortedArray)ssa, valueChunk.asLongChunk(), tableIndexChunk); + public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, + LongChunk tableIndexChunk) { + checkSsa((LongReverseSegmentedSortedArray) ssa, valueChunk.asLongChunk(), tableIndexChunk); } - static void checkSsa(LongReverseSegmentedSortedArray ssa, LongChunk valueChunk, LongChunk tableIndexChunk) { + static void checkSsa(LongReverseSegmentedSortedArray ssa, LongChunk valueChunk, + LongChunk tableIndexChunk) { ssa.validateInternal(); - //noinspection unchecked + // noinspection unchecked try (final WritableLongChunk resultChunk = (WritableLongChunk) ssa.asLongChunk(); - final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { + final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { Assert.eq(valueChunk.size(), "valueChunk.size()", resultChunk.size(), "resultChunk.size()"); Assert.eq(tableIndexChunk.size(), "tableIndexChunk.size()", indexChunk.size(), "indexChunk.size()"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongReverseSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongReverseSsaSsaStamp.java index cf2dd59ea3f..f7965b486f6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongReverseSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongReverseSsaSsaStamp.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit LongSsaSsaStamp and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -26,11 +27,14 @@ public class LongReverseSsaSsaStamp implements SsaSsaStamp { private LongReverseSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((LongReverseSegmentedSortedArray)leftSsa, (LongReverseSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((LongReverseSegmentedSortedArray) leftSsa, (LongReverseSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(LongReverseSegmentedSortedArray leftSsa, LongReverseSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(LongReverseSegmentedSortedArray leftSsa, LongReverseSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -47,8 +51,7 @@ private static void processEntry(LongReverseSegmentedSortedArray leftSsa, LongRe if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -63,7 +66,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final long nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -78,7 +82,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, LongReve } } - private static void fillWithValue(WritableRowRedirection rowRedirection, LongReverseSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, LongReverseSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -86,13 +91,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, LongRev } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((LongReverseSegmentedSortedArray)leftSsa, rightStampChunk.asLongChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((LongReverseSegmentedSortedArray) leftSsa, rightStampChunk.asLongChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(LongReverseSegmentedSortedArray leftSsa, LongChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(LongReverseSegmentedSortedArray leftSsa, LongChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final LongReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -139,15 +149,22 @@ static private void processRemovals(LongReverseSegmentedSortedArray leftSsa, Lon } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((LongReverseSegmentedSortedArray)leftSsa, rightStampChunk.asLongChunk(), rightKeys, nextRightValue.asLongChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((LongReverseSegmentedSortedArray) leftSsa, rightStampChunk.asLongChunk(), rightKeys, + nextRightValue.asLongChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(LongReverseSegmentedSortedArray leftSsa, LongChunk rightStampChunk, LongChunk rightKeys, LongChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(LongReverseSegmentedSortedArray leftSsa, LongChunk rightStampChunk, + LongChunk rightKeys, LongChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final LongReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -203,11 +220,16 @@ static private void processInsertion(LongReverseSegmentedSortedArray leftSsa, Lo } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((LongReverseSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asLongChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((LongReverseSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asLongChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(LongReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, LongChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(LongReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + LongChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final LongReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -242,11 +264,16 @@ private static void findModified(LongReverseSegmentedSortedArray leftSsa, RowRed } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((LongReverseSegmentedSortedArray)leftSsa, rightStampChunk.asLongChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((LongReverseSegmentedSortedArray) leftSsa, rightStampChunk.asLongChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(LongReverseSegmentedSortedArray leftSsa, LongChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(LongReverseSegmentedSortedArray leftSsa, LongChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final LongReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongSegmentedSortedArray.java index 8915cc39fd2..5b7117a3eeb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongSegmentedSortedArray.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -24,14 +23,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the long values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the long values, and then on the corresponding row + * key. */ public final class LongSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -41,16 +40,16 @@ public final class LongSegmentedSortedArray implements SegmentedSortedArray { private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private long [] directoryValues; - private long [] directoryRowKeys; + private long[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private long [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private long[][] leafValues; + private long[][] leafRowKeys; /** * Create a LongSegmentedSortedArray with the given leafSize. @@ -69,7 +68,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asLongChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asLongChunk(), rowKeysToInsert, nextValue.asWritableLongChunk()); @@ -78,13 +78,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(LongChunk stampValues, LongChunk stampRowKeys, WritableLongChunk nextValues) { + private int findNext(LongChunk stampValues, LongChunk stampRowKeys, + WritableLongChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -116,14 +117,17 @@ private int findNext(LongChunk stampValues, LongChunk int findNextOneLeaf(int offset, LongChunk stampValues, LongChunk stampRowKeys, WritableLongChunk nextValues, int leafSize, long [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, LongChunk stampValues, + LongChunk stampRowKeys, WritableLongChunk nextValues, int leafSize, long[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -144,7 +148,7 @@ private static int findNextOneLeaf(int offset, LongChunk stam } /** - * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. + * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. * * @param valuesToInsert the valuesToInsert to insert (must be sorted, with ties broken by the row key) * @param rowKeysToInsert the corresponding rowKeysToInsert @@ -181,12 +185,15 @@ void insert(LongChunk valuesToInsert, LongChunk leafValuesInsertChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -194,7 +201,8 @@ void insert(LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, long[] leafValues, LongChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, long[] leafValues, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, long[] leafValues, LongChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -412,7 +426,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, LongChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + LongChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -423,7 +438,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new long[leafSize]; @@ -450,11 +465,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -524,7 +539,8 @@ private void makeLeavesInitial(LongChunk values, LongChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, long[] leafValues, LongChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -574,11 +590,12 @@ private void insertIntoLeaf(int leafSize, long [] leafValues, LongChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -587,17 +604,20 @@ private void insertIntoLeaf(int leafSize, long [] leafValues, LongChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -613,8 +633,7 @@ private void insertIntoLeaf(int leafSize, long [] leafValues, LongChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final long searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -625,13 +644,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -652,7 +673,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, long[] leafValues, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, long[] leafValues, LongChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final long firstInsertValue = insertValues.get(0); final long lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -674,7 +696,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, long [] leafValues, LongChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, long[] leafValues, LongChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -684,7 +708,7 @@ private void removeFromLeaf(int leafSize, long [] leafValues, LongChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, long searchValue, long searchKey) { + private static int lowerBound(LongChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, long searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final long testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -751,7 +777,8 @@ private static int lowerBound(LongChunk valuesToSearch, LongChunk return lo; } - private static int upperBound(LongChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, long searchValue, long searchKey) { + private static int upperBound(LongChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, long searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final long testValue = valuesToSearch.get(mid); @@ -770,12 +797,13 @@ private static int upperBound(LongChunk valuesToSearch, LongChunk return lo; } - private static int lowerBound(long [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, long searchValue, long searchKey) { + private static int lowerBound(long[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, long searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final long testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -811,20 +839,21 @@ private static int upperBound(long[] valuesToSearch, int lo, int hi, long search /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(long [] valuesToSearch, long [] rowKeysToSearch, final long searchValue, long searchRowKey, int lo, int hi) { + private static int bound(long[] valuesToSearch, long[] rowKeysToSearch, final long searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final long testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -842,7 +871,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asLongChunk(), rowKeysToRemove, priorRedirections); } @@ -851,13 +881,15 @@ private void remove(LongChunk valuesToRemove, LongChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(LongChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -877,11 +909,13 @@ private void removeAndGetNextInternal(LongChunk valuesToRemove, L } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableLongChunk leafValuesRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -889,7 +923,9 @@ private void removeAndGetNextInternal(LongChunk valuesToRemove, L while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -897,7 +933,8 @@ private void removeAndGetNextInternal(LongChunk valuesToRemove, L } else { final long leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -905,7 +942,8 @@ private void removeAndGetNextInternal(LongChunk valuesToRemove, L if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -919,14 +957,18 @@ private void removeAndGetNextInternal(LongChunk valuesToRemove, L priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -951,18 +993,23 @@ private void removeAndGetNextInternal(LongChunk valuesToRemove, L } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1037,11 +1084,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asLongChunk(), keyChunk, shiftDelta); } - private void applyShift(LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(LongChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1052,11 +1101,13 @@ private void applyShift(LongChunk stampChunk, LongChunk leafValuesChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1064,7 +1115,8 @@ private void applyShift(LongChunk stampChunk, LongChunk stampChunk, LongChunk= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1088,15 +1142,17 @@ private void applyShift(LongChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, long[] leafValues, LongChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1114,7 +1170,8 @@ private void shiftLeaf(int leafSize, long [] leafValues, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(LongChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1143,11 +1201,13 @@ private void applyShiftReverse(LongChunk stampChunk, LongChunk leafValuesChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1155,15 +1215,20 @@ private void applyShiftReverse(LongChunk stampChunk, LongChunk stampChunk, LongChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, long[] leafValues, LongChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1210,7 +1278,8 @@ private void shiftLeafReverse(int leafSize, long [] leafValues, LongChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1640,9 +1709,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1679,7 +1748,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(long value) { if (disallowExactMatch) { @@ -1695,26 +1765,31 @@ private void findInLeaf(long value) { private void findLastInLeaf(long value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(long value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } @@ -1760,4 +1835,4 @@ public long getLast() { public SsaChecker makeChecker() { return LongSsaChecker.INSTANCE; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongSsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongSsaChecker.java index 879910c7112..e5e61548503 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongSsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongSsaChecker.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaChecker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsaChecker and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -26,16 +25,18 @@ public class LongSsaChecker implements SsaChecker { private LongSsaChecker() {} // static use only @Override - public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, LongChunk tableIndexChunk) { - checkSsa((LongSegmentedSortedArray)ssa, valueChunk.asLongChunk(), tableIndexChunk); + public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, + LongChunk tableIndexChunk) { + checkSsa((LongSegmentedSortedArray) ssa, valueChunk.asLongChunk(), tableIndexChunk); } - static void checkSsa(LongSegmentedSortedArray ssa, LongChunk valueChunk, LongChunk tableIndexChunk) { + static void checkSsa(LongSegmentedSortedArray ssa, LongChunk valueChunk, + LongChunk tableIndexChunk) { ssa.validateInternal(); - //noinspection unchecked + // noinspection unchecked try (final WritableLongChunk resultChunk = (WritableLongChunk) ssa.asLongChunk(); - final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { + final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { Assert.eq(valueChunk.size(), "valueChunk.size()", resultChunk.size(), "resultChunk.size()"); Assert.eq(tableIndexChunk.size(), "tableIndexChunk.size()", indexChunk.size(), "indexChunk.size()"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongSsaSsaStamp.java index 9cce93787b7..a7d0f77cb2e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/LongSsaSsaStamp.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsaSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -26,11 +25,14 @@ public class LongSsaSsaStamp implements SsaSsaStamp { private LongSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((LongSegmentedSortedArray)leftSsa, (LongSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((LongSegmentedSortedArray) leftSsa, (LongSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(LongSegmentedSortedArray leftSsa, LongSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(LongSegmentedSortedArray leftSsa, LongSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -47,8 +49,7 @@ private static void processEntry(LongSegmentedSortedArray leftSsa, LongSegmented if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -63,7 +64,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final long nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -78,7 +80,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, LongSegm } } - private static void fillWithValue(WritableRowRedirection rowRedirection, LongSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, LongSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -86,13 +89,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, LongSeg } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((LongSegmentedSortedArray)leftSsa, rightStampChunk.asLongChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((LongSegmentedSortedArray) leftSsa, rightStampChunk.asLongChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(LongSegmentedSortedArray leftSsa, LongChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(LongSegmentedSortedArray leftSsa, LongChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final LongSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -139,15 +147,22 @@ static private void processRemovals(LongSegmentedSortedArray leftSsa, LongChunk< } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((LongSegmentedSortedArray)leftSsa, rightStampChunk.asLongChunk(), rightKeys, nextRightValue.asLongChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((LongSegmentedSortedArray) leftSsa, rightStampChunk.asLongChunk(), rightKeys, + nextRightValue.asLongChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(LongSegmentedSortedArray leftSsa, LongChunk rightStampChunk, LongChunk rightKeys, LongChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(LongSegmentedSortedArray leftSsa, LongChunk rightStampChunk, + LongChunk rightKeys, LongChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final LongSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -203,11 +218,16 @@ static private void processInsertion(LongSegmentedSortedArray leftSsa, LongChunk } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((LongSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asLongChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((LongSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asLongChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(LongSegmentedSortedArray leftSsa, RowRedirection rowRedirection, LongChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(LongSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + LongChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final LongSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -242,11 +262,16 @@ private static void findModified(LongSegmentedSortedArray leftSsa, RowRedirectio } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((LongSegmentedSortedArray)leftSsa, rightStampChunk.asLongChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((LongSegmentedSortedArray) leftSsa, rightStampChunk.asLongChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(LongSegmentedSortedArray leftSsa, LongChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(LongSegmentedSortedArray leftSsa, LongChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final LongSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharChunkSsaStamp.java index 829d846811a..ea547586361 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharChunkSsaStamp.java @@ -1,9 +1,15 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit NullAwareCharChunkSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off + + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.QueryConstants; @@ -26,11 +32,14 @@ public class NullAwareCharChunkSsaStamp implements ChunkSsaStamp { private NullAwareCharChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asCharChunk(), leftStampKeys, (NullAwareCharSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asCharChunk(), leftStampKeys, (NullAwareCharSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(CharChunk leftStampValues, Chunk leftStampKeys, NullAwareCharSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(CharChunk leftStampValues, Chunk leftStampKeys, + NullAwareCharSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -41,14 +50,13 @@ private static void processEntry(CharChunk leftStampValues, Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(CharChunk leftStampValues, LongChunk leftStampKeys, CharChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(CharChunk leftStampValues, LongChunk leftStampKeys, + CharChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -107,15 +123,24 @@ private static void processRemovals(CharChunk leftStampValues, LongChunk } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightKeys, nextRightValue.asCharChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightKeys, + nextRightValue.asCharChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(CharChunk leftStampValues, LongChunk leftStampKeys, CharChunk rightStampChunk, LongChunk rightKeys, CharChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(CharChunk leftStampValues, LongChunk leftStampKeys, + CharChunk rightStampChunk, LongChunk rightKeys, CharChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -152,11 +177,16 @@ private static void processInsertion(CharChunk leftStampValues, LongChun } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asCharChunk(), leftStampKeys, rowRedirection, rightStampChunk.asCharChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asCharChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asCharChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, CharChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, CharChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, CharChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, CharChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final char rightStampValue = rightStampChunk.get(ii); @@ -165,7 +195,8 @@ private static int findModified(int leftLowIdx, CharChunk leftStampValue final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -175,11 +206,16 @@ private static int findModified(int leftLowIdx, CharChunk leftStampValue } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(CharChunk leftStampValues, LongChunk leftStampKeys, CharChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(CharChunk leftStampValues, LongChunk leftStampKeys, + CharChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final char rightStampValue = rightStampChunk.get(ii); @@ -189,14 +225,16 @@ private void applyShift(CharChunk leftStampValues, LongChunk le final long rightStampKey = rightStampKeys.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { rowRedirection.putVoid(leftStampKeys.get(checkIdx), rightStampKey + shiftDelta); checkIdx++; } } } - private static int findFirstResponsiveLeft(int leftLowIdx, CharChunk leftStampValues, boolean disallowExactMatch, char rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, CharChunk leftStampValues, + boolean disallowExactMatch, char rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharReverseChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharReverseChunkSsaStamp.java index 60a4272cc95..71af2436f48 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharReverseChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharReverseChunkSsaStamp.java @@ -1,9 +1,17 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit NullAwareCharReverseChunkSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off + + + + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.QueryConstants; @@ -26,11 +34,14 @@ public class NullAwareCharReverseChunkSsaStamp implements ChunkSsaStamp { private NullAwareCharReverseChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asCharChunk(), leftStampKeys, (NullAwareCharReverseSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asCharChunk(), leftStampKeys, (NullAwareCharReverseSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(CharChunk leftStampValues, Chunk leftStampKeys, NullAwareCharReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(CharChunk leftStampValues, Chunk leftStampKeys, + NullAwareCharReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -41,14 +52,13 @@ private static void processEntry(CharChunk leftStampValues, Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(CharChunk leftStampValues, LongChunk leftStampKeys, CharChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(CharChunk leftStampValues, LongChunk leftStampKeys, + CharChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -107,15 +125,24 @@ private static void processRemovals(CharChunk leftStampValues, LongChunk } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightKeys, nextRightValue.asCharChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightKeys, + nextRightValue.asCharChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(CharChunk leftStampValues, LongChunk leftStampKeys, CharChunk rightStampChunk, LongChunk rightKeys, CharChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(CharChunk leftStampValues, LongChunk leftStampKeys, + CharChunk rightStampChunk, LongChunk rightKeys, CharChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -152,11 +179,16 @@ private static void processInsertion(CharChunk leftStampValues, LongChun } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asCharChunk(), leftStampKeys, rowRedirection, rightStampChunk.asCharChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asCharChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asCharChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, CharChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, CharChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, CharChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, CharChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final char rightStampValue = rightStampChunk.get(ii); @@ -165,7 +197,8 @@ private static int findModified(int leftLowIdx, CharChunk leftStampValue final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -175,11 +208,16 @@ private static int findModified(int leftLowIdx, CharChunk leftStampValue } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asCharChunk(), leftStampKeys, rightStampChunk.asCharChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(CharChunk leftStampValues, LongChunk leftStampKeys, CharChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(CharChunk leftStampValues, LongChunk leftStampKeys, + CharChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final char rightStampValue = rightStampChunk.get(ii); @@ -189,14 +227,16 @@ private void applyShift(CharChunk leftStampValues, LongChunk le final long rightStampKey = rightStampKeys.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { rowRedirection.putVoid(leftStampKeys.get(checkIdx), rightStampKey + shiftDelta); checkIdx++; } } } - private static int findFirstResponsiveLeft(int leftLowIdx, CharChunk leftStampValues, boolean disallowExactMatch, char rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, CharChunk leftStampValues, + boolean disallowExactMatch, char rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharReverseSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharReverseSegmentedSortedArray.java index e4c2f6cd430..0ac1be867d9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharReverseSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharReverseSegmentedSortedArray.java @@ -1,9 +1,16 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedArray and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit NullAwareCharSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off + + + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.QueryConstants; @@ -25,14 +32,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the char values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the char values, and then on the corresponding row + * key. */ public final class NullAwareCharReverseSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -42,16 +49,16 @@ public final class NullAwareCharReverseSegmentedSortedArray implements Segmented private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private char [] directoryValues; - private long [] directoryRowKeys; + private char[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private char [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private char[][] leafValues; + private long[][] leafRowKeys; /** * Create a NullAwareCharReverseSegmentedSortedArray with the given leafSize. @@ -70,7 +77,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asCharChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asCharChunk(), rowKeysToInsert, nextValue.asWritableCharChunk()); @@ -79,13 +87,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(CharChunk stampValues, LongChunk stampRowKeys, WritableCharChunk nextValues) { + private int findNext(CharChunk stampValues, LongChunk stampRowKeys, + WritableCharChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -117,14 +126,17 @@ private int findNext(CharChunk stampValues, LongChunk int findNextOneLeaf(int offset, CharChunk stampValues, LongChunk stampRowKeys, WritableCharChunk nextValues, int leafSize, char [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, CharChunk stampValues, + LongChunk stampRowKeys, WritableCharChunk nextValues, int leafSize, char[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -145,7 +157,7 @@ private static int findNextOneLeaf(int offset, CharChunk stam } /** - * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. + * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. * * @param valuesToInsert the valuesToInsert to insert (must be sorted, with ties broken by the row key) * @param rowKeysToInsert the corresponding rowKeysToInsert @@ -182,12 +194,15 @@ void insert(CharChunk valuesToInsert, LongChunk leafValuesInsertChunk = ResettableCharChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -195,7 +210,8 @@ void insert(CharChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, char[] leafValues, CharChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, char[] leafValues, CharChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, char[] leafValues, CharChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -413,7 +435,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, CharChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + CharChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -424,7 +447,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new char[leafSize]; @@ -451,11 +474,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -525,7 +548,8 @@ private void makeLeavesInitial(CharChunk values, LongChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, char[] leafValues, CharChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -575,11 +599,12 @@ private void insertIntoLeaf(int leafSize, char [] leafValues, CharChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -588,17 +613,20 @@ private void insertIntoLeaf(int leafSize, char [] leafValues, CharChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -614,8 +642,7 @@ private void insertIntoLeaf(int leafSize, char [] leafValues, CharChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final char searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -626,13 +653,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -653,7 +682,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, char[] leafValues, CharChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, char[] leafValues, CharChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final char firstInsertValue = insertValues.get(0); final char lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -675,7 +705,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, char [] leafValues, CharChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, char[] leafValues, CharChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -685,7 +717,7 @@ private void removeFromLeaf(int leafSize, char [] leafValues, CharChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, char searchValue, long searchKey) { + private static int lowerBound(CharChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, char searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -752,7 +786,8 @@ private static int lowerBound(CharChunk valuesToSearch, LongChunk return lo; } - private static int upperBound(CharChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, char searchValue, long searchKey) { + private static int upperBound(CharChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, char searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch.get(mid); @@ -771,12 +806,13 @@ private static int upperBound(CharChunk valuesToSearch, LongChunk return lo; } - private static int lowerBound(char [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, char searchValue, long searchKey) { + private static int lowerBound(char[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, char searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -812,20 +848,21 @@ private static int upperBound(char[] valuesToSearch, int lo, int hi, char search /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(char [] valuesToSearch, long [] rowKeysToSearch, final char searchValue, long searchRowKey, int lo, int hi) { + private static int bound(char[] valuesToSearch, long[] rowKeysToSearch, final char searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -843,7 +880,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asCharChunk(), rowKeysToRemove, priorRedirections); } @@ -852,13 +890,15 @@ private void remove(CharChunk valuesToRemove, LongChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(CharChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -878,11 +918,13 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableCharChunk leafValuesRemoveChunk = ResettableCharChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -890,7 +932,9 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -898,7 +942,8 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L } else { final char leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -906,7 +951,8 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -920,14 +966,18 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -952,18 +1002,23 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1038,11 +1093,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asCharChunk(), keyChunk, shiftDelta); } - private void applyShift(CharChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(CharChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1053,11 +1110,13 @@ private void applyShift(CharChunk stampChunk, LongChunk leafValuesChunk = ResettableCharChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1065,7 +1124,8 @@ private void applyShift(CharChunk stampChunk, LongChunk stampChunk, LongChunk= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1089,15 +1151,17 @@ private void applyShift(CharChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, char[] leafValues, CharChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1115,7 +1179,8 @@ private void shiftLeaf(int leafSize, char [] leafValues, CharChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(CharChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1144,11 +1210,13 @@ private void applyShiftReverse(CharChunk stampChunk, LongChunk leafValuesChunk = ResettableCharChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1156,15 +1224,20 @@ private void applyShiftReverse(CharChunk stampChunk, LongChunk stampChunk, LongChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, char[] leafValues, CharChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1211,7 +1287,8 @@ private void shiftLeafReverse(int leafSize, char [] leafValues, CharChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1642,9 +1719,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1681,7 +1758,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(char value) { if (disallowExactMatch) { @@ -1697,26 +1775,31 @@ private void findInLeaf(char value) { private void findLastInLeaf(char value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(char value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharReverseSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharReverseSsaSsaStamp.java index 82c3cdd13c8..b5dd04be012 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharReverseSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharReverseSsaSsaStamp.java @@ -1,9 +1,17 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaSsaStamp and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit NullAwareCharReverseSsaSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off + + + + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.QueryConstants; @@ -27,11 +35,14 @@ public class NullAwareCharReverseSsaSsaStamp implements SsaSsaStamp { private NullAwareCharReverseSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((NullAwareCharReverseSegmentedSortedArray)leftSsa, (NullAwareCharReverseSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((NullAwareCharReverseSegmentedSortedArray) leftSsa, (NullAwareCharReverseSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(NullAwareCharReverseSegmentedSortedArray leftSsa, NullAwareCharReverseSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(NullAwareCharReverseSegmentedSortedArray leftSsa, NullAwareCharReverseSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -48,8 +59,7 @@ private static void processEntry(NullAwareCharReverseSegmentedSortedArray leftSs if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -64,7 +74,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final char nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -79,7 +90,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, NullAwar } } - private static void fillWithValue(WritableRowRedirection rowRedirection, NullAwareCharReverseSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, NullAwareCharReverseSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -87,13 +99,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, NullAwa } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((NullAwareCharReverseSegmentedSortedArray)leftSsa, rightStampChunk.asCharChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((NullAwareCharReverseSegmentedSortedArray) leftSsa, rightStampChunk.asCharChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(NullAwareCharReverseSegmentedSortedArray leftSsa, CharChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(NullAwareCharReverseSegmentedSortedArray leftSsa, CharChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final NullAwareCharReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -140,15 +157,22 @@ static private void processRemovals(NullAwareCharReverseSegmentedSortedArray lef } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((NullAwareCharReverseSegmentedSortedArray)leftSsa, rightStampChunk.asCharChunk(), rightKeys, nextRightValue.asCharChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((NullAwareCharReverseSegmentedSortedArray) leftSsa, rightStampChunk.asCharChunk(), rightKeys, + nextRightValue.asCharChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(NullAwareCharReverseSegmentedSortedArray leftSsa, CharChunk rightStampChunk, LongChunk rightKeys, CharChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(NullAwareCharReverseSegmentedSortedArray leftSsa, CharChunk rightStampChunk, + LongChunk rightKeys, CharChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final NullAwareCharReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -204,11 +228,16 @@ static private void processInsertion(NullAwareCharReverseSegmentedSortedArray le } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((NullAwareCharReverseSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asCharChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((NullAwareCharReverseSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asCharChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(NullAwareCharReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, CharChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(NullAwareCharReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + CharChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final NullAwareCharReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -243,11 +272,16 @@ private static void findModified(NullAwareCharReverseSegmentedSortedArray leftSs } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((NullAwareCharReverseSegmentedSortedArray)leftSsa, rightStampChunk.asCharChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((NullAwareCharReverseSegmentedSortedArray) leftSsa, rightStampChunk.asCharChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(NullAwareCharReverseSegmentedSortedArray leftSsa, CharChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(NullAwareCharReverseSegmentedSortedArray leftSsa, CharChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final NullAwareCharReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharSegmentedSortedArray.java index 08c81d4db4c..668aecb6da8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharSegmentedSortedArray.java @@ -1,9 +1,14 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedArray and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSegmentedSortedArray and run "./gradlew replicateDupCompactKernel" to regenerate +// +// @formatter:off + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.QueryConstants; @@ -25,14 +30,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the char values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the char values, and then on the corresponding row + * key. */ public final class NullAwareCharSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -42,16 +47,16 @@ public final class NullAwareCharSegmentedSortedArray implements SegmentedSortedA private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private char [] directoryValues; - private long [] directoryRowKeys; + private char[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private char [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private char[][] leafValues; + private long[][] leafRowKeys; /** * Create a NullAwareCharSegmentedSortedArray with the given leafSize. @@ -70,7 +75,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asCharChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asCharChunk(), rowKeysToInsert, nextValue.asWritableCharChunk()); @@ -79,13 +85,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(CharChunk stampValues, LongChunk stampRowKeys, WritableCharChunk nextValues) { + private int findNext(CharChunk stampValues, LongChunk stampRowKeys, + WritableCharChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -117,14 +124,17 @@ private int findNext(CharChunk stampValues, LongChunk int findNextOneLeaf(int offset, CharChunk stampValues, LongChunk stampRowKeys, WritableCharChunk nextValues, int leafSize, char [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, CharChunk stampValues, + LongChunk stampRowKeys, WritableCharChunk nextValues, int leafSize, char[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -145,7 +155,7 @@ private static int findNextOneLeaf(int offset, CharChunk stam } /** - * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. + * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. * * @param valuesToInsert the valuesToInsert to insert (must be sorted, with ties broken by the row key) * @param rowKeysToInsert the corresponding rowKeysToInsert @@ -182,12 +192,15 @@ void insert(CharChunk valuesToInsert, LongChunk leafValuesInsertChunk = ResettableCharChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -195,7 +208,8 @@ void insert(CharChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, char[] leafValues, CharChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, char[] leafValues, CharChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, char[] leafValues, CharChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -413,7 +433,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, CharChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + CharChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -424,7 +445,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new char[leafSize]; @@ -451,11 +472,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -525,7 +546,8 @@ private void makeLeavesInitial(CharChunk values, LongChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, char[] leafValues, CharChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -575,11 +597,12 @@ private void insertIntoLeaf(int leafSize, char [] leafValues, CharChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -588,17 +611,20 @@ private void insertIntoLeaf(int leafSize, char [] leafValues, CharChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -614,8 +640,7 @@ private void insertIntoLeaf(int leafSize, char [] leafValues, CharChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final char searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -626,13 +651,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -653,7 +680,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, char[] leafValues, CharChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, char[] leafValues, CharChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final char firstInsertValue = insertValues.get(0); final char lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -675,7 +703,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, char [] leafValues, CharChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, char[] leafValues, CharChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -685,7 +715,7 @@ private void removeFromLeaf(int leafSize, char [] leafValues, CharChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, char searchValue, long searchKey) { + private static int lowerBound(CharChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, char searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -752,7 +784,8 @@ private static int lowerBound(CharChunk valuesToSearch, LongChunk return lo; } - private static int upperBound(CharChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, char searchValue, long searchKey) { + private static int upperBound(CharChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, char searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch.get(mid); @@ -771,12 +804,13 @@ private static int upperBound(CharChunk valuesToSearch, LongChunk return lo; } - private static int lowerBound(char [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, char searchValue, long searchKey) { + private static int lowerBound(char[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, char searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -812,20 +846,21 @@ private static int upperBound(char[] valuesToSearch, int lo, int hi, char search /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(char [] valuesToSearch, long [] rowKeysToSearch, final char searchValue, long searchRowKey, int lo, int hi) { + private static int bound(char[] valuesToSearch, long[] rowKeysToSearch, final char searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -843,7 +878,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asCharChunk(), rowKeysToRemove, priorRedirections); } @@ -852,13 +888,15 @@ private void remove(CharChunk valuesToRemove, LongChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(CharChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -878,11 +916,13 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableCharChunk leafValuesRemoveChunk = ResettableCharChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -890,7 +930,9 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -898,7 +940,8 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L } else { final char leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -906,7 +949,8 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -920,14 +964,18 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -952,18 +1000,23 @@ private void removeAndGetNextInternal(CharChunk valuesToRemove, L } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1038,11 +1091,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asCharChunk(), keyChunk, shiftDelta); } - private void applyShift(CharChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(CharChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1053,11 +1108,13 @@ private void applyShift(CharChunk stampChunk, LongChunk leafValuesChunk = ResettableCharChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1065,7 +1122,8 @@ private void applyShift(CharChunk stampChunk, LongChunk stampChunk, LongChunk= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1089,15 +1149,17 @@ private void applyShift(CharChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, char[] leafValues, CharChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1115,7 +1177,8 @@ private void shiftLeaf(int leafSize, char [] leafValues, CharChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(CharChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1144,11 +1208,13 @@ private void applyShiftReverse(CharChunk stampChunk, LongChunk leafValuesChunk = ResettableCharChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1156,15 +1222,20 @@ private void applyShiftReverse(CharChunk stampChunk, LongChunk stampChunk, LongChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, char[] leafValues, CharChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1211,7 +1285,8 @@ private void shiftLeafReverse(int leafSize, char [] leafValues, CharChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1641,9 +1716,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1680,7 +1755,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(char value) { if (disallowExactMatch) { @@ -1696,26 +1772,31 @@ private void findInLeaf(char value) { private void findLastInLeaf(char value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(char value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharSsaSsaStamp.java index b51ee0843d8..2627f0d802c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/NullAwareCharSsaSsaStamp.java @@ -1,9 +1,15 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaSsaStamp and regenerate - * ------------------------------------------------------------------------------------------------------------------ */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit NullAwareCharSsaSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off + + +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssa; import io.deephaven.util.QueryConstants; @@ -27,11 +33,14 @@ public class NullAwareCharSsaSsaStamp implements SsaSsaStamp { private NullAwareCharSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((NullAwareCharSegmentedSortedArray)leftSsa, (NullAwareCharSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((NullAwareCharSegmentedSortedArray) leftSsa, (NullAwareCharSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(NullAwareCharSegmentedSortedArray leftSsa, NullAwareCharSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(NullAwareCharSegmentedSortedArray leftSsa, NullAwareCharSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -48,8 +57,7 @@ private static void processEntry(NullAwareCharSegmentedSortedArray leftSsa, Null if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -64,7 +72,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final char nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -79,7 +88,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, NullAwar } } - private static void fillWithValue(WritableRowRedirection rowRedirection, NullAwareCharSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, NullAwareCharSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -87,13 +97,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, NullAwa } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((NullAwareCharSegmentedSortedArray)leftSsa, rightStampChunk.asCharChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((NullAwareCharSegmentedSortedArray) leftSsa, rightStampChunk.asCharChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(NullAwareCharSegmentedSortedArray leftSsa, CharChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(NullAwareCharSegmentedSortedArray leftSsa, CharChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final NullAwareCharSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -140,15 +155,22 @@ static private void processRemovals(NullAwareCharSegmentedSortedArray leftSsa, C } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((NullAwareCharSegmentedSortedArray)leftSsa, rightStampChunk.asCharChunk(), rightKeys, nextRightValue.asCharChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((NullAwareCharSegmentedSortedArray) leftSsa, rightStampChunk.asCharChunk(), rightKeys, + nextRightValue.asCharChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(NullAwareCharSegmentedSortedArray leftSsa, CharChunk rightStampChunk, LongChunk rightKeys, CharChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(NullAwareCharSegmentedSortedArray leftSsa, CharChunk rightStampChunk, + LongChunk rightKeys, CharChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final NullAwareCharSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -204,11 +226,16 @@ static private void processInsertion(NullAwareCharSegmentedSortedArray leftSsa, } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((NullAwareCharSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asCharChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((NullAwareCharSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asCharChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(NullAwareCharSegmentedSortedArray leftSsa, RowRedirection rowRedirection, CharChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(NullAwareCharSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + CharChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final NullAwareCharSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -243,11 +270,16 @@ private static void findModified(NullAwareCharSegmentedSortedArray leftSsa, RowR } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((NullAwareCharSegmentedSortedArray)leftSsa, rightStampChunk.asCharChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((NullAwareCharSegmentedSortedArray) leftSsa, rightStampChunk.asCharChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(NullAwareCharSegmentedSortedArray leftSsa, CharChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(NullAwareCharSegmentedSortedArray leftSsa, CharChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final NullAwareCharSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectChunkSsaStamp.java index 049680a0e68..c398afa86fa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectChunkSsaStamp.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import java.util.Objects; @@ -27,11 +26,14 @@ public class ObjectChunkSsaStamp implements ChunkSsaStamp { private ObjectChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asObjectChunk(), leftStampKeys, (ObjectSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asObjectChunk(), leftStampKeys, (ObjectSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(ObjectChunk leftStampValues, Chunk leftStampKeys, ObjectSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(ObjectChunk leftStampValues, Chunk leftStampKeys, + ObjectSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -42,14 +44,13 @@ private static void processEntry(ObjectChunk leftStampValues, Ch final ObjectSegmentedSortedArray.Iterator ssaIt = ssa.iterator(disallowExactMatch, true); - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final Object leftValue = leftStampValues.get(li); final int comparison = doComparison(leftValue, ssaIt.getValue()); if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rightKeysForLeft.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rightKeysForLeft.set(li++, ssaIt.getKey()); continue; } @@ -63,7 +64,8 @@ else if (comparison == 0) { } else { rightKeysForLeft.set(li++, redirectionKey); final Object nextRightValue = ssaIt.nextValue(); - while (li < leftSize && (disallowExactMatch ? leq(leftStampValues.get(li), nextRightValue) : lt(leftStampValues.get(li), nextRightValue))) { + while (li < leftSize && (disallowExactMatch ? leq(leftStampValues.get(li), nextRightValue) + : lt(leftStampValues.get(li), nextRightValue))) { rightKeysForLeft.set(li++, redirectionKey); } } @@ -71,13 +73,20 @@ else if (comparison == 0) { } @Override - public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asObjectChunk(), leftStampKeys, rightStampChunk.asObjectChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asObjectChunk(), leftStampKeys, rightStampChunk.asObjectChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(ObjectChunk leftStampValues, LongChunk leftStampKeys, ObjectChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(ObjectChunk leftStampValues, LongChunk leftStampKeys, + ObjectChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -108,15 +117,24 @@ private static void processRemovals(ObjectChunk leftStampValues, } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asObjectChunk(), leftStampKeys, rightStampChunk.asObjectChunk(), rightKeys, nextRightValue.asObjectChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asObjectChunk(), leftStampKeys, rightStampChunk.asObjectChunk(), rightKeys, + nextRightValue.asObjectChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(ObjectChunk leftStampValues, LongChunk leftStampKeys, ObjectChunk rightStampChunk, LongChunk rightKeys, ObjectChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(ObjectChunk leftStampValues, LongChunk leftStampKeys, + ObjectChunk rightStampChunk, LongChunk rightKeys, ObjectChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -153,11 +171,16 @@ private static void processInsertion(ObjectChunk leftStampValues } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asObjectChunk(), leftStampKeys, rowRedirection, rightStampChunk.asObjectChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asObjectChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asObjectChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, ObjectChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, ObjectChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, ObjectChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, ObjectChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final Object rightStampValue = rightStampChunk.get(ii); @@ -166,7 +189,8 @@ private static int findModified(int leftLowIdx, ObjectChunk left final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -176,11 +200,16 @@ private static int findModified(int leftLowIdx, ObjectChunk left } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asObjectChunk(), leftStampKeys, rightStampChunk.asObjectChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asObjectChunk(), leftStampKeys, rightStampChunk.asObjectChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(ObjectChunk leftStampValues, LongChunk leftStampKeys, ObjectChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(ObjectChunk leftStampValues, LongChunk leftStampKeys, + ObjectChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final Object rightStampValue = rightStampChunk.get(ii); @@ -190,14 +219,16 @@ private void applyShift(ObjectChunk leftStampValues, LongChunk leftStampValues, boolean disallowExactMatch, Object rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, ObjectChunk leftStampValues, + boolean disallowExactMatch, Object rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectReverseChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectReverseChunkSsaStamp.java index 04f952ddcb7..8efb4cde547 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectReverseChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectReverseChunkSsaStamp.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ObjectChunkSsaStamp and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import java.util.Objects; @@ -29,11 +30,14 @@ public class ObjectReverseChunkSsaStamp implements ChunkSsaStamp { private ObjectReverseChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asObjectChunk(), leftStampKeys, (ObjectReverseSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asObjectChunk(), leftStampKeys, (ObjectReverseSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(ObjectChunk leftStampValues, Chunk leftStampKeys, ObjectReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(ObjectChunk leftStampValues, Chunk leftStampKeys, + ObjectReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -44,14 +48,13 @@ private static void processEntry(ObjectChunk leftStampValues, Ch final ObjectReverseSegmentedSortedArray.Iterator ssaIt = ssa.iterator(disallowExactMatch, true); - for (int li = 0; li < leftSize; ) { + for (int li = 0; li < leftSize;) { final Object leftValue = leftStampValues.get(li); final int comparison = doComparison(leftValue, ssaIt.getValue()); if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rightKeysForLeft.set(li++, RowSequence.NULL_ROW_KEY); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rightKeysForLeft.set(li++, ssaIt.getKey()); continue; } @@ -65,7 +68,8 @@ else if (comparison == 0) { } else { rightKeysForLeft.set(li++, redirectionKey); final Object nextRightValue = ssaIt.nextValue(); - while (li < leftSize && (disallowExactMatch ? leq(leftStampValues.get(li), nextRightValue) : lt(leftStampValues.get(li), nextRightValue))) { + while (li < leftSize && (disallowExactMatch ? leq(leftStampValues.get(li), nextRightValue) + : lt(leftStampValues.get(li), nextRightValue))) { rightKeysForLeft.set(li++, redirectionKey); } } @@ -73,13 +77,20 @@ else if (comparison == 0) { } @Override - public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asObjectChunk(), leftStampKeys, rightStampChunk.asObjectChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asObjectChunk(), leftStampKeys, rightStampChunk.asObjectChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(ObjectChunk leftStampValues, LongChunk leftStampKeys, ObjectChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(ObjectChunk leftStampValues, LongChunk leftStampKeys, + ObjectChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -110,15 +121,24 @@ private static void processRemovals(ObjectChunk leftStampValues, } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asObjectChunk(), leftStampKeys, rightStampChunk.asObjectChunk(), rightKeys, nextRightValue.asObjectChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asObjectChunk(), leftStampKeys, rightStampChunk.asObjectChunk(), rightKeys, + nextRightValue.asObjectChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(ObjectChunk leftStampValues, LongChunk leftStampKeys, ObjectChunk rightStampChunk, LongChunk rightKeys, ObjectChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(ObjectChunk leftStampValues, LongChunk leftStampKeys, + ObjectChunk rightStampChunk, LongChunk rightKeys, ObjectChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -155,11 +175,16 @@ private static void processInsertion(ObjectChunk leftStampValues } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asObjectChunk(), leftStampKeys, rowRedirection, rightStampChunk.asObjectChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asObjectChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asObjectChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, ObjectChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, ObjectChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, ObjectChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, ObjectChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final Object rightStampValue = rightStampChunk.get(ii); @@ -168,7 +193,8 @@ private static int findModified(int leftLowIdx, ObjectChunk left final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -178,11 +204,16 @@ private static int findModified(int leftLowIdx, ObjectChunk left } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asObjectChunk(), leftStampKeys, rightStampChunk.asObjectChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asObjectChunk(), leftStampKeys, rightStampChunk.asObjectChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(ObjectChunk leftStampValues, LongChunk leftStampKeys, ObjectChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(ObjectChunk leftStampValues, LongChunk leftStampKeys, + ObjectChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final Object rightStampValue = rightStampChunk.get(ii); @@ -192,14 +223,16 @@ private void applyShift(ObjectChunk leftStampValues, LongChunk leftStampValues, boolean disallowExactMatch, Object rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, ObjectChunk leftStampValues, + boolean disallowExactMatch, Object rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectReverseSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectReverseSegmentedSortedArray.java index 893db30b509..ba41c58dd35 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectReverseSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectReverseSegmentedSortedArray.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ObjectSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import java.util.Objects; @@ -28,14 +29,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the Object values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the Object values, and then on the corresponding row + * key. */ public final class ObjectReverseSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -45,16 +46,16 @@ public final class ObjectReverseSegmentedSortedArray implements SegmentedSortedA private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private Object [] directoryValues; - private long [] directoryRowKeys; + private Object[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private Object [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private Object[][] leafValues; + private long[][] leafRowKeys; /** * Create a ObjectReverseSegmentedSortedArray with the given leafSize. @@ -73,7 +74,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asObjectChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asObjectChunk(), rowKeysToInsert, nextValue.asWritableObjectChunk()); @@ -82,13 +84,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(ObjectChunk stampValues, LongChunk stampRowKeys, WritableObjectChunk nextValues) { + private int findNext(ObjectChunk stampValues, LongChunk stampRowKeys, + WritableObjectChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -120,14 +123,17 @@ private int findNext(ObjectChunk stampValues, LongChu } currentLeaf = bound(directoryValues, directoryRowKeys, searchValue, searchKey, currentLeaf, leafCount); - final int found = findNextOneLeaf(stampsFound, stampValues, stampRowKeys, nextValues, leafSizes[currentLeaf], leafValues[currentLeaf], leafRowKeys[currentLeaf]); + final int found = findNextOneLeaf(stampsFound, stampValues, stampRowKeys, nextValues, + leafSizes[currentLeaf], leafValues[currentLeaf], leafRowKeys[currentLeaf]); stampsFound += found; } return stampsFound; } - private static int findNextOneLeaf(int offset, ObjectChunk stampValues, LongChunk stampRowKeys, WritableObjectChunk nextValues, int leafSize, Object [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, ObjectChunk stampValues, + LongChunk stampRowKeys, WritableObjectChunk nextValues, int leafSize, Object[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -148,7 +154,7 @@ private static int findNextOneLeaf(int offset, ObjectChunk valuesToInsert, LongChunk leafValuesInsertChunk = ResettableObjectChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -198,7 +207,8 @@ void insert(ObjectChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, Object[] leafValues, ObjectChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, Object[] leafValues, ObjectChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, Object[] leafValues, ObjectChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -416,7 +432,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, ObjectChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + ObjectChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -427,7 +444,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new Object[leafSize]; @@ -454,11 +471,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -528,7 +545,8 @@ private void makeLeavesInitial(ObjectChunk values, LongCh } // the caller is responsible for updating the directoryValues and directoryRowKeys if required - private void insertIntoLeaf(int leafSize, Object [] leafValues, ObjectChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, Object[] leafValues, ObjectChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -578,11 +596,12 @@ private void insertIntoLeaf(int leafSize, Object [] leafValues, ObjectChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -591,17 +610,20 @@ private void insertIntoLeaf(int leafSize, Object [] leafValues, ObjectChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -617,8 +639,7 @@ private void insertIntoLeaf(int leafSize, Object [] leafValues, ObjectChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final Object searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -629,13 +650,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -656,7 +679,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, Object[] leafValues, ObjectChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, Object[] leafValues, ObjectChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final Object firstInsertValue = insertValues.get(0); final Object lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -678,7 +702,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, Object [] leafValues, ObjectChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, Object[] leafValues, ObjectChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -688,7 +714,7 @@ private void removeFromLeaf(int leafSize, Object [] leafValues, ObjectChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, Object searchValue, long searchKey) { + private static int lowerBound(ObjectChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, Object searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final Object testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -755,7 +783,8 @@ private static int lowerBound(ObjectChunk valuesToSearch, return lo; } - private static int upperBound(ObjectChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, Object searchValue, long searchKey) { + private static int upperBound(ObjectChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, Object searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final Object testValue = valuesToSearch.get(mid); @@ -774,12 +803,13 @@ private static int upperBound(ObjectChunk valuesToSearch, return lo; } - private static int lowerBound(Object [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, Object searchValue, long searchKey) { + private static int lowerBound(Object[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, Object searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final Object testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -815,20 +845,21 @@ private static int upperBound(Object[] valuesToSearch, int lo, int hi, Object se /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(Object [] valuesToSearch, long [] rowKeysToSearch, final Object searchValue, long searchRowKey, int lo, int hi) { + private static int bound(Object[] valuesToSearch, long[] rowKeysToSearch, final Object searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final Object testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -846,7 +877,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asObjectChunk(), rowKeysToRemove, priorRedirections); } @@ -855,13 +887,15 @@ private void remove(ObjectChunk valuesToRemove, LongChunk } /** - * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. + * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. * - * @param valuesToRemove the valuesToRemove to remove - * @param rowKeysToRemove the corresponding rowKeys + * @param valuesToRemove the valuesToRemove to remove + * @param rowKeysToRemove the corresponding rowKeys * @param priorRedirections the prior redirection for a removed value */ - private void removeAndGetNextInternal(ObjectChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(ObjectChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -881,11 +915,13 @@ private void removeAndGetNextInternal(ObjectChunk valuesT } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableObjectChunk leafValuesRemoveChunk = ResettableObjectChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -893,7 +929,9 @@ private void removeAndGetNextInternal(ObjectChunk valuesT while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -901,7 +939,8 @@ private void removeAndGetNextInternal(ObjectChunk valuesT } else { final Object leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -909,7 +948,8 @@ private void removeAndGetNextInternal(ObjectChunk valuesT if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -923,14 +963,18 @@ private void removeAndGetNextInternal(ObjectChunk valuesT priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -955,18 +999,23 @@ private void removeAndGetNextInternal(ObjectChunk valuesT } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1041,11 +1090,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asObjectChunk(), keyChunk, shiftDelta); } - private void applyShift(ObjectChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(ObjectChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1056,11 +1107,13 @@ private void applyShift(ObjectChunk stampChunk, LongChunk shiftLeaf(size, directoryValues, stampChunk, directoryRowKeys, keyChunk, shiftDelta); } else { try (final ResettableObjectChunk leafValuesChunk = ResettableObjectChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1068,7 +1121,8 @@ private void applyShift(ObjectChunk stampChunk, LongChunk } else { final Object leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastValueForLeaf = lowerBound(stampChunk, keyChunk, firstValuesPosition, shiftSize, leafMaxValue, leafMaxRowKey); + lastValueForLeaf = lowerBound(stampChunk, keyChunk, firstValuesPosition, shiftSize, + leafMaxValue, leafMaxRowKey); } final int count = lastValueForLeaf - firstValuesPosition + 1; @@ -1076,11 +1130,13 @@ private void applyShift(ObjectChunk stampChunk, LongChunk leafValuesChunk.resetFromTypedChunk(stampChunk, firstValuesPosition, count); leafKeyChunk.resetFromTypedChunk(keyChunk, firstValuesPosition, count); - shiftLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesChunk, leafRowKeys[firstLeaf], leafKeyChunk, shiftDelta); + shiftLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesChunk, leafRowKeys[firstLeaf], + leafKeyChunk, shiftDelta); final int predecessorLeaf = firstLeaf - 1; if (predecessorLeaf >= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1092,15 +1148,17 @@ private void applyShift(ObjectChunk stampChunk, LongChunk validate(); } - private void shiftLeaf(int leafSize, Object [] leafValues, ObjectChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, Object[] leafValues, ObjectChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1118,7 +1176,8 @@ private void shiftLeaf(int leafSize, Object [] leafValues, ObjectChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(ObjectChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1147,11 +1207,13 @@ private void applyShiftReverse(ObjectChunk stampChunk, Lo shiftLeafReverse(size, directoryValues, stampChunk, directoryRowKeys, keyChunk, shiftDelta); } else { try (final ResettableObjectChunk leafValuesChunk = ResettableObjectChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1159,15 +1221,20 @@ private void applyShiftReverse(ObjectChunk stampChunk, Lo } else { final Object leafMinValue = leafValues[firstLeaf][0]; final long leafMinRowKey = leafRowKeys[firstLeaf][0]; - firstValueForLeaf = lowerBound(stampChunk, keyChunk, 0, lastValuesPosition + 1, leafMinValue, leafMinRowKey); + firstValueForLeaf = lowerBound(stampChunk, keyChunk, 0, lastValuesPosition + 1, leafMinValue, + leafMinRowKey); Object foundValue = stampChunk.get(firstValueForLeaf); - if (lt(foundValue, leafMinValue) || (eq(foundValue, leafMinValue) && keyChunk.get(firstValueForLeaf) < leafMinRowKey)) { + if (lt(foundValue, leafMinValue) + || (eq(foundValue, leafMinValue) && keyChunk.get(firstValueForLeaf) < leafMinRowKey)) { firstValueForLeaf++; foundValue = stampChunk.get(firstValueForLeaf); } - Assert.assertion(geq(foundValue, leafMinValue), "geq(stampChunk.get(firstValueForLeaf), leafMinValue)", foundValue, "foundValue", leafMinValue, "leafMinValue"); + Assert.assertion(geq(foundValue, leafMinValue), + "geq(stampChunk.get(firstValueForLeaf), leafMinValue)", foundValue, "foundValue", + leafMinValue, "leafMinValue"); if (eq(foundValue, leafMinValue)) { - Assert.geq(keyChunk.get(firstValueForLeaf), "keyChunk.get(firstValueForLeaf)", leafMinRowKey, "leafMinRowKey"); + Assert.geq(keyChunk.get(firstValueForLeaf), "keyChunk.get(firstValueForLeaf)", + leafMinRowKey, "leafMinRowKey"); } } @@ -1176,7 +1243,8 @@ private void applyShiftReverse(ObjectChunk stampChunk, Lo leafValuesChunk.resetFromTypedChunk(stampChunk, firstValueForLeaf, count); leafKeyChunk.resetFromTypedChunk(keyChunk, firstValueForLeaf, count); - shiftLeafReverse(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesChunk, leafRowKeys[firstLeaf], leafKeyChunk, shiftDelta); + shiftLeafReverse(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesChunk, + leafRowKeys[firstLeaf], leafKeyChunk, shiftDelta); directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1187,15 +1255,17 @@ private void applyShiftReverse(ObjectChunk stampChunk, Lo validate(); } - private void shiftLeafReverse(int leafSize, Object [] leafValues, ObjectChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, Object[] leafValues, ObjectChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1214,7 +1284,8 @@ private void shiftLeafReverse(int leafSize, Object [] leafValues, ObjectChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1655,9 +1726,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1694,7 +1765,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(Object value) { if (disallowExactMatch) { @@ -1710,26 +1782,31 @@ private void findInLeaf(Object value) { private void findLastInLeaf(Object value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(Object value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectReverseSsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectReverseSsaChecker.java index 197913c80fa..38706a17db5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectReverseSsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectReverseSsaChecker.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaChecker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ObjectSsaChecker and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import java.util.Objects; @@ -30,16 +31,18 @@ public class ObjectReverseSsaChecker implements SsaChecker { private ObjectReverseSsaChecker() {} // static use only @Override - public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, LongChunk tableIndexChunk) { - checkSsa((ObjectReverseSegmentedSortedArray)ssa, valueChunk.asObjectChunk(), tableIndexChunk); + public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, + LongChunk tableIndexChunk) { + checkSsa((ObjectReverseSegmentedSortedArray) ssa, valueChunk.asObjectChunk(), tableIndexChunk); } - static void checkSsa(ObjectReverseSegmentedSortedArray ssa, ObjectChunk valueChunk, LongChunk tableIndexChunk) { + static void checkSsa(ObjectReverseSegmentedSortedArray ssa, ObjectChunk valueChunk, + LongChunk tableIndexChunk) { ssa.validateInternal(); - //noinspection unchecked + // noinspection unchecked try (final WritableObjectChunk resultChunk = (WritableObjectChunk) ssa.asObjectChunk(); - final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { + final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { Assert.eq(valueChunk.size(), "valueChunk.size()", resultChunk.size(), "resultChunk.size()"); Assert.eq(tableIndexChunk.size(), "tableIndexChunk.size()", indexChunk.size(), "indexChunk.size()"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectReverseSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectReverseSsaSsaStamp.java index 6aa76dde719..7b88fc933c8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectReverseSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectReverseSsaSsaStamp.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ObjectSsaSsaStamp and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import java.util.Objects; @@ -30,11 +31,14 @@ public class ObjectReverseSsaSsaStamp implements SsaSsaStamp { private ObjectReverseSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((ObjectReverseSegmentedSortedArray)leftSsa, (ObjectReverseSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((ObjectReverseSegmentedSortedArray) leftSsa, (ObjectReverseSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(ObjectReverseSegmentedSortedArray leftSsa, ObjectReverseSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(ObjectReverseSegmentedSortedArray leftSsa, ObjectReverseSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -51,8 +55,7 @@ private static void processEntry(ObjectReverseSegmentedSortedArray leftSsa, Obje if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -67,7 +70,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final Object nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -82,7 +86,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, ObjectRe } } - private static void fillWithValue(WritableRowRedirection rowRedirection, ObjectReverseSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, ObjectReverseSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -90,13 +95,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, ObjectR } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((ObjectReverseSegmentedSortedArray)leftSsa, rightStampChunk.asObjectChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((ObjectReverseSegmentedSortedArray) leftSsa, rightStampChunk.asObjectChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(ObjectReverseSegmentedSortedArray leftSsa, ObjectChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(ObjectReverseSegmentedSortedArray leftSsa, ObjectChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final ObjectReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -143,15 +153,22 @@ static private void processRemovals(ObjectReverseSegmentedSortedArray leftSsa, O } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((ObjectReverseSegmentedSortedArray)leftSsa, rightStampChunk.asObjectChunk(), rightKeys, nextRightValue.asObjectChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((ObjectReverseSegmentedSortedArray) leftSsa, rightStampChunk.asObjectChunk(), rightKeys, + nextRightValue.asObjectChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(ObjectReverseSegmentedSortedArray leftSsa, ObjectChunk rightStampChunk, LongChunk rightKeys, ObjectChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(ObjectReverseSegmentedSortedArray leftSsa, ObjectChunk rightStampChunk, + LongChunk rightKeys, ObjectChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final ObjectReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -207,11 +224,16 @@ static private void processInsertion(ObjectReverseSegmentedSortedArray leftSsa, } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((ObjectReverseSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asObjectChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((ObjectReverseSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asObjectChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(ObjectReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, ObjectChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(ObjectReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + ObjectChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final ObjectReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -246,11 +268,16 @@ private static void findModified(ObjectReverseSegmentedSortedArray leftSsa, RowR } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((ObjectReverseSegmentedSortedArray)leftSsa, rightStampChunk.asObjectChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((ObjectReverseSegmentedSortedArray) leftSsa, rightStampChunk.asObjectChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(ObjectReverseSegmentedSortedArray leftSsa, ObjectChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(ObjectReverseSegmentedSortedArray leftSsa, ObjectChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final ObjectReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectSegmentedSortedArray.java index 8f5bd77cc52..cb19f5631e0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectSegmentedSortedArray.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import java.util.Objects; @@ -26,14 +25,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the Object values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the Object values, and then on the corresponding row + * key. */ public final class ObjectSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -43,16 +42,16 @@ public final class ObjectSegmentedSortedArray implements SegmentedSortedArray { private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private Object [] directoryValues; - private long [] directoryRowKeys; + private Object[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private Object [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private Object[][] leafValues; + private long[][] leafRowKeys; /** * Create a ObjectSegmentedSortedArray with the given leafSize. @@ -71,7 +70,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asObjectChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asObjectChunk(), rowKeysToInsert, nextValue.asWritableObjectChunk()); @@ -80,13 +80,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(ObjectChunk stampValues, LongChunk stampRowKeys, WritableObjectChunk nextValues) { + private int findNext(ObjectChunk stampValues, LongChunk stampRowKeys, + WritableObjectChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -118,14 +119,17 @@ private int findNext(ObjectChunk stampValues, LongChu } currentLeaf = bound(directoryValues, directoryRowKeys, searchValue, searchKey, currentLeaf, leafCount); - final int found = findNextOneLeaf(stampsFound, stampValues, stampRowKeys, nextValues, leafSizes[currentLeaf], leafValues[currentLeaf], leafRowKeys[currentLeaf]); + final int found = findNextOneLeaf(stampsFound, stampValues, stampRowKeys, nextValues, + leafSizes[currentLeaf], leafValues[currentLeaf], leafRowKeys[currentLeaf]); stampsFound += found; } return stampsFound; } - private static int findNextOneLeaf(int offset, ObjectChunk stampValues, LongChunk stampRowKeys, WritableObjectChunk nextValues, int leafSize, Object [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, ObjectChunk stampValues, + LongChunk stampRowKeys, WritableObjectChunk nextValues, int leafSize, Object[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -146,7 +150,7 @@ private static int findNextOneLeaf(int offset, ObjectChunk valuesToInsert, LongChunk leafValuesInsertChunk = ResettableObjectChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -196,7 +203,8 @@ void insert(ObjectChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, Object[] leafValues, ObjectChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, Object[] leafValues, ObjectChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, Object[] leafValues, ObjectChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -414,7 +428,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, ObjectChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + ObjectChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -425,7 +440,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new Object[leafSize]; @@ -452,11 +467,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -526,7 +541,8 @@ private void makeLeavesInitial(ObjectChunk values, LongCh } // the caller is responsible for updating the directoryValues and directoryRowKeys if required - private void insertIntoLeaf(int leafSize, Object [] leafValues, ObjectChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, Object[] leafValues, ObjectChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -576,11 +592,12 @@ private void insertIntoLeaf(int leafSize, Object [] leafValues, ObjectChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -589,17 +606,20 @@ private void insertIntoLeaf(int leafSize, Object [] leafValues, ObjectChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -615,8 +635,7 @@ private void insertIntoLeaf(int leafSize, Object [] leafValues, ObjectChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final Object searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -627,13 +646,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -654,7 +675,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, Object[] leafValues, ObjectChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, Object[] leafValues, ObjectChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final Object firstInsertValue = insertValues.get(0); final Object lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -676,7 +698,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, Object [] leafValues, ObjectChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, Object[] leafValues, ObjectChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -686,7 +710,7 @@ private void removeFromLeaf(int leafSize, Object [] leafValues, ObjectChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, Object searchValue, long searchKey) { + private static int lowerBound(ObjectChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, Object searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final Object testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -753,7 +779,8 @@ private static int lowerBound(ObjectChunk valuesToSearch, return lo; } - private static int upperBound(ObjectChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, Object searchValue, long searchKey) { + private static int upperBound(ObjectChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, Object searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final Object testValue = valuesToSearch.get(mid); @@ -772,12 +799,13 @@ private static int upperBound(ObjectChunk valuesToSearch, return lo; } - private static int lowerBound(Object [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, Object searchValue, long searchKey) { + private static int lowerBound(Object[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, Object searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final Object testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -813,20 +841,21 @@ private static int upperBound(Object[] valuesToSearch, int lo, int hi, Object se /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(Object [] valuesToSearch, long [] rowKeysToSearch, final Object searchValue, long searchRowKey, int lo, int hi) { + private static int bound(Object[] valuesToSearch, long[] rowKeysToSearch, final Object searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final Object testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -844,7 +873,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asObjectChunk(), rowKeysToRemove, priorRedirections); } @@ -853,13 +883,15 @@ private void remove(ObjectChunk valuesToRemove, LongChunk } /** - * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. + * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. * - * @param valuesToRemove the valuesToRemove to remove - * @param rowKeysToRemove the corresponding rowKeys + * @param valuesToRemove the valuesToRemove to remove + * @param rowKeysToRemove the corresponding rowKeys * @param priorRedirections the prior redirection for a removed value */ - private void removeAndGetNextInternal(ObjectChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(ObjectChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -879,11 +911,13 @@ private void removeAndGetNextInternal(ObjectChunk valuesT } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableObjectChunk leafValuesRemoveChunk = ResettableObjectChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -891,7 +925,9 @@ private void removeAndGetNextInternal(ObjectChunk valuesT while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -899,7 +935,8 @@ private void removeAndGetNextInternal(ObjectChunk valuesT } else { final Object leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -907,7 +944,8 @@ private void removeAndGetNextInternal(ObjectChunk valuesT if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -921,14 +959,18 @@ private void removeAndGetNextInternal(ObjectChunk valuesT priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -953,18 +995,23 @@ private void removeAndGetNextInternal(ObjectChunk valuesT } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1039,11 +1086,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asObjectChunk(), keyChunk, shiftDelta); } - private void applyShift(ObjectChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(ObjectChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1054,11 +1103,13 @@ private void applyShift(ObjectChunk stampChunk, LongChunk shiftLeaf(size, directoryValues, stampChunk, directoryRowKeys, keyChunk, shiftDelta); } else { try (final ResettableObjectChunk leafValuesChunk = ResettableObjectChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1066,7 +1117,8 @@ private void applyShift(ObjectChunk stampChunk, LongChunk } else { final Object leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastValueForLeaf = lowerBound(stampChunk, keyChunk, firstValuesPosition, shiftSize, leafMaxValue, leafMaxRowKey); + lastValueForLeaf = lowerBound(stampChunk, keyChunk, firstValuesPosition, shiftSize, + leafMaxValue, leafMaxRowKey); } final int count = lastValueForLeaf - firstValuesPosition + 1; @@ -1074,11 +1126,13 @@ private void applyShift(ObjectChunk stampChunk, LongChunk leafValuesChunk.resetFromTypedChunk(stampChunk, firstValuesPosition, count); leafKeyChunk.resetFromTypedChunk(keyChunk, firstValuesPosition, count); - shiftLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesChunk, leafRowKeys[firstLeaf], leafKeyChunk, shiftDelta); + shiftLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesChunk, leafRowKeys[firstLeaf], + leafKeyChunk, shiftDelta); final int predecessorLeaf = firstLeaf - 1; if (predecessorLeaf >= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1090,15 +1144,17 @@ private void applyShift(ObjectChunk stampChunk, LongChunk validate(); } - private void shiftLeaf(int leafSize, Object [] leafValues, ObjectChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, Object[] leafValues, ObjectChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1116,7 +1172,8 @@ private void shiftLeaf(int leafSize, Object [] leafValues, ObjectChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(ObjectChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1145,11 +1203,13 @@ private void applyShiftReverse(ObjectChunk stampChunk, Lo shiftLeafReverse(size, directoryValues, stampChunk, directoryRowKeys, keyChunk, shiftDelta); } else { try (final ResettableObjectChunk leafValuesChunk = ResettableObjectChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1157,15 +1217,20 @@ private void applyShiftReverse(ObjectChunk stampChunk, Lo } else { final Object leafMinValue = leafValues[firstLeaf][0]; final long leafMinRowKey = leafRowKeys[firstLeaf][0]; - firstValueForLeaf = lowerBound(stampChunk, keyChunk, 0, lastValuesPosition + 1, leafMinValue, leafMinRowKey); + firstValueForLeaf = lowerBound(stampChunk, keyChunk, 0, lastValuesPosition + 1, leafMinValue, + leafMinRowKey); Object foundValue = stampChunk.get(firstValueForLeaf); - if (lt(foundValue, leafMinValue) || (eq(foundValue, leafMinValue) && keyChunk.get(firstValueForLeaf) < leafMinRowKey)) { + if (lt(foundValue, leafMinValue) + || (eq(foundValue, leafMinValue) && keyChunk.get(firstValueForLeaf) < leafMinRowKey)) { firstValueForLeaf++; foundValue = stampChunk.get(firstValueForLeaf); } - Assert.assertion(geq(foundValue, leafMinValue), "geq(stampChunk.get(firstValueForLeaf), leafMinValue)", foundValue, "foundValue", leafMinValue, "leafMinValue"); + Assert.assertion(geq(foundValue, leafMinValue), + "geq(stampChunk.get(firstValueForLeaf), leafMinValue)", foundValue, "foundValue", + leafMinValue, "leafMinValue"); if (eq(foundValue, leafMinValue)) { - Assert.geq(keyChunk.get(firstValueForLeaf), "keyChunk.get(firstValueForLeaf)", leafMinRowKey, "leafMinRowKey"); + Assert.geq(keyChunk.get(firstValueForLeaf), "keyChunk.get(firstValueForLeaf)", + leafMinRowKey, "leafMinRowKey"); } } @@ -1174,7 +1239,8 @@ private void applyShiftReverse(ObjectChunk stampChunk, Lo leafValuesChunk.resetFromTypedChunk(stampChunk, firstValueForLeaf, count); leafKeyChunk.resetFromTypedChunk(keyChunk, firstValueForLeaf, count); - shiftLeafReverse(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesChunk, leafRowKeys[firstLeaf], leafKeyChunk, shiftDelta); + shiftLeafReverse(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesChunk, + leafRowKeys[firstLeaf], leafKeyChunk, shiftDelta); directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1185,15 +1251,17 @@ private void applyShiftReverse(ObjectChunk stampChunk, Lo validate(); } - private void shiftLeafReverse(int leafSize, Object [] leafValues, ObjectChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, Object[] leafValues, ObjectChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1212,7 +1280,8 @@ private void shiftLeafReverse(int leafSize, Object [] leafValues, ObjectChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1654,9 +1723,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1693,7 +1762,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(Object value) { if (disallowExactMatch) { @@ -1709,26 +1779,31 @@ private void findInLeaf(Object value) { private void findLastInLeaf(Object value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(Object value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectSsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectSsaChecker.java index 57264491d42..0340fb5a5e8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectSsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectSsaChecker.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaChecker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsaChecker and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import java.util.Objects; @@ -28,16 +27,18 @@ public class ObjectSsaChecker implements SsaChecker { private ObjectSsaChecker() {} // static use only @Override - public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, LongChunk tableIndexChunk) { - checkSsa((ObjectSegmentedSortedArray)ssa, valueChunk.asObjectChunk(), tableIndexChunk); + public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, + LongChunk tableIndexChunk) { + checkSsa((ObjectSegmentedSortedArray) ssa, valueChunk.asObjectChunk(), tableIndexChunk); } - static void checkSsa(ObjectSegmentedSortedArray ssa, ObjectChunk valueChunk, LongChunk tableIndexChunk) { + static void checkSsa(ObjectSegmentedSortedArray ssa, ObjectChunk valueChunk, + LongChunk tableIndexChunk) { ssa.validateInternal(); - //noinspection unchecked + // noinspection unchecked try (final WritableObjectChunk resultChunk = (WritableObjectChunk) ssa.asObjectChunk(); - final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { + final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { Assert.eq(valueChunk.size(), "valueChunk.size()", resultChunk.size(), "resultChunk.size()"); Assert.eq(tableIndexChunk.size(), "tableIndexChunk.size()", indexChunk.size(), "indexChunk.size()"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectSsaSsaStamp.java index 0e6cf8de965..0551b39a49f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ObjectSsaSsaStamp.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsaSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import java.util.Objects; @@ -28,11 +27,14 @@ public class ObjectSsaSsaStamp implements SsaSsaStamp { private ObjectSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((ObjectSegmentedSortedArray)leftSsa, (ObjectSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((ObjectSegmentedSortedArray) leftSsa, (ObjectSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(ObjectSegmentedSortedArray leftSsa, ObjectSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(ObjectSegmentedSortedArray leftSsa, ObjectSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -49,8 +51,7 @@ private static void processEntry(ObjectSegmentedSortedArray leftSsa, ObjectSegme if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -65,7 +66,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final Object nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -80,7 +82,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, ObjectSe } } - private static void fillWithValue(WritableRowRedirection rowRedirection, ObjectSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, ObjectSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -88,13 +91,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, ObjectS } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((ObjectSegmentedSortedArray)leftSsa, rightStampChunk.asObjectChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((ObjectSegmentedSortedArray) leftSsa, rightStampChunk.asObjectChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(ObjectSegmentedSortedArray leftSsa, ObjectChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(ObjectSegmentedSortedArray leftSsa, ObjectChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final ObjectSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -141,15 +149,22 @@ static private void processRemovals(ObjectSegmentedSortedArray leftSsa, ObjectCh } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((ObjectSegmentedSortedArray)leftSsa, rightStampChunk.asObjectChunk(), rightKeys, nextRightValue.asObjectChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((ObjectSegmentedSortedArray) leftSsa, rightStampChunk.asObjectChunk(), rightKeys, + nextRightValue.asObjectChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(ObjectSegmentedSortedArray leftSsa, ObjectChunk rightStampChunk, LongChunk rightKeys, ObjectChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(ObjectSegmentedSortedArray leftSsa, ObjectChunk rightStampChunk, + LongChunk rightKeys, ObjectChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final ObjectSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -205,11 +220,16 @@ static private void processInsertion(ObjectSegmentedSortedArray leftSsa, ObjectC } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((ObjectSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asObjectChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((ObjectSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asObjectChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(ObjectSegmentedSortedArray leftSsa, RowRedirection rowRedirection, ObjectChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(ObjectSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + ObjectChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final ObjectSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -244,11 +264,16 @@ private static void findModified(ObjectSegmentedSortedArray leftSsa, RowRedirect } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((ObjectSegmentedSortedArray)leftSsa, rightStampChunk.asObjectChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((ObjectSegmentedSortedArray) leftSsa, rightStampChunk.asObjectChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(ObjectSegmentedSortedArray leftSsa, ObjectChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(ObjectSegmentedSortedArray leftSsa, ObjectChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final ObjectSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/SegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/SegmentedSortedArray.java index 65ed7026dd7..23d04511295 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/SegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/SegmentedSortedArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssa; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortChunkSsaStamp.java index 7cf75a52e8e..c47bb6b2b3f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortChunkSsaStamp.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -25,11 +24,14 @@ public class ShortChunkSsaStamp implements ChunkSsaStamp { private ShortChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asShortChunk(), leftStampKeys, (ShortSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asShortChunk(), leftStampKeys, (ShortSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(ShortChunk leftStampValues, Chunk leftStampKeys, ShortSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(ShortChunk leftStampValues, Chunk leftStampKeys, + ShortSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -40,14 +42,13 @@ private static void processEntry(ShortChunk leftStampValues, Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asShortChunk(), leftStampKeys, rightStampChunk.asShortChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asShortChunk(), leftStampKeys, rightStampChunk.asShortChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(ShortChunk leftStampValues, LongChunk leftStampKeys, ShortChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(ShortChunk leftStampValues, LongChunk leftStampKeys, + ShortChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -106,15 +115,24 @@ private static void processRemovals(ShortChunk leftStampValues, LongChun } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asShortChunk(), leftStampKeys, rightStampChunk.asShortChunk(), rightKeys, nextRightValue.asShortChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asShortChunk(), leftStampKeys, rightStampChunk.asShortChunk(), rightKeys, + nextRightValue.asShortChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(ShortChunk leftStampValues, LongChunk leftStampKeys, ShortChunk rightStampChunk, LongChunk rightKeys, ShortChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(ShortChunk leftStampValues, LongChunk leftStampKeys, + ShortChunk rightStampChunk, LongChunk rightKeys, ShortChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -151,11 +169,16 @@ private static void processInsertion(ShortChunk leftStampValues, LongChu } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asShortChunk(), leftStampKeys, rowRedirection, rightStampChunk.asShortChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asShortChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asShortChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, ShortChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, ShortChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, ShortChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, ShortChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final short rightStampValue = rightStampChunk.get(ii); @@ -164,7 +187,8 @@ private static int findModified(int leftLowIdx, ShortChunk leftStampValu final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -174,11 +198,16 @@ private static int findModified(int leftLowIdx, ShortChunk leftStampValu } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asShortChunk(), leftStampKeys, rightStampChunk.asShortChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asShortChunk(), leftStampKeys, rightStampChunk.asShortChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(ShortChunk leftStampValues, LongChunk leftStampKeys, ShortChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(ShortChunk leftStampValues, LongChunk leftStampKeys, + ShortChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final short rightStampValue = rightStampChunk.get(ii); @@ -188,14 +217,16 @@ private void applyShift(ShortChunk leftStampValues, LongChunk l final long rightStampKey = rightStampKeys.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { rowRedirection.putVoid(leftStampKeys.get(checkIdx), rightStampKey + shiftDelta); checkIdx++; } } } - private static int findFirstResponsiveLeft(int leftLowIdx, ShortChunk leftStampValues, boolean disallowExactMatch, short rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, ShortChunk leftStampValues, + boolean disallowExactMatch, short rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortReverseChunkSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortReverseChunkSsaStamp.java index e77c48ac0fd..2d67b617695 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortReverseChunkSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortReverseChunkSsaStamp.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortChunkSsaStamp and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -25,11 +26,14 @@ public class ShortReverseChunkSsaStamp implements ChunkSsaStamp { private ShortReverseChunkSsaStamp() {} // use the instance @Override - public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { - processEntry(leftStampValues.asShortChunk(), leftStampKeys, (ShortReverseSegmentedSortedArray)ssa, rightKeysForLeft, disallowExactMatch); + public void processEntry(Chunk leftStampValues, Chunk leftStampKeys, SegmentedSortedArray ssa, + WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + processEntry(leftStampValues.asShortChunk(), leftStampKeys, (ShortReverseSegmentedSortedArray) ssa, rightKeysForLeft, + disallowExactMatch); } - private static void processEntry(ShortChunk leftStampValues, Chunk leftStampKeys, ShortReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { + private static void processEntry(ShortChunk leftStampValues, Chunk leftStampKeys, + ShortReverseSegmentedSortedArray ssa, WritableLongChunk rightKeysForLeft, boolean disallowExactMatch) { final int leftSize = leftStampKeys.size(); final long rightSize = ssa.size(); if (rightSize == 0) { @@ -40,14 +44,13 @@ private static void processEntry(ShortChunk leftStampValues, Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals(leftStampValues.asShortChunk(), leftStampKeys, rightStampChunk.asShortChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals(leftStampValues.asShortChunk(), leftStampKeys, rightStampChunk.asShortChunk(), rightKeys, + priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); } - private static void processRemovals(ShortChunk leftStampValues, LongChunk leftStampKeys, ShortChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + private static void processRemovals(ShortChunk leftStampValues, LongChunk leftStampKeys, + ShortChunk rightStampChunk, LongChunk rightKeys, + WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. int leftLowIdx = 0; @@ -106,15 +117,24 @@ private static void processRemovals(ShortChunk leftStampValues, LongChun } @Override - public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion(leftStampValues.asShortChunk(), leftStampKeys, rightStampChunk.asShortChunk(), rightKeys, nextRightValue.asShortChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + processInsertion(leftStampValues.asShortChunk(), leftStampKeys, rightStampChunk.asShortChunk(), rightKeys, + nextRightValue.asShortChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - private static void processInsertion(ShortChunk leftStampValues, LongChunk leftStampKeys, ShortChunk rightStampChunk, LongChunk rightKeys, ShortChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + private static void processInsertion(ShortChunk leftStampValues, LongChunk leftStampKeys, + ShortChunk rightStampChunk, LongChunk rightKeys, ShortChunk nextRightValue, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, + boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value int leftLowIdx = 0; @@ -151,11 +171,16 @@ private static void processInsertion(ShortChunk leftStampValues, LongChu } @Override - public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - return findModified(first, leftStampValues.asShortChunk(), leftStampKeys, rowRedirection, rightStampChunk.asShortChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public int findModified(int first, Chunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, Chunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + return findModified(first, leftStampValues.asShortChunk(), leftStampKeys, rowRedirection, + rightStampChunk.asShortChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static int findModified(int leftLowIdx, ShortChunk leftStampValues, LongChunk leftStampKeys, RowRedirection rowRedirection, ShortChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static int findModified(int leftLowIdx, ShortChunk leftStampValues, LongChunk leftStampKeys, + RowRedirection rowRedirection, ShortChunk rightStampChunk, + LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final short rightStampValue = rightStampChunk.get(ii); @@ -164,7 +189,8 @@ private static int findModified(int leftLowIdx, ShortChunk leftStampValu final long rightStampKey = rightStampIndices.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { modifiedBuilder.addKey(leftStampKeys.get(checkIdx)); checkIdx++; } @@ -174,11 +200,16 @@ private static int findModified(int leftLowIdx, ShortChunk leftStampValu } @Override - public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift(leftStampValues.asShortChunk(), leftStampKeys, rightStampChunk.asShortChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(Chunk leftStampValues, LongChunk leftStampKeys, + Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + applyShift(leftStampValues.asShortChunk(), leftStampKeys, rightStampChunk.asShortChunk(), rightStampKeys, + shiftDelta, rowRedirection, disallowExactMatch); } - private void applyShift(ShortChunk leftStampValues, LongChunk leftStampKeys, ShortChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(ShortChunk leftStampValues, LongChunk leftStampKeys, + ShortChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { int leftLowIdx = 0; for (int ii = 0; ii < rightStampChunk.size(); ++ii) { final short rightStampValue = rightStampChunk.get(ii); @@ -188,14 +219,16 @@ private void applyShift(ShortChunk leftStampValues, LongChunk l final long rightStampKey = rightStampKeys.get(ii); int checkIdx = leftLowIdx; - while (checkIdx < leftStampValues.size() && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { + while (checkIdx < leftStampValues.size() + && rowRedirection.get(leftStampKeys.get(checkIdx)) == rightStampKey) { rowRedirection.putVoid(leftStampKeys.get(checkIdx), rightStampKey + shiftDelta); checkIdx++; } } } - private static int findFirstResponsiveLeft(int leftLowIdx, ShortChunk leftStampValues, boolean disallowExactMatch, short rightStampValue) { + private static int findFirstResponsiveLeft(int leftLowIdx, ShortChunk leftStampValues, + boolean disallowExactMatch, short rightStampValue) { int leftHighIdx = leftStampValues.size(); while (leftLowIdx < leftHighIdx) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortReverseSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortReverseSegmentedSortedArray.java index ae9d26ade96..99f8d5983ca 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortReverseSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortReverseSegmentedSortedArray.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -24,14 +25,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the short values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the short values, and then on the corresponding row + * key. */ public final class ShortReverseSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -41,16 +42,16 @@ public final class ShortReverseSegmentedSortedArray implements SegmentedSortedAr private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private short [] directoryValues; - private long [] directoryRowKeys; + private short[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private short [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private short[][] leafValues; + private long[][] leafRowKeys; /** * Create a ShortReverseSegmentedSortedArray with the given leafSize. @@ -69,7 +70,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asShortChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asShortChunk(), rowKeysToInsert, nextValue.asWritableShortChunk()); @@ -78,13 +80,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(ShortChunk stampValues, LongChunk stampRowKeys, WritableShortChunk nextValues) { + private int findNext(ShortChunk stampValues, LongChunk stampRowKeys, + WritableShortChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -116,14 +119,17 @@ private int findNext(ShortChunk stampValues, LongChunk int findNextOneLeaf(int offset, ShortChunk stampValues, LongChunk stampRowKeys, WritableShortChunk nextValues, int leafSize, short [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, ShortChunk stampValues, + LongChunk stampRowKeys, WritableShortChunk nextValues, int leafSize, short[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -144,7 +150,7 @@ private static int findNextOneLeaf(int offset, ShortChunk sta } /** - * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. + * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. * * @param valuesToInsert the valuesToInsert to insert (must be sorted, with ties broken by the row key) * @param rowKeysToInsert the corresponding rowKeysToInsert @@ -181,12 +187,15 @@ void insert(ShortChunk valuesToInsert, LongChunk leafValuesInsertChunk = ResettableShortChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -194,7 +203,8 @@ void insert(ShortChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, short[] leafValues, ShortChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, short[] leafValues, ShortChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, short[] leafValues, ShortChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -412,7 +428,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, ShortChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + ShortChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -423,7 +440,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new short[leafSize]; @@ -450,11 +467,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -524,7 +541,8 @@ private void makeLeavesInitial(ShortChunk values, LongChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, short[] leafValues, ShortChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -574,11 +592,12 @@ private void insertIntoLeaf(int leafSize, short [] leafValues, ShortChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -587,17 +606,20 @@ private void insertIntoLeaf(int leafSize, short [] leafValues, ShortChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -613,8 +635,7 @@ private void insertIntoLeaf(int leafSize, short [] leafValues, ShortChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final short searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -625,13 +646,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -652,7 +675,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, short[] leafValues, ShortChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, short[] leafValues, ShortChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final short firstInsertValue = insertValues.get(0); final short lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -674,7 +698,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, short [] leafValues, ShortChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, short[] leafValues, ShortChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -684,7 +710,7 @@ private void removeFromLeaf(int leafSize, short [] leafValues, ShortChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, short searchValue, long searchKey) { + private static int lowerBound(ShortChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, short searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final short testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -751,7 +779,8 @@ private static int lowerBound(ShortChunk valuesToSearch, LongChun return lo; } - private static int upperBound(ShortChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, short searchValue, long searchKey) { + private static int upperBound(ShortChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, short searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final short testValue = valuesToSearch.get(mid); @@ -770,12 +799,13 @@ private static int upperBound(ShortChunk valuesToSearch, LongChun return lo; } - private static int lowerBound(short [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, short searchValue, long searchKey) { + private static int lowerBound(short[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, short searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final short testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -811,20 +841,21 @@ private static int upperBound(short[] valuesToSearch, int lo, int hi, short sear /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(short [] valuesToSearch, long [] rowKeysToSearch, final short searchValue, long searchRowKey, int lo, int hi) { + private static int bound(short[] valuesToSearch, long[] rowKeysToSearch, final short searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final short testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -842,7 +873,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asShortChunk(), rowKeysToRemove, priorRedirections); } @@ -851,13 +883,15 @@ private void remove(ShortChunk valuesToRemove, LongChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(ShortChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -877,11 +911,13 @@ private void removeAndGetNextInternal(ShortChunk valuesToRemove, } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableShortChunk leafValuesRemoveChunk = ResettableShortChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -889,7 +925,9 @@ private void removeAndGetNextInternal(ShortChunk valuesToRemove, while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -897,7 +935,8 @@ private void removeAndGetNextInternal(ShortChunk valuesToRemove, } else { final short leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -905,7 +944,8 @@ private void removeAndGetNextInternal(ShortChunk valuesToRemove, if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -919,14 +959,18 @@ private void removeAndGetNextInternal(ShortChunk valuesToRemove, priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -951,18 +995,23 @@ private void removeAndGetNextInternal(ShortChunk valuesToRemove, } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1037,11 +1086,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asShortChunk(), keyChunk, shiftDelta); } - private void applyShift(ShortChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(ShortChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1052,11 +1103,13 @@ private void applyShift(ShortChunk stampChunk, LongChunk leafValuesChunk = ResettableShortChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1064,7 +1117,8 @@ private void applyShift(ShortChunk stampChunk, LongChunk stampChunk, LongChunk= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1088,15 +1144,17 @@ private void applyShift(ShortChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, short[] leafValues, ShortChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1114,7 +1172,8 @@ private void shiftLeaf(int leafSize, short [] leafValues, ShortChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(ShortChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1143,11 +1203,13 @@ private void applyShiftReverse(ShortChunk stampChunk, LongChunk leafValuesChunk = ResettableShortChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1155,15 +1217,20 @@ private void applyShiftReverse(ShortChunk stampChunk, LongChunk stampChunk, LongChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, short[] leafValues, ShortChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1210,7 +1280,8 @@ private void shiftLeafReverse(int leafSize, short [] leafValues, ShortChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1641,9 +1712,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1680,7 +1751,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(short value) { if (disallowExactMatch) { @@ -1696,26 +1768,31 @@ private void findInLeaf(short value) { private void findLastInLeaf(short value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(short value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortReverseSsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortReverseSsaChecker.java index 327498b6f6e..3a3125d8d71 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortReverseSsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortReverseSsaChecker.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaChecker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortSsaChecker and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -26,16 +27,18 @@ public class ShortReverseSsaChecker implements SsaChecker { private ShortReverseSsaChecker() {} // static use only @Override - public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, LongChunk tableIndexChunk) { - checkSsa((ShortReverseSegmentedSortedArray)ssa, valueChunk.asShortChunk(), tableIndexChunk); + public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, + LongChunk tableIndexChunk) { + checkSsa((ShortReverseSegmentedSortedArray) ssa, valueChunk.asShortChunk(), tableIndexChunk); } - static void checkSsa(ShortReverseSegmentedSortedArray ssa, ShortChunk valueChunk, LongChunk tableIndexChunk) { + static void checkSsa(ShortReverseSegmentedSortedArray ssa, ShortChunk valueChunk, + LongChunk tableIndexChunk) { ssa.validateInternal(); - //noinspection unchecked + // noinspection unchecked try (final WritableShortChunk resultChunk = (WritableShortChunk) ssa.asShortChunk(); - final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { + final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { Assert.eq(valueChunk.size(), "valueChunk.size()", resultChunk.size(), "resultChunk.size()"); Assert.eq(tableIndexChunk.size(), "tableIndexChunk.size()", indexChunk.size(), "indexChunk.size()"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortReverseSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortReverseSsaSsaStamp.java index cbeb6a093fb..94fb5a4b952 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortReverseSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortReverseSsaSsaStamp.java @@ -1,11 +1,12 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortSsaSsaStamp and run "./gradlew replicateReverseSegmentedSortedArray" to regenerate +// +// @formatter:off + + package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -26,11 +27,14 @@ public class ShortReverseSsaSsaStamp implements SsaSsaStamp { private ShortReverseSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((ShortReverseSegmentedSortedArray)leftSsa, (ShortReverseSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((ShortReverseSegmentedSortedArray) leftSsa, (ShortReverseSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(ShortReverseSegmentedSortedArray leftSsa, ShortReverseSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(ShortReverseSegmentedSortedArray leftSsa, ShortReverseSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -47,8 +51,7 @@ private static void processEntry(ShortReverseSegmentedSortedArray leftSsa, Short if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -63,7 +66,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final short nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -78,7 +82,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, ShortRev } } - private static void fillWithValue(WritableRowRedirection rowRedirection, ShortReverseSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, ShortReverseSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -86,13 +91,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, ShortRe } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((ShortReverseSegmentedSortedArray)leftSsa, rightStampChunk.asShortChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((ShortReverseSegmentedSortedArray) leftSsa, rightStampChunk.asShortChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(ShortReverseSegmentedSortedArray leftSsa, ShortChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(ShortReverseSegmentedSortedArray leftSsa, ShortChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final ShortReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -139,15 +149,22 @@ static private void processRemovals(ShortReverseSegmentedSortedArray leftSsa, Sh } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((ShortReverseSegmentedSortedArray)leftSsa, rightStampChunk.asShortChunk(), rightKeys, nextRightValue.asShortChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((ShortReverseSegmentedSortedArray) leftSsa, rightStampChunk.asShortChunk(), rightKeys, + nextRightValue.asShortChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(ShortReverseSegmentedSortedArray leftSsa, ShortChunk rightStampChunk, LongChunk rightKeys, ShortChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(ShortReverseSegmentedSortedArray leftSsa, ShortChunk rightStampChunk, + LongChunk rightKeys, ShortChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final ShortReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -203,11 +220,16 @@ static private void processInsertion(ShortReverseSegmentedSortedArray leftSsa, S } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((ShortReverseSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asShortChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((ShortReverseSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asShortChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(ShortReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, ShortChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(ShortReverseSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + ShortChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final ShortReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -242,11 +264,16 @@ private static void findModified(ShortReverseSegmentedSortedArray leftSsa, RowRe } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((ShortReverseSegmentedSortedArray)leftSsa, rightStampChunk.asShortChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((ShortReverseSegmentedSortedArray) leftSsa, rightStampChunk.asShortChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(ShortReverseSegmentedSortedArray leftSsa, ShortChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(ShortReverseSegmentedSortedArray leftSsa, ShortChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final ShortReverseSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortSegmentedSortedArray.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortSegmentedSortedArray.java index 7ced3a8052f..544ce3875a0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortSegmentedSortedArray.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortSegmentedSortedArray.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -24,14 +23,14 @@ /** * For keeping track of incremental states of sorted values, we would ideally like to hold them in an Array or a Chunk; - * with parallel row keys. However, if we just put them in an array we can not insert or remove values without + * with parallel row keys. However, if we just put them in an array we can not insert or remove values without * unnecessarily shifting everything. * * The segmented array allows us to either insert or remove elements and only shift values in a "leaf" block and - * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. + * possibly a "directory" block. It can be thought of as similar to a single-level b+ tree with only keys. * - * We must be totally ordered, which is accomplished by sorting on the short values, and then on the corresponding - * row key. + * We must be totally ordered, which is accomplished by sorting on the short values, and then on the corresponding row + * key. */ public final class ShortSegmentedSortedArray implements SegmentedSortedArray { final private int leafSize; @@ -41,16 +40,16 @@ public final class ShortSegmentedSortedArray implements SegmentedSortedArray { private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private short [] directoryValues; - private long [] directoryRowKeys; + private short[] directoryValues; + private long[] directoryRowKeys; - private int [] leafSizes; - private short [][] leafValues; - private long [][] leafRowKeys; + private int[] leafSizes; + private short[][] leafValues; + private long[][] leafRowKeys; /** * Create a ShortSegmentedSortedArray with the given leafSize. @@ -69,7 +68,8 @@ public void insert(Chunk valuesToInsert, LongChunk int insertAndGetNextValue(Chunk valuesToInsert, LongChunk rowKeysToInsert, WritableChunk nextValue) { + public int insertAndGetNextValue(Chunk valuesToInsert, + LongChunk rowKeysToInsert, WritableChunk nextValue) { insert(valuesToInsert.asShortChunk(), rowKeysToInsert); // TODO: Integrate this into insert, so we do not need to do a double binary search return findNext(valuesToInsert.asShortChunk(), rowKeysToInsert, nextValue.asWritableShortChunk()); @@ -78,13 +78,14 @@ public int insertAndGetNextValue(Chunk valuesToInsert, LongCh /** * Find the next value for each stamp. * - * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) + * @param stampValues the stamp values to search for (must be sorted, with ties broken by the row key) * @param stampRowKeys the stamp rowKeys to search for (parallel to stampValues) - * @param nextValues the next value after a given stamp - * @param the type of our chunks + * @param nextValues the next value after a given stamp + * @param the type of our chunks * @return how many next values we found (the last value has no next if less than stampValues.size()) */ - private int findNext(ShortChunk stampValues, LongChunk stampRowKeys, WritableShortChunk nextValues) { + private int findNext(ShortChunk stampValues, LongChunk stampRowKeys, + WritableShortChunk nextValues) { if (stampValues.size() == 0) { return 0; } @@ -116,14 +117,17 @@ private int findNext(ShortChunk stampValues, LongChunk int findNextOneLeaf(int offset, ShortChunk stampValues, LongChunk stampRowKeys, WritableShortChunk nextValues, int leafSize, short [] leafValues, long [] leafKeys) { + private static int findNextOneLeaf(int offset, ShortChunk stampValues, + LongChunk stampRowKeys, WritableShortChunk nextValues, int leafSize, short[] leafValues, + long[] leafKeys) { int lo = 0; for (int ii = offset; ii < stampValues.size(); ++ii) { @@ -144,7 +148,7 @@ private static int findNextOneLeaf(int offset, ShortChunk sta } /** - * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. + * Insert new valuesToInsert into this SSA. The valuesToInsert to insert must be sorted. * * @param valuesToInsert the valuesToInsert to insert (must be sorted, with ties broken by the row key) * @param rowKeysToInsert the corresponding rowKeysToInsert @@ -181,12 +185,15 @@ void insert(ShortChunk valuesToInsert, LongChunk leafValuesInsertChunk = ResettableShortChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysInsertChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysInsertChunk = + ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; while (firstValuesPosition < insertSize) { // we need to find out where our valuesToInsert should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToInsert.get(firstValuesPosition), + rowKeysToInsert.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -194,7 +201,8 @@ void insert(ShortChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk valuesToInsert, LongChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private void copyToLeaf(int leafOffset, short[] leafValues, ShortChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { copyToLeaf(leafOffset, leafValues, insertValues, leafRowKeys, insertRowKeys, 0, insertRowKeys.size()); } - private void copyToLeaf(int leafOffset, short[] leafValues, ShortChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { + private void copyToLeaf(int leafOffset, short[] leafValues, ShortChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys, int srcOffset, int length) { insertValues.copyToTypedArray(srcOffset, leafValues, leafOffset, length); insertRowKeys.copyToTypedArray(srcOffset, leafRowKeys, leafOffset, length); } @@ -412,7 +426,8 @@ private int leafArraySize(int minimumSize) { return Math.max(minimumSize, leafSizes.length * 2); } - private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, ShortChunk valuesToInsert, LongChunk rowKeys) { + private void distributeValues(int targetSize, int startingLeaf, int distributionSlots, + ShortChunk valuesToInsert, LongChunk rowKeys) { final int totalInsertions = valuesToInsert.size() + leafSizes[startingLeaf]; final int shortLeaves = (distributionSlots * targetSize) - totalInsertions; final int lastFullSlot = startingLeaf + shortLeaves; @@ -423,7 +438,7 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution int insertedValues = 0; // we are distributing our values from right to left (i.e. higher slots to lower slots), this way we can keep - // the values in the starting leaf, and will not overwrite them until they have already been consumed + // the values in the starting leaf, and will not overwrite them until they have already been consumed for (int workingSlot = startingLeaf + distributionSlots - 1; workingSlot >= startingLeaf; workingSlot--) { if (workingSlot > startingLeaf) { leafValues[workingSlot] = new short[leafSize]; @@ -450,11 +465,11 @@ private void distributeValues(int targetSize, int startingLeaf, int distribution Assert.eq(rposl, "rposl", wpos, "wpos"); } break; - } - else if (rposl < 0) { + } else if (rposl < 0) { // only insert values left Assert.geqZero(rposi, "rposi"); - copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, rposi - wpos, wpos + 1); + copyToLeaf(0, leafValues[workingSlot], valuesToInsert, leafRowKeys[workingSlot], rowKeys, + rposi - wpos, wpos + 1); rposi -= (wpos + 1); break; } @@ -524,7 +539,8 @@ private void makeLeavesInitial(ShortChunk values, LongChunk insertValues, long [] leafRowKeys, LongChunk insertRowKeys) { + private void insertIntoLeaf(int leafSize, short[] leafValues, ShortChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final int insertSize = insertValues.size(); // if we are at the end; we can just copy to the end @@ -574,11 +590,12 @@ private void insertIntoLeaf(int leafSize, short [] leafValues, ShortChunk minGallop && rposl >= 0) { // find position the smallest position in insertValues that is larger than the next leaf value @@ -587,17 +604,20 @@ private void insertIntoLeaf(int leafSize, short [] leafValues, ShortChunk 0) { // copy from the insert values into the leaf - copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, rposi - (gallopLength - 1), gallopLength); + copyToLeaf(wpos - (gallopLength - 1), leafValues, insertValues, leafRowKeys, insertRowKeys, + rposi - (gallopLength - 1), gallopLength); rposi -= gallopLength; wpos -= gallopLength; } @@ -613,8 +633,7 @@ private void insertIntoLeaf(int leafSize, short [] leafValues, ShortChunk minGallop && rposi >= 0) { + } else if (lwins > minGallop && rposi >= 0) { // find the next insert value in the leaf final short searchValue = insertValues.get(rposi); final long searchKey = insertRowKeys.get(rposi); @@ -625,13 +644,15 @@ else if (lwins > minGallop && rposi >= 0) { // copy the whole thing gallopLength = rposl + 1; } else { - final int firstLowerPosition = lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); + final int firstLowerPosition = + lowerBound(leafValues, leafRowKeys, 0, rposl + 1, searchValue, searchKey); gallopLength = rposl - firstLowerPosition; } if (gallopLength > 0) { // copy from the leaf values into the leaf - moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), gallopLength); + moveLeafValues(leafValues, leafRowKeys, rposl - (gallopLength - 1), wpos - (gallopLength - 1), + gallopLength); rposl -= gallopLength; wpos -= gallopLength; } @@ -652,7 +673,8 @@ else if (lwins > minGallop && rposi >= 0) { } } - private boolean isAfterLeaf(int leafSize, short[] leafValues, ShortChunk insertValues, long[] leafRowKeys, LongChunk insertRowKeys) { + private boolean isAfterLeaf(int leafSize, short[] leafValues, ShortChunk insertValues, + long[] leafRowKeys, LongChunk insertRowKeys) { final short firstInsertValue = insertValues.get(0); final short lastLeafValue = leafValues[leafSize - 1]; final int comparison = doComparison(lastLeafValue, firstInsertValue); @@ -674,7 +696,9 @@ private void clear() { directoryRowKeys = null; } - private void removeFromLeaf(int leafSize, short [] leafValues, ShortChunk removeValues, long [] leafRowKeys, LongChunk removeRowKeys, @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { + private void removeFromLeaf(int leafSize, short[] leafValues, ShortChunk removeValues, + long[] leafRowKeys, LongChunk removeRowKeys, + @Nullable WritableLongChunk priorRedirections, long firstPriorRedirection) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int removeSize = removeValues.size(); @@ -684,7 +708,7 @@ private void removeFromLeaf(int leafSize, short [] leafValues, ShortChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, short searchValue, long searchKey) { + private static int lowerBound(ShortChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, short searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final short testValue = valuesToSearch.get(mid); final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch.get(mid) < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -751,7 +777,8 @@ private static int lowerBound(ShortChunk valuesToSearch, LongChun return lo; } - private static int upperBound(ShortChunk valuesToSearch, LongChunk rowKeysToSearch, int lo, int hi, short searchValue, long searchKey) { + private static int upperBound(ShortChunk valuesToSearch, LongChunk rowKeysToSearch, + int lo, int hi, short searchValue, long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final short testValue = valuesToSearch.get(mid); @@ -770,12 +797,13 @@ private static int upperBound(ShortChunk valuesToSearch, LongChun return lo; } - private static int lowerBound(short [] valuesToSearch, long [] rowKeysToSearch, int lo, int hi, short searchValue, long searchKey) { + private static int lowerBound(short[] valuesToSearch, long[] rowKeysToSearch, int lo, int hi, short searchValue, + long searchKey) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final short testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchKey : comparison < 0; if (moveLo) { lo = mid; if (lo == hi - 1) { @@ -811,20 +839,21 @@ private static int upperBound(short[] valuesToSearch, int lo, int hi, short sear /** * Given a searchValue and searchRowKey, find the leaf that they belong in. * - * @param valuesToSearch the array of values to search in + * @param valuesToSearch the array of values to search in * @param rowKeysToSearch the array of rowKeys to search in - * @param lo inclusive first position - * @param hi exclusive last position - * @param searchValue the value to search for - * @param searchRowKey the row key to search for + * @param lo inclusive first position + * @param hi exclusive last position + * @param searchValue the value to search for + * @param searchRowKey the row key to search for * @return the highest row key with a value greater than searchValue */ - private static int bound(short [] valuesToSearch, long [] rowKeysToSearch, final short searchValue, long searchRowKey, int lo, int hi) { + private static int bound(short[] valuesToSearch, long[] rowKeysToSearch, final short searchValue, long searchRowKey, + int lo, int hi) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final short testValue = valuesToSearch[mid]; final int comparison = doComparison(testValue, searchValue); - final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; + final boolean moveLo = comparison == 0 ? rowKeysToSearch[mid] < searchRowKey : comparison <= 0; if (moveLo) { // For bound, (testValue lt searchValue) means that the result is somewhere later than 'mid' lo = mid + 1; @@ -842,7 +871,8 @@ public void remove(Chunk valuesToRemove, LongChunk stampChunk, LongChunk rowKeysToRemove, WritableLongChunk priorRedirections) { + public void removeAndGetPrior(Chunk stampChunk, LongChunk rowKeysToRemove, + WritableLongChunk priorRedirections) { removeAndGetNextInternal(stampChunk.asShortChunk(), rowKeysToRemove, priorRedirections); } @@ -851,13 +881,15 @@ private void remove(ShortChunk valuesToRemove, LongChunk valuesToRemove, LongChunk rowKeysToRemove, @Nullable WritableLongChunk priorRedirections) { + private void removeAndGetNextInternal(ShortChunk valuesToRemove, + LongChunk rowKeysToRemove, + @Nullable WritableLongChunk priorRedirections) { validate(); if (priorRedirections != null) { @@ -877,11 +909,13 @@ private void removeAndGetNextInternal(ShortChunk valuesToRemove, } Assert.gtZero(leafCount, "leafCount"); if (leafCount == 1) { - removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size, directoryValues, valuesToRemove, directoryRowKeys, rowKeysToRemove, priorRedirections, + RowSequence.NULL_ROW_KEY); } else { try (final ResettableShortChunk leafValuesRemoveChunk = ResettableShortChunk.makeResettableChunk(); - final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); - final ResettableWritableLongChunk priorRedirectionsSlice = priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeysRemoveChunk = ResettableLongChunk.makeResettableChunk(); + final ResettableWritableLongChunk priorRedirectionsSlice = + priorRedirections == null ? null : ResettableWritableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; int totalCount = 0; @@ -889,7 +923,9 @@ private void removeAndGetNextInternal(ShortChunk valuesToRemove, while (firstValuesPosition < removeSize) { // we need to find out where our valuesToRemove should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, valuesToRemove.get(firstValuesPosition), + rowKeysToRemove.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastPositionForLeaf; if (firstLeaf == leafCount - 1) { @@ -897,7 +933,8 @@ private void removeAndGetNextInternal(ShortChunk valuesToRemove, } else { final short leafMaxValue = directoryValues[firstLeaf]; final long leafMaxRowKey = directoryRowKeys[firstLeaf]; - lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, removeSize, leafMaxValue, leafMaxRowKey); + lastPositionForLeaf = upperBound(valuesToRemove, rowKeysToRemove, firstValuesPosition, + removeSize, leafMaxValue, leafMaxRowKey); } final int count = lastPositionForLeaf - firstValuesPosition + 1; @@ -905,7 +942,8 @@ private void removeAndGetNextInternal(ShortChunk valuesToRemove, if (count == leafSizes[firstLeaf]) { // we are going to remove the whole leaf - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); leavesToRemove.add(firstLeaf); leafSizes[firstLeaf] = 0; if (priorRedirections != null) { @@ -919,14 +957,18 @@ private void removeAndGetNextInternal(ShortChunk valuesToRemove, priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, count); } - final long firstPrior = priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); - removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); + final long firstPrior = + priorRedirections == null ? RowSequence.NULL_ROW_KEY : getFirstPrior(firstLeaf); + removeFromLeaf(leafSizes[firstLeaf], leafValues[firstLeaf], leafValuesRemoveChunk, + leafRowKeys[firstLeaf], leafKeysRemoveChunk, priorRedirectionsSlice, firstPrior); leafSizes[firstLeaf] -= count; - final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); + final boolean hasLeft = firstLeaf > 0 && (leavesToRemove.isEmpty() + || (leavesToRemove.get(leavesToRemove.size() - 1) != (firstLeaf - 1))); final boolean hasRight = firstLeaf < leafCount - 1; - // in cases where we do not have a left or right, we just set the size to leafSize so we will not consider a merge + // in cases where we do not have a left or right, we just set the size to leafSize so we will + // not consider a merge final int leftSize = hasLeft ? leafSizes[firstLeaf - 1] : leafSize; final int rightSize = hasRight ? leafSizes[firstLeaf + 1] : leafSize; final int middleSize = leafSizes[firstLeaf]; @@ -951,18 +993,23 @@ private void removeAndGetNextInternal(ShortChunk valuesToRemove, } } else if (firstValuesPosition < removeSize) { leavesToRemove.clear(); - // we need to promote the last remaining leaf to the directory values, because there is only a single leaf left + // we need to promote the last remaining leaf to the directory values, because there is only a + // single leaf left promoteLastLeafToDirectory(); // we have removed all but the last leaf, so we need to remove the remaining values from it final int remainingRemovals = removeSize - firstValuesPosition; - leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, remainingRemovals); - leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, remainingRemovals); + leafValuesRemoveChunk.resetFromTypedChunk(valuesToRemove, firstValuesPosition, + remainingRemovals); + leafKeysRemoveChunk.resetFromTypedChunk(rowKeysToRemove, firstValuesPosition, + remainingRemovals); if (priorRedirections != null) { - priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, remainingRemovals); + priorRedirectionsSlice.resetFromTypedChunk(priorRedirections, firstValuesPosition, + remainingRemovals); } - removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); + removeFromLeaf(size - totalCount, directoryValues, leafValuesRemoveChunk, directoryRowKeys, + leafKeysRemoveChunk, priorRedirectionsSlice, RowSequence.NULL_ROW_KEY); totalCount += remainingRemovals; firstValuesPosition += remainingRemovals + 1; } @@ -1037,11 +1084,13 @@ public void applyShift(Chunk stampChunk, LongChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + public void applyShiftReverse(Chunk stampChunk, LongChunk keyChunk, + long shiftDelta) { applyShiftReverse(stampChunk.asShortChunk(), keyChunk, shiftDelta); } - private void applyShift(ShortChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShift(ShortChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1052,11 +1101,13 @@ private void applyShift(ShortChunk stampChunk, LongChunk leafValuesChunk = ResettableShortChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int firstValuesPosition = 0; while (firstValuesPosition < shiftSize) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(firstValuesPosition), + keyChunk.get(firstValuesPosition), 0, leafCount), leafCount - 1); final int lastValueForLeaf; if (firstLeaf == leafCount - 1) { @@ -1064,7 +1115,8 @@ private void applyShift(ShortChunk stampChunk, LongChunk stampChunk, LongChunk= 0) { directoryValues[predecessorLeaf] = leafValues[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; - directoryRowKeys[predecessorLeaf] = leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; + directoryRowKeys[predecessorLeaf] = + leafRowKeys[predecessorLeaf][leafSizes[predecessorLeaf] - 1]; } directoryValues[firstLeaf] = leafValues[firstLeaf][leafSizes[firstLeaf] - 1]; directoryRowKeys[firstLeaf] = leafRowKeys[firstLeaf][leafSizes[firstLeaf] - 1]; @@ -1088,15 +1142,17 @@ private void applyShift(ShortChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeaf(int leafSize, short[] leafValues, ShortChunk shiftValues, long[] leafRowKeys, + LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = 0; - for (int leafPos = 0; leafPos < leafSize; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = 0; leafPos < leafSize;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos++] += shiftDelta; if (++shiftPos == shiftSize) { // we've hit the end of the removal values @@ -1114,7 +1170,8 @@ private void shiftLeaf(int leafSize, short [] leafValues, ShortChunk stampChunk, LongChunk keyChunk, long shiftDelta) { + private void applyShiftReverse(ShortChunk stampChunk, LongChunk keyChunk, + long shiftDelta) { validate(); final int shiftSize = stampChunk.size(); if (shiftSize == 0) { @@ -1143,11 +1201,13 @@ private void applyShiftReverse(ShortChunk stampChunk, LongChunk leafValuesChunk = ResettableShortChunk.makeResettableChunk(); - final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { + final ResettableLongChunk leafKeyChunk = ResettableLongChunk.makeResettableChunk()) { int lastValuesPosition = shiftSize - 1; while (lastValuesPosition >= 0) { // we need to find out where our stampChunk should go using a binary search of the directory - final int firstLeaf = Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); + final int firstLeaf = + Math.min(bound(directoryValues, directoryRowKeys, stampChunk.get(lastValuesPosition), + keyChunk.get(lastValuesPosition), 0, leafCount), leafCount - 1); int firstValueForLeaf; if (firstLeaf == 0) { @@ -1155,15 +1215,20 @@ private void applyShiftReverse(ShortChunk stampChunk, LongChunk stampChunk, LongChunk stampChunk, LongChunk shiftValues, long [] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { + private void shiftLeafReverse(int leafSize, short[] leafValues, ShortChunk shiftValues, + long[] leafRowKeys, LongChunk shiftRowKeys, long shiftDelta) { Assert.leq(leafSize, "leafSize", this.leafSize, "this.leafSize"); final int shiftSize = shiftValues.size(); int lwin = 0; // how many consecutive times the leaf won int shiftPos = shiftSize - 1; - for (int leafPos = leafSize - 1; leafPos >= 0; ) { - if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { + for (int leafPos = leafSize - 1; leafPos >= 0;) { + if (eq(leafValues[leafPos], shiftValues.get(shiftPos)) + && leafRowKeys[leafPos] == shiftRowKeys.get(shiftPos)) { leafRowKeys[leafPos--] += shiftDelta; if (--shiftPos < 0) { // we've hit the end of the shift values @@ -1210,7 +1278,8 @@ private void shiftLeafReverse(int leafSize, short [] leafValues, ShortChunk= leafCount) { newLeafIndex--; - } - else if (newLeafIndex < leafCount - 1) { + } else if (newLeafIndex < leafCount - 1) { // our bound found the leaf that is less value, than but we might really be in the next leaf if (lt(leafValues[newLeafIndex + 1][0], value)) { newLeafIndex++; @@ -1640,9 +1709,9 @@ else if (newLeafIndex < leafCount - 1) { newLeafIndex = bound(directoryValues, directoryRowKeys, value, Long.MAX_VALUE, leafIndex, leafCount); if (newLeafIndex >= leafCount) { newLeafIndex--; - } - else if (newLeafIndex > 0) { - // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found by leafIndex yet + } else if (newLeafIndex > 0) { + // we are beyond the last value of leafIndex - 1, but we may not actually be within the leaf found + // by leafIndex yet if (gt(leafValues[newLeafIndex][0], value)) { newLeafIndex--; } @@ -1679,7 +1748,8 @@ public void advanceWhileEqual() { } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findInLeaf(short value) { if (disallowExactMatch) { @@ -1695,26 +1765,31 @@ private void findInLeaf(short value) { private void findLastInLeaf(short value) { if (leafCount == 1) { - indexWithinLeaf = lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); + indexWithinLeaf = + lowerBound(directoryValues, directoryRowKeys, indexWithinLeaf, size, value, Long.MAX_VALUE); } else { - indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, leafSizes[leafIndex], value, Long.MAX_VALUE); + indexWithinLeaf = lowerBound(leafValues[leafIndex], leafRowKeys[leafIndex], indexWithinLeaf, + leafSizes[leafIndex], value, Long.MAX_VALUE); } } /** - * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we find it. + * We know that if the value is to be found, it is to be found in this leaf, advance indexWithinLeaf until we + * find it. */ private void findFirstInLeaf(short value) { final int startIndex = Math.max(0, indexWithinLeaf); if (leafCount == 1) { indexWithinLeaf = upperBound(directoryValues, startIndex, size, value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) : leq(value, directoryValues[0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, directoryValues[0]) + : leq(value, directoryValues[0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } } else { indexWithinLeaf = upperBound(leafValues[leafIndex], startIndex, leafSizes[leafIndex], value); - if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) : leq(value, leafValues[leafIndex][0])) { + if (indexWithinLeaf == 0 && disallowExactMatch ? lt(value, leafValues[leafIndex][0]) + : leq(value, leafValues[leafIndex][0])) { // we want the user to call next() to get to the relevant value indexWithinLeaf--; } @@ -1760,4 +1835,4 @@ public long getLast() { public SsaChecker makeChecker() { return ShortSsaChecker.INSTANCE; } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortSsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortSsaChecker.java index ac35f835863..32649af2be2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortSsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortSsaChecker.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaChecker and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsaChecker and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.Assert; @@ -26,16 +25,18 @@ public class ShortSsaChecker implements SsaChecker { private ShortSsaChecker() {} // static use only @Override - public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, LongChunk tableIndexChunk) { - checkSsa((ShortSegmentedSortedArray)ssa, valueChunk.asShortChunk(), tableIndexChunk); + public void checkSsa(SegmentedSortedArray ssa, Chunk valueChunk, + LongChunk tableIndexChunk) { + checkSsa((ShortSegmentedSortedArray) ssa, valueChunk.asShortChunk(), tableIndexChunk); } - static void checkSsa(ShortSegmentedSortedArray ssa, ShortChunk valueChunk, LongChunk tableIndexChunk) { + static void checkSsa(ShortSegmentedSortedArray ssa, ShortChunk valueChunk, + LongChunk tableIndexChunk) { ssa.validateInternal(); - //noinspection unchecked + // noinspection unchecked try (final WritableShortChunk resultChunk = (WritableShortChunk) ssa.asShortChunk(); - final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { + final WritableLongChunk indexChunk = ssa.rowKeysChunk()) { Assert.eq(valueChunk.size(), "valueChunk.size()", resultChunk.size(), "resultChunk.size()"); Assert.eq(tableIndexChunk.size(), "tableIndexChunk.size()", indexChunk.size(), "indexChunk.size()"); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortSsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortSsaSsaStamp.java index b061d512128..246d88d87f3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortSsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/ShortSsaSsaStamp.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSsaSsaStamp and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSsaSsaStamp and run "./gradlew replicateSegmentedSortedArray" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; @@ -26,11 +25,14 @@ public class ShortSsaSsaStamp implements SsaSsaStamp { private ShortSsaSsaStamp() {} // use the instance @Override - public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - processEntry((ShortSegmentedSortedArray)leftSsa, (ShortSegmentedSortedArray)rightSsa, rowRedirection, disallowExactMatch); + public void processEntry(SegmentedSortedArray leftSsa, SegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + processEntry((ShortSegmentedSortedArray) leftSsa, (ShortSegmentedSortedArray) rightSsa, rowRedirection, + disallowExactMatch); } - private static void processEntry(ShortSegmentedSortedArray leftSsa, ShortSegmentedSortedArray rightSsa, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private static void processEntry(ShortSegmentedSortedArray leftSsa, ShortSegmentedSortedArray rightSsa, + WritableRowRedirection rowRedirection, boolean disallowExactMatch) { final long rightSize = rightSsa.size(); if (rightSize == 0) { fillWithNull(rowRedirection, leftSsa.iterator(disallowExactMatch, false)); @@ -47,8 +49,7 @@ private static void processEntry(ShortSegmentedSortedArray leftSsa, ShortSegment if (disallowExactMatch ? comparison <= 0 : comparison < 0) { rowRedirection.removeVoid(leftIt.getKey()); continue; - } - else if (comparison == 0) { + } else if (comparison == 0) { rowRedirection.putVoid(leftIt.getKey(), rightIt.getKey()); continue; } @@ -63,7 +64,8 @@ else if (comparison == 0) { } else { rowRedirection.putVoid(leftIt.getKey(), redirectionKey); final short nextRightValue = rightIt.nextValue(); - while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) : lt(leftIt.nextValue(), nextRightValue))) { + while (leftIt.hasNext() && (disallowExactMatch ? leq(leftIt.nextValue(), nextRightValue) + : lt(leftIt.nextValue(), nextRightValue))) { leftIt.next(); rowRedirection.put(leftIt.getKey(), redirectionKey); } @@ -78,7 +80,8 @@ private static void fillWithNull(WritableRowRedirection rowRedirection, ShortSeg } } - private static void fillWithValue(WritableRowRedirection rowRedirection, ShortSegmentedSortedArray.Iterator leftIt, long rightKey) { + private static void fillWithValue(WritableRowRedirection rowRedirection, ShortSegmentedSortedArray.Iterator leftIt, + long rightKey) { while (leftIt.hasNext()) { leftIt.next(); rowRedirection.putVoid(leftIt.getKey(), rightKey); @@ -86,13 +89,18 @@ private static void fillWithValue(WritableRowRedirection rowRedirection, ShortSe } @Override - public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, WritableLongChunk priorRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - processRemovals((ShortSegmentedSortedArray)leftSsa, rightStampChunk.asShortChunk(), rightKeys, priorRedirections, rowRedirection, modifiedBuilder, disallowExactMatch); + public void processRemovals(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk priorRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + processRemovals((ShortSegmentedSortedArray) leftSsa, rightStampChunk.asShortChunk(), rightKeys, priorRedirections, + rowRedirection, modifiedBuilder, disallowExactMatch); } - static private void processRemovals(ShortSegmentedSortedArray leftSsa, ShortChunk rightStampChunk, LongChunk rightKeys, WritableLongChunk nextRedirections, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search - // in the left for the removed key to find the smallest value geq the removed right. Update all rows + static private void processRemovals(ShortSegmentedSortedArray leftSsa, ShortChunk rightStampChunk, + LongChunk rightKeys, WritableLongChunk nextRedirections, + WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + // When removing a row, record the stamp, redirection key, and prior redirection key. Binary search + // in the left for the removed key to find the smallest value geq the removed right. Update all rows // with the removed redirection to the previous key. final ShortSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -139,15 +147,22 @@ static private void processRemovals(ShortSegmentedSortedArray leftSsa, ShortChun } @Override - public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - processInsertion((ShortSegmentedSortedArray)leftSsa, rightStampChunk.asShortChunk(), rightKeys, nextRightValue.asShortChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); + public void processInsertion(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightKeys, Chunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + processInsertion((ShortSegmentedSortedArray) leftSsa, rightStampChunk.asShortChunk(), rightKeys, + nextRightValue.asShortChunk(), rowRedirection, modifiedBuilder, endsWithLastValue, disallowExactMatch); } - static private void processInsertion(ShortSegmentedSortedArray leftSsa, ShortChunk rightStampChunk, LongChunk rightKeys, ShortChunk nextRightValue, WritableRowRedirection rowRedirection, RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { - // We've already filtered out duplicate right stamps by the time we get here, which means that the rightStampChunk + static private void processInsertion(ShortSegmentedSortedArray leftSsa, ShortChunk rightStampChunk, + LongChunk rightKeys, ShortChunk nextRightValue, WritableRowRedirection rowRedirection, + RowSetBuilderRandom modifiedBuilder, boolean endsWithLastValue, boolean disallowExactMatch) { + // We've already filtered out duplicate right stamps by the time we get here, which means that the + // rightStampChunk // contains only values that are the last in any given run; and thus are possible matches. - // We binary search in the left for the first value >=, everything up until the next extant right value (contained + // We binary search in the left for the first value >=, everything up until the next extant right value + // (contained // in the nextRightValue chunk) should be re-stamped with our value final ShortSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); @@ -203,11 +218,16 @@ static private void processInsertion(ShortSegmentedSortedArray leftSsa, ShortChu } @Override - public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, Chunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { - findModified((ShortSegmentedSortedArray)leftSsa, rowRedirection, rightStampChunk.asShortChunk(), rightStampIndices, modifiedBuilder, disallowExactMatch); + public void findModified(SegmentedSortedArray leftSsa, RowRedirection rowRedirection, + Chunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + findModified((ShortSegmentedSortedArray) leftSsa, rowRedirection, rightStampChunk.asShortChunk(), + rightStampIndices, modifiedBuilder, disallowExactMatch); } - private static void findModified(ShortSegmentedSortedArray leftSsa, RowRedirection rowRedirection, ShortChunk rightStampChunk, LongChunk rightStampIndices, RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { + private static void findModified(ShortSegmentedSortedArray leftSsa, RowRedirection rowRedirection, + ShortChunk rightStampChunk, LongChunk rightStampIndices, + RowSetBuilderRandom modifiedBuilder, boolean disallowExactMatch) { final ShortSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); try (final SizedLongChunk modifiedKeys = new SizedLongChunk<>()) { @@ -242,11 +262,16 @@ private static void findModified(ShortSegmentedSortedArray leftSsa, RowRedirecti } @Override - public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { - applyShift((ShortSegmentedSortedArray)leftSsa, rightStampChunk.asShortChunk(), rightStampKeys, shiftDelta, rowRedirection, disallowExactMatch); + public void applyShift(SegmentedSortedArray leftSsa, Chunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { + applyShift((ShortSegmentedSortedArray) leftSsa, rightStampChunk.asShortChunk(), rightStampKeys, shiftDelta, + rowRedirection, disallowExactMatch); } - private void applyShift(ShortSegmentedSortedArray leftSsa, ShortChunk rightStampChunk, LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, boolean disallowExactMatch) { + private void applyShift(ShortSegmentedSortedArray leftSsa, ShortChunk rightStampChunk, + LongChunk rightStampKeys, long shiftDelta, WritableRowRedirection rowRedirection, + boolean disallowExactMatch) { final ShortSegmentedSortedArray.Iterator leftIt = leftSsa.iterator(disallowExactMatch, false); for (int ii = 0; ii < rightStampChunk.size(); ++ii) { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/SsaChecker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/SsaChecker.java index b1eeecfd3d6..512de83c4c8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/SsaChecker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/SsaChecker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssa; import io.deephaven.engine.table.impl.SortingOrder; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/SsaSsaStamp.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/SsaSsaStamp.java index c2da9e7c503..b7040720228 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/SsaSsaStamp.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssa/SsaSsaStamp.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssa; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/ByteSegmentedSortedMultiset.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/ByteSegmentedSortedMultiset.java index 8b16887ce24..be942030ca0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/ByteSegmentedSortedMultiset.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/ByteSegmentedSortedMultiset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedMultiset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSegmentedSortedMultiset and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssms; import io.deephaven.base.verify.Assert; @@ -38,16 +37,16 @@ public final class ByteSegmentedSortedMultiset implements SegmentedSortedMultiSe private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private byte [] directoryValues; - private long [] directoryCount; + private byte[] directoryValues; + private long[] directoryCount; - private int [] leafSizes; - private byte [][] leafValues; - private long [][] leafCounts; + private int[] leafSizes; + private byte[][] leafValues; + private long[][] leafCounts; // region Deltas private transient boolean accumulateDeltas = false; @@ -57,7 +56,7 @@ public final class ByteSegmentedSortedMultiset implements SegmentedSortedMultiSe // endregion Deltas - //region Constructor + // region Constructor /** * Create a ByteSegmentedSortedArray with the given leafSize. * @@ -68,9 +67,9 @@ public ByteSegmentedSortedMultiset(int leafSize) { leafCount = 0; size = 0; } - //endregion Constructor + // endregion Constructor - //region Insertion + // region Insertion @Override public boolean insert(WritableChunk valuesToInsert, WritableIntChunk counts) { final long beforeSize = size(); @@ -78,10 +77,13 @@ public boolean insert(WritableChunk valuesToInsert, WritableIn return beforeSize != size(); } - private int insertExistingIntoLeaf(WritableByteChunk valuesToInsert, WritableIntChunk counts, int ripos, MutableInt wipos, int leafSize, byte [] leafValues, long [] leafCounts, byte maxInsert, boolean lastLeaf) { + private int insertExistingIntoLeaf(WritableByteChunk valuesToInsert, + WritableIntChunk counts, int ripos, MutableInt wipos, int leafSize, byte[] leafValues, + long[] leafCounts, byte maxInsert, boolean lastLeaf) { int rlpos = 0; byte nextValue; - while (rlpos < leafSize && ripos < valuesToInsert.size() && (leq(nextValue = valuesToInsert.get(ripos), maxInsert) || lastLeaf)) { + while (rlpos < leafSize && ripos < valuesToInsert.size() + && (leq(nextValue = valuesToInsert.get(ripos), maxInsert) || lastLeaf)) { if (gt(leafValues[rlpos], nextValue)) { // we're not going to find nextValue in this leaf, so we skip over it valuesToInsert.set(wipos.intValue(), nextValue); @@ -97,10 +99,12 @@ private int insertExistingIntoLeaf(WritableByteChunk valuesToI } } else if (rlpos == leafSize) { // we have hit the end of the leaf, we can not insert any value that is less than maxvalue - final int lastInsert = lastLeaf ? valuesToInsert.size() : upperBound(valuesToInsert, ripos, valuesToInsert.size(), maxInsert); + final int lastInsert = lastLeaf ? valuesToInsert.size() + : upperBound(valuesToInsert, ripos, valuesToInsert.size(), maxInsert); // noinspection unchecked - valuesToInsert.copyFromTypedChunk((WritableByteChunk)valuesToInsert, ripos, wipos.intValue(), lastInsert - ripos); + valuesToInsert.copyFromTypedChunk((WritableByteChunk) valuesToInsert, ripos, wipos.intValue(), + lastInsert - ripos); counts.copyFromTypedChunk(counts, ripos, wipos.intValue(), lastInsert - ripos); wipos.add(lastInsert - ripos); ripos = lastInsert; @@ -110,7 +114,8 @@ private int insertExistingIntoLeaf(WritableByteChunk valuesToI return ripos; } - private void distributeNewIntoLeaves(ByteChunk valuesToInsert, IntChunk counts, final int insertStart, final int insertCount, int firstLeaf, int requiredLeaves, int newLeafSize) { + private void distributeNewIntoLeaves(ByteChunk valuesToInsert, IntChunk counts, + final int insertStart, final int insertCount, int firstLeaf, int requiredLeaves, int newLeafSize) { Assert.gtZero(insertCount, "insertCount"); final int valuesPerLeaf = valuesPerLeaf(newLeafSize, requiredLeaves); @@ -154,12 +159,14 @@ private void distributeNewIntoLeaves(ByteChunk valuesToInsert, if (wpos >= 0 && iwins > minGallop) { // find the smallest insert value greater than the leafValue, but do not go beyond the beginning of // the leaf we are writing to - final int minInsert = gallopBound(valuesToInsert, Math.max(insertStart, ripos - wpos), ripos + 1, leafValue); + final int minInsert = + gallopBound(valuesToInsert, Math.max(insertStart, ripos - wpos), ripos + 1, leafValue); final int gallopLength = ripos - minInsert + 1; if (gallopLength > 0) { - valuesToInsert.copyToTypedArray(minInsert, leafValues[wleaf], wpos - gallopLength + 1, gallopLength); + valuesToInsert.copyToTypedArray(minInsert, leafValues[wleaf], wpos - gallopLength + 1, + gallopLength); while (ripos >= minInsert) { leafCounts[wleaf][wpos--] = counts.get(ripos--); } @@ -185,12 +192,15 @@ private void distributeNewIntoLeaves(ByteChunk valuesToInsert, if (lwins > minGallop) { // find the smallest leaf value greater than the insertValue, but do not go beyond the beginning of // the leaf we are writing to - final int minInsert = gallopBound(leafValues[firstLeaf], Math.max(0, rlpos - wpos), rlpos + 1, insertValue); + final int minInsert = + gallopBound(leafValues[firstLeaf], Math.max(0, rlpos - wpos), rlpos + 1, insertValue); final int gallopLength = rlpos - minInsert + 1; if (gallopLength > 0) { - System.arraycopy(leafValues[firstLeaf], minInsert, leafValues[wleaf], wpos - gallopLength + 1, gallopLength); - System.arraycopy(leafCounts[firstLeaf], minInsert, leafCounts[wleaf], wpos - gallopLength + 1, gallopLength); + System.arraycopy(leafValues[firstLeaf], minInsert, leafValues[wleaf], wpos - gallopLength + 1, + gallopLength); + System.arraycopy(leafCounts[firstLeaf], minInsert, leafCounts[wleaf], wpos - gallopLength + 1, + gallopLength); rlpos -= gallopLength; wpos -= gallopLength; remaining -= gallopLength; @@ -241,8 +251,7 @@ private void distributeNewIntoLeaves(ByteChunk valuesToInsert, wpos = valuesPerLeaf - 1; wleaf--; } - } - else { + } else { assert rlpos >= 0; // we need to copy the rest of the leaf values @@ -265,7 +274,9 @@ private void distributeNewIntoLeaves(ByteChunk valuesToInsert, size += insertCount; } - private void insertNewIntoLeaf(WritableByteChunk valuesToInsert, WritableIntChunk counts, int insertStart, int insertCount, int leafSize, byte [] leafValues, long [] leafCounts) { + private void insertNewIntoLeaf(WritableByteChunk valuesToInsert, + WritableIntChunk counts, int insertStart, int insertCount, int leafSize, byte[] leafValues, + long[] leafCounts) { assert insertCount > 0; // we start at the end of the leaf and insert values, picking off the correct value as we go @@ -337,7 +348,8 @@ private void insertNewIntoLeaf(WritableByteChunk valuesToInser rlpos -= gallopLength; wpos -= gallopLength; if (rlpos == -1) { - copyRemainingValuesToLeaf(valuesToInsert, counts, insertStart, leafValues, leafCounts, ripos); + copyRemainingValuesToLeaf(valuesToInsert, counts, insertStart, leafValues, leafCounts, + ripos); return; } } @@ -352,34 +364,38 @@ private void insertNewIntoLeaf(WritableByteChunk valuesToInser } } - private void copyRemainingValuesToLeaf(WritableByteChunk valuesToInsert, WritableIntChunk counts, int insertStart, byte[] leafValues, long[] leafCounts, int ripos) { + private void copyRemainingValuesToLeaf(WritableByteChunk valuesToInsert, + WritableIntChunk counts, int insertStart, byte[] leafValues, long[] leafCounts, int ripos) { valuesToInsert.copyToTypedArray(insertStart, leafValues, 0, ripos - insertStart + 1); for (int ii = 0; ii < ripos - insertStart + 1; ++ii) { leafCounts[ii] = counts.get(ii + insertStart); } } - private void maybeCompact(WritableByteChunk valuesToInsert, WritableIntChunk counts, int ripos, int wipos) { + private void maybeCompact(WritableByteChunk valuesToInsert, WritableIntChunk counts, + int ripos, int wipos) { if (wipos == ripos) { return; } // we've found something to compact away final int originalSize = valuesToInsert.size(); final int toCopy = originalSize - ripos; - //noinspection unchecked - how the heck does this type not actuall work? - valuesToInsert.copyFromTypedChunk((ByteChunk)valuesToInsert, ripos, wipos, toCopy); + // noinspection unchecked - how the heck does this type not actuall work? + valuesToInsert.copyFromTypedChunk((ByteChunk) valuesToInsert, ripos, wipos, toCopy); counts.copyFromChunk(counts, ripos, wipos, toCopy); valuesToInsert.setSize(wipos + toCopy); counts.setSize(wipos + toCopy); } - private void insertExisting(WritableByteChunk valuesToInsert, WritableIntChunk counts) { + private void insertExisting(WritableByteChunk valuesToInsert, + WritableIntChunk counts) { if (leafCount == 0) { return; } if (leafCount == 1) { final MutableInt wipos = new MutableInt(0); - final int ripos = insertExistingIntoLeaf(valuesToInsert, counts, 0, wipos, size, directoryValues, directoryCount, NULL_BYTE, true); + final int ripos = insertExistingIntoLeaf(valuesToInsert, counts, 0, wipos, size, directoryValues, + directoryCount, NULL_BYTE, true); maybeCompact(valuesToInsert, counts, ripos, wipos.intValue()); return; } @@ -394,7 +410,8 @@ private void insertExisting(WritableByteChunk valuesToInsert, // find the thing in directoryValues final boolean lastLeaf = nextLeaf == leafCount - 1; final byte maxValue = lastLeaf ? NULL_BYTE : directoryValues[nextLeaf]; - ripos = insertExistingIntoLeaf(valuesToInsert, counts, ripos, wipos, leafSizes[nextLeaf], leafValues[nextLeaf], leafCounts[nextLeaf], maxValue, lastLeaf); + ripos = insertExistingIntoLeaf(valuesToInsert, counts, ripos, wipos, leafSizes[nextLeaf], + leafValues[nextLeaf], leafCounts[nextLeaf], maxValue, lastLeaf); if (lastLeaf) { break; } @@ -450,7 +467,8 @@ private void insert(WritableByteChunk valuesToInsert, Writable } if (desiredLeafCount == 1) { // we should fit into the existing leaf - insertNewIntoLeaf(valuesToInsert, counts, 0, valuesToInsert.size(), size, directoryValues, directoryCount); + insertNewIntoLeaf(valuesToInsert, counts, 0, valuesToInsert.size(), size, directoryValues, + directoryCount); size = newSize; validate(); return; @@ -487,11 +505,11 @@ private void insert(WritableByteChunk valuesToInsert, Writable makeLeafHole(nextLeaf + 1, requiredLeaves - 1); leafCount += (requiredLeaves - 1); } - distributeNewIntoLeaves(valuesToInsert, counts, rpos, insertIntoLeaf, nextLeaf, requiredLeaves, newLeafSize); + distributeNewIntoLeaves(valuesToInsert, counts, rpos, insertIntoLeaf, nextLeaf, requiredLeaves, + newLeafSize); rpos += insertIntoLeaf; - } - while (rpos < valuesToInsert.size()); + } while (rpos < valuesToInsert.size()); validate(); } @@ -528,7 +546,8 @@ private void doAppend(WritableByteChunk valuesToInsert, Writab int rpos = 0; if (lastLeafFree > 0) { final int insertCount = Math.min(lastLeafFree, valuesToInsert.size()); - insertNewIntoLeaf(valuesToInsert, counts, rpos, insertCount, lastLeafSize, leafValues[lastLeafIndex], leafCounts[lastLeafIndex]); + insertNewIntoLeaf(valuesToInsert, counts, rpos, insertCount, lastLeafSize, leafValues[lastLeafIndex], + leafCounts[lastLeafIndex]); leafSizes[lastLeafIndex] += insertCount; rpos += insertCount; if (insertCount == valuesToInsert.size()) { @@ -624,7 +643,8 @@ private void makeLeavesInitial(ByteChunk values, IntChunk values, IntChunk counts, int rpos, int startLeaf, int valuesPerLeaf) { + private void packValuesIntoLeaves(ByteChunk values, IntChunk counts, int rpos, + int startLeaf, int valuesPerLeaf) { while (rpos < values.size()) { final int thisLeafSize = Math.min(valuesPerLeaf, values.size() - rpos); leafSizes[startLeaf] = thisLeafSize; @@ -642,7 +662,7 @@ private void packValuesIntoLeaves(ByteChunk values, IntChunk>> 1; final byte testValue = valuesToSearch[mid]; @@ -720,7 +740,7 @@ private static int gallopBound(ByteChunk valuesToSearch, int lo, * @param searchValue the value to find * @return the lowest index that is greater than or equal to valuesToSearch */ - private static int gallopBound(byte [] valuesToSearch, int lo, int hi, byte searchValue) { + private static int gallopBound(byte[] valuesToSearch, int lo, int hi, byte searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final byte testValue = valuesToSearch[mid]; @@ -747,7 +767,7 @@ private static int gallopBound(byte [] valuesToSearch, int lo, int hi, byte sear * @param searchValue the value to find * @return the highest index that is less than or equal to valuesToSearch */ - private static int upperBound(byte [] valuesToSearch, int lo, int hi, byte searchValue) { + private static int upperBound(byte[] valuesToSearch, int lo, int hi, byte searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final byte testValue = valuesToSearch[mid]; @@ -795,7 +815,7 @@ private static int upperBound(ByteChunk valuesToSearch, int lo * @param searchValue the value to find * @return the lowest index that is greater than to valuesToSearch */ - private static int lowerBoundExclusive(byte [] valuesToSearch, int lo, int hi, byte searchValue) { + private static int lowerBoundExclusive(byte[] valuesToSearch, int lo, int hi, byte searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final byte testValue = valuesToSearch[mid]; @@ -813,22 +833,24 @@ private static int lowerBoundExclusive(byte [] valuesToSearch, int lo, int hi, b return lo; } - //endregion + // endregion - //region Removal + // region Removal /** - * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. + * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. * - * @param valuesToRemove the valuesToRemove to remove + * @param valuesToRemove the valuesToRemove to remove */ @Override - public boolean remove(RemoveContext removeContext, WritableChunk valuesToRemove, WritableIntChunk counts) { + public boolean remove(RemoveContext removeContext, WritableChunk valuesToRemove, + WritableIntChunk counts) { final long beforeSize = size(); remove(removeContext, valuesToRemove.asByteChunk(), counts); return beforeSize != size(); } - private void remove(RemoveContext removeContext, ByteChunk valuesToRemove, IntChunk counts) { + private void remove(RemoveContext removeContext, ByteChunk valuesToRemove, + IntChunk counts) { validate(); validateInputs(valuesToRemove, counts); @@ -841,7 +863,8 @@ private void remove(RemoveContext removeContext, ByteChunk val if (leafCount == 1) { final MutableInt sz = new MutableInt(size); - final int consumed = removeFromLeaf(removeContext, valuesToRemove, counts, 0, valuesToRemove.size(), directoryValues, directoryCount, sz); + final int consumed = removeFromLeaf(removeContext, valuesToRemove, counts, 0, valuesToRemove.size(), + directoryValues, directoryCount, sz); assert consumed == valuesToRemove.size(); if (sz.intValue() == 0) { clear(); @@ -849,7 +872,7 @@ private void remove(RemoveContext removeContext, ByteChunk val size = sz.intValue(); } } else { - removeContext.ensureLeafCount((leafCount + 1)/ 2); + removeContext.ensureLeafCount((leafCount + 1) / 2); int rpos = 0; int nextLeaf = 0; @@ -860,7 +883,8 @@ private void remove(RemoveContext removeContext, ByteChunk val nextLeaf = lowerBound(directoryValues, nextLeaf, leafCount - 1, firstValueToRemove); final MutableInt sz = new MutableInt(leafSizes[nextLeaf]); - rpos = removeFromLeaf(removeContext, valuesToRemove, counts, rpos, valuesToRemove.size(), leafValues[nextLeaf], leafCounts[nextLeaf], sz); + rpos = removeFromLeaf(removeContext, valuesToRemove, counts, rpos, valuesToRemove.size(), + leafValues[nextLeaf], leafCounts[nextLeaf], sz); size -= leafSizes[nextLeaf] - sz.intValue(); leafSizes[nextLeaf] = sz.intValue(); if (sz.intValue() == 0) { @@ -868,7 +892,8 @@ private void remove(RemoveContext removeContext, ByteChunk val } else { // we figure out if we can be pulled back into the prior leaf final int priorLeaf; - if (cl >= 0 && removeContext.compactionLeafs[cl] + removeContext.compactionLeafLengths[cl] == nextLeaf) { + if (cl >= 0 && removeContext.compactionLeafs[cl] + + removeContext.compactionLeafLengths[cl] == nextLeaf) { // we need to go to one leaf before our compaction length, if we happen to be removing all // the prior leaves we end up with a negative number here. priorLeaf = removeContext.compactionLeafs[cl] - 1; @@ -891,8 +916,7 @@ private void remove(RemoveContext removeContext, ByteChunk val mergeTwoLeavesBack(priorLeaf, nextLeaf); cl = markLeafForRemoval(removeContext, nextLeaf, cl); } - } - else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + 1] <= leafSize) { + } else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + 1] <= leafSize) { // we shove ourselves forward into the next leaf mergeTwoLeavesForward(nextLeaf, nextLeaf + 1); cl = markLeafForRemoval(removeContext, nextLeaf, cl); @@ -901,8 +925,7 @@ else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + nextLeaf++; validateCompaction(removeContext, cl); - } - while (rpos < valuesToRemove.size()); + } while (rpos < valuesToRemove.size()); if (size == 0) { clear(); @@ -939,8 +962,10 @@ private void mergeTwoLeavesForward(int firstLeafSource, int secondLeafDestinatio final int firstSourceSize = leafSizes[firstLeafSource]; final int secondDestinationSize = leafSizes[secondLeafDestination]; // first make a hole - System.arraycopy(leafValues[secondLeafDestination], 0, leafValues[secondLeafDestination], firstSourceSize, secondDestinationSize); - System.arraycopy(leafCounts[secondLeafDestination], 0, leafCounts[secondLeafDestination], firstSourceSize, secondDestinationSize); + System.arraycopy(leafValues[secondLeafDestination], 0, leafValues[secondLeafDestination], firstSourceSize, + secondDestinationSize); + System.arraycopy(leafCounts[secondLeafDestination], 0, leafCounts[secondLeafDestination], firstSourceSize, + secondDestinationSize); // now copy the first leaf into that hole System.arraycopy(leafValues[firstLeafSource], 0, leafValues[secondLeafDestination], 0, firstSourceSize); System.arraycopy(leafCounts[firstLeafSource], 0, leafCounts[secondLeafDestination], 0, firstSourceSize); @@ -956,14 +981,18 @@ private void mergeThreeLeavesForward(int firstLeafSource, int secondLeafSource, final int thirdDestinationSize = leafSizes[thirdLeafDestination]; // first make a hole - System.arraycopy(leafValues[thirdLeafDestination], 0, leafValues[thirdLeafDestination], totalSourceSize, thirdDestinationSize); - System.arraycopy(leafCounts[thirdLeafDestination], 0, leafCounts[thirdLeafDestination], totalSourceSize, thirdDestinationSize); + System.arraycopy(leafValues[thirdLeafDestination], 0, leafValues[thirdLeafDestination], totalSourceSize, + thirdDestinationSize); + System.arraycopy(leafCounts[thirdLeafDestination], 0, leafCounts[thirdLeafDestination], totalSourceSize, + thirdDestinationSize); // now copy the first leaf into that hole System.arraycopy(leafValues[firstLeafSource], 0, leafValues[thirdLeafDestination], 0, firstSourceSize); System.arraycopy(leafCounts[firstLeafSource], 0, leafCounts[thirdLeafDestination], 0, firstSourceSize); - System.arraycopy(leafValues[secondLeafSource], 0, leafValues[thirdLeafDestination], firstSourceSize, secondSourceSize); - System.arraycopy(leafCounts[secondLeafSource], 0, leafCounts[thirdLeafDestination], firstSourceSize, secondSourceSize); + System.arraycopy(leafValues[secondLeafSource], 0, leafValues[thirdLeafDestination], firstSourceSize, + secondSourceSize); + System.arraycopy(leafCounts[secondLeafSource], 0, leafCounts[thirdLeafDestination], firstSourceSize, + secondSourceSize); leafSizes[thirdLeafDestination] += totalSourceSize; leafSizes[firstLeafSource] = 0; @@ -997,7 +1026,8 @@ private int addLeafToLastRemovalRange(RemoveContext removeContext, int leafToRem removeContext.compactionLeafLengths[cl]++; // we might need to collapse two adjacent ranges in the compaction - if (cl > 0 && removeContext.compactionLeafs[cl - 1] + removeContext.compactionLeafLengths[cl - 1] == removeContext.compactionLeafs[cl]) { + if (cl > 0 && removeContext.compactionLeafs[cl - 1] + + removeContext.compactionLeafLengths[cl - 1] == removeContext.compactionLeafs[cl]) { removeContext.compactionLeafLengths[cl - 1] += removeContext.compactionLeafLengths[cl]; cl--; } @@ -1054,7 +1084,8 @@ private void maybePromoteLastLeaf() { } } - private int removeFromLeaf(RemoveContext removeContext, ByteChunk valuesToRemove, IntChunk counts, int ripos, int end, byte[] leafValues, long[] leafCounts, MutableInt sz) { + private int removeFromLeaf(RemoveContext removeContext, ByteChunk valuesToRemove, + IntChunk counts, int ripos, int end, byte[] leafValues, long[] leafCounts, MutableInt sz) { int rlpos = 0; int cl = -1; while (ripos < end) { @@ -1084,7 +1115,8 @@ private int removeFromLeaf(RemoveContext removeContext, ByteChunk valuesToInsert, IntChunk Assert.gtZero(counts.get(ii), "counts.get(ii)"); final byte prevValue = valuesToInsert.get(ii - 1); final byte curValue = valuesToInsert.get(ii); - Assert.assertion(ByteComparisons.lt(prevValue, curValue), "ByteComparisons.lt(prevValue, curValue)", prevValue, "prevValue", curValue, "curValue"); + Assert.assertion(ByteComparisons.lt(prevValue, curValue), "ByteComparisons.lt(prevValue, curValue)", + prevValue, "prevValue", curValue, "curValue"); } } @@ -1199,25 +1232,29 @@ private void validateInternal() { final byte lastValue = leafValues[ii][leafSizes[ii] - 1]; if (ii < leafCount - 1) { final byte directoryValue = directoryValues[ii]; - Assert.assertion(leq(lastValue, directoryValue), "lt(lastValue, directoryValue)", lastValue, "leafValues[ii][leafSizes[ii] - 1]", directoryValue, "directoryValue"); + Assert.assertion(leq(lastValue, directoryValue), "lt(lastValue, directoryValue)", lastValue, + "leafValues[ii][leafSizes[ii] - 1]", directoryValue, "directoryValue"); if (ii < leafCount - 2) { final byte nextDirectoryValue = directoryValues[ii + 1]; - Assert.assertion(lt(directoryValue, nextDirectoryValue), "lt(directoryValue, nextDirectoryValue)", directoryValue, "directoryValue", nextDirectoryValue, "nextDirectoryValue"); + Assert.assertion(lt(directoryValue, nextDirectoryValue), + "lt(directoryValue, nextDirectoryValue)", directoryValue, "directoryValue", + nextDirectoryValue, "nextDirectoryValue"); } final byte nextFirstValue = leafValues[ii + 1][0]; - Assert.assertion(lt(directoryValue, nextFirstValue), "lt(directoryValue, nextFirstValue)", directoryValue, "directoryValue", nextFirstValue, "nextFirstValue"); + Assert.assertion(lt(directoryValue, nextFirstValue), "lt(directoryValue, nextFirstValue)", + directoryValue, "directoryValue", nextFirstValue, "nextFirstValue"); } // It would be nice to enable an assertion to make sure we are dense after removals, but the other // reason this assertion can fail is that if we insert into a node that is too large we may have to - // split it. The last node we have could be short, and it might be possible to merge it with the node + // split it. The last node we have could be short, and it might be possible to merge it with the node // afterwards, but we don't do removals during an insertion phase. -// if (ii < leafCount - 1) { -// final int thisLeafSize = leafSizes[ii]; -// final int nextLeafSize = leafSizes[ii + 1]; -// Assert.leq(leafSize, "leafSize", thisLeafSize + nextLeafSize, "thisLeafSize + nextLeafSize"); -// } + // if (ii < leafCount - 1) { + // final int thisLeafSize = leafSizes[ii]; + // final int nextLeafSize = leafSizes[ii + 1]; + // Assert.leq(leafSize, "leafSize", thisLeafSize + nextLeafSize, "thisLeafSize + nextLeafSize"); + // } } validateLeafOrdering(); @@ -1244,7 +1281,8 @@ private static void validateLeaf(byte[] values, long[] counts, int size) { Assert.gtZero(counts[ii], "counts[ii]"); final byte thisValue = values[ii]; final byte nextValue = values[ii + 1]; - Assert.assertion(lt(values[ii], values[ii + 1]), "lt(values[ii], values[ii + 1])", (Byte)thisValue, "values[ii]", (Byte)nextValue, "values[ii + 1]", ii, "ii"); + Assert.assertion(lt(values[ii], values[ii + 1]), "lt(values[ii], values[ii + 1])", (Byte) thisValue, + "values[ii]", (Byte) nextValue, "values[ii + 1]", ii, "ii"); } if (size > 0) { Assert.gtZero(counts[size - 1], "counts[size - 1]"); @@ -1269,9 +1307,9 @@ private int computeTotalSize() { return expectedSize; } - //endregion + // endregion - //region Comparisons + // region Comparisons private int getDesiredLeafCount(int newSize) { return (newSize + leafSize - 1) / leafSize; } @@ -1305,10 +1343,12 @@ private static boolean eq(byte lhs, byte rhs) { return lhs == rhs; // endregion equality function } - //endregion + // endregion @Override - public long totalSize() { return totalSize; } + public long totalSize() { + return totalSize; + } @Override public int getNodeSize() { @@ -1328,8 +1368,7 @@ public Byte getMax() { public byte getMinByte() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryValues[0]; } return leafValues[0][0]; @@ -1339,8 +1378,7 @@ else if (leafCount == 1) { public long getMinCount() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryCount[0]; } return leafCounts[0][0]; @@ -1349,8 +1387,7 @@ else if (leafCount == 1) { private void addMinCount(long toAdd) { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { directoryCount[0] += toAdd; } else { leafCounts[0][0] += toAdd; @@ -1389,8 +1426,7 @@ private void removeMin() { public byte getMaxByte() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryValues[size - 1]; } return leafValues[leafCount - 1][leafSizes[leafCount - 1] - 1]; @@ -1400,8 +1436,7 @@ else if (leafCount == 1) { public long getMaxCount() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryCount[size - 1]; } return leafCounts[leafCount - 1][leafSizes[leafCount - 1] - 1]; @@ -1410,8 +1445,7 @@ else if (leafCount == 1) { private void addMaxCount(long toAdd) { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { directoryCount[size - 1] += toAdd; } else { leafCounts[leafCount - 1][leafSizes[leafCount - 1] - 1] += toAdd; @@ -1438,10 +1472,10 @@ private void removeMax() { } } - //region Moving + // region Moving @Override public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long count) { - final ByteSegmentedSortedMultiset destination = (ByteSegmentedSortedMultiset)untypedDestination; + final ByteSegmentedSortedMultiset destination = (ByteSegmentedSortedMultiset) untypedDestination; validate(); destination.validate(); @@ -1454,7 +1488,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (destination.size > 0) { - Assert.assertion(geq(getMinByte(), destination.getMaxByte()), "geq(getMinByte(), destination.getMaxByte())"); + Assert.assertion(geq(getMinByte(), destination.getMaxByte()), + "geq(getMinByte(), destination.getMaxByte())"); } } @@ -1525,7 +1560,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou directoryCount[0] = leftOver; directoryValues[0] = directoryValues[size - 1]; destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1], "destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1]"); + Assert.gtZero(destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1], + "destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1]"); size = 1; } else { directoryValues = null; @@ -1556,8 +1592,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou final int sizeOfLeftOverLeaf = leafSizes[rli]; size -= (sizeOfLeftOverLeaf - 1); - final byte [] tmpValues = new byte[leafSize]; - final long [] tmpCounts = new long[leafSize]; + final byte[] tmpValues = new byte[leafSize]; + final long[] tmpCounts = new long[leafSize]; tmpValues[0] = leafValues[rli][sizeOfLeftOverLeaf - 1]; tmpCounts[0] = leftOver; leafValues[rli] = tmpValues; @@ -1565,7 +1601,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou leafSizes[rli] = 1; destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1], "destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1]"); + Assert.gtZero(destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1], + "destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1]"); if (rli < leafCount - 1) { updateDirectory(rli); } @@ -1594,10 +1631,10 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou boolean sourceLeavesMerged = false; if (partialUnique > 0) { - final byte [] sourceValues; - final long [] sourceCounts; - final byte [] destinationValues; - final long [] destinationCounts; + final byte[] sourceValues; + final long[] sourceCounts; + final byte[] destinationValues; + final long[] destinationCounts; final int copySize; final int destOffset; if (leafCount == 1) { @@ -1645,10 +1682,12 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (leftOver > 0) { if (destination.directoryCount == null) { destination.leafCounts[wleaf][destOffset + partialUnique - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf][destOffset + partialUnique - 1], "destination.leafCounts[wleaf][destOffset + partialUnique - 1]"); + Assert.gtZero(destination.leafCounts[wleaf][destOffset + partialUnique - 1], + "destination.leafCounts[wleaf][destOffset + partialUnique - 1]"); } else { destination.directoryCount[destination.size - 1] -= leftOver; - Assert.gtZero(destination.directoryCount[destination.size - 1], "destination.directoryCount[destination.size]"); + Assert.gtZero(destination.directoryCount[destination.size - 1], + "destination.directoryCount[destination.size]"); } } @@ -1722,7 +1761,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (size > 0 && destination.size > 0) { - Assert.assertion(geq(getMinByte(), destination.getMaxByte()), "geq(getMinByte(), destination.getMaxByte())"); + Assert.assertion(geq(getMinByte(), destination.getMaxByte()), + "geq(getMinByte(), destination.getMaxByte())"); } } @@ -1739,7 +1779,8 @@ private void updateDirectory(int leaf) { * @param finalSlots how many slots outside of completeLeaves are required * @param completeLeaves how many complete leaves are required * - * @return true if we should put our finalSlots values in the "extra" leaf. False if they should be appended to the last leaf that already exists + * @return true if we should put our finalSlots values in the "extra" leaf. False if they should be appended to the + * last leaf that already exists */ private boolean prepareAppend(int finalSlots, int completeLeaves) { Assert.leq(finalSlots, "finalSlots", leafSize, "leafSize"); @@ -1790,8 +1831,8 @@ private boolean prepareAppend(int finalSlots, int completeLeaves) { * @param initialSlots how many slots outside of a complete leaf will be prepended * @param completeLeaves how many complete leaves will be prepended * - * @return true if the initialSlots values should be copied into their own private leaf, false if they should share space - * with the next leaf + * @return true if the initialSlots values should be copied into their own private leaf, false if they should share + * space with the next leaf */ private boolean preparePrepend(int initialSlots, int completeLeaves) { final int extraLeafCount; @@ -1834,8 +1875,8 @@ private boolean preparePrepend(int initialSlots, int completeLeaves) { if (extraLeafCount == 0 && initialSlots > 0) { // make a hole in the first leaf that still has values if (directoryCount != null) { - final byte [] tmpValues = new byte[initialSlots + size]; - final long [] tmpCount = new long[initialSlots + size]; + final byte[] tmpValues = new byte[initialSlots + size]; + final long[] tmpCount = new long[initialSlots + size]; System.arraycopy(directoryValues, 0, tmpValues, initialSlots, size); System.arraycopy(directoryCount, 0, tmpCount, initialSlots, size); directoryValues = tmpValues; @@ -1869,7 +1910,7 @@ private static int countFront(long[] counts, int sz, MutableInt valuesToMove, Mu @Override public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long count) { - final ByteSegmentedSortedMultiset destination = (ByteSegmentedSortedMultiset)untypedDestination; + final ByteSegmentedSortedMultiset destination = (ByteSegmentedSortedMultiset) untypedDestination; validate(); destination.validate(); @@ -1882,7 +1923,8 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (destination.size > 0) { - Assert.assertion(leq(getMaxByte(), destination.getMinByte()), "leq(getMaxByte(), destination.getMinByte())"); + Assert.assertion(leq(getMaxByte(), destination.getMinByte()), + "leq(getMaxByte(), destination.getMinByte())"); } } @@ -1943,11 +1985,11 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou final boolean extraLeaf = destination.preparePrepend(slotsInPartialLeaf, completeLeavesToMove); if (slotsInPartialLeaf > 0) { final boolean leftOverExists = leftOver > 0; - final byte [] destValues; - final long [] destCounts; + final byte[] destValues; + final long[] destCounts; - final byte [] srcValues; - final long [] srcCounts; + final byte[] srcValues; + final long[] srcCounts; final int srcSize; if (destination.directoryCount != null) { @@ -2020,14 +2062,16 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou System.arraycopy(leafSizes, rleaf + 1, destination.leafSizes, destinationLeaf, completeLeavesToMove); final int directoryMoves; final boolean haveLastSourceDirectoryEntry = rleaf + 1 + completeLeavesToMove < leafCount - 1; - final boolean requireLastDestinationDirectoryEntry = destination.leafCount > (destinationLeaf + completeLeavesToMove); + final boolean requireLastDestinationDirectoryEntry = + destination.leafCount > (destinationLeaf + completeLeavesToMove); if (haveLastSourceDirectoryEntry && requireLastDestinationDirectoryEntry) { directoryMoves = completeLeavesToMove; } else { directoryMoves = completeLeavesToMove - 1; } if (directoryMoves > 0) { - System.arraycopy(directoryValues, rleaf + 1, destination.directoryValues, destinationLeaf, directoryMoves); + System.arraycopy(directoryValues, rleaf + 1, destination.directoryValues, destinationLeaf, + directoryMoves); } if (requireLastDestinationDirectoryEntry) { destination.updateDirectory(destinationLeaf + completeLeavesToMove - 1); @@ -2061,9 +2105,11 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou final int firstLeafTozero = hasLeftOverSlot ? rleaf + 2 : rleaf + 1; Arrays.fill(leafValues, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, null); Arrays.fill(leafCounts, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, null); - Arrays.fill(leafSizes, firstLeafTozero , firstLeafTozero + numberOfLeavesToRemove, 0); + Arrays.fill(leafSizes, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, 0); if (directoryMoves > 0) { - Arrays.fill(directoryValues, firstLeafTozero, firstLeafTozero + directoryMoves - (completeLeavesToMove - numberOfLeavesToRemove), NULL_BYTE); + Arrays.fill(directoryValues, firstLeafTozero, + firstLeafTozero + directoryMoves - (completeLeavesToMove - numberOfLeavesToRemove), + NULL_BYTE); } maybePromoteLastLeaf(); } @@ -2082,7 +2128,8 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (size > 0 && destination.size > 0) { - Assert.assertion(leq(getMaxByte(), destination.getMinByte()), "leq(getMaxByte(), destination.getMinByte())"); + Assert.assertion(leq(getMaxByte(), destination.getMinByte()), + "leq(getMaxByte(), destination.getMinByte())"); } } } @@ -2102,7 +2149,7 @@ private static int countBack(long[] counts, int sz, MutableInt valuesToMove, Mut } return sz - rpos; } - //endregion + // endregion @Override public WritableByteChunk keyChunk() { @@ -2117,7 +2164,7 @@ public void fillKeyChunk(WritableChunk keyChunk, int offset) { } private void fillKeyChunk(WritableByteChunk keyChunk, int offset) { - if(keyChunk.capacity() < offset + intSize()) { + if (keyChunk.capacity() < offset + intSize()) { throw new IllegalArgumentException("Input chunk is not large enough"); } @@ -2148,37 +2195,38 @@ public WritableLongChunk countChunk() { } private byte[] keyArray() { - return keyArray(0, size-1); + return keyArray(0, size - 1); } /** * Create an array of the current keys beginning with the first (inclusive) and ending with the last (inclusive) + * * @param first * @param last * @return */ private byte[] keyArray(long first, long last) { - if(isEmpty()) { + if (isEmpty()) { return ArrayTypeUtils.EMPTY_BYTE_ARRAY; } - final int totalSize = (int)(last - first + 1); + final int totalSize = (int) (last - first + 1); final byte[] keyArray = new byte[totalSize]; if (leafCount == 1) { - System.arraycopy(directoryValues, (int)first, keyArray, 0, totalSize); + System.arraycopy(directoryValues, (int) first, keyArray, 0, totalSize); } else if (leafCount > 0) { int offset = 0; int copied = 0; int skipped = 0; for (int li = 0; li < leafCount && copied < totalSize; ++li) { - if(skipped < first) { - final int toSkip = (int)first - skipped; - if(toSkip < leafSizes[li]) { + if (skipped < first) { + final int toSkip = (int) first - skipped; + if (toSkip < leafSizes[li]) { final int nToCopy = Math.min(leafSizes[li] - toSkip, totalSize); System.arraycopy(leafValues[li], toSkip, keyArray, 0, nToCopy); copied = nToCopy; offset = copied; - skipped = (int)first; + skipped = (int) first; } else { skipped += leafSizes[li]; } @@ -2199,7 +2247,7 @@ private void maybeAccumulateAdditions(WritableByteChunk values return; } - if(prevValues == null) { + if (prevValues == null) { prevValues = new ByteVectorDirect(keyArray()); } @@ -2207,7 +2255,7 @@ private void maybeAccumulateAdditions(WritableByteChunk values added = new TByteHashSet(valuesToInsert.size()); } - if(removed == null) { + if (removed == null) { for (int ii = 0; ii < valuesToInsert.size(); ii++) { added.add(valuesToInsert.get(ii)); } @@ -2224,19 +2272,19 @@ private void maybeAccumulateAdditions(WritableByteChunk values } private void maybeAccumulateRemoval(byte valueRemoved) { - if(!accumulateDeltas) { + if (!accumulateDeltas) { return; } - if(prevValues == null) { + if (prevValues == null) { prevValues = new ByteVectorDirect(keyArray()); } - if(removed == null) { + if (removed == null) { removed = new TByteHashSet(); } - if(added == null || !added.remove(valueRemoved)) { + if (added == null || !added.remove(valueRemoved)) { removed.add(valueRemoved); } } @@ -2278,16 +2326,16 @@ public ByteVector getPrevValues() { // region ByteVector @Override public byte get(long index) { - if(index < 0 || index > size()) { + if (index < 0 || index > size()) { throw new IllegalArgumentException("Illegal index " + index + " current size: " + size()); } - if(leafCount == 1) { + if (leafCount == 1) { return directoryValues[(int) index]; } else { - for(int ii = 0; ii < leafCount; ii++) { - if(index < leafSizes[ii]) { - return leafValues[ii][(int)(index)]; + for (int ii = 0; ii < leafCount; ii++) { + if (index < leafSizes[ii]) { + return leafValues[ii][(int) (index)]; } index -= leafSizes[ii]; } @@ -2331,21 +2379,21 @@ public long size() { public ByteVector getDirect() { return new ByteVectorDirect(keyArray()); } - //endregion + // endregion - //region VectorEquals + // region VectorEquals private boolean equalsArray(ByteVector o) { - if(size() != o.size()) { + if (size() != o.size()) { return false; } - if(leafCount == 1) { - for(int ii = 0; ii < size; ii++) { - //region DirObjectEquals - if(directoryValues[ii] != o.get(ii)) { + if (leafCount == 1) { + for (int ii = 0; ii < size; ii++) { + // region DirObjectEquals + if (directoryValues[ii] != o.get(ii)) { return false; } - //endregion DirObjectEquals + // endregion DirObjectEquals } return true; @@ -2353,8 +2401,8 @@ private boolean equalsArray(ByteVector o) { int nCompared = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - if(leafValues[li][ai] != o.get(nCompared++)) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + if (leafValues[li][ai] != o.get(nCompared++)) { return false; } } @@ -2362,29 +2410,29 @@ private boolean equalsArray(ByteVector o) { return true; } - //endregion VectorEquals + // endregion VectorEquals private boolean equalsArray(ObjectVector o) { - //region EqualsArrayTypeCheck - if(o.getComponentType() != byte.class && o.getComponentType() != Byte.class) { + // region EqualsArrayTypeCheck + if (o.getComponentType() != byte.class && o.getComponentType() != Byte.class) { return false; } - //endregion EqualsArrayTypeCheck + // endregion EqualsArrayTypeCheck - if(size() != o.size()) { + if (size() != o.size()) { return false; } - if(leafCount == 1) { - for(int ii = 0; ii < size; ii++) { - final Byte val = (Byte)o.get(ii); - //region VectorEquals - if(directoryValues[ii] == NULL_BYTE && val != null && val != NULL_BYTE) { + if (leafCount == 1) { + for (int ii = 0; ii < size; ii++) { + final Byte val = (Byte) o.get(ii); + // region VectorEquals + if (directoryValues[ii] == NULL_BYTE && val != null && val != NULL_BYTE) { return false; } - //endregion VectorEquals + // endregion VectorEquals - if(!Objects.equals(directoryValues[ii], val)) { + if (!Objects.equals(directoryValues[ii], val)) { return false; } } @@ -2394,15 +2442,15 @@ private boolean equalsArray(ObjectVector o) { int nCompared = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - final Byte val = (Byte)o.get(nCompared++); - //region VectorEquals - if(leafValues[li][ai] == NULL_BYTE && val != null && val != NULL_BYTE) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + final Byte val = (Byte) o.get(nCompared++); + // region VectorEquals + if (leafValues[li][ai] == NULL_BYTE && val != null && val != NULL_BYTE) { return false; } - //endregion VectorEquals + // endregion VectorEquals - if(!Objects.equals(leafValues[li][ai], val)) { + if (!Objects.equals(leafValues[li][ai], val)) { return false; } } @@ -2413,36 +2461,37 @@ private boolean equalsArray(ObjectVector o) { @Override public boolean equals(Object o) { - if (this == o) return true; + if (this == o) + return true; if (!(o instanceof ByteSegmentedSortedMultiset)) { - //region VectorEquals - if(o instanceof ByteVector) { - return equalsArray((ByteVector)o); + // region VectorEquals + if (o instanceof ByteVector) { + return equalsArray((ByteVector) o); } - //endregion VectorEquals + // endregion VectorEquals - if(o instanceof ObjectVector) { - return equalsArray((ObjectVector)o); + if (o instanceof ObjectVector) { + return equalsArray((ObjectVector) o); } return false; } final ByteSegmentedSortedMultiset that = (ByteSegmentedSortedMultiset) o; - if(size() != that.size()) { + if (size() != that.size()) { return false; } - if(leafCount == 1) { - if(that.leafCount != 1 || size != that.size) { + if (leafCount == 1) { + if (that.leafCount != 1 || size != that.size) { return false; } - for(int ii = 0; ii < size; ii++) { - //region DirObjectEquals - if(directoryValues[ii] != that.directoryValues[ii]) { + for (int ii = 0; ii < size; ii++) { + // region DirObjectEquals + if (directoryValues[ii] != that.directoryValues[ii]) { return false; } - //endregion DirObjectEquals + // endregion DirObjectEquals } return true; @@ -2451,19 +2500,19 @@ public boolean equals(Object o) { int otherLeaf = 0; int otherLeafIdx = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - //region LeafObjectEquals - if(leafValues[li][ai] != that.leafValues[otherLeaf][otherLeafIdx++]) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + // region LeafObjectEquals + if (leafValues[li][ai] != that.leafValues[otherLeaf][otherLeafIdx++]) { return false; } - //endregion LeafObjectEquals + // endregion LeafObjectEquals - if(otherLeafIdx >= that.leafSizes[otherLeaf]) { + if (otherLeafIdx >= that.leafSizes[otherLeaf]) { otherLeaf++; otherLeafIdx = 0; } - if(otherLeaf >= that.leafCount) { + if (otherLeaf >= that.leafCount) { return false; } } @@ -2474,9 +2523,9 @@ public boolean equals(Object o) { @Override public int hashCode() { - if(leafCount == 1) { + if (leafCount == 1) { int result = Objects.hash(size); - for(int ii = 0; ii < size; ii++) { + for (int ii = 0; ii < size; ii++) { result = result * 31 + Objects.hash(directoryValues[ii]); } @@ -2486,7 +2535,7 @@ public int hashCode() { int result = Objects.hash(leafCount, size); for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { + for (int ai = 0; ai < leafSizes[li]; ai++) { result = result * 31 + Objects.hash(leafValues[li][ai]); } } @@ -2501,7 +2550,7 @@ public String toString() { } else if (leafCount > 0) { StringBuilder arrAsString = new StringBuilder("["); for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { + for (int ai = 0; ai < leafSizes[li]; ai++) { arrAsString.append(leafValues[li][ai]).append(", "); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/CharSegmentedSortedMultiset.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/CharSegmentedSortedMultiset.java index 7a2b7fb3232..29d1a739b2d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/CharSegmentedSortedMultiset.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/CharSegmentedSortedMultiset.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssms; import io.deephaven.base.verify.Assert; @@ -33,16 +33,16 @@ public final class CharSegmentedSortedMultiset implements SegmentedSortedMultiSe private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private char [] directoryValues; - private long [] directoryCount; + private char[] directoryValues; + private long[] directoryCount; - private int [] leafSizes; - private char [][] leafValues; - private long [][] leafCounts; + private int[] leafSizes; + private char[][] leafValues; + private long[][] leafCounts; // region Deltas private transient boolean accumulateDeltas = false; @@ -52,7 +52,7 @@ public final class CharSegmentedSortedMultiset implements SegmentedSortedMultiSe // endregion Deltas - //region Constructor + // region Constructor /** * Create a CharSegmentedSortedArray with the given leafSize. * @@ -63,9 +63,9 @@ public CharSegmentedSortedMultiset(int leafSize) { leafCount = 0; size = 0; } - //endregion Constructor + // endregion Constructor - //region Insertion + // region Insertion @Override public boolean insert(WritableChunk valuesToInsert, WritableIntChunk counts) { final long beforeSize = size(); @@ -73,10 +73,13 @@ public boolean insert(WritableChunk valuesToInsert, WritableIn return beforeSize != size(); } - private int insertExistingIntoLeaf(WritableCharChunk valuesToInsert, WritableIntChunk counts, int ripos, MutableInt wipos, int leafSize, char [] leafValues, long [] leafCounts, char maxInsert, boolean lastLeaf) { + private int insertExistingIntoLeaf(WritableCharChunk valuesToInsert, + WritableIntChunk counts, int ripos, MutableInt wipos, int leafSize, char[] leafValues, + long[] leafCounts, char maxInsert, boolean lastLeaf) { int rlpos = 0; char nextValue; - while (rlpos < leafSize && ripos < valuesToInsert.size() && (leq(nextValue = valuesToInsert.get(ripos), maxInsert) || lastLeaf)) { + while (rlpos < leafSize && ripos < valuesToInsert.size() + && (leq(nextValue = valuesToInsert.get(ripos), maxInsert) || lastLeaf)) { if (gt(leafValues[rlpos], nextValue)) { // we're not going to find nextValue in this leaf, so we skip over it valuesToInsert.set(wipos.intValue(), nextValue); @@ -92,10 +95,12 @@ private int insertExistingIntoLeaf(WritableCharChunk valuesToI } } else if (rlpos == leafSize) { // we have hit the end of the leaf, we can not insert any value that is less than maxvalue - final int lastInsert = lastLeaf ? valuesToInsert.size() : upperBound(valuesToInsert, ripos, valuesToInsert.size(), maxInsert); + final int lastInsert = lastLeaf ? valuesToInsert.size() + : upperBound(valuesToInsert, ripos, valuesToInsert.size(), maxInsert); // noinspection unchecked - valuesToInsert.copyFromTypedChunk((WritableCharChunk)valuesToInsert, ripos, wipos.intValue(), lastInsert - ripos); + valuesToInsert.copyFromTypedChunk((WritableCharChunk) valuesToInsert, ripos, wipos.intValue(), + lastInsert - ripos); counts.copyFromTypedChunk(counts, ripos, wipos.intValue(), lastInsert - ripos); wipos.add(lastInsert - ripos); ripos = lastInsert; @@ -105,7 +110,8 @@ private int insertExistingIntoLeaf(WritableCharChunk valuesToI return ripos; } - private void distributeNewIntoLeaves(CharChunk valuesToInsert, IntChunk counts, final int insertStart, final int insertCount, int firstLeaf, int requiredLeaves, int newLeafSize) { + private void distributeNewIntoLeaves(CharChunk valuesToInsert, IntChunk counts, + final int insertStart, final int insertCount, int firstLeaf, int requiredLeaves, int newLeafSize) { Assert.gtZero(insertCount, "insertCount"); final int valuesPerLeaf = valuesPerLeaf(newLeafSize, requiredLeaves); @@ -149,12 +155,14 @@ private void distributeNewIntoLeaves(CharChunk valuesToInsert, if (wpos >= 0 && iwins > minGallop) { // find the smallest insert value greater than the leafValue, but do not go beyond the beginning of // the leaf we are writing to - final int minInsert = gallopBound(valuesToInsert, Math.max(insertStart, ripos - wpos), ripos + 1, leafValue); + final int minInsert = + gallopBound(valuesToInsert, Math.max(insertStart, ripos - wpos), ripos + 1, leafValue); final int gallopLength = ripos - minInsert + 1; if (gallopLength > 0) { - valuesToInsert.copyToTypedArray(minInsert, leafValues[wleaf], wpos - gallopLength + 1, gallopLength); + valuesToInsert.copyToTypedArray(minInsert, leafValues[wleaf], wpos - gallopLength + 1, + gallopLength); while (ripos >= minInsert) { leafCounts[wleaf][wpos--] = counts.get(ripos--); } @@ -180,12 +188,15 @@ private void distributeNewIntoLeaves(CharChunk valuesToInsert, if (lwins > minGallop) { // find the smallest leaf value greater than the insertValue, but do not go beyond the beginning of // the leaf we are writing to - final int minInsert = gallopBound(leafValues[firstLeaf], Math.max(0, rlpos - wpos), rlpos + 1, insertValue); + final int minInsert = + gallopBound(leafValues[firstLeaf], Math.max(0, rlpos - wpos), rlpos + 1, insertValue); final int gallopLength = rlpos - minInsert + 1; if (gallopLength > 0) { - System.arraycopy(leafValues[firstLeaf], minInsert, leafValues[wleaf], wpos - gallopLength + 1, gallopLength); - System.arraycopy(leafCounts[firstLeaf], minInsert, leafCounts[wleaf], wpos - gallopLength + 1, gallopLength); + System.arraycopy(leafValues[firstLeaf], minInsert, leafValues[wleaf], wpos - gallopLength + 1, + gallopLength); + System.arraycopy(leafCounts[firstLeaf], minInsert, leafCounts[wleaf], wpos - gallopLength + 1, + gallopLength); rlpos -= gallopLength; wpos -= gallopLength; remaining -= gallopLength; @@ -236,8 +247,7 @@ private void distributeNewIntoLeaves(CharChunk valuesToInsert, wpos = valuesPerLeaf - 1; wleaf--; } - } - else { + } else { assert rlpos >= 0; // we need to copy the rest of the leaf values @@ -260,7 +270,9 @@ private void distributeNewIntoLeaves(CharChunk valuesToInsert, size += insertCount; } - private void insertNewIntoLeaf(WritableCharChunk valuesToInsert, WritableIntChunk counts, int insertStart, int insertCount, int leafSize, char [] leafValues, long [] leafCounts) { + private void insertNewIntoLeaf(WritableCharChunk valuesToInsert, + WritableIntChunk counts, int insertStart, int insertCount, int leafSize, char[] leafValues, + long[] leafCounts) { assert insertCount > 0; // we start at the end of the leaf and insert values, picking off the correct value as we go @@ -332,7 +344,8 @@ private void insertNewIntoLeaf(WritableCharChunk valuesToInser rlpos -= gallopLength; wpos -= gallopLength; if (rlpos == -1) { - copyRemainingValuesToLeaf(valuesToInsert, counts, insertStart, leafValues, leafCounts, ripos); + copyRemainingValuesToLeaf(valuesToInsert, counts, insertStart, leafValues, leafCounts, + ripos); return; } } @@ -347,34 +360,38 @@ private void insertNewIntoLeaf(WritableCharChunk valuesToInser } } - private void copyRemainingValuesToLeaf(WritableCharChunk valuesToInsert, WritableIntChunk counts, int insertStart, char[] leafValues, long[] leafCounts, int ripos) { + private void copyRemainingValuesToLeaf(WritableCharChunk valuesToInsert, + WritableIntChunk counts, int insertStart, char[] leafValues, long[] leafCounts, int ripos) { valuesToInsert.copyToTypedArray(insertStart, leafValues, 0, ripos - insertStart + 1); for (int ii = 0; ii < ripos - insertStart + 1; ++ii) { leafCounts[ii] = counts.get(ii + insertStart); } } - private void maybeCompact(WritableCharChunk valuesToInsert, WritableIntChunk counts, int ripos, int wipos) { + private void maybeCompact(WritableCharChunk valuesToInsert, WritableIntChunk counts, + int ripos, int wipos) { if (wipos == ripos) { return; } // we've found something to compact away final int originalSize = valuesToInsert.size(); final int toCopy = originalSize - ripos; - //noinspection unchecked - how the heck does this type not actuall work? - valuesToInsert.copyFromTypedChunk((CharChunk)valuesToInsert, ripos, wipos, toCopy); + // noinspection unchecked - how the heck does this type not actuall work? + valuesToInsert.copyFromTypedChunk((CharChunk) valuesToInsert, ripos, wipos, toCopy); counts.copyFromChunk(counts, ripos, wipos, toCopy); valuesToInsert.setSize(wipos + toCopy); counts.setSize(wipos + toCopy); } - private void insertExisting(WritableCharChunk valuesToInsert, WritableIntChunk counts) { + private void insertExisting(WritableCharChunk valuesToInsert, + WritableIntChunk counts) { if (leafCount == 0) { return; } if (leafCount == 1) { final MutableInt wipos = new MutableInt(0); - final int ripos = insertExistingIntoLeaf(valuesToInsert, counts, 0, wipos, size, directoryValues, directoryCount, NULL_CHAR, true); + final int ripos = insertExistingIntoLeaf(valuesToInsert, counts, 0, wipos, size, directoryValues, + directoryCount, NULL_CHAR, true); maybeCompact(valuesToInsert, counts, ripos, wipos.intValue()); return; } @@ -389,7 +406,8 @@ private void insertExisting(WritableCharChunk valuesToInsert, // find the thing in directoryValues final boolean lastLeaf = nextLeaf == leafCount - 1; final char maxValue = lastLeaf ? NULL_CHAR : directoryValues[nextLeaf]; - ripos = insertExistingIntoLeaf(valuesToInsert, counts, ripos, wipos, leafSizes[nextLeaf], leafValues[nextLeaf], leafCounts[nextLeaf], maxValue, lastLeaf); + ripos = insertExistingIntoLeaf(valuesToInsert, counts, ripos, wipos, leafSizes[nextLeaf], + leafValues[nextLeaf], leafCounts[nextLeaf], maxValue, lastLeaf); if (lastLeaf) { break; } @@ -445,7 +463,8 @@ private void insert(WritableCharChunk valuesToInsert, Writable } if (desiredLeafCount == 1) { // we should fit into the existing leaf - insertNewIntoLeaf(valuesToInsert, counts, 0, valuesToInsert.size(), size, directoryValues, directoryCount); + insertNewIntoLeaf(valuesToInsert, counts, 0, valuesToInsert.size(), size, directoryValues, + directoryCount); size = newSize; validate(); return; @@ -482,11 +501,11 @@ private void insert(WritableCharChunk valuesToInsert, Writable makeLeafHole(nextLeaf + 1, requiredLeaves - 1); leafCount += (requiredLeaves - 1); } - distributeNewIntoLeaves(valuesToInsert, counts, rpos, insertIntoLeaf, nextLeaf, requiredLeaves, newLeafSize); + distributeNewIntoLeaves(valuesToInsert, counts, rpos, insertIntoLeaf, nextLeaf, requiredLeaves, + newLeafSize); rpos += insertIntoLeaf; - } - while (rpos < valuesToInsert.size()); + } while (rpos < valuesToInsert.size()); validate(); } @@ -523,7 +542,8 @@ private void doAppend(WritableCharChunk valuesToInsert, Writab int rpos = 0; if (lastLeafFree > 0) { final int insertCount = Math.min(lastLeafFree, valuesToInsert.size()); - insertNewIntoLeaf(valuesToInsert, counts, rpos, insertCount, lastLeafSize, leafValues[lastLeafIndex], leafCounts[lastLeafIndex]); + insertNewIntoLeaf(valuesToInsert, counts, rpos, insertCount, lastLeafSize, leafValues[lastLeafIndex], + leafCounts[lastLeafIndex]); leafSizes[lastLeafIndex] += insertCount; rpos += insertCount; if (insertCount == valuesToInsert.size()) { @@ -619,7 +639,8 @@ private void makeLeavesInitial(CharChunk values, IntChunk values, IntChunk counts, int rpos, int startLeaf, int valuesPerLeaf) { + private void packValuesIntoLeaves(CharChunk values, IntChunk counts, int rpos, + int startLeaf, int valuesPerLeaf) { while (rpos < values.size()) { final int thisLeafSize = Math.min(valuesPerLeaf, values.size() - rpos); leafSizes[startLeaf] = thisLeafSize; @@ -637,7 +658,7 @@ private void packValuesIntoLeaves(CharChunk values, IntChunk>> 1; final char testValue = valuesToSearch[mid]; @@ -715,7 +736,7 @@ private static int gallopBound(CharChunk valuesToSearch, int lo, * @param searchValue the value to find * @return the lowest index that is greater than or equal to valuesToSearch */ - private static int gallopBound(char [] valuesToSearch, int lo, int hi, char searchValue) { + private static int gallopBound(char[] valuesToSearch, int lo, int hi, char searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch[mid]; @@ -742,7 +763,7 @@ private static int gallopBound(char [] valuesToSearch, int lo, int hi, char sear * @param searchValue the value to find * @return the highest index that is less than or equal to valuesToSearch */ - private static int upperBound(char [] valuesToSearch, int lo, int hi, char searchValue) { + private static int upperBound(char[] valuesToSearch, int lo, int hi, char searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch[mid]; @@ -790,7 +811,7 @@ private static int upperBound(CharChunk valuesToSearch, int lo * @param searchValue the value to find * @return the lowest index that is greater than to valuesToSearch */ - private static int lowerBoundExclusive(char [] valuesToSearch, int lo, int hi, char searchValue) { + private static int lowerBoundExclusive(char[] valuesToSearch, int lo, int hi, char searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final char testValue = valuesToSearch[mid]; @@ -808,22 +829,24 @@ private static int lowerBoundExclusive(char [] valuesToSearch, int lo, int hi, c return lo; } - //endregion + // endregion - //region Removal + // region Removal /** - * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. + * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. * - * @param valuesToRemove the valuesToRemove to remove + * @param valuesToRemove the valuesToRemove to remove */ @Override - public boolean remove(RemoveContext removeContext, WritableChunk valuesToRemove, WritableIntChunk counts) { + public boolean remove(RemoveContext removeContext, WritableChunk valuesToRemove, + WritableIntChunk counts) { final long beforeSize = size(); remove(removeContext, valuesToRemove.asCharChunk(), counts); return beforeSize != size(); } - private void remove(RemoveContext removeContext, CharChunk valuesToRemove, IntChunk counts) { + private void remove(RemoveContext removeContext, CharChunk valuesToRemove, + IntChunk counts) { validate(); validateInputs(valuesToRemove, counts); @@ -836,7 +859,8 @@ private void remove(RemoveContext removeContext, CharChunk val if (leafCount == 1) { final MutableInt sz = new MutableInt(size); - final int consumed = removeFromLeaf(removeContext, valuesToRemove, counts, 0, valuesToRemove.size(), directoryValues, directoryCount, sz); + final int consumed = removeFromLeaf(removeContext, valuesToRemove, counts, 0, valuesToRemove.size(), + directoryValues, directoryCount, sz); assert consumed == valuesToRemove.size(); if (sz.intValue() == 0) { clear(); @@ -844,7 +868,7 @@ private void remove(RemoveContext removeContext, CharChunk val size = sz.intValue(); } } else { - removeContext.ensureLeafCount((leafCount + 1)/ 2); + removeContext.ensureLeafCount((leafCount + 1) / 2); int rpos = 0; int nextLeaf = 0; @@ -855,7 +879,8 @@ private void remove(RemoveContext removeContext, CharChunk val nextLeaf = lowerBound(directoryValues, nextLeaf, leafCount - 1, firstValueToRemove); final MutableInt sz = new MutableInt(leafSizes[nextLeaf]); - rpos = removeFromLeaf(removeContext, valuesToRemove, counts, rpos, valuesToRemove.size(), leafValues[nextLeaf], leafCounts[nextLeaf], sz); + rpos = removeFromLeaf(removeContext, valuesToRemove, counts, rpos, valuesToRemove.size(), + leafValues[nextLeaf], leafCounts[nextLeaf], sz); size -= leafSizes[nextLeaf] - sz.intValue(); leafSizes[nextLeaf] = sz.intValue(); if (sz.intValue() == 0) { @@ -863,7 +888,8 @@ private void remove(RemoveContext removeContext, CharChunk val } else { // we figure out if we can be pulled back into the prior leaf final int priorLeaf; - if (cl >= 0 && removeContext.compactionLeafs[cl] + removeContext.compactionLeafLengths[cl] == nextLeaf) { + if (cl >= 0 && removeContext.compactionLeafs[cl] + + removeContext.compactionLeafLengths[cl] == nextLeaf) { // we need to go to one leaf before our compaction length, if we happen to be removing all // the prior leaves we end up with a negative number here. priorLeaf = removeContext.compactionLeafs[cl] - 1; @@ -886,8 +912,7 @@ private void remove(RemoveContext removeContext, CharChunk val mergeTwoLeavesBack(priorLeaf, nextLeaf); cl = markLeafForRemoval(removeContext, nextLeaf, cl); } - } - else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + 1] <= leafSize) { + } else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + 1] <= leafSize) { // we shove ourselves forward into the next leaf mergeTwoLeavesForward(nextLeaf, nextLeaf + 1); cl = markLeafForRemoval(removeContext, nextLeaf, cl); @@ -896,8 +921,7 @@ else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + nextLeaf++; validateCompaction(removeContext, cl); - } - while (rpos < valuesToRemove.size()); + } while (rpos < valuesToRemove.size()); if (size == 0) { clear(); @@ -934,8 +958,10 @@ private void mergeTwoLeavesForward(int firstLeafSource, int secondLeafDestinatio final int firstSourceSize = leafSizes[firstLeafSource]; final int secondDestinationSize = leafSizes[secondLeafDestination]; // first make a hole - System.arraycopy(leafValues[secondLeafDestination], 0, leafValues[secondLeafDestination], firstSourceSize, secondDestinationSize); - System.arraycopy(leafCounts[secondLeafDestination], 0, leafCounts[secondLeafDestination], firstSourceSize, secondDestinationSize); + System.arraycopy(leafValues[secondLeafDestination], 0, leafValues[secondLeafDestination], firstSourceSize, + secondDestinationSize); + System.arraycopy(leafCounts[secondLeafDestination], 0, leafCounts[secondLeafDestination], firstSourceSize, + secondDestinationSize); // now copy the first leaf into that hole System.arraycopy(leafValues[firstLeafSource], 0, leafValues[secondLeafDestination], 0, firstSourceSize); System.arraycopy(leafCounts[firstLeafSource], 0, leafCounts[secondLeafDestination], 0, firstSourceSize); @@ -951,14 +977,18 @@ private void mergeThreeLeavesForward(int firstLeafSource, int secondLeafSource, final int thirdDestinationSize = leafSizes[thirdLeafDestination]; // first make a hole - System.arraycopy(leafValues[thirdLeafDestination], 0, leafValues[thirdLeafDestination], totalSourceSize, thirdDestinationSize); - System.arraycopy(leafCounts[thirdLeafDestination], 0, leafCounts[thirdLeafDestination], totalSourceSize, thirdDestinationSize); + System.arraycopy(leafValues[thirdLeafDestination], 0, leafValues[thirdLeafDestination], totalSourceSize, + thirdDestinationSize); + System.arraycopy(leafCounts[thirdLeafDestination], 0, leafCounts[thirdLeafDestination], totalSourceSize, + thirdDestinationSize); // now copy the first leaf into that hole System.arraycopy(leafValues[firstLeafSource], 0, leafValues[thirdLeafDestination], 0, firstSourceSize); System.arraycopy(leafCounts[firstLeafSource], 0, leafCounts[thirdLeafDestination], 0, firstSourceSize); - System.arraycopy(leafValues[secondLeafSource], 0, leafValues[thirdLeafDestination], firstSourceSize, secondSourceSize); - System.arraycopy(leafCounts[secondLeafSource], 0, leafCounts[thirdLeafDestination], firstSourceSize, secondSourceSize); + System.arraycopy(leafValues[secondLeafSource], 0, leafValues[thirdLeafDestination], firstSourceSize, + secondSourceSize); + System.arraycopy(leafCounts[secondLeafSource], 0, leafCounts[thirdLeafDestination], firstSourceSize, + secondSourceSize); leafSizes[thirdLeafDestination] += totalSourceSize; leafSizes[firstLeafSource] = 0; @@ -992,7 +1022,8 @@ private int addLeafToLastRemovalRange(RemoveContext removeContext, int leafToRem removeContext.compactionLeafLengths[cl]++; // we might need to collapse two adjacent ranges in the compaction - if (cl > 0 && removeContext.compactionLeafs[cl - 1] + removeContext.compactionLeafLengths[cl - 1] == removeContext.compactionLeafs[cl]) { + if (cl > 0 && removeContext.compactionLeafs[cl - 1] + + removeContext.compactionLeafLengths[cl - 1] == removeContext.compactionLeafs[cl]) { removeContext.compactionLeafLengths[cl - 1] += removeContext.compactionLeafLengths[cl]; cl--; } @@ -1049,7 +1080,8 @@ private void maybePromoteLastLeaf() { } } - private int removeFromLeaf(RemoveContext removeContext, CharChunk valuesToRemove, IntChunk counts, int ripos, int end, char[] leafValues, long[] leafCounts, MutableInt sz) { + private int removeFromLeaf(RemoveContext removeContext, CharChunk valuesToRemove, + IntChunk counts, int ripos, int end, char[] leafValues, long[] leafCounts, MutableInt sz) { int rlpos = 0; int cl = -1; while (ripos < end) { @@ -1079,7 +1111,8 @@ private int removeFromLeaf(RemoveContext removeContext, CharChunk valuesToInsert, IntChunk Assert.gtZero(counts.get(ii), "counts.get(ii)"); final char prevValue = valuesToInsert.get(ii - 1); final char curValue = valuesToInsert.get(ii); - Assert.assertion(CharComparisons.lt(prevValue, curValue), "CharComparisons.lt(prevValue, curValue)", prevValue, "prevValue", curValue, "curValue"); + Assert.assertion(CharComparisons.lt(prevValue, curValue), "CharComparisons.lt(prevValue, curValue)", + prevValue, "prevValue", curValue, "curValue"); } } @@ -1194,25 +1228,29 @@ private void validateInternal() { final char lastValue = leafValues[ii][leafSizes[ii] - 1]; if (ii < leafCount - 1) { final char directoryValue = directoryValues[ii]; - Assert.assertion(leq(lastValue, directoryValue), "lt(lastValue, directoryValue)", lastValue, "leafValues[ii][leafSizes[ii] - 1]", directoryValue, "directoryValue"); + Assert.assertion(leq(lastValue, directoryValue), "lt(lastValue, directoryValue)", lastValue, + "leafValues[ii][leafSizes[ii] - 1]", directoryValue, "directoryValue"); if (ii < leafCount - 2) { final char nextDirectoryValue = directoryValues[ii + 1]; - Assert.assertion(lt(directoryValue, nextDirectoryValue), "lt(directoryValue, nextDirectoryValue)", directoryValue, "directoryValue", nextDirectoryValue, "nextDirectoryValue"); + Assert.assertion(lt(directoryValue, nextDirectoryValue), + "lt(directoryValue, nextDirectoryValue)", directoryValue, "directoryValue", + nextDirectoryValue, "nextDirectoryValue"); } final char nextFirstValue = leafValues[ii + 1][0]; - Assert.assertion(lt(directoryValue, nextFirstValue), "lt(directoryValue, nextFirstValue)", directoryValue, "directoryValue", nextFirstValue, "nextFirstValue"); + Assert.assertion(lt(directoryValue, nextFirstValue), "lt(directoryValue, nextFirstValue)", + directoryValue, "directoryValue", nextFirstValue, "nextFirstValue"); } // It would be nice to enable an assertion to make sure we are dense after removals, but the other // reason this assertion can fail is that if we insert into a node that is too large we may have to - // split it. The last node we have could be short, and it might be possible to merge it with the node + // split it. The last node we have could be short, and it might be possible to merge it with the node // afterwards, but we don't do removals during an insertion phase. -// if (ii < leafCount - 1) { -// final int thisLeafSize = leafSizes[ii]; -// final int nextLeafSize = leafSizes[ii + 1]; -// Assert.leq(leafSize, "leafSize", thisLeafSize + nextLeafSize, "thisLeafSize + nextLeafSize"); -// } + // if (ii < leafCount - 1) { + // final int thisLeafSize = leafSizes[ii]; + // final int nextLeafSize = leafSizes[ii + 1]; + // Assert.leq(leafSize, "leafSize", thisLeafSize + nextLeafSize, "thisLeafSize + nextLeafSize"); + // } } validateLeafOrdering(); @@ -1239,7 +1277,8 @@ private static void validateLeaf(char[] values, long[] counts, int size) { Assert.gtZero(counts[ii], "counts[ii]"); final char thisValue = values[ii]; final char nextValue = values[ii + 1]; - Assert.assertion(lt(values[ii], values[ii + 1]), "lt(values[ii], values[ii + 1])", (Character)thisValue, "values[ii]", (Character)nextValue, "values[ii + 1]", ii, "ii"); + Assert.assertion(lt(values[ii], values[ii + 1]), "lt(values[ii], values[ii + 1])", (Character) thisValue, + "values[ii]", (Character) nextValue, "values[ii + 1]", ii, "ii"); } if (size > 0) { Assert.gtZero(counts[size - 1], "counts[size - 1]"); @@ -1264,9 +1303,9 @@ private int computeTotalSize() { return expectedSize; } - //endregion + // endregion - //region Comparisons + // region Comparisons private int getDesiredLeafCount(int newSize) { return (newSize + leafSize - 1) / leafSize; } @@ -1300,10 +1339,12 @@ private static boolean eq(char lhs, char rhs) { return lhs == rhs; // endregion equality function } - //endregion + // endregion @Override - public long totalSize() { return totalSize; } + public long totalSize() { + return totalSize; + } @Override public int getNodeSize() { @@ -1323,8 +1364,7 @@ public Character getMax() { public char getMinChar() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryValues[0]; } return leafValues[0][0]; @@ -1334,8 +1374,7 @@ else if (leafCount == 1) { public long getMinCount() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryCount[0]; } return leafCounts[0][0]; @@ -1344,8 +1383,7 @@ else if (leafCount == 1) { private void addMinCount(long toAdd) { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { directoryCount[0] += toAdd; } else { leafCounts[0][0] += toAdd; @@ -1384,8 +1422,7 @@ private void removeMin() { public char getMaxChar() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryValues[size - 1]; } return leafValues[leafCount - 1][leafSizes[leafCount - 1] - 1]; @@ -1395,8 +1432,7 @@ else if (leafCount == 1) { public long getMaxCount() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryCount[size - 1]; } return leafCounts[leafCount - 1][leafSizes[leafCount - 1] - 1]; @@ -1405,8 +1441,7 @@ else if (leafCount == 1) { private void addMaxCount(long toAdd) { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { directoryCount[size - 1] += toAdd; } else { leafCounts[leafCount - 1][leafSizes[leafCount - 1] - 1] += toAdd; @@ -1433,10 +1468,10 @@ private void removeMax() { } } - //region Moving + // region Moving @Override public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long count) { - final CharSegmentedSortedMultiset destination = (CharSegmentedSortedMultiset)untypedDestination; + final CharSegmentedSortedMultiset destination = (CharSegmentedSortedMultiset) untypedDestination; validate(); destination.validate(); @@ -1449,7 +1484,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (destination.size > 0) { - Assert.assertion(geq(getMinChar(), destination.getMaxChar()), "geq(getMinChar(), destination.getMaxChar())"); + Assert.assertion(geq(getMinChar(), destination.getMaxChar()), + "geq(getMinChar(), destination.getMaxChar())"); } } @@ -1520,7 +1556,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou directoryCount[0] = leftOver; directoryValues[0] = directoryValues[size - 1]; destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1], "destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1]"); + Assert.gtZero(destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1], + "destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1]"); size = 1; } else { directoryValues = null; @@ -1551,8 +1588,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou final int sizeOfLeftOverLeaf = leafSizes[rli]; size -= (sizeOfLeftOverLeaf - 1); - final char [] tmpValues = new char[leafSize]; - final long [] tmpCounts = new long[leafSize]; + final char[] tmpValues = new char[leafSize]; + final long[] tmpCounts = new long[leafSize]; tmpValues[0] = leafValues[rli][sizeOfLeftOverLeaf - 1]; tmpCounts[0] = leftOver; leafValues[rli] = tmpValues; @@ -1560,7 +1597,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou leafSizes[rli] = 1; destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1], "destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1]"); + Assert.gtZero(destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1], + "destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1]"); if (rli < leafCount - 1) { updateDirectory(rli); } @@ -1589,10 +1627,10 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou boolean sourceLeavesMerged = false; if (partialUnique > 0) { - final char [] sourceValues; - final long [] sourceCounts; - final char [] destinationValues; - final long [] destinationCounts; + final char[] sourceValues; + final long[] sourceCounts; + final char[] destinationValues; + final long[] destinationCounts; final int copySize; final int destOffset; if (leafCount == 1) { @@ -1640,10 +1678,12 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (leftOver > 0) { if (destination.directoryCount == null) { destination.leafCounts[wleaf][destOffset + partialUnique - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf][destOffset + partialUnique - 1], "destination.leafCounts[wleaf][destOffset + partialUnique - 1]"); + Assert.gtZero(destination.leafCounts[wleaf][destOffset + partialUnique - 1], + "destination.leafCounts[wleaf][destOffset + partialUnique - 1]"); } else { destination.directoryCount[destination.size - 1] -= leftOver; - Assert.gtZero(destination.directoryCount[destination.size - 1], "destination.directoryCount[destination.size]"); + Assert.gtZero(destination.directoryCount[destination.size - 1], + "destination.directoryCount[destination.size]"); } } @@ -1717,7 +1757,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (size > 0 && destination.size > 0) { - Assert.assertion(geq(getMinChar(), destination.getMaxChar()), "geq(getMinChar(), destination.getMaxChar())"); + Assert.assertion(geq(getMinChar(), destination.getMaxChar()), + "geq(getMinChar(), destination.getMaxChar())"); } } @@ -1734,7 +1775,8 @@ private void updateDirectory(int leaf) { * @param finalSlots how many slots outside of completeLeaves are required * @param completeLeaves how many complete leaves are required * - * @return true if we should put our finalSlots values in the "extra" leaf. False if they should be appended to the last leaf that already exists + * @return true if we should put our finalSlots values in the "extra" leaf. False if they should be appended to the + * last leaf that already exists */ private boolean prepareAppend(int finalSlots, int completeLeaves) { Assert.leq(finalSlots, "finalSlots", leafSize, "leafSize"); @@ -1785,8 +1827,8 @@ private boolean prepareAppend(int finalSlots, int completeLeaves) { * @param initialSlots how many slots outside of a complete leaf will be prepended * @param completeLeaves how many complete leaves will be prepended * - * @return true if the initialSlots values should be copied into their own private leaf, false if they should share space - * with the next leaf + * @return true if the initialSlots values should be copied into their own private leaf, false if they should share + * space with the next leaf */ private boolean preparePrepend(int initialSlots, int completeLeaves) { final int extraLeafCount; @@ -1829,8 +1871,8 @@ private boolean preparePrepend(int initialSlots, int completeLeaves) { if (extraLeafCount == 0 && initialSlots > 0) { // make a hole in the first leaf that still has values if (directoryCount != null) { - final char [] tmpValues = new char[initialSlots + size]; - final long [] tmpCount = new long[initialSlots + size]; + final char[] tmpValues = new char[initialSlots + size]; + final long[] tmpCount = new long[initialSlots + size]; System.arraycopy(directoryValues, 0, tmpValues, initialSlots, size); System.arraycopy(directoryCount, 0, tmpCount, initialSlots, size); directoryValues = tmpValues; @@ -1864,7 +1906,7 @@ private static int countFront(long[] counts, int sz, MutableInt valuesToMove, Mu @Override public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long count) { - final CharSegmentedSortedMultiset destination = (CharSegmentedSortedMultiset)untypedDestination; + final CharSegmentedSortedMultiset destination = (CharSegmentedSortedMultiset) untypedDestination; validate(); destination.validate(); @@ -1877,7 +1919,8 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (destination.size > 0) { - Assert.assertion(leq(getMaxChar(), destination.getMinChar()), "leq(getMaxChar(), destination.getMinChar())"); + Assert.assertion(leq(getMaxChar(), destination.getMinChar()), + "leq(getMaxChar(), destination.getMinChar())"); } } @@ -1938,11 +1981,11 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou final boolean extraLeaf = destination.preparePrepend(slotsInPartialLeaf, completeLeavesToMove); if (slotsInPartialLeaf > 0) { final boolean leftOverExists = leftOver > 0; - final char [] destValues; - final long [] destCounts; + final char[] destValues; + final long[] destCounts; - final char [] srcValues; - final long [] srcCounts; + final char[] srcValues; + final long[] srcCounts; final int srcSize; if (destination.directoryCount != null) { @@ -2015,14 +2058,16 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou System.arraycopy(leafSizes, rleaf + 1, destination.leafSizes, destinationLeaf, completeLeavesToMove); final int directoryMoves; final boolean haveLastSourceDirectoryEntry = rleaf + 1 + completeLeavesToMove < leafCount - 1; - final boolean requireLastDestinationDirectoryEntry = destination.leafCount > (destinationLeaf + completeLeavesToMove); + final boolean requireLastDestinationDirectoryEntry = + destination.leafCount > (destinationLeaf + completeLeavesToMove); if (haveLastSourceDirectoryEntry && requireLastDestinationDirectoryEntry) { directoryMoves = completeLeavesToMove; } else { directoryMoves = completeLeavesToMove - 1; } if (directoryMoves > 0) { - System.arraycopy(directoryValues, rleaf + 1, destination.directoryValues, destinationLeaf, directoryMoves); + System.arraycopy(directoryValues, rleaf + 1, destination.directoryValues, destinationLeaf, + directoryMoves); } if (requireLastDestinationDirectoryEntry) { destination.updateDirectory(destinationLeaf + completeLeavesToMove - 1); @@ -2056,9 +2101,11 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou final int firstLeafTozero = hasLeftOverSlot ? rleaf + 2 : rleaf + 1; Arrays.fill(leafValues, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, null); Arrays.fill(leafCounts, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, null); - Arrays.fill(leafSizes, firstLeafTozero , firstLeafTozero + numberOfLeavesToRemove, 0); + Arrays.fill(leafSizes, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, 0); if (directoryMoves > 0) { - Arrays.fill(directoryValues, firstLeafTozero, firstLeafTozero + directoryMoves - (completeLeavesToMove - numberOfLeavesToRemove), NULL_CHAR); + Arrays.fill(directoryValues, firstLeafTozero, + firstLeafTozero + directoryMoves - (completeLeavesToMove - numberOfLeavesToRemove), + NULL_CHAR); } maybePromoteLastLeaf(); } @@ -2077,7 +2124,8 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (size > 0 && destination.size > 0) { - Assert.assertion(leq(getMaxChar(), destination.getMinChar()), "leq(getMaxChar(), destination.getMinChar())"); + Assert.assertion(leq(getMaxChar(), destination.getMinChar()), + "leq(getMaxChar(), destination.getMinChar())"); } } } @@ -2097,7 +2145,7 @@ private static int countBack(long[] counts, int sz, MutableInt valuesToMove, Mut } return sz - rpos; } - //endregion + // endregion @Override public WritableCharChunk keyChunk() { @@ -2112,7 +2160,7 @@ public void fillKeyChunk(WritableChunk keyChunk, int offset) { } private void fillKeyChunk(WritableCharChunk keyChunk, int offset) { - if(keyChunk.capacity() < offset + intSize()) { + if (keyChunk.capacity() < offset + intSize()) { throw new IllegalArgumentException("Input chunk is not large enough"); } @@ -2143,37 +2191,38 @@ public WritableLongChunk countChunk() { } private char[] keyArray() { - return keyArray(0, size-1); + return keyArray(0, size - 1); } /** * Create an array of the current keys beginning with the first (inclusive) and ending with the last (inclusive) + * * @param first * @param last * @return */ private char[] keyArray(long first, long last) { - if(isEmpty()) { + if (isEmpty()) { return ArrayTypeUtils.EMPTY_CHAR_ARRAY; } - final int totalSize = (int)(last - first + 1); + final int totalSize = (int) (last - first + 1); final char[] keyArray = new char[totalSize]; if (leafCount == 1) { - System.arraycopy(directoryValues, (int)first, keyArray, 0, totalSize); + System.arraycopy(directoryValues, (int) first, keyArray, 0, totalSize); } else if (leafCount > 0) { int offset = 0; int copied = 0; int skipped = 0; for (int li = 0; li < leafCount && copied < totalSize; ++li) { - if(skipped < first) { - final int toSkip = (int)first - skipped; - if(toSkip < leafSizes[li]) { + if (skipped < first) { + final int toSkip = (int) first - skipped; + if (toSkip < leafSizes[li]) { final int nToCopy = Math.min(leafSizes[li] - toSkip, totalSize); System.arraycopy(leafValues[li], toSkip, keyArray, 0, nToCopy); copied = nToCopy; offset = copied; - skipped = (int)first; + skipped = (int) first; } else { skipped += leafSizes[li]; } @@ -2194,7 +2243,7 @@ private void maybeAccumulateAdditions(WritableCharChunk values return; } - if(prevValues == null) { + if (prevValues == null) { prevValues = new CharVectorDirect(keyArray()); } @@ -2202,7 +2251,7 @@ private void maybeAccumulateAdditions(WritableCharChunk values added = new TCharHashSet(valuesToInsert.size()); } - if(removed == null) { + if (removed == null) { for (int ii = 0; ii < valuesToInsert.size(); ii++) { added.add(valuesToInsert.get(ii)); } @@ -2219,19 +2268,19 @@ private void maybeAccumulateAdditions(WritableCharChunk values } private void maybeAccumulateRemoval(char valueRemoved) { - if(!accumulateDeltas) { + if (!accumulateDeltas) { return; } - if(prevValues == null) { + if (prevValues == null) { prevValues = new CharVectorDirect(keyArray()); } - if(removed == null) { + if (removed == null) { removed = new TCharHashSet(); } - if(added == null || !added.remove(valueRemoved)) { + if (added == null || !added.remove(valueRemoved)) { removed.add(valueRemoved); } } @@ -2273,16 +2322,16 @@ public CharVector getPrevValues() { // region CharVector @Override public char get(long index) { - if(index < 0 || index > size()) { + if (index < 0 || index > size()) { throw new IllegalArgumentException("Illegal index " + index + " current size: " + size()); } - if(leafCount == 1) { + if (leafCount == 1) { return directoryValues[(int) index]; } else { - for(int ii = 0; ii < leafCount; ii++) { - if(index < leafSizes[ii]) { - return leafValues[ii][(int)(index)]; + for (int ii = 0; ii < leafCount; ii++) { + if (index < leafSizes[ii]) { + return leafValues[ii][(int) (index)]; } index -= leafSizes[ii]; } @@ -2326,21 +2375,21 @@ public long size() { public CharVector getDirect() { return new CharVectorDirect(keyArray()); } - //endregion + // endregion - //region VectorEquals + // region VectorEquals private boolean equalsArray(CharVector o) { - if(size() != o.size()) { + if (size() != o.size()) { return false; } - if(leafCount == 1) { - for(int ii = 0; ii < size; ii++) { - //region DirObjectEquals - if(directoryValues[ii] != o.get(ii)) { + if (leafCount == 1) { + for (int ii = 0; ii < size; ii++) { + // region DirObjectEquals + if (directoryValues[ii] != o.get(ii)) { return false; } - //endregion DirObjectEquals + // endregion DirObjectEquals } return true; @@ -2348,8 +2397,8 @@ private boolean equalsArray(CharVector o) { int nCompared = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - if(leafValues[li][ai] != o.get(nCompared++)) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + if (leafValues[li][ai] != o.get(nCompared++)) { return false; } } @@ -2357,29 +2406,29 @@ private boolean equalsArray(CharVector o) { return true; } - //endregion VectorEquals + // endregion VectorEquals private boolean equalsArray(ObjectVector o) { - //region EqualsArrayTypeCheck - if(o.getComponentType() != char.class && o.getComponentType() != Character.class) { + // region EqualsArrayTypeCheck + if (o.getComponentType() != char.class && o.getComponentType() != Character.class) { return false; } - //endregion EqualsArrayTypeCheck + // endregion EqualsArrayTypeCheck - if(size() != o.size()) { + if (size() != o.size()) { return false; } - if(leafCount == 1) { - for(int ii = 0; ii < size; ii++) { - final Character val = (Character)o.get(ii); - //region VectorEquals - if(directoryValues[ii] == NULL_CHAR && val != null && val != NULL_CHAR) { + if (leafCount == 1) { + for (int ii = 0; ii < size; ii++) { + final Character val = (Character) o.get(ii); + // region VectorEquals + if (directoryValues[ii] == NULL_CHAR && val != null && val != NULL_CHAR) { return false; } - //endregion VectorEquals + // endregion VectorEquals - if(!Objects.equals(directoryValues[ii], val)) { + if (!Objects.equals(directoryValues[ii], val)) { return false; } } @@ -2389,15 +2438,15 @@ private boolean equalsArray(ObjectVector o) { int nCompared = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - final Character val = (Character)o.get(nCompared++); - //region VectorEquals - if(leafValues[li][ai] == NULL_CHAR && val != null && val != NULL_CHAR) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + final Character val = (Character) o.get(nCompared++); + // region VectorEquals + if (leafValues[li][ai] == NULL_CHAR && val != null && val != NULL_CHAR) { return false; } - //endregion VectorEquals + // endregion VectorEquals - if(!Objects.equals(leafValues[li][ai], val)) { + if (!Objects.equals(leafValues[li][ai], val)) { return false; } } @@ -2408,36 +2457,37 @@ private boolean equalsArray(ObjectVector o) { @Override public boolean equals(Object o) { - if (this == o) return true; + if (this == o) + return true; if (!(o instanceof CharSegmentedSortedMultiset)) { - //region VectorEquals - if(o instanceof CharVector) { - return equalsArray((CharVector)o); + // region VectorEquals + if (o instanceof CharVector) { + return equalsArray((CharVector) o); } - //endregion VectorEquals + // endregion VectorEquals - if(o instanceof ObjectVector) { - return equalsArray((ObjectVector)o); + if (o instanceof ObjectVector) { + return equalsArray((ObjectVector) o); } return false; } final CharSegmentedSortedMultiset that = (CharSegmentedSortedMultiset) o; - if(size() != that.size()) { + if (size() != that.size()) { return false; } - if(leafCount == 1) { - if(that.leafCount != 1 || size != that.size) { + if (leafCount == 1) { + if (that.leafCount != 1 || size != that.size) { return false; } - for(int ii = 0; ii < size; ii++) { - //region DirObjectEquals - if(directoryValues[ii] != that.directoryValues[ii]) { + for (int ii = 0; ii < size; ii++) { + // region DirObjectEquals + if (directoryValues[ii] != that.directoryValues[ii]) { return false; } - //endregion DirObjectEquals + // endregion DirObjectEquals } return true; @@ -2446,19 +2496,19 @@ public boolean equals(Object o) { int otherLeaf = 0; int otherLeafIdx = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - //region LeafObjectEquals - if(leafValues[li][ai] != that.leafValues[otherLeaf][otherLeafIdx++]) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + // region LeafObjectEquals + if (leafValues[li][ai] != that.leafValues[otherLeaf][otherLeafIdx++]) { return false; } - //endregion LeafObjectEquals + // endregion LeafObjectEquals - if(otherLeafIdx >= that.leafSizes[otherLeaf]) { + if (otherLeafIdx >= that.leafSizes[otherLeaf]) { otherLeaf++; otherLeafIdx = 0; } - if(otherLeaf >= that.leafCount) { + if (otherLeaf >= that.leafCount) { return false; } } @@ -2469,9 +2519,9 @@ public boolean equals(Object o) { @Override public int hashCode() { - if(leafCount == 1) { + if (leafCount == 1) { int result = Objects.hash(size); - for(int ii = 0; ii < size; ii++) { + for (int ii = 0; ii < size; ii++) { result = result * 31 + Objects.hash(directoryValues[ii]); } @@ -2481,7 +2531,7 @@ public int hashCode() { int result = Objects.hash(leafCount, size); for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { + for (int ai = 0; ai < leafSizes[li]; ai++) { result = result * 31 + Objects.hash(leafValues[li][ai]); } } @@ -2496,7 +2546,7 @@ public String toString() { } else if (leafCount > 0) { StringBuilder arrAsString = new StringBuilder("["); for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { + for (int ai = 0; ai < leafSizes[li]; ai++) { arrAsString.append(leafValues[li][ai]).append(", "); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/DoubleSegmentedSortedMultiset.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/DoubleSegmentedSortedMultiset.java index 1948e56418c..f7f1b6bf7d6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/DoubleSegmentedSortedMultiset.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/DoubleSegmentedSortedMultiset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedMultiset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSegmentedSortedMultiset and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssms; import io.deephaven.base.verify.Assert; @@ -38,16 +37,16 @@ public final class DoubleSegmentedSortedMultiset implements SegmentedSortedMulti private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private double [] directoryValues; - private long [] directoryCount; + private double[] directoryValues; + private long[] directoryCount; - private int [] leafSizes; - private double [][] leafValues; - private long [][] leafCounts; + private int[] leafSizes; + private double[][] leafValues; + private long[][] leafCounts; // region Deltas private transient boolean accumulateDeltas = false; @@ -57,7 +56,7 @@ public final class DoubleSegmentedSortedMultiset implements SegmentedSortedMulti // endregion Deltas - //region Constructor + // region Constructor /** * Create a DoubleSegmentedSortedArray with the given leafSize. * @@ -68,9 +67,9 @@ public DoubleSegmentedSortedMultiset(int leafSize) { leafCount = 0; size = 0; } - //endregion Constructor + // endregion Constructor - //region Insertion + // region Insertion @Override public boolean insert(WritableChunk valuesToInsert, WritableIntChunk counts) { final long beforeSize = size(); @@ -78,10 +77,13 @@ public boolean insert(WritableChunk valuesToInsert, WritableIn return beforeSize != size(); } - private int insertExistingIntoLeaf(WritableDoubleChunk valuesToInsert, WritableIntChunk counts, int ripos, MutableInt wipos, int leafSize, double [] leafValues, long [] leafCounts, double maxInsert, boolean lastLeaf) { + private int insertExistingIntoLeaf(WritableDoubleChunk valuesToInsert, + WritableIntChunk counts, int ripos, MutableInt wipos, int leafSize, double[] leafValues, + long[] leafCounts, double maxInsert, boolean lastLeaf) { int rlpos = 0; double nextValue; - while (rlpos < leafSize && ripos < valuesToInsert.size() && (leq(nextValue = valuesToInsert.get(ripos), maxInsert) || lastLeaf)) { + while (rlpos < leafSize && ripos < valuesToInsert.size() + && (leq(nextValue = valuesToInsert.get(ripos), maxInsert) || lastLeaf)) { if (gt(leafValues[rlpos], nextValue)) { // we're not going to find nextValue in this leaf, so we skip over it valuesToInsert.set(wipos.intValue(), nextValue); @@ -97,10 +99,12 @@ private int insertExistingIntoLeaf(WritableDoubleChunk valuesT } } else if (rlpos == leafSize) { // we have hit the end of the leaf, we can not insert any value that is less than maxvalue - final int lastInsert = lastLeaf ? valuesToInsert.size() : upperBound(valuesToInsert, ripos, valuesToInsert.size(), maxInsert); + final int lastInsert = lastLeaf ? valuesToInsert.size() + : upperBound(valuesToInsert, ripos, valuesToInsert.size(), maxInsert); // noinspection unchecked - valuesToInsert.copyFromTypedChunk((WritableDoubleChunk)valuesToInsert, ripos, wipos.intValue(), lastInsert - ripos); + valuesToInsert.copyFromTypedChunk((WritableDoubleChunk) valuesToInsert, ripos, wipos.intValue(), + lastInsert - ripos); counts.copyFromTypedChunk(counts, ripos, wipos.intValue(), lastInsert - ripos); wipos.add(lastInsert - ripos); ripos = lastInsert; @@ -110,7 +114,8 @@ private int insertExistingIntoLeaf(WritableDoubleChunk valuesT return ripos; } - private void distributeNewIntoLeaves(DoubleChunk valuesToInsert, IntChunk counts, final int insertStart, final int insertCount, int firstLeaf, int requiredLeaves, int newLeafSize) { + private void distributeNewIntoLeaves(DoubleChunk valuesToInsert, IntChunk counts, + final int insertStart, final int insertCount, int firstLeaf, int requiredLeaves, int newLeafSize) { Assert.gtZero(insertCount, "insertCount"); final int valuesPerLeaf = valuesPerLeaf(newLeafSize, requiredLeaves); @@ -154,12 +159,14 @@ private void distributeNewIntoLeaves(DoubleChunk valuesToInser if (wpos >= 0 && iwins > minGallop) { // find the smallest insert value greater than the leafValue, but do not go beyond the beginning of // the leaf we are writing to - final int minInsert = gallopBound(valuesToInsert, Math.max(insertStart, ripos - wpos), ripos + 1, leafValue); + final int minInsert = + gallopBound(valuesToInsert, Math.max(insertStart, ripos - wpos), ripos + 1, leafValue); final int gallopLength = ripos - minInsert + 1; if (gallopLength > 0) { - valuesToInsert.copyToTypedArray(minInsert, leafValues[wleaf], wpos - gallopLength + 1, gallopLength); + valuesToInsert.copyToTypedArray(minInsert, leafValues[wleaf], wpos - gallopLength + 1, + gallopLength); while (ripos >= minInsert) { leafCounts[wleaf][wpos--] = counts.get(ripos--); } @@ -185,12 +192,15 @@ private void distributeNewIntoLeaves(DoubleChunk valuesToInser if (lwins > minGallop) { // find the smallest leaf value greater than the insertValue, but do not go beyond the beginning of // the leaf we are writing to - final int minInsert = gallopBound(leafValues[firstLeaf], Math.max(0, rlpos - wpos), rlpos + 1, insertValue); + final int minInsert = + gallopBound(leafValues[firstLeaf], Math.max(0, rlpos - wpos), rlpos + 1, insertValue); final int gallopLength = rlpos - minInsert + 1; if (gallopLength > 0) { - System.arraycopy(leafValues[firstLeaf], minInsert, leafValues[wleaf], wpos - gallopLength + 1, gallopLength); - System.arraycopy(leafCounts[firstLeaf], minInsert, leafCounts[wleaf], wpos - gallopLength + 1, gallopLength); + System.arraycopy(leafValues[firstLeaf], minInsert, leafValues[wleaf], wpos - gallopLength + 1, + gallopLength); + System.arraycopy(leafCounts[firstLeaf], minInsert, leafCounts[wleaf], wpos - gallopLength + 1, + gallopLength); rlpos -= gallopLength; wpos -= gallopLength; remaining -= gallopLength; @@ -241,8 +251,7 @@ private void distributeNewIntoLeaves(DoubleChunk valuesToInser wpos = valuesPerLeaf - 1; wleaf--; } - } - else { + } else { assert rlpos >= 0; // we need to copy the rest of the leaf values @@ -265,7 +274,9 @@ private void distributeNewIntoLeaves(DoubleChunk valuesToInser size += insertCount; } - private void insertNewIntoLeaf(WritableDoubleChunk valuesToInsert, WritableIntChunk counts, int insertStart, int insertCount, int leafSize, double [] leafValues, long [] leafCounts) { + private void insertNewIntoLeaf(WritableDoubleChunk valuesToInsert, + WritableIntChunk counts, int insertStart, int insertCount, int leafSize, double[] leafValues, + long[] leafCounts) { assert insertCount > 0; // we start at the end of the leaf and insert values, picking off the correct value as we go @@ -337,7 +348,8 @@ private void insertNewIntoLeaf(WritableDoubleChunk valuesToIns rlpos -= gallopLength; wpos -= gallopLength; if (rlpos == -1) { - copyRemainingValuesToLeaf(valuesToInsert, counts, insertStart, leafValues, leafCounts, ripos); + copyRemainingValuesToLeaf(valuesToInsert, counts, insertStart, leafValues, leafCounts, + ripos); return; } } @@ -352,34 +364,38 @@ private void insertNewIntoLeaf(WritableDoubleChunk valuesToIns } } - private void copyRemainingValuesToLeaf(WritableDoubleChunk valuesToInsert, WritableIntChunk counts, int insertStart, double[] leafValues, long[] leafCounts, int ripos) { + private void copyRemainingValuesToLeaf(WritableDoubleChunk valuesToInsert, + WritableIntChunk counts, int insertStart, double[] leafValues, long[] leafCounts, int ripos) { valuesToInsert.copyToTypedArray(insertStart, leafValues, 0, ripos - insertStart + 1); for (int ii = 0; ii < ripos - insertStart + 1; ++ii) { leafCounts[ii] = counts.get(ii + insertStart); } } - private void maybeCompact(WritableDoubleChunk valuesToInsert, WritableIntChunk counts, int ripos, int wipos) { + private void maybeCompact(WritableDoubleChunk valuesToInsert, WritableIntChunk counts, + int ripos, int wipos) { if (wipos == ripos) { return; } // we've found something to compact away final int originalSize = valuesToInsert.size(); final int toCopy = originalSize - ripos; - //noinspection unchecked - how the heck does this type not actuall work? - valuesToInsert.copyFromTypedChunk((DoubleChunk)valuesToInsert, ripos, wipos, toCopy); + // noinspection unchecked - how the heck does this type not actuall work? + valuesToInsert.copyFromTypedChunk((DoubleChunk) valuesToInsert, ripos, wipos, toCopy); counts.copyFromChunk(counts, ripos, wipos, toCopy); valuesToInsert.setSize(wipos + toCopy); counts.setSize(wipos + toCopy); } - private void insertExisting(WritableDoubleChunk valuesToInsert, WritableIntChunk counts) { + private void insertExisting(WritableDoubleChunk valuesToInsert, + WritableIntChunk counts) { if (leafCount == 0) { return; } if (leafCount == 1) { final MutableInt wipos = new MutableInt(0); - final int ripos = insertExistingIntoLeaf(valuesToInsert, counts, 0, wipos, size, directoryValues, directoryCount, NULL_DOUBLE, true); + final int ripos = insertExistingIntoLeaf(valuesToInsert, counts, 0, wipos, size, directoryValues, + directoryCount, NULL_DOUBLE, true); maybeCompact(valuesToInsert, counts, ripos, wipos.intValue()); return; } @@ -394,7 +410,8 @@ private void insertExisting(WritableDoubleChunk valuesToInsert // find the thing in directoryValues final boolean lastLeaf = nextLeaf == leafCount - 1; final double maxValue = lastLeaf ? NULL_DOUBLE : directoryValues[nextLeaf]; - ripos = insertExistingIntoLeaf(valuesToInsert, counts, ripos, wipos, leafSizes[nextLeaf], leafValues[nextLeaf], leafCounts[nextLeaf], maxValue, lastLeaf); + ripos = insertExistingIntoLeaf(valuesToInsert, counts, ripos, wipos, leafSizes[nextLeaf], + leafValues[nextLeaf], leafCounts[nextLeaf], maxValue, lastLeaf); if (lastLeaf) { break; } @@ -450,7 +467,8 @@ private void insert(WritableDoubleChunk valuesToInsert, Writab } if (desiredLeafCount == 1) { // we should fit into the existing leaf - insertNewIntoLeaf(valuesToInsert, counts, 0, valuesToInsert.size(), size, directoryValues, directoryCount); + insertNewIntoLeaf(valuesToInsert, counts, 0, valuesToInsert.size(), size, directoryValues, + directoryCount); size = newSize; validate(); return; @@ -487,11 +505,11 @@ private void insert(WritableDoubleChunk valuesToInsert, Writab makeLeafHole(nextLeaf + 1, requiredLeaves - 1); leafCount += (requiredLeaves - 1); } - distributeNewIntoLeaves(valuesToInsert, counts, rpos, insertIntoLeaf, nextLeaf, requiredLeaves, newLeafSize); + distributeNewIntoLeaves(valuesToInsert, counts, rpos, insertIntoLeaf, nextLeaf, requiredLeaves, + newLeafSize); rpos += insertIntoLeaf; - } - while (rpos < valuesToInsert.size()); + } while (rpos < valuesToInsert.size()); validate(); } @@ -528,7 +546,8 @@ private void doAppend(WritableDoubleChunk valuesToInsert, Writ int rpos = 0; if (lastLeafFree > 0) { final int insertCount = Math.min(lastLeafFree, valuesToInsert.size()); - insertNewIntoLeaf(valuesToInsert, counts, rpos, insertCount, lastLeafSize, leafValues[lastLeafIndex], leafCounts[lastLeafIndex]); + insertNewIntoLeaf(valuesToInsert, counts, rpos, insertCount, lastLeafSize, leafValues[lastLeafIndex], + leafCounts[lastLeafIndex]); leafSizes[lastLeafIndex] += insertCount; rpos += insertCount; if (insertCount == valuesToInsert.size()) { @@ -624,7 +643,8 @@ private void makeLeavesInitial(DoubleChunk values, IntChunk values, IntChunk counts, int rpos, int startLeaf, int valuesPerLeaf) { + private void packValuesIntoLeaves(DoubleChunk values, IntChunk counts, int rpos, + int startLeaf, int valuesPerLeaf) { while (rpos < values.size()) { final int thisLeafSize = Math.min(valuesPerLeaf, values.size() - rpos); leafSizes[startLeaf] = thisLeafSize; @@ -642,7 +662,7 @@ private void packValuesIntoLeaves(DoubleChunk values, IntChunk startLeaf++; } } - //endregion + // endregion private void clear() { leafCount = 0; @@ -655,7 +675,7 @@ private void clear() { directoryCount = null; } - //region Bounds search + // region Bounds search /** * Return the lowest index geq valuesToSearch. @@ -666,7 +686,7 @@ private void clear() { * @param searchValue the value to find * @return the lowest index that is greater than or equal to valuesToSearch */ - private static int lowerBound(double [] valuesToSearch, int lo, int hi, double searchValue) { + private static int lowerBound(double[] valuesToSearch, int lo, int hi, double searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final double testValue = valuesToSearch[mid]; @@ -720,7 +740,7 @@ private static int gallopBound(DoubleChunk valuesToSearch, int lo * @param searchValue the value to find * @return the lowest index that is greater than or equal to valuesToSearch */ - private static int gallopBound(double [] valuesToSearch, int lo, int hi, double searchValue) { + private static int gallopBound(double[] valuesToSearch, int lo, int hi, double searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final double testValue = valuesToSearch[mid]; @@ -747,7 +767,7 @@ private static int gallopBound(double [] valuesToSearch, int lo, int hi, double * @param searchValue the value to find * @return the highest index that is less than or equal to valuesToSearch */ - private static int upperBound(double [] valuesToSearch, int lo, int hi, double searchValue) { + private static int upperBound(double[] valuesToSearch, int lo, int hi, double searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final double testValue = valuesToSearch[mid]; @@ -795,7 +815,7 @@ private static int upperBound(DoubleChunk valuesToSearch, int * @param searchValue the value to find * @return the lowest index that is greater than to valuesToSearch */ - private static int lowerBoundExclusive(double [] valuesToSearch, int lo, int hi, double searchValue) { + private static int lowerBoundExclusive(double[] valuesToSearch, int lo, int hi, double searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final double testValue = valuesToSearch[mid]; @@ -813,22 +833,24 @@ private static int lowerBoundExclusive(double [] valuesToSearch, int lo, int hi, return lo; } - //endregion + // endregion - //region Removal + // region Removal /** - * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. + * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. * - * @param valuesToRemove the valuesToRemove to remove + * @param valuesToRemove the valuesToRemove to remove */ @Override - public boolean remove(RemoveContext removeContext, WritableChunk valuesToRemove, WritableIntChunk counts) { + public boolean remove(RemoveContext removeContext, WritableChunk valuesToRemove, + WritableIntChunk counts) { final long beforeSize = size(); remove(removeContext, valuesToRemove.asDoubleChunk(), counts); return beforeSize != size(); } - private void remove(RemoveContext removeContext, DoubleChunk valuesToRemove, IntChunk counts) { + private void remove(RemoveContext removeContext, DoubleChunk valuesToRemove, + IntChunk counts) { validate(); validateInputs(valuesToRemove, counts); @@ -841,7 +863,8 @@ private void remove(RemoveContext removeContext, DoubleChunk v if (leafCount == 1) { final MutableInt sz = new MutableInt(size); - final int consumed = removeFromLeaf(removeContext, valuesToRemove, counts, 0, valuesToRemove.size(), directoryValues, directoryCount, sz); + final int consumed = removeFromLeaf(removeContext, valuesToRemove, counts, 0, valuesToRemove.size(), + directoryValues, directoryCount, sz); assert consumed == valuesToRemove.size(); if (sz.intValue() == 0) { clear(); @@ -849,7 +872,7 @@ private void remove(RemoveContext removeContext, DoubleChunk v size = sz.intValue(); } } else { - removeContext.ensureLeafCount((leafCount + 1)/ 2); + removeContext.ensureLeafCount((leafCount + 1) / 2); int rpos = 0; int nextLeaf = 0; @@ -860,7 +883,8 @@ private void remove(RemoveContext removeContext, DoubleChunk v nextLeaf = lowerBound(directoryValues, nextLeaf, leafCount - 1, firstValueToRemove); final MutableInt sz = new MutableInt(leafSizes[nextLeaf]); - rpos = removeFromLeaf(removeContext, valuesToRemove, counts, rpos, valuesToRemove.size(), leafValues[nextLeaf], leafCounts[nextLeaf], sz); + rpos = removeFromLeaf(removeContext, valuesToRemove, counts, rpos, valuesToRemove.size(), + leafValues[nextLeaf], leafCounts[nextLeaf], sz); size -= leafSizes[nextLeaf] - sz.intValue(); leafSizes[nextLeaf] = sz.intValue(); if (sz.intValue() == 0) { @@ -868,7 +892,8 @@ private void remove(RemoveContext removeContext, DoubleChunk v } else { // we figure out if we can be pulled back into the prior leaf final int priorLeaf; - if (cl >= 0 && removeContext.compactionLeafs[cl] + removeContext.compactionLeafLengths[cl] == nextLeaf) { + if (cl >= 0 && removeContext.compactionLeafs[cl] + + removeContext.compactionLeafLengths[cl] == nextLeaf) { // we need to go to one leaf before our compaction length, if we happen to be removing all // the prior leaves we end up with a negative number here. priorLeaf = removeContext.compactionLeafs[cl] - 1; @@ -891,8 +916,7 @@ private void remove(RemoveContext removeContext, DoubleChunk v mergeTwoLeavesBack(priorLeaf, nextLeaf); cl = markLeafForRemoval(removeContext, nextLeaf, cl); } - } - else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + 1] <= leafSize) { + } else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + 1] <= leafSize) { // we shove ourselves forward into the next leaf mergeTwoLeavesForward(nextLeaf, nextLeaf + 1); cl = markLeafForRemoval(removeContext, nextLeaf, cl); @@ -901,8 +925,7 @@ else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + nextLeaf++; validateCompaction(removeContext, cl); - } - while (rpos < valuesToRemove.size()); + } while (rpos < valuesToRemove.size()); if (size == 0) { clear(); @@ -939,8 +962,10 @@ private void mergeTwoLeavesForward(int firstLeafSource, int secondLeafDestinatio final int firstSourceSize = leafSizes[firstLeafSource]; final int secondDestinationSize = leafSizes[secondLeafDestination]; // first make a hole - System.arraycopy(leafValues[secondLeafDestination], 0, leafValues[secondLeafDestination], firstSourceSize, secondDestinationSize); - System.arraycopy(leafCounts[secondLeafDestination], 0, leafCounts[secondLeafDestination], firstSourceSize, secondDestinationSize); + System.arraycopy(leafValues[secondLeafDestination], 0, leafValues[secondLeafDestination], firstSourceSize, + secondDestinationSize); + System.arraycopy(leafCounts[secondLeafDestination], 0, leafCounts[secondLeafDestination], firstSourceSize, + secondDestinationSize); // now copy the first leaf into that hole System.arraycopy(leafValues[firstLeafSource], 0, leafValues[secondLeafDestination], 0, firstSourceSize); System.arraycopy(leafCounts[firstLeafSource], 0, leafCounts[secondLeafDestination], 0, firstSourceSize); @@ -956,14 +981,18 @@ private void mergeThreeLeavesForward(int firstLeafSource, int secondLeafSource, final int thirdDestinationSize = leafSizes[thirdLeafDestination]; // first make a hole - System.arraycopy(leafValues[thirdLeafDestination], 0, leafValues[thirdLeafDestination], totalSourceSize, thirdDestinationSize); - System.arraycopy(leafCounts[thirdLeafDestination], 0, leafCounts[thirdLeafDestination], totalSourceSize, thirdDestinationSize); + System.arraycopy(leafValues[thirdLeafDestination], 0, leafValues[thirdLeafDestination], totalSourceSize, + thirdDestinationSize); + System.arraycopy(leafCounts[thirdLeafDestination], 0, leafCounts[thirdLeafDestination], totalSourceSize, + thirdDestinationSize); // now copy the first leaf into that hole System.arraycopy(leafValues[firstLeafSource], 0, leafValues[thirdLeafDestination], 0, firstSourceSize); System.arraycopy(leafCounts[firstLeafSource], 0, leafCounts[thirdLeafDestination], 0, firstSourceSize); - System.arraycopy(leafValues[secondLeafSource], 0, leafValues[thirdLeafDestination], firstSourceSize, secondSourceSize); - System.arraycopy(leafCounts[secondLeafSource], 0, leafCounts[thirdLeafDestination], firstSourceSize, secondSourceSize); + System.arraycopy(leafValues[secondLeafSource], 0, leafValues[thirdLeafDestination], firstSourceSize, + secondSourceSize); + System.arraycopy(leafCounts[secondLeafSource], 0, leafCounts[thirdLeafDestination], firstSourceSize, + secondSourceSize); leafSizes[thirdLeafDestination] += totalSourceSize; leafSizes[firstLeafSource] = 0; @@ -997,7 +1026,8 @@ private int addLeafToLastRemovalRange(RemoveContext removeContext, int leafToRem removeContext.compactionLeafLengths[cl]++; // we might need to collapse two adjacent ranges in the compaction - if (cl > 0 && removeContext.compactionLeafs[cl - 1] + removeContext.compactionLeafLengths[cl - 1] == removeContext.compactionLeafs[cl]) { + if (cl > 0 && removeContext.compactionLeafs[cl - 1] + + removeContext.compactionLeafLengths[cl - 1] == removeContext.compactionLeafs[cl]) { removeContext.compactionLeafLengths[cl - 1] += removeContext.compactionLeafLengths[cl]; cl--; } @@ -1054,7 +1084,8 @@ private void maybePromoteLastLeaf() { } } - private int removeFromLeaf(RemoveContext removeContext, DoubleChunk valuesToRemove, IntChunk counts, int ripos, int end, double[] leafValues, long[] leafCounts, MutableInt sz) { + private int removeFromLeaf(RemoveContext removeContext, DoubleChunk valuesToRemove, + IntChunk counts, int ripos, int end, double[] leafValues, long[] leafCounts, MutableInt sz) { int rlpos = 0; int cl = -1; while (ripos < end) { @@ -1084,7 +1115,8 @@ private int removeFromLeaf(RemoveContext removeContext, DoubleChunk valuesToInsert, IntChu Assert.gtZero(counts.get(ii), "counts.get(ii)"); final double prevValue = valuesToInsert.get(ii - 1); final double curValue = valuesToInsert.get(ii); - Assert.assertion(DoubleComparisons.lt(prevValue, curValue), "DoubleComparisons.lt(prevValue, curValue)", prevValue, "prevValue", curValue, "curValue"); + Assert.assertion(DoubleComparisons.lt(prevValue, curValue), "DoubleComparisons.lt(prevValue, curValue)", + prevValue, "prevValue", curValue, "curValue"); } } @@ -1199,25 +1232,29 @@ private void validateInternal() { final double lastValue = leafValues[ii][leafSizes[ii] - 1]; if (ii < leafCount - 1) { final double directoryValue = directoryValues[ii]; - Assert.assertion(leq(lastValue, directoryValue), "lt(lastValue, directoryValue)", lastValue, "leafValues[ii][leafSizes[ii] - 1]", directoryValue, "directoryValue"); + Assert.assertion(leq(lastValue, directoryValue), "lt(lastValue, directoryValue)", lastValue, + "leafValues[ii][leafSizes[ii] - 1]", directoryValue, "directoryValue"); if (ii < leafCount - 2) { final double nextDirectoryValue = directoryValues[ii + 1]; - Assert.assertion(lt(directoryValue, nextDirectoryValue), "lt(directoryValue, nextDirectoryValue)", directoryValue, "directoryValue", nextDirectoryValue, "nextDirectoryValue"); + Assert.assertion(lt(directoryValue, nextDirectoryValue), + "lt(directoryValue, nextDirectoryValue)", directoryValue, "directoryValue", + nextDirectoryValue, "nextDirectoryValue"); } final double nextFirstValue = leafValues[ii + 1][0]; - Assert.assertion(lt(directoryValue, nextFirstValue), "lt(directoryValue, nextFirstValue)", directoryValue, "directoryValue", nextFirstValue, "nextFirstValue"); + Assert.assertion(lt(directoryValue, nextFirstValue), "lt(directoryValue, nextFirstValue)", + directoryValue, "directoryValue", nextFirstValue, "nextFirstValue"); } // It would be nice to enable an assertion to make sure we are dense after removals, but the other // reason this assertion can fail is that if we insert into a node that is too large we may have to - // split it. The last node we have could be short, and it might be possible to merge it with the node + // split it. The last node we have could be short, and it might be possible to merge it with the node // afterwards, but we don't do removals during an insertion phase. -// if (ii < leafCount - 1) { -// final int thisLeafSize = leafSizes[ii]; -// final int nextLeafSize = leafSizes[ii + 1]; -// Assert.leq(leafSize, "leafSize", thisLeafSize + nextLeafSize, "thisLeafSize + nextLeafSize"); -// } + // if (ii < leafCount - 1) { + // final int thisLeafSize = leafSizes[ii]; + // final int nextLeafSize = leafSizes[ii + 1]; + // Assert.leq(leafSize, "leafSize", thisLeafSize + nextLeafSize, "thisLeafSize + nextLeafSize"); + // } } validateLeafOrdering(); @@ -1244,7 +1281,8 @@ private static void validateLeaf(double[] values, long[] counts, int size) { Assert.gtZero(counts[ii], "counts[ii]"); final double thisValue = values[ii]; final double nextValue = values[ii + 1]; - Assert.assertion(lt(values[ii], values[ii + 1]), "lt(values[ii], values[ii + 1])", (Double)thisValue, "values[ii]", (Double)nextValue, "values[ii + 1]", ii, "ii"); + Assert.assertion(lt(values[ii], values[ii + 1]), "lt(values[ii], values[ii + 1])", (Double) thisValue, + "values[ii]", (Double) nextValue, "values[ii + 1]", ii, "ii"); } if (size > 0) { Assert.gtZero(counts[size - 1], "counts[size - 1]"); @@ -1269,9 +1307,9 @@ private int computeTotalSize() { return expectedSize; } - //endregion + // endregion - //region Comparisons + // region Comparisons private int getDesiredLeafCount(int newSize) { return (newSize + leafSize - 1) / leafSize; } @@ -1305,10 +1343,12 @@ private static boolean eq(double lhs, double rhs) { return lhs == rhs; // endregion equality function } - //endregion + // endregion @Override - public long totalSize() { return totalSize; } + public long totalSize() { + return totalSize; + } @Override public int getNodeSize() { @@ -1328,8 +1368,7 @@ public Double getMax() { public double getMinDouble() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryValues[0]; } return leafValues[0][0]; @@ -1339,8 +1378,7 @@ else if (leafCount == 1) { public long getMinCount() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryCount[0]; } return leafCounts[0][0]; @@ -1349,8 +1387,7 @@ else if (leafCount == 1) { private void addMinCount(long toAdd) { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { directoryCount[0] += toAdd; } else { leafCounts[0][0] += toAdd; @@ -1389,8 +1426,7 @@ private void removeMin() { public double getMaxDouble() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryValues[size - 1]; } return leafValues[leafCount - 1][leafSizes[leafCount - 1] - 1]; @@ -1400,8 +1436,7 @@ else if (leafCount == 1) { public long getMaxCount() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryCount[size - 1]; } return leafCounts[leafCount - 1][leafSizes[leafCount - 1] - 1]; @@ -1410,8 +1445,7 @@ else if (leafCount == 1) { private void addMaxCount(long toAdd) { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { directoryCount[size - 1] += toAdd; } else { leafCounts[leafCount - 1][leafSizes[leafCount - 1] - 1] += toAdd; @@ -1438,10 +1472,10 @@ private void removeMax() { } } - //region Moving + // region Moving @Override public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long count) { - final DoubleSegmentedSortedMultiset destination = (DoubleSegmentedSortedMultiset)untypedDestination; + final DoubleSegmentedSortedMultiset destination = (DoubleSegmentedSortedMultiset) untypedDestination; validate(); destination.validate(); @@ -1454,7 +1488,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (destination.size > 0) { - Assert.assertion(geq(getMinDouble(), destination.getMaxDouble()), "geq(getMinDouble(), destination.getMaxDouble())"); + Assert.assertion(geq(getMinDouble(), destination.getMaxDouble()), + "geq(getMinDouble(), destination.getMaxDouble())"); } } @@ -1525,7 +1560,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou directoryCount[0] = leftOver; directoryValues[0] = directoryValues[size - 1]; destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1], "destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1]"); + Assert.gtZero(destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1], + "destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1]"); size = 1; } else { directoryValues = null; @@ -1556,8 +1592,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou final int sizeOfLeftOverLeaf = leafSizes[rli]; size -= (sizeOfLeftOverLeaf - 1); - final double [] tmpValues = new double[leafSize]; - final long [] tmpCounts = new long[leafSize]; + final double[] tmpValues = new double[leafSize]; + final long[] tmpCounts = new long[leafSize]; tmpValues[0] = leafValues[rli][sizeOfLeftOverLeaf - 1]; tmpCounts[0] = leftOver; leafValues[rli] = tmpValues; @@ -1565,7 +1601,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou leafSizes[rli] = 1; destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1], "destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1]"); + Assert.gtZero(destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1], + "destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1]"); if (rli < leafCount - 1) { updateDirectory(rli); } @@ -1594,10 +1631,10 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou boolean sourceLeavesMerged = false; if (partialUnique > 0) { - final double [] sourceValues; - final long [] sourceCounts; - final double [] destinationValues; - final long [] destinationCounts; + final double[] sourceValues; + final long[] sourceCounts; + final double[] destinationValues; + final long[] destinationCounts; final int copySize; final int destOffset; if (leafCount == 1) { @@ -1645,10 +1682,12 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (leftOver > 0) { if (destination.directoryCount == null) { destination.leafCounts[wleaf][destOffset + partialUnique - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf][destOffset + partialUnique - 1], "destination.leafCounts[wleaf][destOffset + partialUnique - 1]"); + Assert.gtZero(destination.leafCounts[wleaf][destOffset + partialUnique - 1], + "destination.leafCounts[wleaf][destOffset + partialUnique - 1]"); } else { destination.directoryCount[destination.size - 1] -= leftOver; - Assert.gtZero(destination.directoryCount[destination.size - 1], "destination.directoryCount[destination.size]"); + Assert.gtZero(destination.directoryCount[destination.size - 1], + "destination.directoryCount[destination.size]"); } } @@ -1722,7 +1761,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (size > 0 && destination.size > 0) { - Assert.assertion(geq(getMinDouble(), destination.getMaxDouble()), "geq(getMinDouble(), destination.getMaxDouble())"); + Assert.assertion(geq(getMinDouble(), destination.getMaxDouble()), + "geq(getMinDouble(), destination.getMaxDouble())"); } } @@ -1739,7 +1779,8 @@ private void updateDirectory(int leaf) { * @param finalSlots how many slots outside of completeLeaves are required * @param completeLeaves how many complete leaves are required * - * @return true if we should put our finalSlots values in the "extra" leaf. False if they should be appended to the last leaf that already exists + * @return true if we should put our finalSlots values in the "extra" leaf. False if they should be appended to the + * last leaf that already exists */ private boolean prepareAppend(int finalSlots, int completeLeaves) { Assert.leq(finalSlots, "finalSlots", leafSize, "leafSize"); @@ -1790,8 +1831,8 @@ private boolean prepareAppend(int finalSlots, int completeLeaves) { * @param initialSlots how many slots outside of a complete leaf will be prepended * @param completeLeaves how many complete leaves will be prepended * - * @return true if the initialSlots values should be copied into their own private leaf, false if they should share space - * with the next leaf + * @return true if the initialSlots values should be copied into their own private leaf, false if they should share + * space with the next leaf */ private boolean preparePrepend(int initialSlots, int completeLeaves) { final int extraLeafCount; @@ -1834,8 +1875,8 @@ private boolean preparePrepend(int initialSlots, int completeLeaves) { if (extraLeafCount == 0 && initialSlots > 0) { // make a hole in the first leaf that still has values if (directoryCount != null) { - final double [] tmpValues = new double[initialSlots + size]; - final long [] tmpCount = new long[initialSlots + size]; + final double[] tmpValues = new double[initialSlots + size]; + final long[] tmpCount = new long[initialSlots + size]; System.arraycopy(directoryValues, 0, tmpValues, initialSlots, size); System.arraycopy(directoryCount, 0, tmpCount, initialSlots, size); directoryValues = tmpValues; @@ -1869,7 +1910,7 @@ private static int countFront(long[] counts, int sz, MutableInt valuesToMove, Mu @Override public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long count) { - final DoubleSegmentedSortedMultiset destination = (DoubleSegmentedSortedMultiset)untypedDestination; + final DoubleSegmentedSortedMultiset destination = (DoubleSegmentedSortedMultiset) untypedDestination; validate(); destination.validate(); @@ -1882,7 +1923,8 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (destination.size > 0) { - Assert.assertion(leq(getMaxDouble(), destination.getMinDouble()), "leq(getMaxDouble(), destination.getMinDouble())"); + Assert.assertion(leq(getMaxDouble(), destination.getMinDouble()), + "leq(getMaxDouble(), destination.getMinDouble())"); } } @@ -1943,11 +1985,11 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou final boolean extraLeaf = destination.preparePrepend(slotsInPartialLeaf, completeLeavesToMove); if (slotsInPartialLeaf > 0) { final boolean leftOverExists = leftOver > 0; - final double [] destValues; - final long [] destCounts; + final double[] destValues; + final long[] destCounts; - final double [] srcValues; - final long [] srcCounts; + final double[] srcValues; + final long[] srcCounts; final int srcSize; if (destination.directoryCount != null) { @@ -2020,14 +2062,16 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou System.arraycopy(leafSizes, rleaf + 1, destination.leafSizes, destinationLeaf, completeLeavesToMove); final int directoryMoves; final boolean haveLastSourceDirectoryEntry = rleaf + 1 + completeLeavesToMove < leafCount - 1; - final boolean requireLastDestinationDirectoryEntry = destination.leafCount > (destinationLeaf + completeLeavesToMove); + final boolean requireLastDestinationDirectoryEntry = + destination.leafCount > (destinationLeaf + completeLeavesToMove); if (haveLastSourceDirectoryEntry && requireLastDestinationDirectoryEntry) { directoryMoves = completeLeavesToMove; } else { directoryMoves = completeLeavesToMove - 1; } if (directoryMoves > 0) { - System.arraycopy(directoryValues, rleaf + 1, destination.directoryValues, destinationLeaf, directoryMoves); + System.arraycopy(directoryValues, rleaf + 1, destination.directoryValues, destinationLeaf, + directoryMoves); } if (requireLastDestinationDirectoryEntry) { destination.updateDirectory(destinationLeaf + completeLeavesToMove - 1); @@ -2061,9 +2105,11 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou final int firstLeafTozero = hasLeftOverSlot ? rleaf + 2 : rleaf + 1; Arrays.fill(leafValues, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, null); Arrays.fill(leafCounts, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, null); - Arrays.fill(leafSizes, firstLeafTozero , firstLeafTozero + numberOfLeavesToRemove, 0); + Arrays.fill(leafSizes, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, 0); if (directoryMoves > 0) { - Arrays.fill(directoryValues, firstLeafTozero, firstLeafTozero + directoryMoves - (completeLeavesToMove - numberOfLeavesToRemove), NULL_DOUBLE); + Arrays.fill(directoryValues, firstLeafTozero, + firstLeafTozero + directoryMoves - (completeLeavesToMove - numberOfLeavesToRemove), + NULL_DOUBLE); } maybePromoteLastLeaf(); } @@ -2082,7 +2128,8 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (size > 0 && destination.size > 0) { - Assert.assertion(leq(getMaxDouble(), destination.getMinDouble()), "leq(getMaxDouble(), destination.getMinDouble())"); + Assert.assertion(leq(getMaxDouble(), destination.getMinDouble()), + "leq(getMaxDouble(), destination.getMinDouble())"); } } } @@ -2102,7 +2149,7 @@ private static int countBack(long[] counts, int sz, MutableInt valuesToMove, Mut } return sz - rpos; } - //endregion + // endregion @Override public WritableDoubleChunk keyChunk() { @@ -2117,7 +2164,7 @@ public void fillKeyChunk(WritableChunk keyChunk, int offset) { } private void fillKeyChunk(WritableDoubleChunk keyChunk, int offset) { - if(keyChunk.capacity() < offset + intSize()) { + if (keyChunk.capacity() < offset + intSize()) { throw new IllegalArgumentException("Input chunk is not large enough"); } @@ -2148,37 +2195,38 @@ public WritableLongChunk countChunk() { } private double[] keyArray() { - return keyArray(0, size-1); + return keyArray(0, size - 1); } /** * Create an array of the current keys beginning with the first (inclusive) and ending with the last (inclusive) + * * @param first * @param last * @return */ private double[] keyArray(long first, long last) { - if(isEmpty()) { + if (isEmpty()) { return ArrayTypeUtils.EMPTY_DOUBLE_ARRAY; } - final int totalSize = (int)(last - first + 1); + final int totalSize = (int) (last - first + 1); final double[] keyArray = new double[totalSize]; if (leafCount == 1) { - System.arraycopy(directoryValues, (int)first, keyArray, 0, totalSize); + System.arraycopy(directoryValues, (int) first, keyArray, 0, totalSize); } else if (leafCount > 0) { int offset = 0; int copied = 0; int skipped = 0; for (int li = 0; li < leafCount && copied < totalSize; ++li) { - if(skipped < first) { - final int toSkip = (int)first - skipped; - if(toSkip < leafSizes[li]) { + if (skipped < first) { + final int toSkip = (int) first - skipped; + if (toSkip < leafSizes[li]) { final int nToCopy = Math.min(leafSizes[li] - toSkip, totalSize); System.arraycopy(leafValues[li], toSkip, keyArray, 0, nToCopy); copied = nToCopy; offset = copied; - skipped = (int)first; + skipped = (int) first; } else { skipped += leafSizes[li]; } @@ -2199,7 +2247,7 @@ private void maybeAccumulateAdditions(WritableDoubleChunk valu return; } - if(prevValues == null) { + if (prevValues == null) { prevValues = new DoubleVectorDirect(keyArray()); } @@ -2207,7 +2255,7 @@ private void maybeAccumulateAdditions(WritableDoubleChunk valu added = new TDoubleHashSet(valuesToInsert.size()); } - if(removed == null) { + if (removed == null) { for (int ii = 0; ii < valuesToInsert.size(); ii++) { added.add(valuesToInsert.get(ii)); } @@ -2224,19 +2272,19 @@ private void maybeAccumulateAdditions(WritableDoubleChunk valu } private void maybeAccumulateRemoval(double valueRemoved) { - if(!accumulateDeltas) { + if (!accumulateDeltas) { return; } - if(prevValues == null) { + if (prevValues == null) { prevValues = new DoubleVectorDirect(keyArray()); } - if(removed == null) { + if (removed == null) { removed = new TDoubleHashSet(); } - if(added == null || !added.remove(valueRemoved)) { + if (added == null || !added.remove(valueRemoved)) { removed.add(valueRemoved); } } @@ -2278,16 +2326,16 @@ public DoubleVector getPrevValues() { // region DoubleVector @Override public double get(long index) { - if(index < 0 || index > size()) { + if (index < 0 || index > size()) { throw new IllegalArgumentException("Illegal index " + index + " current size: " + size()); } - if(leafCount == 1) { + if (leafCount == 1) { return directoryValues[(int) index]; } else { - for(int ii = 0; ii < leafCount; ii++) { - if(index < leafSizes[ii]) { - return leafValues[ii][(int)(index)]; + for (int ii = 0; ii < leafCount; ii++) { + if (index < leafSizes[ii]) { + return leafValues[ii][(int) (index)]; } index -= leafSizes[ii]; } @@ -2331,21 +2379,21 @@ public long size() { public DoubleVector getDirect() { return new DoubleVectorDirect(keyArray()); } - //endregion + // endregion - //region VectorEquals + // region VectorEquals private boolean equalsArray(DoubleVector o) { - if(size() != o.size()) { + if (size() != o.size()) { return false; } - if(leafCount == 1) { - for(int ii = 0; ii < size; ii++) { - //region DirObjectEquals - if(directoryValues[ii] != o.get(ii)) { + if (leafCount == 1) { + for (int ii = 0; ii < size; ii++) { + // region DirObjectEquals + if (directoryValues[ii] != o.get(ii)) { return false; } - //endregion DirObjectEquals + // endregion DirObjectEquals } return true; @@ -2353,8 +2401,8 @@ private boolean equalsArray(DoubleVector o) { int nCompared = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - if(leafValues[li][ai] != o.get(nCompared++)) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + if (leafValues[li][ai] != o.get(nCompared++)) { return false; } } @@ -2362,29 +2410,29 @@ private boolean equalsArray(DoubleVector o) { return true; } - //endregion VectorEquals + // endregion VectorEquals private boolean equalsArray(ObjectVector o) { - //region EqualsArrayTypeCheck - if(o.getComponentType() != double.class && o.getComponentType() != Double.class) { + // region EqualsArrayTypeCheck + if (o.getComponentType() != double.class && o.getComponentType() != Double.class) { return false; } - //endregion EqualsArrayTypeCheck + // endregion EqualsArrayTypeCheck - if(size() != o.size()) { + if (size() != o.size()) { return false; } - if(leafCount == 1) { - for(int ii = 0; ii < size; ii++) { - final Double val = (Double)o.get(ii); - //region VectorEquals - if(directoryValues[ii] == NULL_DOUBLE && val != null && val != NULL_DOUBLE) { + if (leafCount == 1) { + for (int ii = 0; ii < size; ii++) { + final Double val = (Double) o.get(ii); + // region VectorEquals + if (directoryValues[ii] == NULL_DOUBLE && val != null && val != NULL_DOUBLE) { return false; } - //endregion VectorEquals + // endregion VectorEquals - if(!Objects.equals(directoryValues[ii], val)) { + if (!Objects.equals(directoryValues[ii], val)) { return false; } } @@ -2394,15 +2442,15 @@ private boolean equalsArray(ObjectVector o) { int nCompared = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - final Double val = (Double)o.get(nCompared++); - //region VectorEquals - if(leafValues[li][ai] == NULL_DOUBLE && val != null && val != NULL_DOUBLE) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + final Double val = (Double) o.get(nCompared++); + // region VectorEquals + if (leafValues[li][ai] == NULL_DOUBLE && val != null && val != NULL_DOUBLE) { return false; } - //endregion VectorEquals + // endregion VectorEquals - if(!Objects.equals(leafValues[li][ai], val)) { + if (!Objects.equals(leafValues[li][ai], val)) { return false; } } @@ -2413,36 +2461,37 @@ private boolean equalsArray(ObjectVector o) { @Override public boolean equals(Object o) { - if (this == o) return true; + if (this == o) + return true; if (!(o instanceof DoubleSegmentedSortedMultiset)) { - //region VectorEquals - if(o instanceof DoubleVector) { - return equalsArray((DoubleVector)o); + // region VectorEquals + if (o instanceof DoubleVector) { + return equalsArray((DoubleVector) o); } - //endregion VectorEquals + // endregion VectorEquals - if(o instanceof ObjectVector) { - return equalsArray((ObjectVector)o); + if (o instanceof ObjectVector) { + return equalsArray((ObjectVector) o); } return false; } final DoubleSegmentedSortedMultiset that = (DoubleSegmentedSortedMultiset) o; - if(size() != that.size()) { + if (size() != that.size()) { return false; } - if(leafCount == 1) { - if(that.leafCount != 1 || size != that.size) { + if (leafCount == 1) { + if (that.leafCount != 1 || size != that.size) { return false; } - for(int ii = 0; ii < size; ii++) { - //region DirObjectEquals - if(directoryValues[ii] != that.directoryValues[ii]) { + for (int ii = 0; ii < size; ii++) { + // region DirObjectEquals + if (directoryValues[ii] != that.directoryValues[ii]) { return false; } - //endregion DirObjectEquals + // endregion DirObjectEquals } return true; @@ -2451,19 +2500,19 @@ public boolean equals(Object o) { int otherLeaf = 0; int otherLeafIdx = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - //region LeafObjectEquals - if(leafValues[li][ai] != that.leafValues[otherLeaf][otherLeafIdx++]) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + // region LeafObjectEquals + if (leafValues[li][ai] != that.leafValues[otherLeaf][otherLeafIdx++]) { return false; } - //endregion LeafObjectEquals + // endregion LeafObjectEquals - if(otherLeafIdx >= that.leafSizes[otherLeaf]) { + if (otherLeafIdx >= that.leafSizes[otherLeaf]) { otherLeaf++; otherLeafIdx = 0; } - if(otherLeaf >= that.leafCount) { + if (otherLeaf >= that.leafCount) { return false; } } @@ -2474,9 +2523,9 @@ public boolean equals(Object o) { @Override public int hashCode() { - if(leafCount == 1) { + if (leafCount == 1) { int result = Objects.hash(size); - for(int ii = 0; ii < size; ii++) { + for (int ii = 0; ii < size; ii++) { result = result * 31 + Objects.hash(directoryValues[ii]); } @@ -2486,7 +2535,7 @@ public int hashCode() { int result = Objects.hash(leafCount, size); for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { + for (int ai = 0; ai < leafSizes[li]; ai++) { result = result * 31 + Objects.hash(leafValues[li][ai]); } } @@ -2501,7 +2550,7 @@ public String toString() { } else if (leafCount > 0) { StringBuilder arrAsString = new StringBuilder("["); for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { + for (int ai = 0; ai < leafSizes[li]; ai++) { arrAsString.append(leafValues[li][ai]).append(", "); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/FloatSegmentedSortedMultiset.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/FloatSegmentedSortedMultiset.java index c4ad7811d5b..b253ece25f7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/FloatSegmentedSortedMultiset.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/FloatSegmentedSortedMultiset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedMultiset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSegmentedSortedMultiset and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssms; import io.deephaven.base.verify.Assert; @@ -38,16 +37,16 @@ public final class FloatSegmentedSortedMultiset implements SegmentedSortedMultiS private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private float [] directoryValues; - private long [] directoryCount; + private float[] directoryValues; + private long[] directoryCount; - private int [] leafSizes; - private float [][] leafValues; - private long [][] leafCounts; + private int[] leafSizes; + private float[][] leafValues; + private long[][] leafCounts; // region Deltas private transient boolean accumulateDeltas = false; @@ -57,7 +56,7 @@ public final class FloatSegmentedSortedMultiset implements SegmentedSortedMultiS // endregion Deltas - //region Constructor + // region Constructor /** * Create a FloatSegmentedSortedArray with the given leafSize. * @@ -68,9 +67,9 @@ public FloatSegmentedSortedMultiset(int leafSize) { leafCount = 0; size = 0; } - //endregion Constructor + // endregion Constructor - //region Insertion + // region Insertion @Override public boolean insert(WritableChunk valuesToInsert, WritableIntChunk counts) { final long beforeSize = size(); @@ -78,10 +77,13 @@ public boolean insert(WritableChunk valuesToInsert, WritableIn return beforeSize != size(); } - private int insertExistingIntoLeaf(WritableFloatChunk valuesToInsert, WritableIntChunk counts, int ripos, MutableInt wipos, int leafSize, float [] leafValues, long [] leafCounts, float maxInsert, boolean lastLeaf) { + private int insertExistingIntoLeaf(WritableFloatChunk valuesToInsert, + WritableIntChunk counts, int ripos, MutableInt wipos, int leafSize, float[] leafValues, + long[] leafCounts, float maxInsert, boolean lastLeaf) { int rlpos = 0; float nextValue; - while (rlpos < leafSize && ripos < valuesToInsert.size() && (leq(nextValue = valuesToInsert.get(ripos), maxInsert) || lastLeaf)) { + while (rlpos < leafSize && ripos < valuesToInsert.size() + && (leq(nextValue = valuesToInsert.get(ripos), maxInsert) || lastLeaf)) { if (gt(leafValues[rlpos], nextValue)) { // we're not going to find nextValue in this leaf, so we skip over it valuesToInsert.set(wipos.intValue(), nextValue); @@ -97,10 +99,12 @@ private int insertExistingIntoLeaf(WritableFloatChunk valuesTo } } else if (rlpos == leafSize) { // we have hit the end of the leaf, we can not insert any value that is less than maxvalue - final int lastInsert = lastLeaf ? valuesToInsert.size() : upperBound(valuesToInsert, ripos, valuesToInsert.size(), maxInsert); + final int lastInsert = lastLeaf ? valuesToInsert.size() + : upperBound(valuesToInsert, ripos, valuesToInsert.size(), maxInsert); // noinspection unchecked - valuesToInsert.copyFromTypedChunk((WritableFloatChunk)valuesToInsert, ripos, wipos.intValue(), lastInsert - ripos); + valuesToInsert.copyFromTypedChunk((WritableFloatChunk) valuesToInsert, ripos, wipos.intValue(), + lastInsert - ripos); counts.copyFromTypedChunk(counts, ripos, wipos.intValue(), lastInsert - ripos); wipos.add(lastInsert - ripos); ripos = lastInsert; @@ -110,7 +114,8 @@ private int insertExistingIntoLeaf(WritableFloatChunk valuesTo return ripos; } - private void distributeNewIntoLeaves(FloatChunk valuesToInsert, IntChunk counts, final int insertStart, final int insertCount, int firstLeaf, int requiredLeaves, int newLeafSize) { + private void distributeNewIntoLeaves(FloatChunk valuesToInsert, IntChunk counts, + final int insertStart, final int insertCount, int firstLeaf, int requiredLeaves, int newLeafSize) { Assert.gtZero(insertCount, "insertCount"); final int valuesPerLeaf = valuesPerLeaf(newLeafSize, requiredLeaves); @@ -154,12 +159,14 @@ private void distributeNewIntoLeaves(FloatChunk valuesToInsert if (wpos >= 0 && iwins > minGallop) { // find the smallest insert value greater than the leafValue, but do not go beyond the beginning of // the leaf we are writing to - final int minInsert = gallopBound(valuesToInsert, Math.max(insertStart, ripos - wpos), ripos + 1, leafValue); + final int minInsert = + gallopBound(valuesToInsert, Math.max(insertStart, ripos - wpos), ripos + 1, leafValue); final int gallopLength = ripos - minInsert + 1; if (gallopLength > 0) { - valuesToInsert.copyToTypedArray(minInsert, leafValues[wleaf], wpos - gallopLength + 1, gallopLength); + valuesToInsert.copyToTypedArray(minInsert, leafValues[wleaf], wpos - gallopLength + 1, + gallopLength); while (ripos >= minInsert) { leafCounts[wleaf][wpos--] = counts.get(ripos--); } @@ -185,12 +192,15 @@ private void distributeNewIntoLeaves(FloatChunk valuesToInsert if (lwins > minGallop) { // find the smallest leaf value greater than the insertValue, but do not go beyond the beginning of // the leaf we are writing to - final int minInsert = gallopBound(leafValues[firstLeaf], Math.max(0, rlpos - wpos), rlpos + 1, insertValue); + final int minInsert = + gallopBound(leafValues[firstLeaf], Math.max(0, rlpos - wpos), rlpos + 1, insertValue); final int gallopLength = rlpos - minInsert + 1; if (gallopLength > 0) { - System.arraycopy(leafValues[firstLeaf], minInsert, leafValues[wleaf], wpos - gallopLength + 1, gallopLength); - System.arraycopy(leafCounts[firstLeaf], minInsert, leafCounts[wleaf], wpos - gallopLength + 1, gallopLength); + System.arraycopy(leafValues[firstLeaf], minInsert, leafValues[wleaf], wpos - gallopLength + 1, + gallopLength); + System.arraycopy(leafCounts[firstLeaf], minInsert, leafCounts[wleaf], wpos - gallopLength + 1, + gallopLength); rlpos -= gallopLength; wpos -= gallopLength; remaining -= gallopLength; @@ -241,8 +251,7 @@ private void distributeNewIntoLeaves(FloatChunk valuesToInsert wpos = valuesPerLeaf - 1; wleaf--; } - } - else { + } else { assert rlpos >= 0; // we need to copy the rest of the leaf values @@ -265,7 +274,9 @@ private void distributeNewIntoLeaves(FloatChunk valuesToInsert size += insertCount; } - private void insertNewIntoLeaf(WritableFloatChunk valuesToInsert, WritableIntChunk counts, int insertStart, int insertCount, int leafSize, float [] leafValues, long [] leafCounts) { + private void insertNewIntoLeaf(WritableFloatChunk valuesToInsert, + WritableIntChunk counts, int insertStart, int insertCount, int leafSize, float[] leafValues, + long[] leafCounts) { assert insertCount > 0; // we start at the end of the leaf and insert values, picking off the correct value as we go @@ -337,7 +348,8 @@ private void insertNewIntoLeaf(WritableFloatChunk valuesToInse rlpos -= gallopLength; wpos -= gallopLength; if (rlpos == -1) { - copyRemainingValuesToLeaf(valuesToInsert, counts, insertStart, leafValues, leafCounts, ripos); + copyRemainingValuesToLeaf(valuesToInsert, counts, insertStart, leafValues, leafCounts, + ripos); return; } } @@ -352,34 +364,38 @@ private void insertNewIntoLeaf(WritableFloatChunk valuesToInse } } - private void copyRemainingValuesToLeaf(WritableFloatChunk valuesToInsert, WritableIntChunk counts, int insertStart, float[] leafValues, long[] leafCounts, int ripos) { + private void copyRemainingValuesToLeaf(WritableFloatChunk valuesToInsert, + WritableIntChunk counts, int insertStart, float[] leafValues, long[] leafCounts, int ripos) { valuesToInsert.copyToTypedArray(insertStart, leafValues, 0, ripos - insertStart + 1); for (int ii = 0; ii < ripos - insertStart + 1; ++ii) { leafCounts[ii] = counts.get(ii + insertStart); } } - private void maybeCompact(WritableFloatChunk valuesToInsert, WritableIntChunk counts, int ripos, int wipos) { + private void maybeCompact(WritableFloatChunk valuesToInsert, WritableIntChunk counts, + int ripos, int wipos) { if (wipos == ripos) { return; } // we've found something to compact away final int originalSize = valuesToInsert.size(); final int toCopy = originalSize - ripos; - //noinspection unchecked - how the heck does this type not actuall work? - valuesToInsert.copyFromTypedChunk((FloatChunk)valuesToInsert, ripos, wipos, toCopy); + // noinspection unchecked - how the heck does this type not actuall work? + valuesToInsert.copyFromTypedChunk((FloatChunk) valuesToInsert, ripos, wipos, toCopy); counts.copyFromChunk(counts, ripos, wipos, toCopy); valuesToInsert.setSize(wipos + toCopy); counts.setSize(wipos + toCopy); } - private void insertExisting(WritableFloatChunk valuesToInsert, WritableIntChunk counts) { + private void insertExisting(WritableFloatChunk valuesToInsert, + WritableIntChunk counts) { if (leafCount == 0) { return; } if (leafCount == 1) { final MutableInt wipos = new MutableInt(0); - final int ripos = insertExistingIntoLeaf(valuesToInsert, counts, 0, wipos, size, directoryValues, directoryCount, NULL_FLOAT, true); + final int ripos = insertExistingIntoLeaf(valuesToInsert, counts, 0, wipos, size, directoryValues, + directoryCount, NULL_FLOAT, true); maybeCompact(valuesToInsert, counts, ripos, wipos.intValue()); return; } @@ -394,7 +410,8 @@ private void insertExisting(WritableFloatChunk valuesToInsert, // find the thing in directoryValues final boolean lastLeaf = nextLeaf == leafCount - 1; final float maxValue = lastLeaf ? NULL_FLOAT : directoryValues[nextLeaf]; - ripos = insertExistingIntoLeaf(valuesToInsert, counts, ripos, wipos, leafSizes[nextLeaf], leafValues[nextLeaf], leafCounts[nextLeaf], maxValue, lastLeaf); + ripos = insertExistingIntoLeaf(valuesToInsert, counts, ripos, wipos, leafSizes[nextLeaf], + leafValues[nextLeaf], leafCounts[nextLeaf], maxValue, lastLeaf); if (lastLeaf) { break; } @@ -450,7 +467,8 @@ private void insert(WritableFloatChunk valuesToInsert, Writabl } if (desiredLeafCount == 1) { // we should fit into the existing leaf - insertNewIntoLeaf(valuesToInsert, counts, 0, valuesToInsert.size(), size, directoryValues, directoryCount); + insertNewIntoLeaf(valuesToInsert, counts, 0, valuesToInsert.size(), size, directoryValues, + directoryCount); size = newSize; validate(); return; @@ -487,11 +505,11 @@ private void insert(WritableFloatChunk valuesToInsert, Writabl makeLeafHole(nextLeaf + 1, requiredLeaves - 1); leafCount += (requiredLeaves - 1); } - distributeNewIntoLeaves(valuesToInsert, counts, rpos, insertIntoLeaf, nextLeaf, requiredLeaves, newLeafSize); + distributeNewIntoLeaves(valuesToInsert, counts, rpos, insertIntoLeaf, nextLeaf, requiredLeaves, + newLeafSize); rpos += insertIntoLeaf; - } - while (rpos < valuesToInsert.size()); + } while (rpos < valuesToInsert.size()); validate(); } @@ -528,7 +546,8 @@ private void doAppend(WritableFloatChunk valuesToInsert, Writa int rpos = 0; if (lastLeafFree > 0) { final int insertCount = Math.min(lastLeafFree, valuesToInsert.size()); - insertNewIntoLeaf(valuesToInsert, counts, rpos, insertCount, lastLeafSize, leafValues[lastLeafIndex], leafCounts[lastLeafIndex]); + insertNewIntoLeaf(valuesToInsert, counts, rpos, insertCount, lastLeafSize, leafValues[lastLeafIndex], + leafCounts[lastLeafIndex]); leafSizes[lastLeafIndex] += insertCount; rpos += insertCount; if (insertCount == valuesToInsert.size()) { @@ -624,7 +643,8 @@ private void makeLeavesInitial(FloatChunk values, IntChunk values, IntChunk counts, int rpos, int startLeaf, int valuesPerLeaf) { + private void packValuesIntoLeaves(FloatChunk values, IntChunk counts, int rpos, + int startLeaf, int valuesPerLeaf) { while (rpos < values.size()) { final int thisLeafSize = Math.min(valuesPerLeaf, values.size() - rpos); leafSizes[startLeaf] = thisLeafSize; @@ -642,7 +662,7 @@ private void packValuesIntoLeaves(FloatChunk values, IntChunk< startLeaf++; } } - //endregion + // endregion private void clear() { leafCount = 0; @@ -655,7 +675,7 @@ private void clear() { directoryCount = null; } - //region Bounds search + // region Bounds search /** * Return the lowest index geq valuesToSearch. @@ -666,7 +686,7 @@ private void clear() { * @param searchValue the value to find * @return the lowest index that is greater than or equal to valuesToSearch */ - private static int lowerBound(float [] valuesToSearch, int lo, int hi, float searchValue) { + private static int lowerBound(float[] valuesToSearch, int lo, int hi, float searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final float testValue = valuesToSearch[mid]; @@ -720,7 +740,7 @@ private static int gallopBound(FloatChunk valuesToSearch, int lo, * @param searchValue the value to find * @return the lowest index that is greater than or equal to valuesToSearch */ - private static int gallopBound(float [] valuesToSearch, int lo, int hi, float searchValue) { + private static int gallopBound(float[] valuesToSearch, int lo, int hi, float searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final float testValue = valuesToSearch[mid]; @@ -747,7 +767,7 @@ private static int gallopBound(float [] valuesToSearch, int lo, int hi, float se * @param searchValue the value to find * @return the highest index that is less than or equal to valuesToSearch */ - private static int upperBound(float [] valuesToSearch, int lo, int hi, float searchValue) { + private static int upperBound(float[] valuesToSearch, int lo, int hi, float searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final float testValue = valuesToSearch[mid]; @@ -795,7 +815,7 @@ private static int upperBound(FloatChunk valuesToSearch, int l * @param searchValue the value to find * @return the lowest index that is greater than to valuesToSearch */ - private static int lowerBoundExclusive(float [] valuesToSearch, int lo, int hi, float searchValue) { + private static int lowerBoundExclusive(float[] valuesToSearch, int lo, int hi, float searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final float testValue = valuesToSearch[mid]; @@ -813,22 +833,24 @@ private static int lowerBoundExclusive(float [] valuesToSearch, int lo, int hi, return lo; } - //endregion + // endregion - //region Removal + // region Removal /** - * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. + * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. * - * @param valuesToRemove the valuesToRemove to remove + * @param valuesToRemove the valuesToRemove to remove */ @Override - public boolean remove(RemoveContext removeContext, WritableChunk valuesToRemove, WritableIntChunk counts) { + public boolean remove(RemoveContext removeContext, WritableChunk valuesToRemove, + WritableIntChunk counts) { final long beforeSize = size(); remove(removeContext, valuesToRemove.asFloatChunk(), counts); return beforeSize != size(); } - private void remove(RemoveContext removeContext, FloatChunk valuesToRemove, IntChunk counts) { + private void remove(RemoveContext removeContext, FloatChunk valuesToRemove, + IntChunk counts) { validate(); validateInputs(valuesToRemove, counts); @@ -841,7 +863,8 @@ private void remove(RemoveContext removeContext, FloatChunk va if (leafCount == 1) { final MutableInt sz = new MutableInt(size); - final int consumed = removeFromLeaf(removeContext, valuesToRemove, counts, 0, valuesToRemove.size(), directoryValues, directoryCount, sz); + final int consumed = removeFromLeaf(removeContext, valuesToRemove, counts, 0, valuesToRemove.size(), + directoryValues, directoryCount, sz); assert consumed == valuesToRemove.size(); if (sz.intValue() == 0) { clear(); @@ -849,7 +872,7 @@ private void remove(RemoveContext removeContext, FloatChunk va size = sz.intValue(); } } else { - removeContext.ensureLeafCount((leafCount + 1)/ 2); + removeContext.ensureLeafCount((leafCount + 1) / 2); int rpos = 0; int nextLeaf = 0; @@ -860,7 +883,8 @@ private void remove(RemoveContext removeContext, FloatChunk va nextLeaf = lowerBound(directoryValues, nextLeaf, leafCount - 1, firstValueToRemove); final MutableInt sz = new MutableInt(leafSizes[nextLeaf]); - rpos = removeFromLeaf(removeContext, valuesToRemove, counts, rpos, valuesToRemove.size(), leafValues[nextLeaf], leafCounts[nextLeaf], sz); + rpos = removeFromLeaf(removeContext, valuesToRemove, counts, rpos, valuesToRemove.size(), + leafValues[nextLeaf], leafCounts[nextLeaf], sz); size -= leafSizes[nextLeaf] - sz.intValue(); leafSizes[nextLeaf] = sz.intValue(); if (sz.intValue() == 0) { @@ -868,7 +892,8 @@ private void remove(RemoveContext removeContext, FloatChunk va } else { // we figure out if we can be pulled back into the prior leaf final int priorLeaf; - if (cl >= 0 && removeContext.compactionLeafs[cl] + removeContext.compactionLeafLengths[cl] == nextLeaf) { + if (cl >= 0 && removeContext.compactionLeafs[cl] + + removeContext.compactionLeafLengths[cl] == nextLeaf) { // we need to go to one leaf before our compaction length, if we happen to be removing all // the prior leaves we end up with a negative number here. priorLeaf = removeContext.compactionLeafs[cl] - 1; @@ -891,8 +916,7 @@ private void remove(RemoveContext removeContext, FloatChunk va mergeTwoLeavesBack(priorLeaf, nextLeaf); cl = markLeafForRemoval(removeContext, nextLeaf, cl); } - } - else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + 1] <= leafSize) { + } else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + 1] <= leafSize) { // we shove ourselves forward into the next leaf mergeTwoLeavesForward(nextLeaf, nextLeaf + 1); cl = markLeafForRemoval(removeContext, nextLeaf, cl); @@ -901,8 +925,7 @@ else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + nextLeaf++; validateCompaction(removeContext, cl); - } - while (rpos < valuesToRemove.size()); + } while (rpos < valuesToRemove.size()); if (size == 0) { clear(); @@ -939,8 +962,10 @@ private void mergeTwoLeavesForward(int firstLeafSource, int secondLeafDestinatio final int firstSourceSize = leafSizes[firstLeafSource]; final int secondDestinationSize = leafSizes[secondLeafDestination]; // first make a hole - System.arraycopy(leafValues[secondLeafDestination], 0, leafValues[secondLeafDestination], firstSourceSize, secondDestinationSize); - System.arraycopy(leafCounts[secondLeafDestination], 0, leafCounts[secondLeafDestination], firstSourceSize, secondDestinationSize); + System.arraycopy(leafValues[secondLeafDestination], 0, leafValues[secondLeafDestination], firstSourceSize, + secondDestinationSize); + System.arraycopy(leafCounts[secondLeafDestination], 0, leafCounts[secondLeafDestination], firstSourceSize, + secondDestinationSize); // now copy the first leaf into that hole System.arraycopy(leafValues[firstLeafSource], 0, leafValues[secondLeafDestination], 0, firstSourceSize); System.arraycopy(leafCounts[firstLeafSource], 0, leafCounts[secondLeafDestination], 0, firstSourceSize); @@ -956,14 +981,18 @@ private void mergeThreeLeavesForward(int firstLeafSource, int secondLeafSource, final int thirdDestinationSize = leafSizes[thirdLeafDestination]; // first make a hole - System.arraycopy(leafValues[thirdLeafDestination], 0, leafValues[thirdLeafDestination], totalSourceSize, thirdDestinationSize); - System.arraycopy(leafCounts[thirdLeafDestination], 0, leafCounts[thirdLeafDestination], totalSourceSize, thirdDestinationSize); + System.arraycopy(leafValues[thirdLeafDestination], 0, leafValues[thirdLeafDestination], totalSourceSize, + thirdDestinationSize); + System.arraycopy(leafCounts[thirdLeafDestination], 0, leafCounts[thirdLeafDestination], totalSourceSize, + thirdDestinationSize); // now copy the first leaf into that hole System.arraycopy(leafValues[firstLeafSource], 0, leafValues[thirdLeafDestination], 0, firstSourceSize); System.arraycopy(leafCounts[firstLeafSource], 0, leafCounts[thirdLeafDestination], 0, firstSourceSize); - System.arraycopy(leafValues[secondLeafSource], 0, leafValues[thirdLeafDestination], firstSourceSize, secondSourceSize); - System.arraycopy(leafCounts[secondLeafSource], 0, leafCounts[thirdLeafDestination], firstSourceSize, secondSourceSize); + System.arraycopy(leafValues[secondLeafSource], 0, leafValues[thirdLeafDestination], firstSourceSize, + secondSourceSize); + System.arraycopy(leafCounts[secondLeafSource], 0, leafCounts[thirdLeafDestination], firstSourceSize, + secondSourceSize); leafSizes[thirdLeafDestination] += totalSourceSize; leafSizes[firstLeafSource] = 0; @@ -997,7 +1026,8 @@ private int addLeafToLastRemovalRange(RemoveContext removeContext, int leafToRem removeContext.compactionLeafLengths[cl]++; // we might need to collapse two adjacent ranges in the compaction - if (cl > 0 && removeContext.compactionLeafs[cl - 1] + removeContext.compactionLeafLengths[cl - 1] == removeContext.compactionLeafs[cl]) { + if (cl > 0 && removeContext.compactionLeafs[cl - 1] + + removeContext.compactionLeafLengths[cl - 1] == removeContext.compactionLeafs[cl]) { removeContext.compactionLeafLengths[cl - 1] += removeContext.compactionLeafLengths[cl]; cl--; } @@ -1054,7 +1084,8 @@ private void maybePromoteLastLeaf() { } } - private int removeFromLeaf(RemoveContext removeContext, FloatChunk valuesToRemove, IntChunk counts, int ripos, int end, float[] leafValues, long[] leafCounts, MutableInt sz) { + private int removeFromLeaf(RemoveContext removeContext, FloatChunk valuesToRemove, + IntChunk counts, int ripos, int end, float[] leafValues, long[] leafCounts, MutableInt sz) { int rlpos = 0; int cl = -1; while (ripos < end) { @@ -1084,7 +1115,8 @@ private int removeFromLeaf(RemoveContext removeContext, FloatChunk valuesToInsert, IntChun Assert.gtZero(counts.get(ii), "counts.get(ii)"); final float prevValue = valuesToInsert.get(ii - 1); final float curValue = valuesToInsert.get(ii); - Assert.assertion(FloatComparisons.lt(prevValue, curValue), "FloatComparisons.lt(prevValue, curValue)", prevValue, "prevValue", curValue, "curValue"); + Assert.assertion(FloatComparisons.lt(prevValue, curValue), "FloatComparisons.lt(prevValue, curValue)", + prevValue, "prevValue", curValue, "curValue"); } } @@ -1199,25 +1232,29 @@ private void validateInternal() { final float lastValue = leafValues[ii][leafSizes[ii] - 1]; if (ii < leafCount - 1) { final float directoryValue = directoryValues[ii]; - Assert.assertion(leq(lastValue, directoryValue), "lt(lastValue, directoryValue)", lastValue, "leafValues[ii][leafSizes[ii] - 1]", directoryValue, "directoryValue"); + Assert.assertion(leq(lastValue, directoryValue), "lt(lastValue, directoryValue)", lastValue, + "leafValues[ii][leafSizes[ii] - 1]", directoryValue, "directoryValue"); if (ii < leafCount - 2) { final float nextDirectoryValue = directoryValues[ii + 1]; - Assert.assertion(lt(directoryValue, nextDirectoryValue), "lt(directoryValue, nextDirectoryValue)", directoryValue, "directoryValue", nextDirectoryValue, "nextDirectoryValue"); + Assert.assertion(lt(directoryValue, nextDirectoryValue), + "lt(directoryValue, nextDirectoryValue)", directoryValue, "directoryValue", + nextDirectoryValue, "nextDirectoryValue"); } final float nextFirstValue = leafValues[ii + 1][0]; - Assert.assertion(lt(directoryValue, nextFirstValue), "lt(directoryValue, nextFirstValue)", directoryValue, "directoryValue", nextFirstValue, "nextFirstValue"); + Assert.assertion(lt(directoryValue, nextFirstValue), "lt(directoryValue, nextFirstValue)", + directoryValue, "directoryValue", nextFirstValue, "nextFirstValue"); } // It would be nice to enable an assertion to make sure we are dense after removals, but the other // reason this assertion can fail is that if we insert into a node that is too large we may have to - // split it. The last node we have could be short, and it might be possible to merge it with the node + // split it. The last node we have could be short, and it might be possible to merge it with the node // afterwards, but we don't do removals during an insertion phase. -// if (ii < leafCount - 1) { -// final int thisLeafSize = leafSizes[ii]; -// final int nextLeafSize = leafSizes[ii + 1]; -// Assert.leq(leafSize, "leafSize", thisLeafSize + nextLeafSize, "thisLeafSize + nextLeafSize"); -// } + // if (ii < leafCount - 1) { + // final int thisLeafSize = leafSizes[ii]; + // final int nextLeafSize = leafSizes[ii + 1]; + // Assert.leq(leafSize, "leafSize", thisLeafSize + nextLeafSize, "thisLeafSize + nextLeafSize"); + // } } validateLeafOrdering(); @@ -1244,7 +1281,8 @@ private static void validateLeaf(float[] values, long[] counts, int size) { Assert.gtZero(counts[ii], "counts[ii]"); final float thisValue = values[ii]; final float nextValue = values[ii + 1]; - Assert.assertion(lt(values[ii], values[ii + 1]), "lt(values[ii], values[ii + 1])", (Float)thisValue, "values[ii]", (Float)nextValue, "values[ii + 1]", ii, "ii"); + Assert.assertion(lt(values[ii], values[ii + 1]), "lt(values[ii], values[ii + 1])", (Float) thisValue, + "values[ii]", (Float) nextValue, "values[ii + 1]", ii, "ii"); } if (size > 0) { Assert.gtZero(counts[size - 1], "counts[size - 1]"); @@ -1269,9 +1307,9 @@ private int computeTotalSize() { return expectedSize; } - //endregion + // endregion - //region Comparisons + // region Comparisons private int getDesiredLeafCount(int newSize) { return (newSize + leafSize - 1) / leafSize; } @@ -1305,10 +1343,12 @@ private static boolean eq(float lhs, float rhs) { return lhs == rhs; // endregion equality function } - //endregion + // endregion @Override - public long totalSize() { return totalSize; } + public long totalSize() { + return totalSize; + } @Override public int getNodeSize() { @@ -1328,8 +1368,7 @@ public Float getMax() { public float getMinFloat() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryValues[0]; } return leafValues[0][0]; @@ -1339,8 +1378,7 @@ else if (leafCount == 1) { public long getMinCount() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryCount[0]; } return leafCounts[0][0]; @@ -1349,8 +1387,7 @@ else if (leafCount == 1) { private void addMinCount(long toAdd) { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { directoryCount[0] += toAdd; } else { leafCounts[0][0] += toAdd; @@ -1389,8 +1426,7 @@ private void removeMin() { public float getMaxFloat() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryValues[size - 1]; } return leafValues[leafCount - 1][leafSizes[leafCount - 1] - 1]; @@ -1400,8 +1436,7 @@ else if (leafCount == 1) { public long getMaxCount() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryCount[size - 1]; } return leafCounts[leafCount - 1][leafSizes[leafCount - 1] - 1]; @@ -1410,8 +1445,7 @@ else if (leafCount == 1) { private void addMaxCount(long toAdd) { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { directoryCount[size - 1] += toAdd; } else { leafCounts[leafCount - 1][leafSizes[leafCount - 1] - 1] += toAdd; @@ -1438,10 +1472,10 @@ private void removeMax() { } } - //region Moving + // region Moving @Override public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long count) { - final FloatSegmentedSortedMultiset destination = (FloatSegmentedSortedMultiset)untypedDestination; + final FloatSegmentedSortedMultiset destination = (FloatSegmentedSortedMultiset) untypedDestination; validate(); destination.validate(); @@ -1454,7 +1488,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (destination.size > 0) { - Assert.assertion(geq(getMinFloat(), destination.getMaxFloat()), "geq(getMinFloat(), destination.getMaxFloat())"); + Assert.assertion(geq(getMinFloat(), destination.getMaxFloat()), + "geq(getMinFloat(), destination.getMaxFloat())"); } } @@ -1525,7 +1560,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou directoryCount[0] = leftOver; directoryValues[0] = directoryValues[size - 1]; destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1], "destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1]"); + Assert.gtZero(destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1], + "destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1]"); size = 1; } else { directoryValues = null; @@ -1556,8 +1592,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou final int sizeOfLeftOverLeaf = leafSizes[rli]; size -= (sizeOfLeftOverLeaf - 1); - final float [] tmpValues = new float[leafSize]; - final long [] tmpCounts = new long[leafSize]; + final float[] tmpValues = new float[leafSize]; + final long[] tmpCounts = new long[leafSize]; tmpValues[0] = leafValues[rli][sizeOfLeftOverLeaf - 1]; tmpCounts[0] = leftOver; leafValues[rli] = tmpValues; @@ -1565,7 +1601,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou leafSizes[rli] = 1; destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1], "destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1]"); + Assert.gtZero(destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1], + "destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1]"); if (rli < leafCount - 1) { updateDirectory(rli); } @@ -1594,10 +1631,10 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou boolean sourceLeavesMerged = false; if (partialUnique > 0) { - final float [] sourceValues; - final long [] sourceCounts; - final float [] destinationValues; - final long [] destinationCounts; + final float[] sourceValues; + final long[] sourceCounts; + final float[] destinationValues; + final long[] destinationCounts; final int copySize; final int destOffset; if (leafCount == 1) { @@ -1645,10 +1682,12 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (leftOver > 0) { if (destination.directoryCount == null) { destination.leafCounts[wleaf][destOffset + partialUnique - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf][destOffset + partialUnique - 1], "destination.leafCounts[wleaf][destOffset + partialUnique - 1]"); + Assert.gtZero(destination.leafCounts[wleaf][destOffset + partialUnique - 1], + "destination.leafCounts[wleaf][destOffset + partialUnique - 1]"); } else { destination.directoryCount[destination.size - 1] -= leftOver; - Assert.gtZero(destination.directoryCount[destination.size - 1], "destination.directoryCount[destination.size]"); + Assert.gtZero(destination.directoryCount[destination.size - 1], + "destination.directoryCount[destination.size]"); } } @@ -1722,7 +1761,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (size > 0 && destination.size > 0) { - Assert.assertion(geq(getMinFloat(), destination.getMaxFloat()), "geq(getMinFloat(), destination.getMaxFloat())"); + Assert.assertion(geq(getMinFloat(), destination.getMaxFloat()), + "geq(getMinFloat(), destination.getMaxFloat())"); } } @@ -1739,7 +1779,8 @@ private void updateDirectory(int leaf) { * @param finalSlots how many slots outside of completeLeaves are required * @param completeLeaves how many complete leaves are required * - * @return true if we should put our finalSlots values in the "extra" leaf. False if they should be appended to the last leaf that already exists + * @return true if we should put our finalSlots values in the "extra" leaf. False if they should be appended to the + * last leaf that already exists */ private boolean prepareAppend(int finalSlots, int completeLeaves) { Assert.leq(finalSlots, "finalSlots", leafSize, "leafSize"); @@ -1790,8 +1831,8 @@ private boolean prepareAppend(int finalSlots, int completeLeaves) { * @param initialSlots how many slots outside of a complete leaf will be prepended * @param completeLeaves how many complete leaves will be prepended * - * @return true if the initialSlots values should be copied into their own private leaf, false if they should share space - * with the next leaf + * @return true if the initialSlots values should be copied into their own private leaf, false if they should share + * space with the next leaf */ private boolean preparePrepend(int initialSlots, int completeLeaves) { final int extraLeafCount; @@ -1834,8 +1875,8 @@ private boolean preparePrepend(int initialSlots, int completeLeaves) { if (extraLeafCount == 0 && initialSlots > 0) { // make a hole in the first leaf that still has values if (directoryCount != null) { - final float [] tmpValues = new float[initialSlots + size]; - final long [] tmpCount = new long[initialSlots + size]; + final float[] tmpValues = new float[initialSlots + size]; + final long[] tmpCount = new long[initialSlots + size]; System.arraycopy(directoryValues, 0, tmpValues, initialSlots, size); System.arraycopy(directoryCount, 0, tmpCount, initialSlots, size); directoryValues = tmpValues; @@ -1869,7 +1910,7 @@ private static int countFront(long[] counts, int sz, MutableInt valuesToMove, Mu @Override public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long count) { - final FloatSegmentedSortedMultiset destination = (FloatSegmentedSortedMultiset)untypedDestination; + final FloatSegmentedSortedMultiset destination = (FloatSegmentedSortedMultiset) untypedDestination; validate(); destination.validate(); @@ -1882,7 +1923,8 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (destination.size > 0) { - Assert.assertion(leq(getMaxFloat(), destination.getMinFloat()), "leq(getMaxFloat(), destination.getMinFloat())"); + Assert.assertion(leq(getMaxFloat(), destination.getMinFloat()), + "leq(getMaxFloat(), destination.getMinFloat())"); } } @@ -1943,11 +1985,11 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou final boolean extraLeaf = destination.preparePrepend(slotsInPartialLeaf, completeLeavesToMove); if (slotsInPartialLeaf > 0) { final boolean leftOverExists = leftOver > 0; - final float [] destValues; - final long [] destCounts; + final float[] destValues; + final long[] destCounts; - final float [] srcValues; - final long [] srcCounts; + final float[] srcValues; + final long[] srcCounts; final int srcSize; if (destination.directoryCount != null) { @@ -2020,14 +2062,16 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou System.arraycopy(leafSizes, rleaf + 1, destination.leafSizes, destinationLeaf, completeLeavesToMove); final int directoryMoves; final boolean haveLastSourceDirectoryEntry = rleaf + 1 + completeLeavesToMove < leafCount - 1; - final boolean requireLastDestinationDirectoryEntry = destination.leafCount > (destinationLeaf + completeLeavesToMove); + final boolean requireLastDestinationDirectoryEntry = + destination.leafCount > (destinationLeaf + completeLeavesToMove); if (haveLastSourceDirectoryEntry && requireLastDestinationDirectoryEntry) { directoryMoves = completeLeavesToMove; } else { directoryMoves = completeLeavesToMove - 1; } if (directoryMoves > 0) { - System.arraycopy(directoryValues, rleaf + 1, destination.directoryValues, destinationLeaf, directoryMoves); + System.arraycopy(directoryValues, rleaf + 1, destination.directoryValues, destinationLeaf, + directoryMoves); } if (requireLastDestinationDirectoryEntry) { destination.updateDirectory(destinationLeaf + completeLeavesToMove - 1); @@ -2061,9 +2105,11 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou final int firstLeafTozero = hasLeftOverSlot ? rleaf + 2 : rleaf + 1; Arrays.fill(leafValues, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, null); Arrays.fill(leafCounts, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, null); - Arrays.fill(leafSizes, firstLeafTozero , firstLeafTozero + numberOfLeavesToRemove, 0); + Arrays.fill(leafSizes, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, 0); if (directoryMoves > 0) { - Arrays.fill(directoryValues, firstLeafTozero, firstLeafTozero + directoryMoves - (completeLeavesToMove - numberOfLeavesToRemove), NULL_FLOAT); + Arrays.fill(directoryValues, firstLeafTozero, + firstLeafTozero + directoryMoves - (completeLeavesToMove - numberOfLeavesToRemove), + NULL_FLOAT); } maybePromoteLastLeaf(); } @@ -2082,7 +2128,8 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (size > 0 && destination.size > 0) { - Assert.assertion(leq(getMaxFloat(), destination.getMinFloat()), "leq(getMaxFloat(), destination.getMinFloat())"); + Assert.assertion(leq(getMaxFloat(), destination.getMinFloat()), + "leq(getMaxFloat(), destination.getMinFloat())"); } } } @@ -2102,7 +2149,7 @@ private static int countBack(long[] counts, int sz, MutableInt valuesToMove, Mut } return sz - rpos; } - //endregion + // endregion @Override public WritableFloatChunk keyChunk() { @@ -2117,7 +2164,7 @@ public void fillKeyChunk(WritableChunk keyChunk, int offset) { } private void fillKeyChunk(WritableFloatChunk keyChunk, int offset) { - if(keyChunk.capacity() < offset + intSize()) { + if (keyChunk.capacity() < offset + intSize()) { throw new IllegalArgumentException("Input chunk is not large enough"); } @@ -2148,37 +2195,38 @@ public WritableLongChunk countChunk() { } private float[] keyArray() { - return keyArray(0, size-1); + return keyArray(0, size - 1); } /** * Create an array of the current keys beginning with the first (inclusive) and ending with the last (inclusive) + * * @param first * @param last * @return */ private float[] keyArray(long first, long last) { - if(isEmpty()) { + if (isEmpty()) { return ArrayTypeUtils.EMPTY_FLOAT_ARRAY; } - final int totalSize = (int)(last - first + 1); + final int totalSize = (int) (last - first + 1); final float[] keyArray = new float[totalSize]; if (leafCount == 1) { - System.arraycopy(directoryValues, (int)first, keyArray, 0, totalSize); + System.arraycopy(directoryValues, (int) first, keyArray, 0, totalSize); } else if (leafCount > 0) { int offset = 0; int copied = 0; int skipped = 0; for (int li = 0; li < leafCount && copied < totalSize; ++li) { - if(skipped < first) { - final int toSkip = (int)first - skipped; - if(toSkip < leafSizes[li]) { + if (skipped < first) { + final int toSkip = (int) first - skipped; + if (toSkip < leafSizes[li]) { final int nToCopy = Math.min(leafSizes[li] - toSkip, totalSize); System.arraycopy(leafValues[li], toSkip, keyArray, 0, nToCopy); copied = nToCopy; offset = copied; - skipped = (int)first; + skipped = (int) first; } else { skipped += leafSizes[li]; } @@ -2199,7 +2247,7 @@ private void maybeAccumulateAdditions(WritableFloatChunk value return; } - if(prevValues == null) { + if (prevValues == null) { prevValues = new FloatVectorDirect(keyArray()); } @@ -2207,7 +2255,7 @@ private void maybeAccumulateAdditions(WritableFloatChunk value added = new TFloatHashSet(valuesToInsert.size()); } - if(removed == null) { + if (removed == null) { for (int ii = 0; ii < valuesToInsert.size(); ii++) { added.add(valuesToInsert.get(ii)); } @@ -2224,19 +2272,19 @@ private void maybeAccumulateAdditions(WritableFloatChunk value } private void maybeAccumulateRemoval(float valueRemoved) { - if(!accumulateDeltas) { + if (!accumulateDeltas) { return; } - if(prevValues == null) { + if (prevValues == null) { prevValues = new FloatVectorDirect(keyArray()); } - if(removed == null) { + if (removed == null) { removed = new TFloatHashSet(); } - if(added == null || !added.remove(valueRemoved)) { + if (added == null || !added.remove(valueRemoved)) { removed.add(valueRemoved); } } @@ -2278,16 +2326,16 @@ public FloatVector getPrevValues() { // region FloatVector @Override public float get(long index) { - if(index < 0 || index > size()) { + if (index < 0 || index > size()) { throw new IllegalArgumentException("Illegal index " + index + " current size: " + size()); } - if(leafCount == 1) { + if (leafCount == 1) { return directoryValues[(int) index]; } else { - for(int ii = 0; ii < leafCount; ii++) { - if(index < leafSizes[ii]) { - return leafValues[ii][(int)(index)]; + for (int ii = 0; ii < leafCount; ii++) { + if (index < leafSizes[ii]) { + return leafValues[ii][(int) (index)]; } index -= leafSizes[ii]; } @@ -2331,21 +2379,21 @@ public long size() { public FloatVector getDirect() { return new FloatVectorDirect(keyArray()); } - //endregion + // endregion - //region VectorEquals + // region VectorEquals private boolean equalsArray(FloatVector o) { - if(size() != o.size()) { + if (size() != o.size()) { return false; } - if(leafCount == 1) { - for(int ii = 0; ii < size; ii++) { - //region DirObjectEquals - if(directoryValues[ii] != o.get(ii)) { + if (leafCount == 1) { + for (int ii = 0; ii < size; ii++) { + // region DirObjectEquals + if (directoryValues[ii] != o.get(ii)) { return false; } - //endregion DirObjectEquals + // endregion DirObjectEquals } return true; @@ -2353,8 +2401,8 @@ private boolean equalsArray(FloatVector o) { int nCompared = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - if(leafValues[li][ai] != o.get(nCompared++)) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + if (leafValues[li][ai] != o.get(nCompared++)) { return false; } } @@ -2362,29 +2410,29 @@ private boolean equalsArray(FloatVector o) { return true; } - //endregion VectorEquals + // endregion VectorEquals private boolean equalsArray(ObjectVector o) { - //region EqualsArrayTypeCheck - if(o.getComponentType() != float.class && o.getComponentType() != Float.class) { + // region EqualsArrayTypeCheck + if (o.getComponentType() != float.class && o.getComponentType() != Float.class) { return false; } - //endregion EqualsArrayTypeCheck + // endregion EqualsArrayTypeCheck - if(size() != o.size()) { + if (size() != o.size()) { return false; } - if(leafCount == 1) { - for(int ii = 0; ii < size; ii++) { - final Float val = (Float)o.get(ii); - //region VectorEquals - if(directoryValues[ii] == NULL_FLOAT && val != null && val != NULL_FLOAT) { + if (leafCount == 1) { + for (int ii = 0; ii < size; ii++) { + final Float val = (Float) o.get(ii); + // region VectorEquals + if (directoryValues[ii] == NULL_FLOAT && val != null && val != NULL_FLOAT) { return false; } - //endregion VectorEquals + // endregion VectorEquals - if(!Objects.equals(directoryValues[ii], val)) { + if (!Objects.equals(directoryValues[ii], val)) { return false; } } @@ -2394,15 +2442,15 @@ private boolean equalsArray(ObjectVector o) { int nCompared = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - final Float val = (Float)o.get(nCompared++); - //region VectorEquals - if(leafValues[li][ai] == NULL_FLOAT && val != null && val != NULL_FLOAT) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + final Float val = (Float) o.get(nCompared++); + // region VectorEquals + if (leafValues[li][ai] == NULL_FLOAT && val != null && val != NULL_FLOAT) { return false; } - //endregion VectorEquals + // endregion VectorEquals - if(!Objects.equals(leafValues[li][ai], val)) { + if (!Objects.equals(leafValues[li][ai], val)) { return false; } } @@ -2413,36 +2461,37 @@ private boolean equalsArray(ObjectVector o) { @Override public boolean equals(Object o) { - if (this == o) return true; + if (this == o) + return true; if (!(o instanceof FloatSegmentedSortedMultiset)) { - //region VectorEquals - if(o instanceof FloatVector) { - return equalsArray((FloatVector)o); + // region VectorEquals + if (o instanceof FloatVector) { + return equalsArray((FloatVector) o); } - //endregion VectorEquals + // endregion VectorEquals - if(o instanceof ObjectVector) { - return equalsArray((ObjectVector)o); + if (o instanceof ObjectVector) { + return equalsArray((ObjectVector) o); } return false; } final FloatSegmentedSortedMultiset that = (FloatSegmentedSortedMultiset) o; - if(size() != that.size()) { + if (size() != that.size()) { return false; } - if(leafCount == 1) { - if(that.leafCount != 1 || size != that.size) { + if (leafCount == 1) { + if (that.leafCount != 1 || size != that.size) { return false; } - for(int ii = 0; ii < size; ii++) { - //region DirObjectEquals - if(directoryValues[ii] != that.directoryValues[ii]) { + for (int ii = 0; ii < size; ii++) { + // region DirObjectEquals + if (directoryValues[ii] != that.directoryValues[ii]) { return false; } - //endregion DirObjectEquals + // endregion DirObjectEquals } return true; @@ -2451,19 +2500,19 @@ public boolean equals(Object o) { int otherLeaf = 0; int otherLeafIdx = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - //region LeafObjectEquals - if(leafValues[li][ai] != that.leafValues[otherLeaf][otherLeafIdx++]) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + // region LeafObjectEquals + if (leafValues[li][ai] != that.leafValues[otherLeaf][otherLeafIdx++]) { return false; } - //endregion LeafObjectEquals + // endregion LeafObjectEquals - if(otherLeafIdx >= that.leafSizes[otherLeaf]) { + if (otherLeafIdx >= that.leafSizes[otherLeaf]) { otherLeaf++; otherLeafIdx = 0; } - if(otherLeaf >= that.leafCount) { + if (otherLeaf >= that.leafCount) { return false; } } @@ -2474,9 +2523,9 @@ public boolean equals(Object o) { @Override public int hashCode() { - if(leafCount == 1) { + if (leafCount == 1) { int result = Objects.hash(size); - for(int ii = 0; ii < size; ii++) { + for (int ii = 0; ii < size; ii++) { result = result * 31 + Objects.hash(directoryValues[ii]); } @@ -2486,7 +2535,7 @@ public int hashCode() { int result = Objects.hash(leafCount, size); for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { + for (int ai = 0; ai < leafSizes[li]; ai++) { result = result * 31 + Objects.hash(leafValues[li][ai]); } } @@ -2501,7 +2550,7 @@ public String toString() { } else if (leafCount > 0) { StringBuilder arrAsString = new StringBuilder("["); for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { + for (int ai = 0; ai < leafSizes[li]; ai++) { arrAsString.append(leafValues[li][ai]).append(", "); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/IntSegmentedSortedMultiset.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/IntSegmentedSortedMultiset.java index 22051132e63..ad1401f4ee0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/IntSegmentedSortedMultiset.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/IntSegmentedSortedMultiset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedMultiset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSegmentedSortedMultiset and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssms; import io.deephaven.base.verify.Assert; @@ -38,16 +37,16 @@ public final class IntSegmentedSortedMultiset implements SegmentedSortedMultiSet private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private int [] directoryValues; - private long [] directoryCount; + private int[] directoryValues; + private long[] directoryCount; - private int [] leafSizes; - private int [][] leafValues; - private long [][] leafCounts; + private int[] leafSizes; + private int[][] leafValues; + private long[][] leafCounts; // region Deltas private transient boolean accumulateDeltas = false; @@ -57,7 +56,7 @@ public final class IntSegmentedSortedMultiset implements SegmentedSortedMultiSet // endregion Deltas - //region Constructor + // region Constructor /** * Create a IntSegmentedSortedArray with the given leafSize. * @@ -68,9 +67,9 @@ public IntSegmentedSortedMultiset(int leafSize) { leafCount = 0; size = 0; } - //endregion Constructor + // endregion Constructor - //region Insertion + // region Insertion @Override public boolean insert(WritableChunk valuesToInsert, WritableIntChunk counts) { final long beforeSize = size(); @@ -78,10 +77,13 @@ public boolean insert(WritableChunk valuesToInsert, WritableIn return beforeSize != size(); } - private int insertExistingIntoLeaf(WritableIntChunk valuesToInsert, WritableIntChunk counts, int ripos, MutableInt wipos, int leafSize, int [] leafValues, long [] leafCounts, int maxInsert, boolean lastLeaf) { + private int insertExistingIntoLeaf(WritableIntChunk valuesToInsert, + WritableIntChunk counts, int ripos, MutableInt wipos, int leafSize, int[] leafValues, + long[] leafCounts, int maxInsert, boolean lastLeaf) { int rlpos = 0; int nextValue; - while (rlpos < leafSize && ripos < valuesToInsert.size() && (leq(nextValue = valuesToInsert.get(ripos), maxInsert) || lastLeaf)) { + while (rlpos < leafSize && ripos < valuesToInsert.size() + && (leq(nextValue = valuesToInsert.get(ripos), maxInsert) || lastLeaf)) { if (gt(leafValues[rlpos], nextValue)) { // we're not going to find nextValue in this leaf, so we skip over it valuesToInsert.set(wipos.intValue(), nextValue); @@ -97,10 +99,12 @@ private int insertExistingIntoLeaf(WritableIntChunk valuesToIn } } else if (rlpos == leafSize) { // we have hit the end of the leaf, we can not insert any value that is less than maxvalue - final int lastInsert = lastLeaf ? valuesToInsert.size() : upperBound(valuesToInsert, ripos, valuesToInsert.size(), maxInsert); + final int lastInsert = lastLeaf ? valuesToInsert.size() + : upperBound(valuesToInsert, ripos, valuesToInsert.size(), maxInsert); // noinspection unchecked - valuesToInsert.copyFromTypedChunk((WritableIntChunk)valuesToInsert, ripos, wipos.intValue(), lastInsert - ripos); + valuesToInsert.copyFromTypedChunk((WritableIntChunk) valuesToInsert, ripos, wipos.intValue(), + lastInsert - ripos); counts.copyFromTypedChunk(counts, ripos, wipos.intValue(), lastInsert - ripos); wipos.add(lastInsert - ripos); ripos = lastInsert; @@ -110,7 +114,8 @@ private int insertExistingIntoLeaf(WritableIntChunk valuesToIn return ripos; } - private void distributeNewIntoLeaves(IntChunk valuesToInsert, IntChunk counts, final int insertStart, final int insertCount, int firstLeaf, int requiredLeaves, int newLeafSize) { + private void distributeNewIntoLeaves(IntChunk valuesToInsert, IntChunk counts, + final int insertStart, final int insertCount, int firstLeaf, int requiredLeaves, int newLeafSize) { Assert.gtZero(insertCount, "insertCount"); final int valuesPerLeaf = valuesPerLeaf(newLeafSize, requiredLeaves); @@ -154,12 +159,14 @@ private void distributeNewIntoLeaves(IntChunk valuesToInsert, if (wpos >= 0 && iwins > minGallop) { // find the smallest insert value greater than the leafValue, but do not go beyond the beginning of // the leaf we are writing to - final int minInsert = gallopBound(valuesToInsert, Math.max(insertStart, ripos - wpos), ripos + 1, leafValue); + final int minInsert = + gallopBound(valuesToInsert, Math.max(insertStart, ripos - wpos), ripos + 1, leafValue); final int gallopLength = ripos - minInsert + 1; if (gallopLength > 0) { - valuesToInsert.copyToTypedArray(minInsert, leafValues[wleaf], wpos - gallopLength + 1, gallopLength); + valuesToInsert.copyToTypedArray(minInsert, leafValues[wleaf], wpos - gallopLength + 1, + gallopLength); while (ripos >= minInsert) { leafCounts[wleaf][wpos--] = counts.get(ripos--); } @@ -185,12 +192,15 @@ private void distributeNewIntoLeaves(IntChunk valuesToInsert, if (lwins > minGallop) { // find the smallest leaf value greater than the insertValue, but do not go beyond the beginning of // the leaf we are writing to - final int minInsert = gallopBound(leafValues[firstLeaf], Math.max(0, rlpos - wpos), rlpos + 1, insertValue); + final int minInsert = + gallopBound(leafValues[firstLeaf], Math.max(0, rlpos - wpos), rlpos + 1, insertValue); final int gallopLength = rlpos - minInsert + 1; if (gallopLength > 0) { - System.arraycopy(leafValues[firstLeaf], minInsert, leafValues[wleaf], wpos - gallopLength + 1, gallopLength); - System.arraycopy(leafCounts[firstLeaf], minInsert, leafCounts[wleaf], wpos - gallopLength + 1, gallopLength); + System.arraycopy(leafValues[firstLeaf], minInsert, leafValues[wleaf], wpos - gallopLength + 1, + gallopLength); + System.arraycopy(leafCounts[firstLeaf], minInsert, leafCounts[wleaf], wpos - gallopLength + 1, + gallopLength); rlpos -= gallopLength; wpos -= gallopLength; remaining -= gallopLength; @@ -241,8 +251,7 @@ private void distributeNewIntoLeaves(IntChunk valuesToInsert, wpos = valuesPerLeaf - 1; wleaf--; } - } - else { + } else { assert rlpos >= 0; // we need to copy the rest of the leaf values @@ -265,7 +274,9 @@ private void distributeNewIntoLeaves(IntChunk valuesToInsert, size += insertCount; } - private void insertNewIntoLeaf(WritableIntChunk valuesToInsert, WritableIntChunk counts, int insertStart, int insertCount, int leafSize, int [] leafValues, long [] leafCounts) { + private void insertNewIntoLeaf(WritableIntChunk valuesToInsert, + WritableIntChunk counts, int insertStart, int insertCount, int leafSize, int[] leafValues, + long[] leafCounts) { assert insertCount > 0; // we start at the end of the leaf and insert values, picking off the correct value as we go @@ -337,7 +348,8 @@ private void insertNewIntoLeaf(WritableIntChunk valuesToInsert rlpos -= gallopLength; wpos -= gallopLength; if (rlpos == -1) { - copyRemainingValuesToLeaf(valuesToInsert, counts, insertStart, leafValues, leafCounts, ripos); + copyRemainingValuesToLeaf(valuesToInsert, counts, insertStart, leafValues, leafCounts, + ripos); return; } } @@ -352,34 +364,38 @@ private void insertNewIntoLeaf(WritableIntChunk valuesToInsert } } - private void copyRemainingValuesToLeaf(WritableIntChunk valuesToInsert, WritableIntChunk counts, int insertStart, int[] leafValues, long[] leafCounts, int ripos) { + private void copyRemainingValuesToLeaf(WritableIntChunk valuesToInsert, + WritableIntChunk counts, int insertStart, int[] leafValues, long[] leafCounts, int ripos) { valuesToInsert.copyToTypedArray(insertStart, leafValues, 0, ripos - insertStart + 1); for (int ii = 0; ii < ripos - insertStart + 1; ++ii) { leafCounts[ii] = counts.get(ii + insertStart); } } - private void maybeCompact(WritableIntChunk valuesToInsert, WritableIntChunk counts, int ripos, int wipos) { + private void maybeCompact(WritableIntChunk valuesToInsert, WritableIntChunk counts, + int ripos, int wipos) { if (wipos == ripos) { return; } // we've found something to compact away final int originalSize = valuesToInsert.size(); final int toCopy = originalSize - ripos; - //noinspection unchecked - how the heck does this type not actuall work? - valuesToInsert.copyFromTypedChunk((IntChunk)valuesToInsert, ripos, wipos, toCopy); + // noinspection unchecked - how the heck does this type not actuall work? + valuesToInsert.copyFromTypedChunk((IntChunk) valuesToInsert, ripos, wipos, toCopy); counts.copyFromChunk(counts, ripos, wipos, toCopy); valuesToInsert.setSize(wipos + toCopy); counts.setSize(wipos + toCopy); } - private void insertExisting(WritableIntChunk valuesToInsert, WritableIntChunk counts) { + private void insertExisting(WritableIntChunk valuesToInsert, + WritableIntChunk counts) { if (leafCount == 0) { return; } if (leafCount == 1) { final MutableInt wipos = new MutableInt(0); - final int ripos = insertExistingIntoLeaf(valuesToInsert, counts, 0, wipos, size, directoryValues, directoryCount, NULL_INT, true); + final int ripos = insertExistingIntoLeaf(valuesToInsert, counts, 0, wipos, size, directoryValues, + directoryCount, NULL_INT, true); maybeCompact(valuesToInsert, counts, ripos, wipos.intValue()); return; } @@ -394,7 +410,8 @@ private void insertExisting(WritableIntChunk valuesToInsert, W // find the thing in directoryValues final boolean lastLeaf = nextLeaf == leafCount - 1; final int maxValue = lastLeaf ? NULL_INT : directoryValues[nextLeaf]; - ripos = insertExistingIntoLeaf(valuesToInsert, counts, ripos, wipos, leafSizes[nextLeaf], leafValues[nextLeaf], leafCounts[nextLeaf], maxValue, lastLeaf); + ripos = insertExistingIntoLeaf(valuesToInsert, counts, ripos, wipos, leafSizes[nextLeaf], + leafValues[nextLeaf], leafCounts[nextLeaf], maxValue, lastLeaf); if (lastLeaf) { break; } @@ -450,7 +467,8 @@ private void insert(WritableIntChunk valuesToInsert, WritableI } if (desiredLeafCount == 1) { // we should fit into the existing leaf - insertNewIntoLeaf(valuesToInsert, counts, 0, valuesToInsert.size(), size, directoryValues, directoryCount); + insertNewIntoLeaf(valuesToInsert, counts, 0, valuesToInsert.size(), size, directoryValues, + directoryCount); size = newSize; validate(); return; @@ -487,11 +505,11 @@ private void insert(WritableIntChunk valuesToInsert, WritableI makeLeafHole(nextLeaf + 1, requiredLeaves - 1); leafCount += (requiredLeaves - 1); } - distributeNewIntoLeaves(valuesToInsert, counts, rpos, insertIntoLeaf, nextLeaf, requiredLeaves, newLeafSize); + distributeNewIntoLeaves(valuesToInsert, counts, rpos, insertIntoLeaf, nextLeaf, requiredLeaves, + newLeafSize); rpos += insertIntoLeaf; - } - while (rpos < valuesToInsert.size()); + } while (rpos < valuesToInsert.size()); validate(); } @@ -528,7 +546,8 @@ private void doAppend(WritableIntChunk valuesToInsert, Writabl int rpos = 0; if (lastLeafFree > 0) { final int insertCount = Math.min(lastLeafFree, valuesToInsert.size()); - insertNewIntoLeaf(valuesToInsert, counts, rpos, insertCount, lastLeafSize, leafValues[lastLeafIndex], leafCounts[lastLeafIndex]); + insertNewIntoLeaf(valuesToInsert, counts, rpos, insertCount, lastLeafSize, leafValues[lastLeafIndex], + leafCounts[lastLeafIndex]); leafSizes[lastLeafIndex] += insertCount; rpos += insertCount; if (insertCount == valuesToInsert.size()) { @@ -624,7 +643,8 @@ private void makeLeavesInitial(IntChunk values, IntChunk values, IntChunk counts, int rpos, int startLeaf, int valuesPerLeaf) { + private void packValuesIntoLeaves(IntChunk values, IntChunk counts, int rpos, + int startLeaf, int valuesPerLeaf) { while (rpos < values.size()) { final int thisLeafSize = Math.min(valuesPerLeaf, values.size() - rpos); leafSizes[startLeaf] = thisLeafSize; @@ -642,7 +662,7 @@ private void packValuesIntoLeaves(IntChunk values, IntChunk>> 1; final int testValue = valuesToSearch[mid]; @@ -720,7 +740,7 @@ private static int gallopBound(IntChunk valuesToSearch, int lo, i * @param searchValue the value to find * @return the lowest index that is greater than or equal to valuesToSearch */ - private static int gallopBound(int [] valuesToSearch, int lo, int hi, int searchValue) { + private static int gallopBound(int[] valuesToSearch, int lo, int hi, int searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final int testValue = valuesToSearch[mid]; @@ -747,7 +767,7 @@ private static int gallopBound(int [] valuesToSearch, int lo, int hi, int search * @param searchValue the value to find * @return the highest index that is less than or equal to valuesToSearch */ - private static int upperBound(int [] valuesToSearch, int lo, int hi, int searchValue) { + private static int upperBound(int[] valuesToSearch, int lo, int hi, int searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final int testValue = valuesToSearch[mid]; @@ -795,7 +815,7 @@ private static int upperBound(IntChunk valuesToSearch, int lo, * @param searchValue the value to find * @return the lowest index that is greater than to valuesToSearch */ - private static int lowerBoundExclusive(int [] valuesToSearch, int lo, int hi, int searchValue) { + private static int lowerBoundExclusive(int[] valuesToSearch, int lo, int hi, int searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final int testValue = valuesToSearch[mid]; @@ -813,22 +833,24 @@ private static int lowerBoundExclusive(int [] valuesToSearch, int lo, int hi, in return lo; } - //endregion + // endregion - //region Removal + // region Removal /** - * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. + * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. * - * @param valuesToRemove the valuesToRemove to remove + * @param valuesToRemove the valuesToRemove to remove */ @Override - public boolean remove(RemoveContext removeContext, WritableChunk valuesToRemove, WritableIntChunk counts) { + public boolean remove(RemoveContext removeContext, WritableChunk valuesToRemove, + WritableIntChunk counts) { final long beforeSize = size(); remove(removeContext, valuesToRemove.asIntChunk(), counts); return beforeSize != size(); } - private void remove(RemoveContext removeContext, IntChunk valuesToRemove, IntChunk counts) { + private void remove(RemoveContext removeContext, IntChunk valuesToRemove, + IntChunk counts) { validate(); validateInputs(valuesToRemove, counts); @@ -841,7 +863,8 @@ private void remove(RemoveContext removeContext, IntChunk valu if (leafCount == 1) { final MutableInt sz = new MutableInt(size); - final int consumed = removeFromLeaf(removeContext, valuesToRemove, counts, 0, valuesToRemove.size(), directoryValues, directoryCount, sz); + final int consumed = removeFromLeaf(removeContext, valuesToRemove, counts, 0, valuesToRemove.size(), + directoryValues, directoryCount, sz); assert consumed == valuesToRemove.size(); if (sz.intValue() == 0) { clear(); @@ -849,7 +872,7 @@ private void remove(RemoveContext removeContext, IntChunk valu size = sz.intValue(); } } else { - removeContext.ensureLeafCount((leafCount + 1)/ 2); + removeContext.ensureLeafCount((leafCount + 1) / 2); int rpos = 0; int nextLeaf = 0; @@ -860,7 +883,8 @@ private void remove(RemoveContext removeContext, IntChunk valu nextLeaf = lowerBound(directoryValues, nextLeaf, leafCount - 1, firstValueToRemove); final MutableInt sz = new MutableInt(leafSizes[nextLeaf]); - rpos = removeFromLeaf(removeContext, valuesToRemove, counts, rpos, valuesToRemove.size(), leafValues[nextLeaf], leafCounts[nextLeaf], sz); + rpos = removeFromLeaf(removeContext, valuesToRemove, counts, rpos, valuesToRemove.size(), + leafValues[nextLeaf], leafCounts[nextLeaf], sz); size -= leafSizes[nextLeaf] - sz.intValue(); leafSizes[nextLeaf] = sz.intValue(); if (sz.intValue() == 0) { @@ -868,7 +892,8 @@ private void remove(RemoveContext removeContext, IntChunk valu } else { // we figure out if we can be pulled back into the prior leaf final int priorLeaf; - if (cl >= 0 && removeContext.compactionLeafs[cl] + removeContext.compactionLeafLengths[cl] == nextLeaf) { + if (cl >= 0 && removeContext.compactionLeafs[cl] + + removeContext.compactionLeafLengths[cl] == nextLeaf) { // we need to go to one leaf before our compaction length, if we happen to be removing all // the prior leaves we end up with a negative number here. priorLeaf = removeContext.compactionLeafs[cl] - 1; @@ -891,8 +916,7 @@ private void remove(RemoveContext removeContext, IntChunk valu mergeTwoLeavesBack(priorLeaf, nextLeaf); cl = markLeafForRemoval(removeContext, nextLeaf, cl); } - } - else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + 1] <= leafSize) { + } else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + 1] <= leafSize) { // we shove ourselves forward into the next leaf mergeTwoLeavesForward(nextLeaf, nextLeaf + 1); cl = markLeafForRemoval(removeContext, nextLeaf, cl); @@ -901,8 +925,7 @@ else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + nextLeaf++; validateCompaction(removeContext, cl); - } - while (rpos < valuesToRemove.size()); + } while (rpos < valuesToRemove.size()); if (size == 0) { clear(); @@ -939,8 +962,10 @@ private void mergeTwoLeavesForward(int firstLeafSource, int secondLeafDestinatio final int firstSourceSize = leafSizes[firstLeafSource]; final int secondDestinationSize = leafSizes[secondLeafDestination]; // first make a hole - System.arraycopy(leafValues[secondLeafDestination], 0, leafValues[secondLeafDestination], firstSourceSize, secondDestinationSize); - System.arraycopy(leafCounts[secondLeafDestination], 0, leafCounts[secondLeafDestination], firstSourceSize, secondDestinationSize); + System.arraycopy(leafValues[secondLeafDestination], 0, leafValues[secondLeafDestination], firstSourceSize, + secondDestinationSize); + System.arraycopy(leafCounts[secondLeafDestination], 0, leafCounts[secondLeafDestination], firstSourceSize, + secondDestinationSize); // now copy the first leaf into that hole System.arraycopy(leafValues[firstLeafSource], 0, leafValues[secondLeafDestination], 0, firstSourceSize); System.arraycopy(leafCounts[firstLeafSource], 0, leafCounts[secondLeafDestination], 0, firstSourceSize); @@ -956,14 +981,18 @@ private void mergeThreeLeavesForward(int firstLeafSource, int secondLeafSource, final int thirdDestinationSize = leafSizes[thirdLeafDestination]; // first make a hole - System.arraycopy(leafValues[thirdLeafDestination], 0, leafValues[thirdLeafDestination], totalSourceSize, thirdDestinationSize); - System.arraycopy(leafCounts[thirdLeafDestination], 0, leafCounts[thirdLeafDestination], totalSourceSize, thirdDestinationSize); + System.arraycopy(leafValues[thirdLeafDestination], 0, leafValues[thirdLeafDestination], totalSourceSize, + thirdDestinationSize); + System.arraycopy(leafCounts[thirdLeafDestination], 0, leafCounts[thirdLeafDestination], totalSourceSize, + thirdDestinationSize); // now copy the first leaf into that hole System.arraycopy(leafValues[firstLeafSource], 0, leafValues[thirdLeafDestination], 0, firstSourceSize); System.arraycopy(leafCounts[firstLeafSource], 0, leafCounts[thirdLeafDestination], 0, firstSourceSize); - System.arraycopy(leafValues[secondLeafSource], 0, leafValues[thirdLeafDestination], firstSourceSize, secondSourceSize); - System.arraycopy(leafCounts[secondLeafSource], 0, leafCounts[thirdLeafDestination], firstSourceSize, secondSourceSize); + System.arraycopy(leafValues[secondLeafSource], 0, leafValues[thirdLeafDestination], firstSourceSize, + secondSourceSize); + System.arraycopy(leafCounts[secondLeafSource], 0, leafCounts[thirdLeafDestination], firstSourceSize, + secondSourceSize); leafSizes[thirdLeafDestination] += totalSourceSize; leafSizes[firstLeafSource] = 0; @@ -997,7 +1026,8 @@ private int addLeafToLastRemovalRange(RemoveContext removeContext, int leafToRem removeContext.compactionLeafLengths[cl]++; // we might need to collapse two adjacent ranges in the compaction - if (cl > 0 && removeContext.compactionLeafs[cl - 1] + removeContext.compactionLeafLengths[cl - 1] == removeContext.compactionLeafs[cl]) { + if (cl > 0 && removeContext.compactionLeafs[cl - 1] + + removeContext.compactionLeafLengths[cl - 1] == removeContext.compactionLeafs[cl]) { removeContext.compactionLeafLengths[cl - 1] += removeContext.compactionLeafLengths[cl]; cl--; } @@ -1054,7 +1084,8 @@ private void maybePromoteLastLeaf() { } } - private int removeFromLeaf(RemoveContext removeContext, IntChunk valuesToRemove, IntChunk counts, int ripos, int end, int[] leafValues, long[] leafCounts, MutableInt sz) { + private int removeFromLeaf(RemoveContext removeContext, IntChunk valuesToRemove, + IntChunk counts, int ripos, int end, int[] leafValues, long[] leafCounts, MutableInt sz) { int rlpos = 0; int cl = -1; while (ripos < end) { @@ -1084,7 +1115,8 @@ private int removeFromLeaf(RemoveContext removeContext, IntChunk valuesToInsert, IntChunk< Assert.gtZero(counts.get(ii), "counts.get(ii)"); final int prevValue = valuesToInsert.get(ii - 1); final int curValue = valuesToInsert.get(ii); - Assert.assertion(IntComparisons.lt(prevValue, curValue), "IntComparisons.lt(prevValue, curValue)", prevValue, "prevValue", curValue, "curValue"); + Assert.assertion(IntComparisons.lt(prevValue, curValue), "IntComparisons.lt(prevValue, curValue)", + prevValue, "prevValue", curValue, "curValue"); } } @@ -1199,25 +1232,29 @@ private void validateInternal() { final int lastValue = leafValues[ii][leafSizes[ii] - 1]; if (ii < leafCount - 1) { final int directoryValue = directoryValues[ii]; - Assert.assertion(leq(lastValue, directoryValue), "lt(lastValue, directoryValue)", lastValue, "leafValues[ii][leafSizes[ii] - 1]", directoryValue, "directoryValue"); + Assert.assertion(leq(lastValue, directoryValue), "lt(lastValue, directoryValue)", lastValue, + "leafValues[ii][leafSizes[ii] - 1]", directoryValue, "directoryValue"); if (ii < leafCount - 2) { final int nextDirectoryValue = directoryValues[ii + 1]; - Assert.assertion(lt(directoryValue, nextDirectoryValue), "lt(directoryValue, nextDirectoryValue)", directoryValue, "directoryValue", nextDirectoryValue, "nextDirectoryValue"); + Assert.assertion(lt(directoryValue, nextDirectoryValue), + "lt(directoryValue, nextDirectoryValue)", directoryValue, "directoryValue", + nextDirectoryValue, "nextDirectoryValue"); } final int nextFirstValue = leafValues[ii + 1][0]; - Assert.assertion(lt(directoryValue, nextFirstValue), "lt(directoryValue, nextFirstValue)", directoryValue, "directoryValue", nextFirstValue, "nextFirstValue"); + Assert.assertion(lt(directoryValue, nextFirstValue), "lt(directoryValue, nextFirstValue)", + directoryValue, "directoryValue", nextFirstValue, "nextFirstValue"); } // It would be nice to enable an assertion to make sure we are dense after removals, but the other // reason this assertion can fail is that if we insert into a node that is too large we may have to - // split it. The last node we have could be short, and it might be possible to merge it with the node + // split it. The last node we have could be short, and it might be possible to merge it with the node // afterwards, but we don't do removals during an insertion phase. -// if (ii < leafCount - 1) { -// final int thisLeafSize = leafSizes[ii]; -// final int nextLeafSize = leafSizes[ii + 1]; -// Assert.leq(leafSize, "leafSize", thisLeafSize + nextLeafSize, "thisLeafSize + nextLeafSize"); -// } + // if (ii < leafCount - 1) { + // final int thisLeafSize = leafSizes[ii]; + // final int nextLeafSize = leafSizes[ii + 1]; + // Assert.leq(leafSize, "leafSize", thisLeafSize + nextLeafSize, "thisLeafSize + nextLeafSize"); + // } } validateLeafOrdering(); @@ -1244,7 +1281,8 @@ private static void validateLeaf(int[] values, long[] counts, int size) { Assert.gtZero(counts[ii], "counts[ii]"); final int thisValue = values[ii]; final int nextValue = values[ii + 1]; - Assert.assertion(lt(values[ii], values[ii + 1]), "lt(values[ii], values[ii + 1])", (Integer)thisValue, "values[ii]", (Integer)nextValue, "values[ii + 1]", ii, "ii"); + Assert.assertion(lt(values[ii], values[ii + 1]), "lt(values[ii], values[ii + 1])", (Integer) thisValue, + "values[ii]", (Integer) nextValue, "values[ii + 1]", ii, "ii"); } if (size > 0) { Assert.gtZero(counts[size - 1], "counts[size - 1]"); @@ -1269,9 +1307,9 @@ private int computeTotalSize() { return expectedSize; } - //endregion + // endregion - //region Comparisons + // region Comparisons private int getDesiredLeafCount(int newSize) { return (newSize + leafSize - 1) / leafSize; } @@ -1305,10 +1343,12 @@ private static boolean eq(int lhs, int rhs) { return lhs == rhs; // endregion equality function } - //endregion + // endregion @Override - public long totalSize() { return totalSize; } + public long totalSize() { + return totalSize; + } @Override public int getNodeSize() { @@ -1328,8 +1368,7 @@ public Integer getMax() { public int getMinInt() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryValues[0]; } return leafValues[0][0]; @@ -1339,8 +1378,7 @@ else if (leafCount == 1) { public long getMinCount() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryCount[0]; } return leafCounts[0][0]; @@ -1349,8 +1387,7 @@ else if (leafCount == 1) { private void addMinCount(long toAdd) { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { directoryCount[0] += toAdd; } else { leafCounts[0][0] += toAdd; @@ -1389,8 +1426,7 @@ private void removeMin() { public int getMaxInt() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryValues[size - 1]; } return leafValues[leafCount - 1][leafSizes[leafCount - 1] - 1]; @@ -1400,8 +1436,7 @@ else if (leafCount == 1) { public long getMaxCount() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryCount[size - 1]; } return leafCounts[leafCount - 1][leafSizes[leafCount - 1] - 1]; @@ -1410,8 +1445,7 @@ else if (leafCount == 1) { private void addMaxCount(long toAdd) { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { directoryCount[size - 1] += toAdd; } else { leafCounts[leafCount - 1][leafSizes[leafCount - 1] - 1] += toAdd; @@ -1438,10 +1472,10 @@ private void removeMax() { } } - //region Moving + // region Moving @Override public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long count) { - final IntSegmentedSortedMultiset destination = (IntSegmentedSortedMultiset)untypedDestination; + final IntSegmentedSortedMultiset destination = (IntSegmentedSortedMultiset) untypedDestination; validate(); destination.validate(); @@ -1454,7 +1488,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (destination.size > 0) { - Assert.assertion(geq(getMinInt(), destination.getMaxInt()), "geq(getMinInt(), destination.getMaxInt())"); + Assert.assertion(geq(getMinInt(), destination.getMaxInt()), + "geq(getMinInt(), destination.getMaxInt())"); } } @@ -1525,7 +1560,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou directoryCount[0] = leftOver; directoryValues[0] = directoryValues[size - 1]; destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1], "destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1]"); + Assert.gtZero(destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1], + "destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1]"); size = 1; } else { directoryValues = null; @@ -1556,8 +1592,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou final int sizeOfLeftOverLeaf = leafSizes[rli]; size -= (sizeOfLeftOverLeaf - 1); - final int [] tmpValues = new int[leafSize]; - final long [] tmpCounts = new long[leafSize]; + final int[] tmpValues = new int[leafSize]; + final long[] tmpCounts = new long[leafSize]; tmpValues[0] = leafValues[rli][sizeOfLeftOverLeaf - 1]; tmpCounts[0] = leftOver; leafValues[rli] = tmpValues; @@ -1565,7 +1601,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou leafSizes[rli] = 1; destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1], "destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1]"); + Assert.gtZero(destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1], + "destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1]"); if (rli < leafCount - 1) { updateDirectory(rli); } @@ -1594,10 +1631,10 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou boolean sourceLeavesMerged = false; if (partialUnique > 0) { - final int [] sourceValues; - final long [] sourceCounts; - final int [] destinationValues; - final long [] destinationCounts; + final int[] sourceValues; + final long[] sourceCounts; + final int[] destinationValues; + final long[] destinationCounts; final int copySize; final int destOffset; if (leafCount == 1) { @@ -1645,10 +1682,12 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (leftOver > 0) { if (destination.directoryCount == null) { destination.leafCounts[wleaf][destOffset + partialUnique - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf][destOffset + partialUnique - 1], "destination.leafCounts[wleaf][destOffset + partialUnique - 1]"); + Assert.gtZero(destination.leafCounts[wleaf][destOffset + partialUnique - 1], + "destination.leafCounts[wleaf][destOffset + partialUnique - 1]"); } else { destination.directoryCount[destination.size - 1] -= leftOver; - Assert.gtZero(destination.directoryCount[destination.size - 1], "destination.directoryCount[destination.size]"); + Assert.gtZero(destination.directoryCount[destination.size - 1], + "destination.directoryCount[destination.size]"); } } @@ -1722,7 +1761,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (size > 0 && destination.size > 0) { - Assert.assertion(geq(getMinInt(), destination.getMaxInt()), "geq(getMinInt(), destination.getMaxInt())"); + Assert.assertion(geq(getMinInt(), destination.getMaxInt()), + "geq(getMinInt(), destination.getMaxInt())"); } } @@ -1739,7 +1779,8 @@ private void updateDirectory(int leaf) { * @param finalSlots how many slots outside of completeLeaves are required * @param completeLeaves how many complete leaves are required * - * @return true if we should put our finalSlots values in the "extra" leaf. False if they should be appended to the last leaf that already exists + * @return true if we should put our finalSlots values in the "extra" leaf. False if they should be appended to the + * last leaf that already exists */ private boolean prepareAppend(int finalSlots, int completeLeaves) { Assert.leq(finalSlots, "finalSlots", leafSize, "leafSize"); @@ -1790,8 +1831,8 @@ private boolean prepareAppend(int finalSlots, int completeLeaves) { * @param initialSlots how many slots outside of a complete leaf will be prepended * @param completeLeaves how many complete leaves will be prepended * - * @return true if the initialSlots values should be copied into their own private leaf, false if they should share space - * with the next leaf + * @return true if the initialSlots values should be copied into their own private leaf, false if they should share + * space with the next leaf */ private boolean preparePrepend(int initialSlots, int completeLeaves) { final int extraLeafCount; @@ -1834,8 +1875,8 @@ private boolean preparePrepend(int initialSlots, int completeLeaves) { if (extraLeafCount == 0 && initialSlots > 0) { // make a hole in the first leaf that still has values if (directoryCount != null) { - final int [] tmpValues = new int[initialSlots + size]; - final long [] tmpCount = new long[initialSlots + size]; + final int[] tmpValues = new int[initialSlots + size]; + final long[] tmpCount = new long[initialSlots + size]; System.arraycopy(directoryValues, 0, tmpValues, initialSlots, size); System.arraycopy(directoryCount, 0, tmpCount, initialSlots, size); directoryValues = tmpValues; @@ -1869,7 +1910,7 @@ private static int countFront(long[] counts, int sz, MutableInt valuesToMove, Mu @Override public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long count) { - final IntSegmentedSortedMultiset destination = (IntSegmentedSortedMultiset)untypedDestination; + final IntSegmentedSortedMultiset destination = (IntSegmentedSortedMultiset) untypedDestination; validate(); destination.validate(); @@ -1882,7 +1923,8 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (destination.size > 0) { - Assert.assertion(leq(getMaxInt(), destination.getMinInt()), "leq(getMaxInt(), destination.getMinInt())"); + Assert.assertion(leq(getMaxInt(), destination.getMinInt()), + "leq(getMaxInt(), destination.getMinInt())"); } } @@ -1943,11 +1985,11 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou final boolean extraLeaf = destination.preparePrepend(slotsInPartialLeaf, completeLeavesToMove); if (slotsInPartialLeaf > 0) { final boolean leftOverExists = leftOver > 0; - final int [] destValues; - final long [] destCounts; + final int[] destValues; + final long[] destCounts; - final int [] srcValues; - final long [] srcCounts; + final int[] srcValues; + final long[] srcCounts; final int srcSize; if (destination.directoryCount != null) { @@ -2020,14 +2062,16 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou System.arraycopy(leafSizes, rleaf + 1, destination.leafSizes, destinationLeaf, completeLeavesToMove); final int directoryMoves; final boolean haveLastSourceDirectoryEntry = rleaf + 1 + completeLeavesToMove < leafCount - 1; - final boolean requireLastDestinationDirectoryEntry = destination.leafCount > (destinationLeaf + completeLeavesToMove); + final boolean requireLastDestinationDirectoryEntry = + destination.leafCount > (destinationLeaf + completeLeavesToMove); if (haveLastSourceDirectoryEntry && requireLastDestinationDirectoryEntry) { directoryMoves = completeLeavesToMove; } else { directoryMoves = completeLeavesToMove - 1; } if (directoryMoves > 0) { - System.arraycopy(directoryValues, rleaf + 1, destination.directoryValues, destinationLeaf, directoryMoves); + System.arraycopy(directoryValues, rleaf + 1, destination.directoryValues, destinationLeaf, + directoryMoves); } if (requireLastDestinationDirectoryEntry) { destination.updateDirectory(destinationLeaf + completeLeavesToMove - 1); @@ -2061,9 +2105,11 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou final int firstLeafTozero = hasLeftOverSlot ? rleaf + 2 : rleaf + 1; Arrays.fill(leafValues, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, null); Arrays.fill(leafCounts, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, null); - Arrays.fill(leafSizes, firstLeafTozero , firstLeafTozero + numberOfLeavesToRemove, 0); + Arrays.fill(leafSizes, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, 0); if (directoryMoves > 0) { - Arrays.fill(directoryValues, firstLeafTozero, firstLeafTozero + directoryMoves - (completeLeavesToMove - numberOfLeavesToRemove), NULL_INT); + Arrays.fill(directoryValues, firstLeafTozero, + firstLeafTozero + directoryMoves - (completeLeavesToMove - numberOfLeavesToRemove), + NULL_INT); } maybePromoteLastLeaf(); } @@ -2082,7 +2128,8 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (size > 0 && destination.size > 0) { - Assert.assertion(leq(getMaxInt(), destination.getMinInt()), "leq(getMaxInt(), destination.getMinInt())"); + Assert.assertion(leq(getMaxInt(), destination.getMinInt()), + "leq(getMaxInt(), destination.getMinInt())"); } } } @@ -2102,7 +2149,7 @@ private static int countBack(long[] counts, int sz, MutableInt valuesToMove, Mut } return sz - rpos; } - //endregion + // endregion @Override public WritableIntChunk keyChunk() { @@ -2117,7 +2164,7 @@ public void fillKeyChunk(WritableChunk keyChunk, int offset) { } private void fillKeyChunk(WritableIntChunk keyChunk, int offset) { - if(keyChunk.capacity() < offset + intSize()) { + if (keyChunk.capacity() < offset + intSize()) { throw new IllegalArgumentException("Input chunk is not large enough"); } @@ -2148,37 +2195,38 @@ public WritableLongChunk countChunk() { } private int[] keyArray() { - return keyArray(0, size-1); + return keyArray(0, size - 1); } /** * Create an array of the current keys beginning with the first (inclusive) and ending with the last (inclusive) + * * @param first * @param last * @return */ private int[] keyArray(long first, long last) { - if(isEmpty()) { + if (isEmpty()) { return ArrayTypeUtils.EMPTY_INT_ARRAY; } - final int totalSize = (int)(last - first + 1); + final int totalSize = (int) (last - first + 1); final int[] keyArray = new int[totalSize]; if (leafCount == 1) { - System.arraycopy(directoryValues, (int)first, keyArray, 0, totalSize); + System.arraycopy(directoryValues, (int) first, keyArray, 0, totalSize); } else if (leafCount > 0) { int offset = 0; int copied = 0; int skipped = 0; for (int li = 0; li < leafCount && copied < totalSize; ++li) { - if(skipped < first) { - final int toSkip = (int)first - skipped; - if(toSkip < leafSizes[li]) { + if (skipped < first) { + final int toSkip = (int) first - skipped; + if (toSkip < leafSizes[li]) { final int nToCopy = Math.min(leafSizes[li] - toSkip, totalSize); System.arraycopy(leafValues[li], toSkip, keyArray, 0, nToCopy); copied = nToCopy; offset = copied; - skipped = (int)first; + skipped = (int) first; } else { skipped += leafSizes[li]; } @@ -2199,7 +2247,7 @@ private void maybeAccumulateAdditions(WritableIntChunk valuesT return; } - if(prevValues == null) { + if (prevValues == null) { prevValues = new IntVectorDirect(keyArray()); } @@ -2207,7 +2255,7 @@ private void maybeAccumulateAdditions(WritableIntChunk valuesT added = new TIntHashSet(valuesToInsert.size()); } - if(removed == null) { + if (removed == null) { for (int ii = 0; ii < valuesToInsert.size(); ii++) { added.add(valuesToInsert.get(ii)); } @@ -2224,19 +2272,19 @@ private void maybeAccumulateAdditions(WritableIntChunk valuesT } private void maybeAccumulateRemoval(int valueRemoved) { - if(!accumulateDeltas) { + if (!accumulateDeltas) { return; } - if(prevValues == null) { + if (prevValues == null) { prevValues = new IntVectorDirect(keyArray()); } - if(removed == null) { + if (removed == null) { removed = new TIntHashSet(); } - if(added == null || !added.remove(valueRemoved)) { + if (added == null || !added.remove(valueRemoved)) { removed.add(valueRemoved); } } @@ -2278,16 +2326,16 @@ public IntVector getPrevValues() { // region IntVector @Override public int get(long index) { - if(index < 0 || index > size()) { + if (index < 0 || index > size()) { throw new IllegalArgumentException("Illegal index " + index + " current size: " + size()); } - if(leafCount == 1) { + if (leafCount == 1) { return directoryValues[(int) index]; } else { - for(int ii = 0; ii < leafCount; ii++) { - if(index < leafSizes[ii]) { - return leafValues[ii][(int)(index)]; + for (int ii = 0; ii < leafCount; ii++) { + if (index < leafSizes[ii]) { + return leafValues[ii][(int) (index)]; } index -= leafSizes[ii]; } @@ -2331,21 +2379,21 @@ public long size() { public IntVector getDirect() { return new IntVectorDirect(keyArray()); } - //endregion + // endregion - //region VectorEquals + // region VectorEquals private boolean equalsArray(IntVector o) { - if(size() != o.size()) { + if (size() != o.size()) { return false; } - if(leafCount == 1) { - for(int ii = 0; ii < size; ii++) { - //region DirObjectEquals - if(directoryValues[ii] != o.get(ii)) { + if (leafCount == 1) { + for (int ii = 0; ii < size; ii++) { + // region DirObjectEquals + if (directoryValues[ii] != o.get(ii)) { return false; } - //endregion DirObjectEquals + // endregion DirObjectEquals } return true; @@ -2353,8 +2401,8 @@ private boolean equalsArray(IntVector o) { int nCompared = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - if(leafValues[li][ai] != o.get(nCompared++)) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + if (leafValues[li][ai] != o.get(nCompared++)) { return false; } } @@ -2362,29 +2410,29 @@ private boolean equalsArray(IntVector o) { return true; } - //endregion VectorEquals + // endregion VectorEquals private boolean equalsArray(ObjectVector o) { - //region EqualsArrayTypeCheck - if(o.getComponentType() != int.class && o.getComponentType() != Integer.class) { + // region EqualsArrayTypeCheck + if (o.getComponentType() != int.class && o.getComponentType() != Integer.class) { return false; } - //endregion EqualsArrayTypeCheck + // endregion EqualsArrayTypeCheck - if(size() != o.size()) { + if (size() != o.size()) { return false; } - if(leafCount == 1) { - for(int ii = 0; ii < size; ii++) { - final Integer val = (Integer)o.get(ii); - //region VectorEquals - if(directoryValues[ii] == NULL_INT && val != null && val != NULL_INT) { + if (leafCount == 1) { + for (int ii = 0; ii < size; ii++) { + final Integer val = (Integer) o.get(ii); + // region VectorEquals + if (directoryValues[ii] == NULL_INT && val != null && val != NULL_INT) { return false; } - //endregion VectorEquals + // endregion VectorEquals - if(!Objects.equals(directoryValues[ii], val)) { + if (!Objects.equals(directoryValues[ii], val)) { return false; } } @@ -2394,15 +2442,15 @@ private boolean equalsArray(ObjectVector o) { int nCompared = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - final Integer val = (Integer)o.get(nCompared++); - //region VectorEquals - if(leafValues[li][ai] == NULL_INT && val != null && val != NULL_INT) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + final Integer val = (Integer) o.get(nCompared++); + // region VectorEquals + if (leafValues[li][ai] == NULL_INT && val != null && val != NULL_INT) { return false; } - //endregion VectorEquals + // endregion VectorEquals - if(!Objects.equals(leafValues[li][ai], val)) { + if (!Objects.equals(leafValues[li][ai], val)) { return false; } } @@ -2413,36 +2461,37 @@ private boolean equalsArray(ObjectVector o) { @Override public boolean equals(Object o) { - if (this == o) return true; + if (this == o) + return true; if (!(o instanceof IntSegmentedSortedMultiset)) { - //region VectorEquals - if(o instanceof IntVector) { - return equalsArray((IntVector)o); + // region VectorEquals + if (o instanceof IntVector) { + return equalsArray((IntVector) o); } - //endregion VectorEquals + // endregion VectorEquals - if(o instanceof ObjectVector) { - return equalsArray((ObjectVector)o); + if (o instanceof ObjectVector) { + return equalsArray((ObjectVector) o); } return false; } final IntSegmentedSortedMultiset that = (IntSegmentedSortedMultiset) o; - if(size() != that.size()) { + if (size() != that.size()) { return false; } - if(leafCount == 1) { - if(that.leafCount != 1 || size != that.size) { + if (leafCount == 1) { + if (that.leafCount != 1 || size != that.size) { return false; } - for(int ii = 0; ii < size; ii++) { - //region DirObjectEquals - if(directoryValues[ii] != that.directoryValues[ii]) { + for (int ii = 0; ii < size; ii++) { + // region DirObjectEquals + if (directoryValues[ii] != that.directoryValues[ii]) { return false; } - //endregion DirObjectEquals + // endregion DirObjectEquals } return true; @@ -2451,19 +2500,19 @@ public boolean equals(Object o) { int otherLeaf = 0; int otherLeafIdx = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - //region LeafObjectEquals - if(leafValues[li][ai] != that.leafValues[otherLeaf][otherLeafIdx++]) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + // region LeafObjectEquals + if (leafValues[li][ai] != that.leafValues[otherLeaf][otherLeafIdx++]) { return false; } - //endregion LeafObjectEquals + // endregion LeafObjectEquals - if(otherLeafIdx >= that.leafSizes[otherLeaf]) { + if (otherLeafIdx >= that.leafSizes[otherLeaf]) { otherLeaf++; otherLeafIdx = 0; } - if(otherLeaf >= that.leafCount) { + if (otherLeaf >= that.leafCount) { return false; } } @@ -2474,9 +2523,9 @@ public boolean equals(Object o) { @Override public int hashCode() { - if(leafCount == 1) { + if (leafCount == 1) { int result = Objects.hash(size); - for(int ii = 0; ii < size; ii++) { + for (int ii = 0; ii < size; ii++) { result = result * 31 + Objects.hash(directoryValues[ii]); } @@ -2486,7 +2535,7 @@ public int hashCode() { int result = Objects.hash(leafCount, size); for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { + for (int ai = 0; ai < leafSizes[li]; ai++) { result = result * 31 + Objects.hash(leafValues[li][ai]); } } @@ -2501,7 +2550,7 @@ public String toString() { } else if (leafCount > 0) { StringBuilder arrAsString = new StringBuilder("["); for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { + for (int ai = 0; ai < leafSizes[li]; ai++) { arrAsString.append(leafValues[li][ai]).append(", "); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/LongSegmentedSortedMultiset.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/LongSegmentedSortedMultiset.java index ba203ad2526..af020ae20d4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/LongSegmentedSortedMultiset.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/LongSegmentedSortedMultiset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedMultiset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSegmentedSortedMultiset and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssms; import java.time.Instant; @@ -43,16 +42,16 @@ public final class LongSegmentedSortedMultiset implements SegmentedSortedMultiSe private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private long [] directoryValues; - private long [] directoryCount; + private long[] directoryValues; + private long[] directoryCount; - private int [] leafSizes; - private long [][] leafValues; - private long [][] leafCounts; + private int[] leafSizes; + private long[][] leafValues; + private long[][] leafCounts; // region Deltas private transient boolean accumulateDeltas = false; @@ -62,7 +61,7 @@ public final class LongSegmentedSortedMultiset implements SegmentedSortedMultiSe // endregion Deltas - //region Constructor + // region Constructor /** * Create a LongSegmentedSortedArray with the given leafSize. * @@ -73,9 +72,9 @@ public LongSegmentedSortedMultiset(int leafSize) { leafCount = 0; size = 0; } - //endregion Constructor + // endregion Constructor - //region Insertion + // region Insertion @Override public boolean insert(WritableChunk valuesToInsert, WritableIntChunk counts) { final long beforeSize = size(); @@ -83,10 +82,13 @@ public boolean insert(WritableChunk valuesToInsert, WritableIn return beforeSize != size(); } - private int insertExistingIntoLeaf(WritableLongChunk valuesToInsert, WritableIntChunk counts, int ripos, MutableInt wipos, int leafSize, long [] leafValues, long [] leafCounts, long maxInsert, boolean lastLeaf) { + private int insertExistingIntoLeaf(WritableLongChunk valuesToInsert, + WritableIntChunk counts, int ripos, MutableInt wipos, int leafSize, long[] leafValues, + long[] leafCounts, long maxInsert, boolean lastLeaf) { int rlpos = 0; long nextValue; - while (rlpos < leafSize && ripos < valuesToInsert.size() && (leq(nextValue = valuesToInsert.get(ripos), maxInsert) || lastLeaf)) { + while (rlpos < leafSize && ripos < valuesToInsert.size() + && (leq(nextValue = valuesToInsert.get(ripos), maxInsert) || lastLeaf)) { if (gt(leafValues[rlpos], nextValue)) { // we're not going to find nextValue in this leaf, so we skip over it valuesToInsert.set(wipos.intValue(), nextValue); @@ -102,10 +104,12 @@ private int insertExistingIntoLeaf(WritableLongChunk valuesToI } } else if (rlpos == leafSize) { // we have hit the end of the leaf, we can not insert any value that is less than maxvalue - final int lastInsert = lastLeaf ? valuesToInsert.size() : upperBound(valuesToInsert, ripos, valuesToInsert.size(), maxInsert); + final int lastInsert = lastLeaf ? valuesToInsert.size() + : upperBound(valuesToInsert, ripos, valuesToInsert.size(), maxInsert); // noinspection unchecked - valuesToInsert.copyFromTypedChunk((WritableLongChunk)valuesToInsert, ripos, wipos.intValue(), lastInsert - ripos); + valuesToInsert.copyFromTypedChunk((WritableLongChunk) valuesToInsert, ripos, wipos.intValue(), + lastInsert - ripos); counts.copyFromTypedChunk(counts, ripos, wipos.intValue(), lastInsert - ripos); wipos.add(lastInsert - ripos); ripos = lastInsert; @@ -115,7 +119,8 @@ private int insertExistingIntoLeaf(WritableLongChunk valuesToI return ripos; } - private void distributeNewIntoLeaves(LongChunk valuesToInsert, IntChunk counts, final int insertStart, final int insertCount, int firstLeaf, int requiredLeaves, int newLeafSize) { + private void distributeNewIntoLeaves(LongChunk valuesToInsert, IntChunk counts, + final int insertStart, final int insertCount, int firstLeaf, int requiredLeaves, int newLeafSize) { Assert.gtZero(insertCount, "insertCount"); final int valuesPerLeaf = valuesPerLeaf(newLeafSize, requiredLeaves); @@ -159,12 +164,14 @@ private void distributeNewIntoLeaves(LongChunk valuesToInsert, if (wpos >= 0 && iwins > minGallop) { // find the smallest insert value greater than the leafValue, but do not go beyond the beginning of // the leaf we are writing to - final int minInsert = gallopBound(valuesToInsert, Math.max(insertStart, ripos - wpos), ripos + 1, leafValue); + final int minInsert = + gallopBound(valuesToInsert, Math.max(insertStart, ripos - wpos), ripos + 1, leafValue); final int gallopLength = ripos - minInsert + 1; if (gallopLength > 0) { - valuesToInsert.copyToTypedArray(minInsert, leafValues[wleaf], wpos - gallopLength + 1, gallopLength); + valuesToInsert.copyToTypedArray(minInsert, leafValues[wleaf], wpos - gallopLength + 1, + gallopLength); while (ripos >= minInsert) { leafCounts[wleaf][wpos--] = counts.get(ripos--); } @@ -190,12 +197,15 @@ private void distributeNewIntoLeaves(LongChunk valuesToInsert, if (lwins > minGallop) { // find the smallest leaf value greater than the insertValue, but do not go beyond the beginning of // the leaf we are writing to - final int minInsert = gallopBound(leafValues[firstLeaf], Math.max(0, rlpos - wpos), rlpos + 1, insertValue); + final int minInsert = + gallopBound(leafValues[firstLeaf], Math.max(0, rlpos - wpos), rlpos + 1, insertValue); final int gallopLength = rlpos - minInsert + 1; if (gallopLength > 0) { - System.arraycopy(leafValues[firstLeaf], minInsert, leafValues[wleaf], wpos - gallopLength + 1, gallopLength); - System.arraycopy(leafCounts[firstLeaf], minInsert, leafCounts[wleaf], wpos - gallopLength + 1, gallopLength); + System.arraycopy(leafValues[firstLeaf], minInsert, leafValues[wleaf], wpos - gallopLength + 1, + gallopLength); + System.arraycopy(leafCounts[firstLeaf], minInsert, leafCounts[wleaf], wpos - gallopLength + 1, + gallopLength); rlpos -= gallopLength; wpos -= gallopLength; remaining -= gallopLength; @@ -246,8 +256,7 @@ private void distributeNewIntoLeaves(LongChunk valuesToInsert, wpos = valuesPerLeaf - 1; wleaf--; } - } - else { + } else { assert rlpos >= 0; // we need to copy the rest of the leaf values @@ -270,7 +279,9 @@ private void distributeNewIntoLeaves(LongChunk valuesToInsert, size += insertCount; } - private void insertNewIntoLeaf(WritableLongChunk valuesToInsert, WritableIntChunk counts, int insertStart, int insertCount, int leafSize, long [] leafValues, long [] leafCounts) { + private void insertNewIntoLeaf(WritableLongChunk valuesToInsert, + WritableIntChunk counts, int insertStart, int insertCount, int leafSize, long[] leafValues, + long[] leafCounts) { assert insertCount > 0; // we start at the end of the leaf and insert values, picking off the correct value as we go @@ -342,7 +353,8 @@ private void insertNewIntoLeaf(WritableLongChunk valuesToInser rlpos -= gallopLength; wpos -= gallopLength; if (rlpos == -1) { - copyRemainingValuesToLeaf(valuesToInsert, counts, insertStart, leafValues, leafCounts, ripos); + copyRemainingValuesToLeaf(valuesToInsert, counts, insertStart, leafValues, leafCounts, + ripos); return; } } @@ -357,34 +369,38 @@ private void insertNewIntoLeaf(WritableLongChunk valuesToInser } } - private void copyRemainingValuesToLeaf(WritableLongChunk valuesToInsert, WritableIntChunk counts, int insertStart, long[] leafValues, long[] leafCounts, int ripos) { + private void copyRemainingValuesToLeaf(WritableLongChunk valuesToInsert, + WritableIntChunk counts, int insertStart, long[] leafValues, long[] leafCounts, int ripos) { valuesToInsert.copyToTypedArray(insertStart, leafValues, 0, ripos - insertStart + 1); for (int ii = 0; ii < ripos - insertStart + 1; ++ii) { leafCounts[ii] = counts.get(ii + insertStart); } } - private void maybeCompact(WritableLongChunk valuesToInsert, WritableIntChunk counts, int ripos, int wipos) { + private void maybeCompact(WritableLongChunk valuesToInsert, WritableIntChunk counts, + int ripos, int wipos) { if (wipos == ripos) { return; } // we've found something to compact away final int originalSize = valuesToInsert.size(); final int toCopy = originalSize - ripos; - //noinspection unchecked - how the heck does this type not actuall work? - valuesToInsert.copyFromTypedChunk((LongChunk)valuesToInsert, ripos, wipos, toCopy); + // noinspection unchecked - how the heck does this type not actuall work? + valuesToInsert.copyFromTypedChunk((LongChunk) valuesToInsert, ripos, wipos, toCopy); counts.copyFromChunk(counts, ripos, wipos, toCopy); valuesToInsert.setSize(wipos + toCopy); counts.setSize(wipos + toCopy); } - private void insertExisting(WritableLongChunk valuesToInsert, WritableIntChunk counts) { + private void insertExisting(WritableLongChunk valuesToInsert, + WritableIntChunk counts) { if (leafCount == 0) { return; } if (leafCount == 1) { final MutableInt wipos = new MutableInt(0); - final int ripos = insertExistingIntoLeaf(valuesToInsert, counts, 0, wipos, size, directoryValues, directoryCount, NULL_LONG, true); + final int ripos = insertExistingIntoLeaf(valuesToInsert, counts, 0, wipos, size, directoryValues, + directoryCount, NULL_LONG, true); maybeCompact(valuesToInsert, counts, ripos, wipos.intValue()); return; } @@ -399,7 +415,8 @@ private void insertExisting(WritableLongChunk valuesToInsert, // find the thing in directoryValues final boolean lastLeaf = nextLeaf == leafCount - 1; final long maxValue = lastLeaf ? NULL_LONG : directoryValues[nextLeaf]; - ripos = insertExistingIntoLeaf(valuesToInsert, counts, ripos, wipos, leafSizes[nextLeaf], leafValues[nextLeaf], leafCounts[nextLeaf], maxValue, lastLeaf); + ripos = insertExistingIntoLeaf(valuesToInsert, counts, ripos, wipos, leafSizes[nextLeaf], + leafValues[nextLeaf], leafCounts[nextLeaf], maxValue, lastLeaf); if (lastLeaf) { break; } @@ -455,7 +472,8 @@ private void insert(WritableLongChunk valuesToInsert, Writable } if (desiredLeafCount == 1) { // we should fit into the existing leaf - insertNewIntoLeaf(valuesToInsert, counts, 0, valuesToInsert.size(), size, directoryValues, directoryCount); + insertNewIntoLeaf(valuesToInsert, counts, 0, valuesToInsert.size(), size, directoryValues, + directoryCount); size = newSize; validate(); return; @@ -492,11 +510,11 @@ private void insert(WritableLongChunk valuesToInsert, Writable makeLeafHole(nextLeaf + 1, requiredLeaves - 1); leafCount += (requiredLeaves - 1); } - distributeNewIntoLeaves(valuesToInsert, counts, rpos, insertIntoLeaf, nextLeaf, requiredLeaves, newLeafSize); + distributeNewIntoLeaves(valuesToInsert, counts, rpos, insertIntoLeaf, nextLeaf, requiredLeaves, + newLeafSize); rpos += insertIntoLeaf; - } - while (rpos < valuesToInsert.size()); + } while (rpos < valuesToInsert.size()); validate(); } @@ -533,7 +551,8 @@ private void doAppend(WritableLongChunk valuesToInsert, Writab int rpos = 0; if (lastLeafFree > 0) { final int insertCount = Math.min(lastLeafFree, valuesToInsert.size()); - insertNewIntoLeaf(valuesToInsert, counts, rpos, insertCount, lastLeafSize, leafValues[lastLeafIndex], leafCounts[lastLeafIndex]); + insertNewIntoLeaf(valuesToInsert, counts, rpos, insertCount, lastLeafSize, leafValues[lastLeafIndex], + leafCounts[lastLeafIndex]); leafSizes[lastLeafIndex] += insertCount; rpos += insertCount; if (insertCount == valuesToInsert.size()) { @@ -629,7 +648,8 @@ private void makeLeavesInitial(LongChunk values, IntChunk values, IntChunk counts, int rpos, int startLeaf, int valuesPerLeaf) { + private void packValuesIntoLeaves(LongChunk values, IntChunk counts, int rpos, + int startLeaf, int valuesPerLeaf) { while (rpos < values.size()) { final int thisLeafSize = Math.min(valuesPerLeaf, values.size() - rpos); leafSizes[startLeaf] = thisLeafSize; @@ -647,7 +667,7 @@ private void packValuesIntoLeaves(LongChunk values, IntChunk>> 1; final long testValue = valuesToSearch[mid]; @@ -725,7 +745,7 @@ private static int gallopBound(LongChunk valuesToSearch, int lo, * @param searchValue the value to find * @return the lowest index that is greater than or equal to valuesToSearch */ - private static int gallopBound(long [] valuesToSearch, int lo, int hi, long searchValue) { + private static int gallopBound(long[] valuesToSearch, int lo, int hi, long searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final long testValue = valuesToSearch[mid]; @@ -752,7 +772,7 @@ private static int gallopBound(long [] valuesToSearch, int lo, int hi, long sear * @param searchValue the value to find * @return the highest index that is less than or equal to valuesToSearch */ - private static int upperBound(long [] valuesToSearch, int lo, int hi, long searchValue) { + private static int upperBound(long[] valuesToSearch, int lo, int hi, long searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final long testValue = valuesToSearch[mid]; @@ -800,7 +820,7 @@ private static int upperBound(LongChunk valuesToSearch, int lo * @param searchValue the value to find * @return the lowest index that is greater than to valuesToSearch */ - private static int lowerBoundExclusive(long [] valuesToSearch, int lo, int hi, long searchValue) { + private static int lowerBoundExclusive(long[] valuesToSearch, int lo, int hi, long searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final long testValue = valuesToSearch[mid]; @@ -818,22 +838,24 @@ private static int lowerBoundExclusive(long [] valuesToSearch, int lo, int hi, l return lo; } - //endregion + // endregion - //region Removal + // region Removal /** - * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. + * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. * - * @param valuesToRemove the valuesToRemove to remove + * @param valuesToRemove the valuesToRemove to remove */ @Override - public boolean remove(RemoveContext removeContext, WritableChunk valuesToRemove, WritableIntChunk counts) { + public boolean remove(RemoveContext removeContext, WritableChunk valuesToRemove, + WritableIntChunk counts) { final long beforeSize = size(); remove(removeContext, valuesToRemove.asLongChunk(), counts); return beforeSize != size(); } - private void remove(RemoveContext removeContext, LongChunk valuesToRemove, IntChunk counts) { + private void remove(RemoveContext removeContext, LongChunk valuesToRemove, + IntChunk counts) { validate(); validateInputs(valuesToRemove, counts); @@ -846,7 +868,8 @@ private void remove(RemoveContext removeContext, LongChunk val if (leafCount == 1) { final MutableInt sz = new MutableInt(size); - final int consumed = removeFromLeaf(removeContext, valuesToRemove, counts, 0, valuesToRemove.size(), directoryValues, directoryCount, sz); + final int consumed = removeFromLeaf(removeContext, valuesToRemove, counts, 0, valuesToRemove.size(), + directoryValues, directoryCount, sz); assert consumed == valuesToRemove.size(); if (sz.intValue() == 0) { clear(); @@ -854,7 +877,7 @@ private void remove(RemoveContext removeContext, LongChunk val size = sz.intValue(); } } else { - removeContext.ensureLeafCount((leafCount + 1)/ 2); + removeContext.ensureLeafCount((leafCount + 1) / 2); int rpos = 0; int nextLeaf = 0; @@ -865,7 +888,8 @@ private void remove(RemoveContext removeContext, LongChunk val nextLeaf = lowerBound(directoryValues, nextLeaf, leafCount - 1, firstValueToRemove); final MutableInt sz = new MutableInt(leafSizes[nextLeaf]); - rpos = removeFromLeaf(removeContext, valuesToRemove, counts, rpos, valuesToRemove.size(), leafValues[nextLeaf], leafCounts[nextLeaf], sz); + rpos = removeFromLeaf(removeContext, valuesToRemove, counts, rpos, valuesToRemove.size(), + leafValues[nextLeaf], leafCounts[nextLeaf], sz); size -= leafSizes[nextLeaf] - sz.intValue(); leafSizes[nextLeaf] = sz.intValue(); if (sz.intValue() == 0) { @@ -873,7 +897,8 @@ private void remove(RemoveContext removeContext, LongChunk val } else { // we figure out if we can be pulled back into the prior leaf final int priorLeaf; - if (cl >= 0 && removeContext.compactionLeafs[cl] + removeContext.compactionLeafLengths[cl] == nextLeaf) { + if (cl >= 0 && removeContext.compactionLeafs[cl] + + removeContext.compactionLeafLengths[cl] == nextLeaf) { // we need to go to one leaf before our compaction length, if we happen to be removing all // the prior leaves we end up with a negative number here. priorLeaf = removeContext.compactionLeafs[cl] - 1; @@ -896,8 +921,7 @@ private void remove(RemoveContext removeContext, LongChunk val mergeTwoLeavesBack(priorLeaf, nextLeaf); cl = markLeafForRemoval(removeContext, nextLeaf, cl); } - } - else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + 1] <= leafSize) { + } else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + 1] <= leafSize) { // we shove ourselves forward into the next leaf mergeTwoLeavesForward(nextLeaf, nextLeaf + 1); cl = markLeafForRemoval(removeContext, nextLeaf, cl); @@ -906,8 +930,7 @@ else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + nextLeaf++; validateCompaction(removeContext, cl); - } - while (rpos < valuesToRemove.size()); + } while (rpos < valuesToRemove.size()); if (size == 0) { clear(); @@ -944,8 +967,10 @@ private void mergeTwoLeavesForward(int firstLeafSource, int secondLeafDestinatio final int firstSourceSize = leafSizes[firstLeafSource]; final int secondDestinationSize = leafSizes[secondLeafDestination]; // first make a hole - System.arraycopy(leafValues[secondLeafDestination], 0, leafValues[secondLeafDestination], firstSourceSize, secondDestinationSize); - System.arraycopy(leafCounts[secondLeafDestination], 0, leafCounts[secondLeafDestination], firstSourceSize, secondDestinationSize); + System.arraycopy(leafValues[secondLeafDestination], 0, leafValues[secondLeafDestination], firstSourceSize, + secondDestinationSize); + System.arraycopy(leafCounts[secondLeafDestination], 0, leafCounts[secondLeafDestination], firstSourceSize, + secondDestinationSize); // now copy the first leaf into that hole System.arraycopy(leafValues[firstLeafSource], 0, leafValues[secondLeafDestination], 0, firstSourceSize); System.arraycopy(leafCounts[firstLeafSource], 0, leafCounts[secondLeafDestination], 0, firstSourceSize); @@ -961,14 +986,18 @@ private void mergeThreeLeavesForward(int firstLeafSource, int secondLeafSource, final int thirdDestinationSize = leafSizes[thirdLeafDestination]; // first make a hole - System.arraycopy(leafValues[thirdLeafDestination], 0, leafValues[thirdLeafDestination], totalSourceSize, thirdDestinationSize); - System.arraycopy(leafCounts[thirdLeafDestination], 0, leafCounts[thirdLeafDestination], totalSourceSize, thirdDestinationSize); + System.arraycopy(leafValues[thirdLeafDestination], 0, leafValues[thirdLeafDestination], totalSourceSize, + thirdDestinationSize); + System.arraycopy(leafCounts[thirdLeafDestination], 0, leafCounts[thirdLeafDestination], totalSourceSize, + thirdDestinationSize); // now copy the first leaf into that hole System.arraycopy(leafValues[firstLeafSource], 0, leafValues[thirdLeafDestination], 0, firstSourceSize); System.arraycopy(leafCounts[firstLeafSource], 0, leafCounts[thirdLeafDestination], 0, firstSourceSize); - System.arraycopy(leafValues[secondLeafSource], 0, leafValues[thirdLeafDestination], firstSourceSize, secondSourceSize); - System.arraycopy(leafCounts[secondLeafSource], 0, leafCounts[thirdLeafDestination], firstSourceSize, secondSourceSize); + System.arraycopy(leafValues[secondLeafSource], 0, leafValues[thirdLeafDestination], firstSourceSize, + secondSourceSize); + System.arraycopy(leafCounts[secondLeafSource], 0, leafCounts[thirdLeafDestination], firstSourceSize, + secondSourceSize); leafSizes[thirdLeafDestination] += totalSourceSize; leafSizes[firstLeafSource] = 0; @@ -1002,7 +1031,8 @@ private int addLeafToLastRemovalRange(RemoveContext removeContext, int leafToRem removeContext.compactionLeafLengths[cl]++; // we might need to collapse two adjacent ranges in the compaction - if (cl > 0 && removeContext.compactionLeafs[cl - 1] + removeContext.compactionLeafLengths[cl - 1] == removeContext.compactionLeafs[cl]) { + if (cl > 0 && removeContext.compactionLeafs[cl - 1] + + removeContext.compactionLeafLengths[cl - 1] == removeContext.compactionLeafs[cl]) { removeContext.compactionLeafLengths[cl - 1] += removeContext.compactionLeafLengths[cl]; cl--; } @@ -1059,7 +1089,8 @@ private void maybePromoteLastLeaf() { } } - private int removeFromLeaf(RemoveContext removeContext, LongChunk valuesToRemove, IntChunk counts, int ripos, int end, long[] leafValues, long[] leafCounts, MutableInt sz) { + private int removeFromLeaf(RemoveContext removeContext, LongChunk valuesToRemove, + IntChunk counts, int ripos, int end, long[] leafValues, long[] leafCounts, MutableInt sz) { int rlpos = 0; int cl = -1; while (ripos < end) { @@ -1089,7 +1120,8 @@ private int removeFromLeaf(RemoveContext removeContext, LongChunk valuesToInsert, IntChunk Assert.gtZero(counts.get(ii), "counts.get(ii)"); final long prevValue = valuesToInsert.get(ii - 1); final long curValue = valuesToInsert.get(ii); - Assert.assertion(LongComparisons.lt(prevValue, curValue), "LongComparisons.lt(prevValue, curValue)", prevValue, "prevValue", curValue, "curValue"); + Assert.assertion(LongComparisons.lt(prevValue, curValue), "LongComparisons.lt(prevValue, curValue)", + prevValue, "prevValue", curValue, "curValue"); } } @@ -1204,25 +1237,29 @@ private void validateInternal() { final long lastValue = leafValues[ii][leafSizes[ii] - 1]; if (ii < leafCount - 1) { final long directoryValue = directoryValues[ii]; - Assert.assertion(leq(lastValue, directoryValue), "lt(lastValue, directoryValue)", lastValue, "leafValues[ii][leafSizes[ii] - 1]", directoryValue, "directoryValue"); + Assert.assertion(leq(lastValue, directoryValue), "lt(lastValue, directoryValue)", lastValue, + "leafValues[ii][leafSizes[ii] - 1]", directoryValue, "directoryValue"); if (ii < leafCount - 2) { final long nextDirectoryValue = directoryValues[ii + 1]; - Assert.assertion(lt(directoryValue, nextDirectoryValue), "lt(directoryValue, nextDirectoryValue)", directoryValue, "directoryValue", nextDirectoryValue, "nextDirectoryValue"); + Assert.assertion(lt(directoryValue, nextDirectoryValue), + "lt(directoryValue, nextDirectoryValue)", directoryValue, "directoryValue", + nextDirectoryValue, "nextDirectoryValue"); } final long nextFirstValue = leafValues[ii + 1][0]; - Assert.assertion(lt(directoryValue, nextFirstValue), "lt(directoryValue, nextFirstValue)", directoryValue, "directoryValue", nextFirstValue, "nextFirstValue"); + Assert.assertion(lt(directoryValue, nextFirstValue), "lt(directoryValue, nextFirstValue)", + directoryValue, "directoryValue", nextFirstValue, "nextFirstValue"); } // It would be nice to enable an assertion to make sure we are dense after removals, but the other // reason this assertion can fail is that if we insert into a node that is too large we may have to - // split it. The last node we have could be short, and it might be possible to merge it with the node + // split it. The last node we have could be short, and it might be possible to merge it with the node // afterwards, but we don't do removals during an insertion phase. -// if (ii < leafCount - 1) { -// final int thisLeafSize = leafSizes[ii]; -// final int nextLeafSize = leafSizes[ii + 1]; -// Assert.leq(leafSize, "leafSize", thisLeafSize + nextLeafSize, "thisLeafSize + nextLeafSize"); -// } + // if (ii < leafCount - 1) { + // final int thisLeafSize = leafSizes[ii]; + // final int nextLeafSize = leafSizes[ii + 1]; + // Assert.leq(leafSize, "leafSize", thisLeafSize + nextLeafSize, "thisLeafSize + nextLeafSize"); + // } } validateLeafOrdering(); @@ -1249,7 +1286,8 @@ private static void validateLeaf(long[] values, long[] counts, int size) { Assert.gtZero(counts[ii], "counts[ii]"); final long thisValue = values[ii]; final long nextValue = values[ii + 1]; - Assert.assertion(lt(values[ii], values[ii + 1]), "lt(values[ii], values[ii + 1])", (Long)thisValue, "values[ii]", (Long)nextValue, "values[ii + 1]", ii, "ii"); + Assert.assertion(lt(values[ii], values[ii + 1]), "lt(values[ii], values[ii + 1])", (Long) thisValue, + "values[ii]", (Long) nextValue, "values[ii + 1]", ii, "ii"); } if (size > 0) { Assert.gtZero(counts[size - 1], "counts[size - 1]"); @@ -1274,9 +1312,9 @@ private int computeTotalSize() { return expectedSize; } - //endregion + // endregion - //region Comparisons + // region Comparisons private int getDesiredLeafCount(int newSize) { return (newSize + leafSize - 1) / leafSize; } @@ -1310,10 +1348,12 @@ private static boolean eq(long lhs, long rhs) { return lhs == rhs; // endregion equality function } - //endregion + // endregion @Override - public long totalSize() { return totalSize; } + public long totalSize() { + return totalSize; + } @Override public int getNodeSize() { @@ -1333,8 +1373,7 @@ public Long getMax() { public long getMinLong() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryValues[0]; } return leafValues[0][0]; @@ -1344,8 +1383,7 @@ else if (leafCount == 1) { public long getMinCount() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryCount[0]; } return leafCounts[0][0]; @@ -1354,8 +1392,7 @@ else if (leafCount == 1) { private void addMinCount(long toAdd) { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { directoryCount[0] += toAdd; } else { leafCounts[0][0] += toAdd; @@ -1394,8 +1431,7 @@ private void removeMin() { public long getMaxLong() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryValues[size - 1]; } return leafValues[leafCount - 1][leafSizes[leafCount - 1] - 1]; @@ -1405,8 +1441,7 @@ else if (leafCount == 1) { public long getMaxCount() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryCount[size - 1]; } return leafCounts[leafCount - 1][leafSizes[leafCount - 1] - 1]; @@ -1415,8 +1450,7 @@ else if (leafCount == 1) { private void addMaxCount(long toAdd) { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { directoryCount[size - 1] += toAdd; } else { leafCounts[leafCount - 1][leafSizes[leafCount - 1] - 1] += toAdd; @@ -1443,10 +1477,10 @@ private void removeMax() { } } - //region Moving + // region Moving @Override public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long count) { - final LongSegmentedSortedMultiset destination = (LongSegmentedSortedMultiset)untypedDestination; + final LongSegmentedSortedMultiset destination = (LongSegmentedSortedMultiset) untypedDestination; validate(); destination.validate(); @@ -1459,7 +1493,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (destination.size > 0) { - Assert.assertion(geq(getMinLong(), destination.getMaxLong()), "geq(getMinLong(), destination.getMaxLong())"); + Assert.assertion(geq(getMinLong(), destination.getMaxLong()), + "geq(getMinLong(), destination.getMaxLong())"); } } @@ -1530,7 +1565,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou directoryCount[0] = leftOver; directoryValues[0] = directoryValues[size - 1]; destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1], "destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1]"); + Assert.gtZero(destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1], + "destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1]"); size = 1; } else { directoryValues = null; @@ -1561,8 +1597,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou final int sizeOfLeftOverLeaf = leafSizes[rli]; size -= (sizeOfLeftOverLeaf - 1); - final long [] tmpValues = new long[leafSize]; - final long [] tmpCounts = new long[leafSize]; + final long[] tmpValues = new long[leafSize]; + final long[] tmpCounts = new long[leafSize]; tmpValues[0] = leafValues[rli][sizeOfLeftOverLeaf - 1]; tmpCounts[0] = leftOver; leafValues[rli] = tmpValues; @@ -1570,7 +1606,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou leafSizes[rli] = 1; destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1], "destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1]"); + Assert.gtZero(destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1], + "destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1]"); if (rli < leafCount - 1) { updateDirectory(rli); } @@ -1599,10 +1636,10 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou boolean sourceLeavesMerged = false; if (partialUnique > 0) { - final long [] sourceValues; - final long [] sourceCounts; - final long [] destinationValues; - final long [] destinationCounts; + final long[] sourceValues; + final long[] sourceCounts; + final long[] destinationValues; + final long[] destinationCounts; final int copySize; final int destOffset; if (leafCount == 1) { @@ -1650,10 +1687,12 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (leftOver > 0) { if (destination.directoryCount == null) { destination.leafCounts[wleaf][destOffset + partialUnique - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf][destOffset + partialUnique - 1], "destination.leafCounts[wleaf][destOffset + partialUnique - 1]"); + Assert.gtZero(destination.leafCounts[wleaf][destOffset + partialUnique - 1], + "destination.leafCounts[wleaf][destOffset + partialUnique - 1]"); } else { destination.directoryCount[destination.size - 1] -= leftOver; - Assert.gtZero(destination.directoryCount[destination.size - 1], "destination.directoryCount[destination.size]"); + Assert.gtZero(destination.directoryCount[destination.size - 1], + "destination.directoryCount[destination.size]"); } } @@ -1727,7 +1766,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (size > 0 && destination.size > 0) { - Assert.assertion(geq(getMinLong(), destination.getMaxLong()), "geq(getMinLong(), destination.getMaxLong())"); + Assert.assertion(geq(getMinLong(), destination.getMaxLong()), + "geq(getMinLong(), destination.getMaxLong())"); } } @@ -1744,7 +1784,8 @@ private void updateDirectory(int leaf) { * @param finalSlots how many slots outside of completeLeaves are required * @param completeLeaves how many complete leaves are required * - * @return true if we should put our finalSlots values in the "extra" leaf. False if they should be appended to the last leaf that already exists + * @return true if we should put our finalSlots values in the "extra" leaf. False if they should be appended to the + * last leaf that already exists */ private boolean prepareAppend(int finalSlots, int completeLeaves) { Assert.leq(finalSlots, "finalSlots", leafSize, "leafSize"); @@ -1795,8 +1836,8 @@ private boolean prepareAppend(int finalSlots, int completeLeaves) { * @param initialSlots how many slots outside of a complete leaf will be prepended * @param completeLeaves how many complete leaves will be prepended * - * @return true if the initialSlots values should be copied into their own private leaf, false if they should share space - * with the next leaf + * @return true if the initialSlots values should be copied into their own private leaf, false if they should share + * space with the next leaf */ private boolean preparePrepend(int initialSlots, int completeLeaves) { final int extraLeafCount; @@ -1839,8 +1880,8 @@ private boolean preparePrepend(int initialSlots, int completeLeaves) { if (extraLeafCount == 0 && initialSlots > 0) { // make a hole in the first leaf that still has values if (directoryCount != null) { - final long [] tmpValues = new long[initialSlots + size]; - final long [] tmpCount = new long[initialSlots + size]; + final long[] tmpValues = new long[initialSlots + size]; + final long[] tmpCount = new long[initialSlots + size]; System.arraycopy(directoryValues, 0, tmpValues, initialSlots, size); System.arraycopy(directoryCount, 0, tmpCount, initialSlots, size); directoryValues = tmpValues; @@ -1874,7 +1915,7 @@ private static int countFront(long[] counts, int sz, MutableInt valuesToMove, Mu @Override public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long count) { - final LongSegmentedSortedMultiset destination = (LongSegmentedSortedMultiset)untypedDestination; + final LongSegmentedSortedMultiset destination = (LongSegmentedSortedMultiset) untypedDestination; validate(); destination.validate(); @@ -1887,7 +1928,8 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (destination.size > 0) { - Assert.assertion(leq(getMaxLong(), destination.getMinLong()), "leq(getMaxLong(), destination.getMinLong())"); + Assert.assertion(leq(getMaxLong(), destination.getMinLong()), + "leq(getMaxLong(), destination.getMinLong())"); } } @@ -1948,11 +1990,11 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou final boolean extraLeaf = destination.preparePrepend(slotsInPartialLeaf, completeLeavesToMove); if (slotsInPartialLeaf > 0) { final boolean leftOverExists = leftOver > 0; - final long [] destValues; - final long [] destCounts; + final long[] destValues; + final long[] destCounts; - final long [] srcValues; - final long [] srcCounts; + final long[] srcValues; + final long[] srcCounts; final int srcSize; if (destination.directoryCount != null) { @@ -2025,14 +2067,16 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou System.arraycopy(leafSizes, rleaf + 1, destination.leafSizes, destinationLeaf, completeLeavesToMove); final int directoryMoves; final boolean haveLastSourceDirectoryEntry = rleaf + 1 + completeLeavesToMove < leafCount - 1; - final boolean requireLastDestinationDirectoryEntry = destination.leafCount > (destinationLeaf + completeLeavesToMove); + final boolean requireLastDestinationDirectoryEntry = + destination.leafCount > (destinationLeaf + completeLeavesToMove); if (haveLastSourceDirectoryEntry && requireLastDestinationDirectoryEntry) { directoryMoves = completeLeavesToMove; } else { directoryMoves = completeLeavesToMove - 1; } if (directoryMoves > 0) { - System.arraycopy(directoryValues, rleaf + 1, destination.directoryValues, destinationLeaf, directoryMoves); + System.arraycopy(directoryValues, rleaf + 1, destination.directoryValues, destinationLeaf, + directoryMoves); } if (requireLastDestinationDirectoryEntry) { destination.updateDirectory(destinationLeaf + completeLeavesToMove - 1); @@ -2066,9 +2110,11 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou final int firstLeafTozero = hasLeftOverSlot ? rleaf + 2 : rleaf + 1; Arrays.fill(leafValues, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, null); Arrays.fill(leafCounts, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, null); - Arrays.fill(leafSizes, firstLeafTozero , firstLeafTozero + numberOfLeavesToRemove, 0); + Arrays.fill(leafSizes, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, 0); if (directoryMoves > 0) { - Arrays.fill(directoryValues, firstLeafTozero, firstLeafTozero + directoryMoves - (completeLeavesToMove - numberOfLeavesToRemove), NULL_LONG); + Arrays.fill(directoryValues, firstLeafTozero, + firstLeafTozero + directoryMoves - (completeLeavesToMove - numberOfLeavesToRemove), + NULL_LONG); } maybePromoteLastLeaf(); } @@ -2087,7 +2133,8 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (size > 0 && destination.size > 0) { - Assert.assertion(leq(getMaxLong(), destination.getMinLong()), "leq(getMaxLong(), destination.getMinLong())"); + Assert.assertion(leq(getMaxLong(), destination.getMinLong()), + "leq(getMaxLong(), destination.getMinLong())"); } } } @@ -2107,7 +2154,7 @@ private static int countBack(long[] counts, int sz, MutableInt valuesToMove, Mut } return sz - rpos; } - //endregion + // endregion @Override public WritableLongChunk keyChunk() { @@ -2122,7 +2169,7 @@ public void fillKeyChunk(WritableChunk keyChunk, int offset) { } private void fillKeyChunk(WritableLongChunk keyChunk, int offset) { - if(keyChunk.capacity() < offset + intSize()) { + if (keyChunk.capacity() < offset + intSize()) { throw new IllegalArgumentException("Input chunk is not large enough"); } @@ -2153,37 +2200,38 @@ public WritableLongChunk countChunk() { } private long[] keyArray() { - return keyArray(0, size-1); + return keyArray(0, size - 1); } /** * Create an array of the current keys beginning with the first (inclusive) and ending with the last (inclusive) + * * @param first * @param last * @return */ private long[] keyArray(long first, long last) { - if(isEmpty()) { + if (isEmpty()) { return ArrayTypeUtils.EMPTY_LONG_ARRAY; } - final int totalSize = (int)(last - first + 1); + final int totalSize = (int) (last - first + 1); final long[] keyArray = new long[totalSize]; if (leafCount == 1) { - System.arraycopy(directoryValues, (int)first, keyArray, 0, totalSize); + System.arraycopy(directoryValues, (int) first, keyArray, 0, totalSize); } else if (leafCount > 0) { int offset = 0; int copied = 0; int skipped = 0; for (int li = 0; li < leafCount && copied < totalSize; ++li) { - if(skipped < first) { - final int toSkip = (int)first - skipped; - if(toSkip < leafSizes[li]) { + if (skipped < first) { + final int toSkip = (int) first - skipped; + if (toSkip < leafSizes[li]) { final int nToCopy = Math.min(leafSizes[li] - toSkip, totalSize); System.arraycopy(leafValues[li], toSkip, keyArray, 0, nToCopy); copied = nToCopy; offset = copied; - skipped = (int)first; + skipped = (int) first; } else { skipped += leafSizes[li]; } @@ -2204,7 +2252,7 @@ private void maybeAccumulateAdditions(WritableLongChunk values return; } - if(prevValues == null) { + if (prevValues == null) { prevValues = new LongVectorDirect(keyArray()); } @@ -2212,7 +2260,7 @@ private void maybeAccumulateAdditions(WritableLongChunk values added = new TLongHashSet(valuesToInsert.size()); } - if(removed == null) { + if (removed == null) { for (int ii = 0; ii < valuesToInsert.size(); ii++) { added.add(valuesToInsert.get(ii)); } @@ -2229,19 +2277,19 @@ private void maybeAccumulateAdditions(WritableLongChunk values } private void maybeAccumulateRemoval(long valueRemoved) { - if(!accumulateDeltas) { + if (!accumulateDeltas) { return; } - if(prevValues == null) { + if (prevValues == null) { prevValues = new LongVectorDirect(keyArray()); } - if(removed == null) { + if (removed == null) { removed = new TLongHashSet(); } - if(added == null || !added.remove(valueRemoved)) { + if (added == null || !added.remove(valueRemoved)) { removed.add(valueRemoved); } } @@ -2283,16 +2331,16 @@ public LongVector getPrevValues() { // region LongVector @Override public long get(long index) { - if(index < 0 || index > size()) { + if (index < 0 || index > size()) { throw new IllegalArgumentException("Illegal index " + index + " current size: " + size()); } - if(leafCount == 1) { + if (leafCount == 1) { return directoryValues[(int) index]; } else { - for(int ii = 0; ii < leafCount; ii++) { - if(index < leafSizes[ii]) { - return leafValues[ii][(int)(index)]; + for (int ii = 0; ii < leafCount; ii++) { + if (index < leafSizes[ii]) { + return leafValues[ii][(int) (index)]; } index -= leafSizes[ii]; } @@ -2336,21 +2384,21 @@ public long size() { public LongVector getDirect() { return new LongVectorDirect(keyArray()); } - //endregion + // endregion - //region VectorEquals + // region VectorEquals private boolean equalsArray(LongVector o) { - if(size() != o.size()) { + if (size() != o.size()) { return false; } - if(leafCount == 1) { - for(int ii = 0; ii < size; ii++) { - //region DirObjectEquals - if(directoryValues[ii] != o.get(ii)) { + if (leafCount == 1) { + for (int ii = 0; ii < size; ii++) { + // region DirObjectEquals + if (directoryValues[ii] != o.get(ii)) { return false; } - //endregion DirObjectEquals + // endregion DirObjectEquals } return true; @@ -2358,8 +2406,8 @@ private boolean equalsArray(LongVector o) { int nCompared = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - if(leafValues[li][ai] != o.get(nCompared++)) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + if (leafValues[li][ai] != o.get(nCompared++)) { return false; } } @@ -2367,29 +2415,29 @@ private boolean equalsArray(LongVector o) { return true; } - //endregion VectorEquals + // endregion VectorEquals private boolean equalsArray(ObjectVector o) { - //region EqualsArrayTypeCheck - if(o.getComponentType() != long.class && o.getComponentType() != Long.class) { + // region EqualsArrayTypeCheck + if (o.getComponentType() != long.class && o.getComponentType() != Long.class) { return false; } - //endregion EqualsArrayTypeCheck + // endregion EqualsArrayTypeCheck - if(size() != o.size()) { + if (size() != o.size()) { return false; } - if(leafCount == 1) { - for(int ii = 0; ii < size; ii++) { - final Long val = (Long)o.get(ii); - //region VectorEquals - if(directoryValues[ii] == NULL_LONG && val != null && val != NULL_LONG) { + if (leafCount == 1) { + for (int ii = 0; ii < size; ii++) { + final Long val = (Long) o.get(ii); + // region VectorEquals + if (directoryValues[ii] == NULL_LONG && val != null && val != NULL_LONG) { return false; } - //endregion VectorEquals + // endregion VectorEquals - if(!Objects.equals(directoryValues[ii], val)) { + if (!Objects.equals(directoryValues[ii], val)) { return false; } } @@ -2399,15 +2447,15 @@ private boolean equalsArray(ObjectVector o) { int nCompared = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - final Long val = (Long)o.get(nCompared++); - //region VectorEquals - if(leafValues[li][ai] == NULL_LONG && val != null && val != NULL_LONG) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + final Long val = (Long) o.get(nCompared++); + // region VectorEquals + if (leafValues[li][ai] == NULL_LONG && val != null && val != NULL_LONG) { return false; } - //endregion VectorEquals + // endregion VectorEquals - if(!Objects.equals(leafValues[li][ai], val)) { + if (!Objects.equals(leafValues[li][ai], val)) { return false; } } @@ -2418,36 +2466,37 @@ private boolean equalsArray(ObjectVector o) { @Override public boolean equals(Object o) { - if (this == o) return true; + if (this == o) + return true; if (!(o instanceof LongSegmentedSortedMultiset)) { - //region VectorEquals - if(o instanceof LongVector) { - return equalsArray((LongVector)o); + // region VectorEquals + if (o instanceof LongVector) { + return equalsArray((LongVector) o); } - //endregion VectorEquals + // endregion VectorEquals - if(o instanceof ObjectVector) { - return equalsArray((ObjectVector)o); + if (o instanceof ObjectVector) { + return equalsArray((ObjectVector) o); } return false; } final LongSegmentedSortedMultiset that = (LongSegmentedSortedMultiset) o; - if(size() != that.size()) { + if (size() != that.size()) { return false; } - if(leafCount == 1) { - if(that.leafCount != 1 || size != that.size) { + if (leafCount == 1) { + if (that.leafCount != 1 || size != that.size) { return false; } - for(int ii = 0; ii < size; ii++) { - //region DirObjectEquals - if(directoryValues[ii] != that.directoryValues[ii]) { + for (int ii = 0; ii < size; ii++) { + // region DirObjectEquals + if (directoryValues[ii] != that.directoryValues[ii]) { return false; } - //endregion DirObjectEquals + // endregion DirObjectEquals } return true; @@ -2456,19 +2505,19 @@ public boolean equals(Object o) { int otherLeaf = 0; int otherLeafIdx = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - //region LeafObjectEquals - if(leafValues[li][ai] != that.leafValues[otherLeaf][otherLeafIdx++]) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + // region LeafObjectEquals + if (leafValues[li][ai] != that.leafValues[otherLeaf][otherLeafIdx++]) { return false; } - //endregion LeafObjectEquals + // endregion LeafObjectEquals - if(otherLeafIdx >= that.leafSizes[otherLeaf]) { + if (otherLeafIdx >= that.leafSizes[otherLeaf]) { otherLeaf++; otherLeafIdx = 0; } - if(otherLeaf >= that.leafCount) { + if (otherLeaf >= that.leafCount) { return false; } } @@ -2479,9 +2528,9 @@ public boolean equals(Object o) { @Override public int hashCode() { - if(leafCount == 1) { + if (leafCount == 1) { int result = Objects.hash(size); - for(int ii = 0; ii < size; ii++) { + for (int ii = 0; ii < size; ii++) { result = result * 31 + Objects.hash(directoryValues[ii]); } @@ -2491,7 +2540,7 @@ public int hashCode() { int result = Objects.hash(leafCount, size); for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { + for (int ai = 0; ai < leafSizes[li]; ai++) { result = result * 31 + Objects.hash(leafValues[li][ai]); } } @@ -2506,7 +2555,7 @@ public String toString() { } else if (leafCount > 0) { StringBuilder arrAsString = new StringBuilder("["); for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { + for (int ai = 0; ai < leafSizes[li]; ai++) { arrAsString.append(leafValues[li][ai]).append(", "); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/ObjectSegmentedSortedMultiset.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/ObjectSegmentedSortedMultiset.java index 48fd143c7e4..96ba9f08bb5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/ObjectSegmentedSortedMultiset.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/ObjectSegmentedSortedMultiset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedMultiset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSegmentedSortedMultiset and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssms; import gnu.trove.set.hash.THashSet; @@ -40,16 +39,16 @@ public final class ObjectSegmentedSortedMultiset implements SegmentedSortedMulti private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private Object [] directoryValues; - private long [] directoryCount; + private Object[] directoryValues; + private long[] directoryCount; - private int [] leafSizes; - private Object [][] leafValues; - private long [][] leafCounts; + private int[] leafSizes; + private Object[][] leafValues; + private long[][] leafCounts; // region Deltas private transient boolean accumulateDeltas = false; @@ -59,7 +58,7 @@ public final class ObjectSegmentedSortedMultiset implements SegmentedSortedMulti // endregion Deltas - //region Constructor + // region Constructor private final Class componentType; /** @@ -79,9 +78,9 @@ public ObjectSegmentedSortedMultiset(int leafSize, Class componentType) { public Class getComponentType() { return componentType; } - //endregion Constructor + // endregion Constructor - //region Insertion + // region Insertion @Override public boolean insert(WritableChunk valuesToInsert, WritableIntChunk counts) { final long beforeSize = size(); @@ -89,10 +88,13 @@ public boolean insert(WritableChunk valuesToInsert, WritableIn return beforeSize != size(); } - private int insertExistingIntoLeaf(WritableObjectChunk valuesToInsert, WritableIntChunk counts, int ripos, MutableInt wipos, int leafSize, Object [] leafValues, long [] leafCounts, Object maxInsert, boolean lastLeaf) { + private int insertExistingIntoLeaf(WritableObjectChunk valuesToInsert, + WritableIntChunk counts, int ripos, MutableInt wipos, int leafSize, Object[] leafValues, + long[] leafCounts, Object maxInsert, boolean lastLeaf) { int rlpos = 0; Object nextValue; - while (rlpos < leafSize && ripos < valuesToInsert.size() && (leq(nextValue = valuesToInsert.get(ripos), maxInsert) || lastLeaf)) { + while (rlpos < leafSize && ripos < valuesToInsert.size() + && (leq(nextValue = valuesToInsert.get(ripos), maxInsert) || lastLeaf)) { if (gt(leafValues[rlpos], nextValue)) { // we're not going to find nextValue in this leaf, so we skip over it valuesToInsert.set(wipos.intValue(), nextValue); @@ -108,10 +110,12 @@ private int insertExistingIntoLeaf(WritableObjectChunk } } else if (rlpos == leafSize) { // we have hit the end of the leaf, we can not insert any value that is less than maxvalue - final int lastInsert = lastLeaf ? valuesToInsert.size() : upperBound(valuesToInsert, ripos, valuesToInsert.size(), maxInsert); + final int lastInsert = lastLeaf ? valuesToInsert.size() + : upperBound(valuesToInsert, ripos, valuesToInsert.size(), maxInsert); // noinspection unchecked - valuesToInsert.copyFromTypedChunk((WritableObjectChunk)valuesToInsert, ripos, wipos.intValue(), lastInsert - ripos); + valuesToInsert.copyFromTypedChunk((WritableObjectChunk) valuesToInsert, ripos, wipos.intValue(), + lastInsert - ripos); counts.copyFromTypedChunk(counts, ripos, wipos.intValue(), lastInsert - ripos); wipos.add(lastInsert - ripos); ripos = lastInsert; @@ -121,7 +125,8 @@ private int insertExistingIntoLeaf(WritableObjectChunk return ripos; } - private void distributeNewIntoLeaves(ObjectChunk valuesToInsert, IntChunk counts, final int insertStart, final int insertCount, int firstLeaf, int requiredLeaves, int newLeafSize) { + private void distributeNewIntoLeaves(ObjectChunk valuesToInsert, IntChunk counts, + final int insertStart, final int insertCount, int firstLeaf, int requiredLeaves, int newLeafSize) { Assert.gtZero(insertCount, "insertCount"); final int valuesPerLeaf = valuesPerLeaf(newLeafSize, requiredLeaves); @@ -165,12 +170,14 @@ private void distributeNewIntoLeaves(ObjectChunk value if (wpos >= 0 && iwins > minGallop) { // find the smallest insert value greater than the leafValue, but do not go beyond the beginning of // the leaf we are writing to - final int minInsert = gallopBound(valuesToInsert, Math.max(insertStart, ripos - wpos), ripos + 1, leafValue); + final int minInsert = + gallopBound(valuesToInsert, Math.max(insertStart, ripos - wpos), ripos + 1, leafValue); final int gallopLength = ripos - minInsert + 1; if (gallopLength > 0) { - valuesToInsert.copyToTypedArray(minInsert, leafValues[wleaf], wpos - gallopLength + 1, gallopLength); + valuesToInsert.copyToTypedArray(minInsert, leafValues[wleaf], wpos - gallopLength + 1, + gallopLength); while (ripos >= minInsert) { leafCounts[wleaf][wpos--] = counts.get(ripos--); } @@ -196,12 +203,15 @@ private void distributeNewIntoLeaves(ObjectChunk value if (lwins > minGallop) { // find the smallest leaf value greater than the insertValue, but do not go beyond the beginning of // the leaf we are writing to - final int minInsert = gallopBound(leafValues[firstLeaf], Math.max(0, rlpos - wpos), rlpos + 1, insertValue); + final int minInsert = + gallopBound(leafValues[firstLeaf], Math.max(0, rlpos - wpos), rlpos + 1, insertValue); final int gallopLength = rlpos - minInsert + 1; if (gallopLength > 0) { - System.arraycopy(leafValues[firstLeaf], minInsert, leafValues[wleaf], wpos - gallopLength + 1, gallopLength); - System.arraycopy(leafCounts[firstLeaf], minInsert, leafCounts[wleaf], wpos - gallopLength + 1, gallopLength); + System.arraycopy(leafValues[firstLeaf], minInsert, leafValues[wleaf], wpos - gallopLength + 1, + gallopLength); + System.arraycopy(leafCounts[firstLeaf], minInsert, leafCounts[wleaf], wpos - gallopLength + 1, + gallopLength); rlpos -= gallopLength; wpos -= gallopLength; remaining -= gallopLength; @@ -252,8 +262,7 @@ private void distributeNewIntoLeaves(ObjectChunk value wpos = valuesPerLeaf - 1; wleaf--; } - } - else { + } else { assert rlpos >= 0; // we need to copy the rest of the leaf values @@ -276,7 +285,9 @@ private void distributeNewIntoLeaves(ObjectChunk value size += insertCount; } - private void insertNewIntoLeaf(WritableObjectChunk valuesToInsert, WritableIntChunk counts, int insertStart, int insertCount, int leafSize, Object [] leafValues, long [] leafCounts) { + private void insertNewIntoLeaf(WritableObjectChunk valuesToInsert, + WritableIntChunk counts, int insertStart, int insertCount, int leafSize, Object[] leafValues, + long[] leafCounts) { assert insertCount > 0; // we start at the end of the leaf and insert values, picking off the correct value as we go @@ -348,7 +359,8 @@ private void insertNewIntoLeaf(WritableObjectChunk val rlpos -= gallopLength; wpos -= gallopLength; if (rlpos == -1) { - copyRemainingValuesToLeaf(valuesToInsert, counts, insertStart, leafValues, leafCounts, ripos); + copyRemainingValuesToLeaf(valuesToInsert, counts, insertStart, leafValues, leafCounts, + ripos); return; } } @@ -363,34 +375,38 @@ private void insertNewIntoLeaf(WritableObjectChunk val } } - private void copyRemainingValuesToLeaf(WritableObjectChunk valuesToInsert, WritableIntChunk counts, int insertStart, Object[] leafValues, long[] leafCounts, int ripos) { + private void copyRemainingValuesToLeaf(WritableObjectChunk valuesToInsert, + WritableIntChunk counts, int insertStart, Object[] leafValues, long[] leafCounts, int ripos) { valuesToInsert.copyToTypedArray(insertStart, leafValues, 0, ripos - insertStart + 1); for (int ii = 0; ii < ripos - insertStart + 1; ++ii) { leafCounts[ii] = counts.get(ii + insertStart); } } - private void maybeCompact(WritableObjectChunk valuesToInsert, WritableIntChunk counts, int ripos, int wipos) { + private void maybeCompact(WritableObjectChunk valuesToInsert, WritableIntChunk counts, + int ripos, int wipos) { if (wipos == ripos) { return; } // we've found something to compact away final int originalSize = valuesToInsert.size(); final int toCopy = originalSize - ripos; - //noinspection unchecked - how the heck does this type not actuall work? - valuesToInsert.copyFromTypedChunk((ObjectChunk)valuesToInsert, ripos, wipos, toCopy); + // noinspection unchecked - how the heck does this type not actuall work? + valuesToInsert.copyFromTypedChunk((ObjectChunk) valuesToInsert, ripos, wipos, toCopy); counts.copyFromChunk(counts, ripos, wipos, toCopy); valuesToInsert.setSize(wipos + toCopy); counts.setSize(wipos + toCopy); } - private void insertExisting(WritableObjectChunk valuesToInsert, WritableIntChunk counts) { + private void insertExisting(WritableObjectChunk valuesToInsert, + WritableIntChunk counts) { if (leafCount == 0) { return; } if (leafCount == 1) { final MutableInt wipos = new MutableInt(0); - final int ripos = insertExistingIntoLeaf(valuesToInsert, counts, 0, wipos, size, directoryValues, directoryCount, null, true); + final int ripos = insertExistingIntoLeaf(valuesToInsert, counts, 0, wipos, size, directoryValues, + directoryCount, null, true); maybeCompact(valuesToInsert, counts, ripos, wipos.intValue()); return; } @@ -405,7 +421,8 @@ private void insertExisting(WritableObjectChunk values // find the thing in directoryValues final boolean lastLeaf = nextLeaf == leafCount - 1; final Object maxValue = lastLeaf ? null : directoryValues[nextLeaf]; - ripos = insertExistingIntoLeaf(valuesToInsert, counts, ripos, wipos, leafSizes[nextLeaf], leafValues[nextLeaf], leafCounts[nextLeaf], maxValue, lastLeaf); + ripos = insertExistingIntoLeaf(valuesToInsert, counts, ripos, wipos, leafSizes[nextLeaf], + leafValues[nextLeaf], leafCounts[nextLeaf], maxValue, lastLeaf); if (lastLeaf) { break; } @@ -461,7 +478,8 @@ private void insert(WritableObjectChunk valuesToInsert } if (desiredLeafCount == 1) { // we should fit into the existing leaf - insertNewIntoLeaf(valuesToInsert, counts, 0, valuesToInsert.size(), size, directoryValues, directoryCount); + insertNewIntoLeaf(valuesToInsert, counts, 0, valuesToInsert.size(), size, directoryValues, + directoryCount); size = newSize; validate(); return; @@ -498,11 +516,11 @@ private void insert(WritableObjectChunk valuesToInsert makeLeafHole(nextLeaf + 1, requiredLeaves - 1); leafCount += (requiredLeaves - 1); } - distributeNewIntoLeaves(valuesToInsert, counts, rpos, insertIntoLeaf, nextLeaf, requiredLeaves, newLeafSize); + distributeNewIntoLeaves(valuesToInsert, counts, rpos, insertIntoLeaf, nextLeaf, requiredLeaves, + newLeafSize); rpos += insertIntoLeaf; - } - while (rpos < valuesToInsert.size()); + } while (rpos < valuesToInsert.size()); validate(); } @@ -539,7 +557,8 @@ private void doAppend(WritableObjectChunk valuesToInse int rpos = 0; if (lastLeafFree > 0) { final int insertCount = Math.min(lastLeafFree, valuesToInsert.size()); - insertNewIntoLeaf(valuesToInsert, counts, rpos, insertCount, lastLeafSize, leafValues[lastLeafIndex], leafCounts[lastLeafIndex]); + insertNewIntoLeaf(valuesToInsert, counts, rpos, insertCount, lastLeafSize, leafValues[lastLeafIndex], + leafCounts[lastLeafIndex]); leafSizes[lastLeafIndex] += insertCount; rpos += insertCount; if (insertCount == valuesToInsert.size()) { @@ -635,7 +654,8 @@ private void makeLeavesInitial(ObjectChunk values, Int packValuesIntoLeaves(values, counts, 0, 0, valuesPerLeaf); } - private void packValuesIntoLeaves(ObjectChunk values, IntChunk counts, int rpos, int startLeaf, int valuesPerLeaf) { + private void packValuesIntoLeaves(ObjectChunk values, IntChunk counts, int rpos, + int startLeaf, int valuesPerLeaf) { while (rpos < values.size()) { final int thisLeafSize = Math.min(valuesPerLeaf, values.size() - rpos); leafSizes[startLeaf] = thisLeafSize; @@ -653,7 +673,7 @@ private void packValuesIntoLeaves(ObjectChunk values, startLeaf++; } } - //endregion + // endregion private void clear() { leafCount = 0; @@ -666,7 +686,7 @@ private void clear() { directoryCount = null; } - //region Bounds search + // region Bounds search /** * Return the lowest index geq valuesToSearch. @@ -677,7 +697,7 @@ private void clear() { * @param searchValue the value to find * @return the lowest index that is greater than or equal to valuesToSearch */ - private static int lowerBound(Object [] valuesToSearch, int lo, int hi, Object searchValue) { + private static int lowerBound(Object[] valuesToSearch, int lo, int hi, Object searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final Object testValue = valuesToSearch[mid]; @@ -731,7 +751,7 @@ private static int gallopBound(ObjectChunk valuesToSearch * @param searchValue the value to find * @return the lowest index that is greater than or equal to valuesToSearch */ - private static int gallopBound(Object [] valuesToSearch, int lo, int hi, Object searchValue) { + private static int gallopBound(Object[] valuesToSearch, int lo, int hi, Object searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final Object testValue = valuesToSearch[mid]; @@ -758,7 +778,7 @@ private static int gallopBound(Object [] valuesToSearch, int lo, int hi, Object * @param searchValue the value to find * @return the highest index that is less than or equal to valuesToSearch */ - private static int upperBound(Object [] valuesToSearch, int lo, int hi, Object searchValue) { + private static int upperBound(Object[] valuesToSearch, int lo, int hi, Object searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final Object testValue = valuesToSearch[mid]; @@ -806,7 +826,7 @@ private static int upperBound(ObjectChunk valuesToSear * @param searchValue the value to find * @return the lowest index that is greater than to valuesToSearch */ - private static int lowerBoundExclusive(Object [] valuesToSearch, int lo, int hi, Object searchValue) { + private static int lowerBoundExclusive(Object[] valuesToSearch, int lo, int hi, Object searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final Object testValue = valuesToSearch[mid]; @@ -824,22 +844,24 @@ private static int lowerBoundExclusive(Object [] valuesToSearch, int lo, int hi, return lo; } - //endregion + // endregion - //region Removal + // region Removal /** - * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. + * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. * - * @param valuesToRemove the valuesToRemove to remove + * @param valuesToRemove the valuesToRemove to remove */ @Override - public boolean remove(RemoveContext removeContext, WritableChunk valuesToRemove, WritableIntChunk counts) { + public boolean remove(RemoveContext removeContext, WritableChunk valuesToRemove, + WritableIntChunk counts) { final long beforeSize = size(); remove(removeContext, valuesToRemove.asObjectChunk(), counts); return beforeSize != size(); } - private void remove(RemoveContext removeContext, ObjectChunk valuesToRemove, IntChunk counts) { + private void remove(RemoveContext removeContext, ObjectChunk valuesToRemove, + IntChunk counts) { validate(); validateInputs(valuesToRemove, counts); @@ -852,7 +874,8 @@ private void remove(RemoveContext removeContext, ObjectChunk= 0 && removeContext.compactionLeafs[cl] + removeContext.compactionLeafLengths[cl] == nextLeaf) { + if (cl >= 0 && removeContext.compactionLeafs[cl] + + removeContext.compactionLeafLengths[cl] == nextLeaf) { // we need to go to one leaf before our compaction length, if we happen to be removing all // the prior leaves we end up with a negative number here. priorLeaf = removeContext.compactionLeafs[cl] - 1; @@ -902,8 +927,7 @@ private void remove(RemoveContext removeContext, ObjectChunk 0 && removeContext.compactionLeafs[cl - 1] + removeContext.compactionLeafLengths[cl - 1] == removeContext.compactionLeafs[cl]) { + if (cl > 0 && removeContext.compactionLeafs[cl - 1] + + removeContext.compactionLeafLengths[cl - 1] == removeContext.compactionLeafs[cl]) { removeContext.compactionLeafLengths[cl - 1] += removeContext.compactionLeafLengths[cl]; cl--; } @@ -1065,7 +1095,8 @@ private void maybePromoteLastLeaf() { } } - private int removeFromLeaf(RemoveContext removeContext, ObjectChunk valuesToRemove, IntChunk counts, int ripos, int end, Object[] leafValues, long[] leafCounts, MutableInt sz) { + private int removeFromLeaf(RemoveContext removeContext, ObjectChunk valuesToRemove, + IntChunk counts, int ripos, int end, Object[] leafValues, long[] leafCounts, MutableInt sz) { int rlpos = 0; int cl = -1; while (ripos < end) { @@ -1095,7 +1126,8 @@ private int removeFromLeaf(RemoveContext removeContext, ObjectChunk valuesToInsert Assert.gtZero(counts.get(ii), "counts.get(ii)"); final Object prevValue = valuesToInsert.get(ii - 1); final Object curValue = valuesToInsert.get(ii); - Assert.assertion(ObjectComparisons.lt(prevValue, curValue), "ObjectComparisons.lt(prevValue, curValue)", prevValue, "prevValue", curValue, "curValue"); + Assert.assertion(ObjectComparisons.lt(prevValue, curValue), "ObjectComparisons.lt(prevValue, curValue)", + prevValue, "prevValue", curValue, "curValue"); } } @@ -1210,25 +1243,29 @@ private void validateInternal() { final Object lastValue = leafValues[ii][leafSizes[ii] - 1]; if (ii < leafCount - 1) { final Object directoryValue = directoryValues[ii]; - Assert.assertion(leq(lastValue, directoryValue), "lt(lastValue, directoryValue)", lastValue, "leafValues[ii][leafSizes[ii] - 1]", directoryValue, "directoryValue"); + Assert.assertion(leq(lastValue, directoryValue), "lt(lastValue, directoryValue)", lastValue, + "leafValues[ii][leafSizes[ii] - 1]", directoryValue, "directoryValue"); if (ii < leafCount - 2) { final Object nextDirectoryValue = directoryValues[ii + 1]; - Assert.assertion(lt(directoryValue, nextDirectoryValue), "lt(directoryValue, nextDirectoryValue)", directoryValue, "directoryValue", nextDirectoryValue, "nextDirectoryValue"); + Assert.assertion(lt(directoryValue, nextDirectoryValue), + "lt(directoryValue, nextDirectoryValue)", directoryValue, "directoryValue", + nextDirectoryValue, "nextDirectoryValue"); } final Object nextFirstValue = leafValues[ii + 1][0]; - Assert.assertion(lt(directoryValue, nextFirstValue), "lt(directoryValue, nextFirstValue)", directoryValue, "directoryValue", nextFirstValue, "nextFirstValue"); + Assert.assertion(lt(directoryValue, nextFirstValue), "lt(directoryValue, nextFirstValue)", + directoryValue, "directoryValue", nextFirstValue, "nextFirstValue"); } // It would be nice to enable an assertion to make sure we are dense after removals, but the other // reason this assertion can fail is that if we insert into a node that is too large we may have to - // split it. The last node we have could be short, and it might be possible to merge it with the node + // split it. The last node we have could be short, and it might be possible to merge it with the node // afterwards, but we don't do removals during an insertion phase. -// if (ii < leafCount - 1) { -// final int thisLeafSize = leafSizes[ii]; -// final int nextLeafSize = leafSizes[ii + 1]; -// Assert.leq(leafSize, "leafSize", thisLeafSize + nextLeafSize, "thisLeafSize + nextLeafSize"); -// } + // if (ii < leafCount - 1) { + // final int thisLeafSize = leafSizes[ii]; + // final int nextLeafSize = leafSizes[ii + 1]; + // Assert.leq(leafSize, "leafSize", thisLeafSize + nextLeafSize, "thisLeafSize + nextLeafSize"); + // } } validateLeafOrdering(); @@ -1255,7 +1292,8 @@ private static void validateLeaf(Object[] values, long[] counts, int size) { Assert.gtZero(counts[ii], "counts[ii]"); final Object thisValue = values[ii]; final Object nextValue = values[ii + 1]; - Assert.assertion(lt(values[ii], values[ii + 1]), "lt(values[ii], values[ii + 1])", (Object)thisValue, "values[ii]", (Object)nextValue, "values[ii + 1]", ii, "ii"); + Assert.assertion(lt(values[ii], values[ii + 1]), "lt(values[ii], values[ii + 1])", (Object) thisValue, + "values[ii]", (Object) nextValue, "values[ii + 1]", ii, "ii"); } if (size > 0) { Assert.gtZero(counts[size - 1], "counts[size - 1]"); @@ -1280,9 +1318,9 @@ private int computeTotalSize() { return expectedSize; } - //endregion + // endregion - //region Comparisons + // region Comparisons private int getDesiredLeafCount(int newSize) { return (newSize + leafSize - 1) / leafSize; } @@ -1316,10 +1354,12 @@ private static boolean eq(Object lhs, Object rhs) { return Objects.equals(lhs, rhs); // endregion equality function } - //endregion + // endregion @Override - public long totalSize() { return totalSize; } + public long totalSize() { + return totalSize; + } @Override public int getNodeSize() { @@ -1339,8 +1379,7 @@ public Object getMax() { public Object getMinObject() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryValues[0]; } return leafValues[0][0]; @@ -1350,8 +1389,7 @@ else if (leafCount == 1) { public long getMinCount() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryCount[0]; } return leafCounts[0][0]; @@ -1360,8 +1398,7 @@ else if (leafCount == 1) { private void addMinCount(long toAdd) { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { directoryCount[0] += toAdd; } else { leafCounts[0][0] += toAdd; @@ -1400,8 +1437,7 @@ private void removeMin() { public Object getMaxObject() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryValues[size - 1]; } return leafValues[leafCount - 1][leafSizes[leafCount - 1] - 1]; @@ -1411,8 +1447,7 @@ else if (leafCount == 1) { public long getMaxCount() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryCount[size - 1]; } return leafCounts[leafCount - 1][leafSizes[leafCount - 1] - 1]; @@ -1421,8 +1456,7 @@ else if (leafCount == 1) { private void addMaxCount(long toAdd) { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { directoryCount[size - 1] += toAdd; } else { leafCounts[leafCount - 1][leafSizes[leafCount - 1] - 1] += toAdd; @@ -1449,10 +1483,10 @@ private void removeMax() { } } - //region Moving + // region Moving @Override public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long count) { - final ObjectSegmentedSortedMultiset destination = (ObjectSegmentedSortedMultiset)untypedDestination; + final ObjectSegmentedSortedMultiset destination = (ObjectSegmentedSortedMultiset) untypedDestination; validate(); destination.validate(); @@ -1465,7 +1499,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (destination.size > 0) { - Assert.assertion(geq(getMinObject(), destination.getMaxObject()), "geq(getMinObject(), destination.getMaxObject())"); + Assert.assertion(geq(getMinObject(), destination.getMaxObject()), + "geq(getMinObject(), destination.getMaxObject())"); } } @@ -1536,7 +1571,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou directoryCount[0] = leftOver; directoryValues[0] = directoryValues[size - 1]; destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1], "destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1]"); + Assert.gtZero(destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1], + "destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1]"); size = 1; } else { directoryValues = null; @@ -1567,8 +1603,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou final int sizeOfLeftOverLeaf = leafSizes[rli]; size -= (sizeOfLeftOverLeaf - 1); - final Object [] tmpValues = new Object[leafSize]; - final long [] tmpCounts = new long[leafSize]; + final Object[] tmpValues = new Object[leafSize]; + final long[] tmpCounts = new long[leafSize]; tmpValues[0] = leafValues[rli][sizeOfLeftOverLeaf - 1]; tmpCounts[0] = leftOver; leafValues[rli] = tmpValues; @@ -1576,7 +1612,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou leafSizes[rli] = 1; destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1], "destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1]"); + Assert.gtZero(destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1], + "destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1]"); if (rli < leafCount - 1) { updateDirectory(rli); } @@ -1605,10 +1642,10 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou boolean sourceLeavesMerged = false; if (partialUnique > 0) { - final Object [] sourceValues; - final long [] sourceCounts; - final Object [] destinationValues; - final long [] destinationCounts; + final Object[] sourceValues; + final long[] sourceCounts; + final Object[] destinationValues; + final long[] destinationCounts; final int copySize; final int destOffset; if (leafCount == 1) { @@ -1656,10 +1693,12 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (leftOver > 0) { if (destination.directoryCount == null) { destination.leafCounts[wleaf][destOffset + partialUnique - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf][destOffset + partialUnique - 1], "destination.leafCounts[wleaf][destOffset + partialUnique - 1]"); + Assert.gtZero(destination.leafCounts[wleaf][destOffset + partialUnique - 1], + "destination.leafCounts[wleaf][destOffset + partialUnique - 1]"); } else { destination.directoryCount[destination.size - 1] -= leftOver; - Assert.gtZero(destination.directoryCount[destination.size - 1], "destination.directoryCount[destination.size]"); + Assert.gtZero(destination.directoryCount[destination.size - 1], + "destination.directoryCount[destination.size]"); } } @@ -1733,7 +1772,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (size > 0 && destination.size > 0) { - Assert.assertion(geq(getMinObject(), destination.getMaxObject()), "geq(getMinObject(), destination.getMaxObject())"); + Assert.assertion(geq(getMinObject(), destination.getMaxObject()), + "geq(getMinObject(), destination.getMaxObject())"); } } @@ -1750,7 +1790,8 @@ private void updateDirectory(int leaf) { * @param finalSlots how many slots outside of completeLeaves are required * @param completeLeaves how many complete leaves are required * - * @return true if we should put our finalSlots values in the "extra" leaf. False if they should be appended to the last leaf that already exists + * @return true if we should put our finalSlots values in the "extra" leaf. False if they should be appended to the + * last leaf that already exists */ private boolean prepareAppend(int finalSlots, int completeLeaves) { Assert.leq(finalSlots, "finalSlots", leafSize, "leafSize"); @@ -1801,8 +1842,8 @@ private boolean prepareAppend(int finalSlots, int completeLeaves) { * @param initialSlots how many slots outside of a complete leaf will be prepended * @param completeLeaves how many complete leaves will be prepended * - * @return true if the initialSlots values should be copied into their own private leaf, false if they should share space - * with the next leaf + * @return true if the initialSlots values should be copied into their own private leaf, false if they should share + * space with the next leaf */ private boolean preparePrepend(int initialSlots, int completeLeaves) { final int extraLeafCount; @@ -1845,8 +1886,8 @@ private boolean preparePrepend(int initialSlots, int completeLeaves) { if (extraLeafCount == 0 && initialSlots > 0) { // make a hole in the first leaf that still has values if (directoryCount != null) { - final Object [] tmpValues = new Object[initialSlots + size]; - final long [] tmpCount = new long[initialSlots + size]; + final Object[] tmpValues = new Object[initialSlots + size]; + final long[] tmpCount = new long[initialSlots + size]; System.arraycopy(directoryValues, 0, tmpValues, initialSlots, size); System.arraycopy(directoryCount, 0, tmpCount, initialSlots, size); directoryValues = tmpValues; @@ -1880,7 +1921,7 @@ private static int countFront(long[] counts, int sz, MutableInt valuesToMove, Mu @Override public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long count) { - final ObjectSegmentedSortedMultiset destination = (ObjectSegmentedSortedMultiset)untypedDestination; + final ObjectSegmentedSortedMultiset destination = (ObjectSegmentedSortedMultiset) untypedDestination; validate(); destination.validate(); @@ -1893,7 +1934,8 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (destination.size > 0) { - Assert.assertion(leq(getMaxObject(), destination.getMinObject()), "leq(getMaxObject(), destination.getMinObject())"); + Assert.assertion(leq(getMaxObject(), destination.getMinObject()), + "leq(getMaxObject(), destination.getMinObject())"); } } @@ -1954,11 +1996,11 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou final boolean extraLeaf = destination.preparePrepend(slotsInPartialLeaf, completeLeavesToMove); if (slotsInPartialLeaf > 0) { final boolean leftOverExists = leftOver > 0; - final Object [] destValues; - final long [] destCounts; + final Object[] destValues; + final long[] destCounts; - final Object [] srcValues; - final long [] srcCounts; + final Object[] srcValues; + final long[] srcCounts; final int srcSize; if (destination.directoryCount != null) { @@ -2031,14 +2073,16 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou System.arraycopy(leafSizes, rleaf + 1, destination.leafSizes, destinationLeaf, completeLeavesToMove); final int directoryMoves; final boolean haveLastSourceDirectoryEntry = rleaf + 1 + completeLeavesToMove < leafCount - 1; - final boolean requireLastDestinationDirectoryEntry = destination.leafCount > (destinationLeaf + completeLeavesToMove); + final boolean requireLastDestinationDirectoryEntry = + destination.leafCount > (destinationLeaf + completeLeavesToMove); if (haveLastSourceDirectoryEntry && requireLastDestinationDirectoryEntry) { directoryMoves = completeLeavesToMove; } else { directoryMoves = completeLeavesToMove - 1; } if (directoryMoves > 0) { - System.arraycopy(directoryValues, rleaf + 1, destination.directoryValues, destinationLeaf, directoryMoves); + System.arraycopy(directoryValues, rleaf + 1, destination.directoryValues, destinationLeaf, + directoryMoves); } if (requireLastDestinationDirectoryEntry) { destination.updateDirectory(destinationLeaf + completeLeavesToMove - 1); @@ -2072,9 +2116,11 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou final int firstLeafTozero = hasLeftOverSlot ? rleaf + 2 : rleaf + 1; Arrays.fill(leafValues, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, null); Arrays.fill(leafCounts, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, null); - Arrays.fill(leafSizes, firstLeafTozero , firstLeafTozero + numberOfLeavesToRemove, 0); + Arrays.fill(leafSizes, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, 0); if (directoryMoves > 0) { - Arrays.fill(directoryValues, firstLeafTozero, firstLeafTozero + directoryMoves - (completeLeavesToMove - numberOfLeavesToRemove), null); + Arrays.fill(directoryValues, firstLeafTozero, + firstLeafTozero + directoryMoves - (completeLeavesToMove - numberOfLeavesToRemove), + null); } maybePromoteLastLeaf(); } @@ -2093,7 +2139,8 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (size > 0 && destination.size > 0) { - Assert.assertion(leq(getMaxObject(), destination.getMinObject()), "leq(getMaxObject(), destination.getMinObject())"); + Assert.assertion(leq(getMaxObject(), destination.getMinObject()), + "leq(getMaxObject(), destination.getMinObject())"); } } } @@ -2113,7 +2160,7 @@ private static int countBack(long[] counts, int sz, MutableInt valuesToMove, Mut } return sz - rpos; } - //endregion + // endregion @Override public WritableObjectChunk keyChunk() { @@ -2128,7 +2175,7 @@ public void fillKeyChunk(WritableChunk keyChunk, int offset) { } private void fillKeyChunk(WritableObjectChunk keyChunk, int offset) { - if(keyChunk.capacity() < offset + intSize()) { + if (keyChunk.capacity() < offset + intSize()) { throw new IllegalArgumentException("Input chunk is not large enough"); } @@ -2159,37 +2206,38 @@ public WritableLongChunk countChunk() { } private Object[] keyArray() { - return keyArray(0, size-1); + return keyArray(0, size - 1); } /** * Create an array of the current keys beginning with the first (inclusive) and ending with the last (inclusive) + * * @param first * @param last * @return */ private Object[] keyArray(long first, long last) { - if(isEmpty()) { + if (isEmpty()) { return ArrayTypeUtils.EMPTY_OBJECT_ARRAY; } - final int totalSize = (int)(last - first + 1); + final int totalSize = (int) (last - first + 1); final Object[] keyArray = new Object[totalSize]; if (leafCount == 1) { - System.arraycopy(directoryValues, (int)first, keyArray, 0, totalSize); + System.arraycopy(directoryValues, (int) first, keyArray, 0, totalSize); } else if (leafCount > 0) { int offset = 0; int copied = 0; int skipped = 0; for (int li = 0; li < leafCount && copied < totalSize; ++li) { - if(skipped < first) { - final int toSkip = (int)first - skipped; - if(toSkip < leafSizes[li]) { + if (skipped < first) { + final int toSkip = (int) first - skipped; + if (toSkip < leafSizes[li]) { final int nToCopy = Math.min(leafSizes[li] - toSkip, totalSize); System.arraycopy(leafValues[li], toSkip, keyArray, 0, nToCopy); copied = nToCopy; offset = copied; - skipped = (int)first; + skipped = (int) first; } else { skipped += leafSizes[li]; } @@ -2210,7 +2258,7 @@ private void maybeAccumulateAdditions(WritableObjectChunk size()) { + if (index < 0 || index > size()) { throw new IllegalArgumentException("Illegal index " + index + " current size: " + size()); } - if(leafCount == 1) { + if (leafCount == 1) { return directoryValues[(int) index]; } else { - for(int ii = 0; ii < leafCount; ii++) { - if(index < leafSizes[ii]) { - return leafValues[ii][(int)(index)]; + for (int ii = 0; ii < leafCount; ii++) { + if (index < leafSizes[ii]) { + return leafValues[ii][(int) (index)]; } index -= leafSizes[ii]; } @@ -2342,29 +2390,29 @@ public long size() { public ObjectVector getDirect() { return new ObjectVectorDirect(keyArray()); } - //endregion + // endregion - //region VectorEquals - //endregion VectorEquals + // region VectorEquals + // endregion VectorEquals private boolean equalsArray(ObjectVector o) { - //region EqualsArrayTypeCheck + // region EqualsArrayTypeCheck if(o.getComponentType() != o.getComponentType()) { return false; } - //endregion EqualsArrayTypeCheck + // endregion EqualsArrayTypeCheck - if(size() != o.size()) { + if (size() != o.size()) { return false; } - if(leafCount == 1) { - for(int ii = 0; ii < size; ii++) { - final Object val = (Object)o.get(ii); - //region VectorEquals - //endregion VectorEquals + if (leafCount == 1) { + for (int ii = 0; ii < size; ii++) { + final Object val = (Object) o.get(ii); + // region VectorEquals + // endregion VectorEquals - if(!Objects.equals(directoryValues[ii], val)) { + if (!Objects.equals(directoryValues[ii], val)) { return false; } } @@ -2374,12 +2422,12 @@ private boolean equalsArray(ObjectVector o) { int nCompared = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - final Object val = (Object)o.get(nCompared++); - //region VectorEquals - //endregion VectorEquals + for (int ai = 0; ai < leafSizes[li]; ai++) { + final Object val = (Object) o.get(nCompared++); + // region VectorEquals + // endregion VectorEquals - if(!Objects.equals(leafValues[li][ai], val)) { + if (!Objects.equals(leafValues[li][ai], val)) { return false; } } @@ -2390,33 +2438,34 @@ private boolean equalsArray(ObjectVector o) { @Override public boolean equals(Object o) { - if (this == o) return true; + if (this == o) + return true; if (!(o instanceof ObjectSegmentedSortedMultiset)) { - //region VectorEquals - //endregion VectorEquals + // region VectorEquals + // endregion VectorEquals - if(o instanceof ObjectVector) { - return equalsArray((ObjectVector)o); + if (o instanceof ObjectVector) { + return equalsArray((ObjectVector) o); } return false; } final ObjectSegmentedSortedMultiset that = (ObjectSegmentedSortedMultiset) o; - if(size() != that.size()) { + if (size() != that.size()) { return false; } - if(leafCount == 1) { - if(that.leafCount != 1 || size != that.size) { + if (leafCount == 1) { + if (that.leafCount != 1 || size != that.size) { return false; } - for(int ii = 0; ii < size; ii++) { - //region DirObjectEquals + for (int ii = 0; ii < size; ii++) { + // region DirObjectEquals if(!Objects.equals(directoryValues[ii], that.directoryValues[ii])) { return false; } - //endregion DirObjectEquals + // endregion DirObjectEquals } return true; @@ -2425,19 +2474,19 @@ public boolean equals(Object o) { int otherLeaf = 0; int otherLeafIdx = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - //region LeafObjectEquals + for (int ai = 0; ai < leafSizes[li]; ai++) { + // region LeafObjectEquals if(!Objects.equals(leafValues[li][ai], that.leafValues[otherLeaf][otherLeafIdx++])) { return false; } - //endregion LeafObjectEquals + // endregion LeafObjectEquals - if(otherLeafIdx >= that.leafSizes[otherLeaf]) { + if (otherLeafIdx >= that.leafSizes[otherLeaf]) { otherLeaf++; otherLeafIdx = 0; } - if(otherLeaf >= that.leafCount) { + if (otherLeaf >= that.leafCount) { return false; } } @@ -2448,9 +2497,9 @@ public boolean equals(Object o) { @Override public int hashCode() { - if(leafCount == 1) { + if (leafCount == 1) { int result = Objects.hash(size); - for(int ii = 0; ii < size; ii++) { + for (int ii = 0; ii < size; ii++) { result = result * 31 + Objects.hash(directoryValues[ii]); } @@ -2460,7 +2509,7 @@ public int hashCode() { int result = Objects.hash(leafCount, size); for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { + for (int ai = 0; ai < leafSizes[li]; ai++) { result = result * 31 + Objects.hash(leafValues[li][ai]); } } @@ -2475,7 +2524,7 @@ public String toString() { } else if (leafCount > 0) { StringBuilder arrAsString = new StringBuilder("["); for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { + for (int ai = 0; ai < leafSizes[li]; ai++) { arrAsString.append(leafValues[li][ai]).append(", "); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/SegmentedSortedMultiSet.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/SegmentedSortedMultiSet.java index bac757bd574..62264d9aac9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/SegmentedSortedMultiSet.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/SegmentedSortedMultiSet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssms; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/ShortSegmentedSortedMultiset.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/ShortSegmentedSortedMultiset.java index a818b098f37..8b789a08118 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/ShortSegmentedSortedMultiset.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/ssms/ShortSegmentedSortedMultiset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSegmentedSortedMultiset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSegmentedSortedMultiset and run "./gradlew replicateSegmentedSortedMultiset" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssms; import io.deephaven.base.verify.Assert; @@ -38,16 +37,16 @@ public final class ShortSegmentedSortedMultiset implements SegmentedSortedMultiS private int minGallop = TimsortUtils.INITIAL_GALLOP; /** - * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to - * track the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf - * must accept any value that is greater than the second to last leave's maximum. + * If we have only a single leaf, then we use the directory arrays for the leaf values, otherwise we use it to track + * the largest value in a given leaf. The values are valid for 0 ... leafCount - 2, because the last leaf must + * accept any value that is greater than the second to last leave's maximum. */ - private short [] directoryValues; - private long [] directoryCount; + private short[] directoryValues; + private long[] directoryCount; - private int [] leafSizes; - private short [][] leafValues; - private long [][] leafCounts; + private int[] leafSizes; + private short[][] leafValues; + private long[][] leafCounts; // region Deltas private transient boolean accumulateDeltas = false; @@ -57,7 +56,7 @@ public final class ShortSegmentedSortedMultiset implements SegmentedSortedMultiS // endregion Deltas - //region Constructor + // region Constructor /** * Create a ShortSegmentedSortedArray with the given leafSize. * @@ -68,9 +67,9 @@ public ShortSegmentedSortedMultiset(int leafSize) { leafCount = 0; size = 0; } - //endregion Constructor + // endregion Constructor - //region Insertion + // region Insertion @Override public boolean insert(WritableChunk valuesToInsert, WritableIntChunk counts) { final long beforeSize = size(); @@ -78,10 +77,13 @@ public boolean insert(WritableChunk valuesToInsert, WritableIn return beforeSize != size(); } - private int insertExistingIntoLeaf(WritableShortChunk valuesToInsert, WritableIntChunk counts, int ripos, MutableInt wipos, int leafSize, short [] leafValues, long [] leafCounts, short maxInsert, boolean lastLeaf) { + private int insertExistingIntoLeaf(WritableShortChunk valuesToInsert, + WritableIntChunk counts, int ripos, MutableInt wipos, int leafSize, short[] leafValues, + long[] leafCounts, short maxInsert, boolean lastLeaf) { int rlpos = 0; short nextValue; - while (rlpos < leafSize && ripos < valuesToInsert.size() && (leq(nextValue = valuesToInsert.get(ripos), maxInsert) || lastLeaf)) { + while (rlpos < leafSize && ripos < valuesToInsert.size() + && (leq(nextValue = valuesToInsert.get(ripos), maxInsert) || lastLeaf)) { if (gt(leafValues[rlpos], nextValue)) { // we're not going to find nextValue in this leaf, so we skip over it valuesToInsert.set(wipos.intValue(), nextValue); @@ -97,10 +99,12 @@ private int insertExistingIntoLeaf(WritableShortChunk valuesTo } } else if (rlpos == leafSize) { // we have hit the end of the leaf, we can not insert any value that is less than maxvalue - final int lastInsert = lastLeaf ? valuesToInsert.size() : upperBound(valuesToInsert, ripos, valuesToInsert.size(), maxInsert); + final int lastInsert = lastLeaf ? valuesToInsert.size() + : upperBound(valuesToInsert, ripos, valuesToInsert.size(), maxInsert); // noinspection unchecked - valuesToInsert.copyFromTypedChunk((WritableShortChunk)valuesToInsert, ripos, wipos.intValue(), lastInsert - ripos); + valuesToInsert.copyFromTypedChunk((WritableShortChunk) valuesToInsert, ripos, wipos.intValue(), + lastInsert - ripos); counts.copyFromTypedChunk(counts, ripos, wipos.intValue(), lastInsert - ripos); wipos.add(lastInsert - ripos); ripos = lastInsert; @@ -110,7 +114,8 @@ private int insertExistingIntoLeaf(WritableShortChunk valuesTo return ripos; } - private void distributeNewIntoLeaves(ShortChunk valuesToInsert, IntChunk counts, final int insertStart, final int insertCount, int firstLeaf, int requiredLeaves, int newLeafSize) { + private void distributeNewIntoLeaves(ShortChunk valuesToInsert, IntChunk counts, + final int insertStart, final int insertCount, int firstLeaf, int requiredLeaves, int newLeafSize) { Assert.gtZero(insertCount, "insertCount"); final int valuesPerLeaf = valuesPerLeaf(newLeafSize, requiredLeaves); @@ -154,12 +159,14 @@ private void distributeNewIntoLeaves(ShortChunk valuesToInsert if (wpos >= 0 && iwins > minGallop) { // find the smallest insert value greater than the leafValue, but do not go beyond the beginning of // the leaf we are writing to - final int minInsert = gallopBound(valuesToInsert, Math.max(insertStart, ripos - wpos), ripos + 1, leafValue); + final int minInsert = + gallopBound(valuesToInsert, Math.max(insertStart, ripos - wpos), ripos + 1, leafValue); final int gallopLength = ripos - minInsert + 1; if (gallopLength > 0) { - valuesToInsert.copyToTypedArray(minInsert, leafValues[wleaf], wpos - gallopLength + 1, gallopLength); + valuesToInsert.copyToTypedArray(minInsert, leafValues[wleaf], wpos - gallopLength + 1, + gallopLength); while (ripos >= minInsert) { leafCounts[wleaf][wpos--] = counts.get(ripos--); } @@ -185,12 +192,15 @@ private void distributeNewIntoLeaves(ShortChunk valuesToInsert if (lwins > minGallop) { // find the smallest leaf value greater than the insertValue, but do not go beyond the beginning of // the leaf we are writing to - final int minInsert = gallopBound(leafValues[firstLeaf], Math.max(0, rlpos - wpos), rlpos + 1, insertValue); + final int minInsert = + gallopBound(leafValues[firstLeaf], Math.max(0, rlpos - wpos), rlpos + 1, insertValue); final int gallopLength = rlpos - minInsert + 1; if (gallopLength > 0) { - System.arraycopy(leafValues[firstLeaf], minInsert, leafValues[wleaf], wpos - gallopLength + 1, gallopLength); - System.arraycopy(leafCounts[firstLeaf], minInsert, leafCounts[wleaf], wpos - gallopLength + 1, gallopLength); + System.arraycopy(leafValues[firstLeaf], minInsert, leafValues[wleaf], wpos - gallopLength + 1, + gallopLength); + System.arraycopy(leafCounts[firstLeaf], minInsert, leafCounts[wleaf], wpos - gallopLength + 1, + gallopLength); rlpos -= gallopLength; wpos -= gallopLength; remaining -= gallopLength; @@ -241,8 +251,7 @@ private void distributeNewIntoLeaves(ShortChunk valuesToInsert wpos = valuesPerLeaf - 1; wleaf--; } - } - else { + } else { assert rlpos >= 0; // we need to copy the rest of the leaf values @@ -265,7 +274,9 @@ private void distributeNewIntoLeaves(ShortChunk valuesToInsert size += insertCount; } - private void insertNewIntoLeaf(WritableShortChunk valuesToInsert, WritableIntChunk counts, int insertStart, int insertCount, int leafSize, short [] leafValues, long [] leafCounts) { + private void insertNewIntoLeaf(WritableShortChunk valuesToInsert, + WritableIntChunk counts, int insertStart, int insertCount, int leafSize, short[] leafValues, + long[] leafCounts) { assert insertCount > 0; // we start at the end of the leaf and insert values, picking off the correct value as we go @@ -337,7 +348,8 @@ private void insertNewIntoLeaf(WritableShortChunk valuesToInse rlpos -= gallopLength; wpos -= gallopLength; if (rlpos == -1) { - copyRemainingValuesToLeaf(valuesToInsert, counts, insertStart, leafValues, leafCounts, ripos); + copyRemainingValuesToLeaf(valuesToInsert, counts, insertStart, leafValues, leafCounts, + ripos); return; } } @@ -352,34 +364,38 @@ private void insertNewIntoLeaf(WritableShortChunk valuesToInse } } - private void copyRemainingValuesToLeaf(WritableShortChunk valuesToInsert, WritableIntChunk counts, int insertStart, short[] leafValues, long[] leafCounts, int ripos) { + private void copyRemainingValuesToLeaf(WritableShortChunk valuesToInsert, + WritableIntChunk counts, int insertStart, short[] leafValues, long[] leafCounts, int ripos) { valuesToInsert.copyToTypedArray(insertStart, leafValues, 0, ripos - insertStart + 1); for (int ii = 0; ii < ripos - insertStart + 1; ++ii) { leafCounts[ii] = counts.get(ii + insertStart); } } - private void maybeCompact(WritableShortChunk valuesToInsert, WritableIntChunk counts, int ripos, int wipos) { + private void maybeCompact(WritableShortChunk valuesToInsert, WritableIntChunk counts, + int ripos, int wipos) { if (wipos == ripos) { return; } // we've found something to compact away final int originalSize = valuesToInsert.size(); final int toCopy = originalSize - ripos; - //noinspection unchecked - how the heck does this type not actuall work? - valuesToInsert.copyFromTypedChunk((ShortChunk)valuesToInsert, ripos, wipos, toCopy); + // noinspection unchecked - how the heck does this type not actuall work? + valuesToInsert.copyFromTypedChunk((ShortChunk) valuesToInsert, ripos, wipos, toCopy); counts.copyFromChunk(counts, ripos, wipos, toCopy); valuesToInsert.setSize(wipos + toCopy); counts.setSize(wipos + toCopy); } - private void insertExisting(WritableShortChunk valuesToInsert, WritableIntChunk counts) { + private void insertExisting(WritableShortChunk valuesToInsert, + WritableIntChunk counts) { if (leafCount == 0) { return; } if (leafCount == 1) { final MutableInt wipos = new MutableInt(0); - final int ripos = insertExistingIntoLeaf(valuesToInsert, counts, 0, wipos, size, directoryValues, directoryCount, NULL_SHORT, true); + final int ripos = insertExistingIntoLeaf(valuesToInsert, counts, 0, wipos, size, directoryValues, + directoryCount, NULL_SHORT, true); maybeCompact(valuesToInsert, counts, ripos, wipos.intValue()); return; } @@ -394,7 +410,8 @@ private void insertExisting(WritableShortChunk valuesToInsert, // find the thing in directoryValues final boolean lastLeaf = nextLeaf == leafCount - 1; final short maxValue = lastLeaf ? NULL_SHORT : directoryValues[nextLeaf]; - ripos = insertExistingIntoLeaf(valuesToInsert, counts, ripos, wipos, leafSizes[nextLeaf], leafValues[nextLeaf], leafCounts[nextLeaf], maxValue, lastLeaf); + ripos = insertExistingIntoLeaf(valuesToInsert, counts, ripos, wipos, leafSizes[nextLeaf], + leafValues[nextLeaf], leafCounts[nextLeaf], maxValue, lastLeaf); if (lastLeaf) { break; } @@ -450,7 +467,8 @@ private void insert(WritableShortChunk valuesToInsert, Writabl } if (desiredLeafCount == 1) { // we should fit into the existing leaf - insertNewIntoLeaf(valuesToInsert, counts, 0, valuesToInsert.size(), size, directoryValues, directoryCount); + insertNewIntoLeaf(valuesToInsert, counts, 0, valuesToInsert.size(), size, directoryValues, + directoryCount); size = newSize; validate(); return; @@ -487,11 +505,11 @@ private void insert(WritableShortChunk valuesToInsert, Writabl makeLeafHole(nextLeaf + 1, requiredLeaves - 1); leafCount += (requiredLeaves - 1); } - distributeNewIntoLeaves(valuesToInsert, counts, rpos, insertIntoLeaf, nextLeaf, requiredLeaves, newLeafSize); + distributeNewIntoLeaves(valuesToInsert, counts, rpos, insertIntoLeaf, nextLeaf, requiredLeaves, + newLeafSize); rpos += insertIntoLeaf; - } - while (rpos < valuesToInsert.size()); + } while (rpos < valuesToInsert.size()); validate(); } @@ -528,7 +546,8 @@ private void doAppend(WritableShortChunk valuesToInsert, Writa int rpos = 0; if (lastLeafFree > 0) { final int insertCount = Math.min(lastLeafFree, valuesToInsert.size()); - insertNewIntoLeaf(valuesToInsert, counts, rpos, insertCount, lastLeafSize, leafValues[lastLeafIndex], leafCounts[lastLeafIndex]); + insertNewIntoLeaf(valuesToInsert, counts, rpos, insertCount, lastLeafSize, leafValues[lastLeafIndex], + leafCounts[lastLeafIndex]); leafSizes[lastLeafIndex] += insertCount; rpos += insertCount; if (insertCount == valuesToInsert.size()) { @@ -624,7 +643,8 @@ private void makeLeavesInitial(ShortChunk values, IntChunk values, IntChunk counts, int rpos, int startLeaf, int valuesPerLeaf) { + private void packValuesIntoLeaves(ShortChunk values, IntChunk counts, int rpos, + int startLeaf, int valuesPerLeaf) { while (rpos < values.size()) { final int thisLeafSize = Math.min(valuesPerLeaf, values.size() - rpos); leafSizes[startLeaf] = thisLeafSize; @@ -642,7 +662,7 @@ private void packValuesIntoLeaves(ShortChunk values, IntChunk< startLeaf++; } } - //endregion + // endregion private void clear() { leafCount = 0; @@ -655,7 +675,7 @@ private void clear() { directoryCount = null; } - //region Bounds search + // region Bounds search /** * Return the lowest index geq valuesToSearch. @@ -666,7 +686,7 @@ private void clear() { * @param searchValue the value to find * @return the lowest index that is greater than or equal to valuesToSearch */ - private static int lowerBound(short [] valuesToSearch, int lo, int hi, short searchValue) { + private static int lowerBound(short[] valuesToSearch, int lo, int hi, short searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final short testValue = valuesToSearch[mid]; @@ -720,7 +740,7 @@ private static int gallopBound(ShortChunk valuesToSearch, int lo, * @param searchValue the value to find * @return the lowest index that is greater than or equal to valuesToSearch */ - private static int gallopBound(short [] valuesToSearch, int lo, int hi, short searchValue) { + private static int gallopBound(short[] valuesToSearch, int lo, int hi, short searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final short testValue = valuesToSearch[mid]; @@ -747,7 +767,7 @@ private static int gallopBound(short [] valuesToSearch, int lo, int hi, short se * @param searchValue the value to find * @return the highest index that is less than or equal to valuesToSearch */ - private static int upperBound(short [] valuesToSearch, int lo, int hi, short searchValue) { + private static int upperBound(short[] valuesToSearch, int lo, int hi, short searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final short testValue = valuesToSearch[mid]; @@ -795,7 +815,7 @@ private static int upperBound(ShortChunk valuesToSearch, int l * @param searchValue the value to find * @return the lowest index that is greater than to valuesToSearch */ - private static int lowerBoundExclusive(short [] valuesToSearch, int lo, int hi, short searchValue) { + private static int lowerBoundExclusive(short[] valuesToSearch, int lo, int hi, short searchValue) { while (lo < hi) { final int mid = (lo + hi) >>> 1; final short testValue = valuesToSearch[mid]; @@ -813,22 +833,24 @@ private static int lowerBoundExclusive(short [] valuesToSearch, int lo, int hi, return lo; } - //endregion + // endregion - //region Removal + // region Removal /** - * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. + * Remove valuesToRemove from this SSA. The valuesToRemove to remove must be sorted. * - * @param valuesToRemove the valuesToRemove to remove + * @param valuesToRemove the valuesToRemove to remove */ @Override - public boolean remove(RemoveContext removeContext, WritableChunk valuesToRemove, WritableIntChunk counts) { + public boolean remove(RemoveContext removeContext, WritableChunk valuesToRemove, + WritableIntChunk counts) { final long beforeSize = size(); remove(removeContext, valuesToRemove.asShortChunk(), counts); return beforeSize != size(); } - private void remove(RemoveContext removeContext, ShortChunk valuesToRemove, IntChunk counts) { + private void remove(RemoveContext removeContext, ShortChunk valuesToRemove, + IntChunk counts) { validate(); validateInputs(valuesToRemove, counts); @@ -841,7 +863,8 @@ private void remove(RemoveContext removeContext, ShortChunk va if (leafCount == 1) { final MutableInt sz = new MutableInt(size); - final int consumed = removeFromLeaf(removeContext, valuesToRemove, counts, 0, valuesToRemove.size(), directoryValues, directoryCount, sz); + final int consumed = removeFromLeaf(removeContext, valuesToRemove, counts, 0, valuesToRemove.size(), + directoryValues, directoryCount, sz); assert consumed == valuesToRemove.size(); if (sz.intValue() == 0) { clear(); @@ -849,7 +872,7 @@ private void remove(RemoveContext removeContext, ShortChunk va size = sz.intValue(); } } else { - removeContext.ensureLeafCount((leafCount + 1)/ 2); + removeContext.ensureLeafCount((leafCount + 1) / 2); int rpos = 0; int nextLeaf = 0; @@ -860,7 +883,8 @@ private void remove(RemoveContext removeContext, ShortChunk va nextLeaf = lowerBound(directoryValues, nextLeaf, leafCount - 1, firstValueToRemove); final MutableInt sz = new MutableInt(leafSizes[nextLeaf]); - rpos = removeFromLeaf(removeContext, valuesToRemove, counts, rpos, valuesToRemove.size(), leafValues[nextLeaf], leafCounts[nextLeaf], sz); + rpos = removeFromLeaf(removeContext, valuesToRemove, counts, rpos, valuesToRemove.size(), + leafValues[nextLeaf], leafCounts[nextLeaf], sz); size -= leafSizes[nextLeaf] - sz.intValue(); leafSizes[nextLeaf] = sz.intValue(); if (sz.intValue() == 0) { @@ -868,7 +892,8 @@ private void remove(RemoveContext removeContext, ShortChunk va } else { // we figure out if we can be pulled back into the prior leaf final int priorLeaf; - if (cl >= 0 && removeContext.compactionLeafs[cl] + removeContext.compactionLeafLengths[cl] == nextLeaf) { + if (cl >= 0 && removeContext.compactionLeafs[cl] + + removeContext.compactionLeafLengths[cl] == nextLeaf) { // we need to go to one leaf before our compaction length, if we happen to be removing all // the prior leaves we end up with a negative number here. priorLeaf = removeContext.compactionLeafs[cl] - 1; @@ -891,8 +916,7 @@ private void remove(RemoveContext removeContext, ShortChunk va mergeTwoLeavesBack(priorLeaf, nextLeaf); cl = markLeafForRemoval(removeContext, nextLeaf, cl); } - } - else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + 1] <= leafSize) { + } else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + 1] <= leafSize) { // we shove ourselves forward into the next leaf mergeTwoLeavesForward(nextLeaf, nextLeaf + 1); cl = markLeafForRemoval(removeContext, nextLeaf, cl); @@ -901,8 +925,7 @@ else if (nextLeaf < leafCount - 1 && leafSizes[nextLeaf] + leafSizes[nextLeaf + nextLeaf++; validateCompaction(removeContext, cl); - } - while (rpos < valuesToRemove.size()); + } while (rpos < valuesToRemove.size()); if (size == 0) { clear(); @@ -939,8 +962,10 @@ private void mergeTwoLeavesForward(int firstLeafSource, int secondLeafDestinatio final int firstSourceSize = leafSizes[firstLeafSource]; final int secondDestinationSize = leafSizes[secondLeafDestination]; // first make a hole - System.arraycopy(leafValues[secondLeafDestination], 0, leafValues[secondLeafDestination], firstSourceSize, secondDestinationSize); - System.arraycopy(leafCounts[secondLeafDestination], 0, leafCounts[secondLeafDestination], firstSourceSize, secondDestinationSize); + System.arraycopy(leafValues[secondLeafDestination], 0, leafValues[secondLeafDestination], firstSourceSize, + secondDestinationSize); + System.arraycopy(leafCounts[secondLeafDestination], 0, leafCounts[secondLeafDestination], firstSourceSize, + secondDestinationSize); // now copy the first leaf into that hole System.arraycopy(leafValues[firstLeafSource], 0, leafValues[secondLeafDestination], 0, firstSourceSize); System.arraycopy(leafCounts[firstLeafSource], 0, leafCounts[secondLeafDestination], 0, firstSourceSize); @@ -956,14 +981,18 @@ private void mergeThreeLeavesForward(int firstLeafSource, int secondLeafSource, final int thirdDestinationSize = leafSizes[thirdLeafDestination]; // first make a hole - System.arraycopy(leafValues[thirdLeafDestination], 0, leafValues[thirdLeafDestination], totalSourceSize, thirdDestinationSize); - System.arraycopy(leafCounts[thirdLeafDestination], 0, leafCounts[thirdLeafDestination], totalSourceSize, thirdDestinationSize); + System.arraycopy(leafValues[thirdLeafDestination], 0, leafValues[thirdLeafDestination], totalSourceSize, + thirdDestinationSize); + System.arraycopy(leafCounts[thirdLeafDestination], 0, leafCounts[thirdLeafDestination], totalSourceSize, + thirdDestinationSize); // now copy the first leaf into that hole System.arraycopy(leafValues[firstLeafSource], 0, leafValues[thirdLeafDestination], 0, firstSourceSize); System.arraycopy(leafCounts[firstLeafSource], 0, leafCounts[thirdLeafDestination], 0, firstSourceSize); - System.arraycopy(leafValues[secondLeafSource], 0, leafValues[thirdLeafDestination], firstSourceSize, secondSourceSize); - System.arraycopy(leafCounts[secondLeafSource], 0, leafCounts[thirdLeafDestination], firstSourceSize, secondSourceSize); + System.arraycopy(leafValues[secondLeafSource], 0, leafValues[thirdLeafDestination], firstSourceSize, + secondSourceSize); + System.arraycopy(leafCounts[secondLeafSource], 0, leafCounts[thirdLeafDestination], firstSourceSize, + secondSourceSize); leafSizes[thirdLeafDestination] += totalSourceSize; leafSizes[firstLeafSource] = 0; @@ -997,7 +1026,8 @@ private int addLeafToLastRemovalRange(RemoveContext removeContext, int leafToRem removeContext.compactionLeafLengths[cl]++; // we might need to collapse two adjacent ranges in the compaction - if (cl > 0 && removeContext.compactionLeafs[cl - 1] + removeContext.compactionLeafLengths[cl - 1] == removeContext.compactionLeafs[cl]) { + if (cl > 0 && removeContext.compactionLeafs[cl - 1] + + removeContext.compactionLeafLengths[cl - 1] == removeContext.compactionLeafs[cl]) { removeContext.compactionLeafLengths[cl - 1] += removeContext.compactionLeafLengths[cl]; cl--; } @@ -1054,7 +1084,8 @@ private void maybePromoteLastLeaf() { } } - private int removeFromLeaf(RemoveContext removeContext, ShortChunk valuesToRemove, IntChunk counts, int ripos, int end, short[] leafValues, long[] leafCounts, MutableInt sz) { + private int removeFromLeaf(RemoveContext removeContext, ShortChunk valuesToRemove, + IntChunk counts, int ripos, int end, short[] leafValues, long[] leafCounts, MutableInt sz) { int rlpos = 0; int cl = -1; while (ripos < end) { @@ -1084,7 +1115,8 @@ private int removeFromLeaf(RemoveContext removeContext, ShortChunk valuesToInsert, IntChun Assert.gtZero(counts.get(ii), "counts.get(ii)"); final short prevValue = valuesToInsert.get(ii - 1); final short curValue = valuesToInsert.get(ii); - Assert.assertion(ShortComparisons.lt(prevValue, curValue), "ShortComparisons.lt(prevValue, curValue)", prevValue, "prevValue", curValue, "curValue"); + Assert.assertion(ShortComparisons.lt(prevValue, curValue), "ShortComparisons.lt(prevValue, curValue)", + prevValue, "prevValue", curValue, "curValue"); } } @@ -1199,25 +1232,29 @@ private void validateInternal() { final short lastValue = leafValues[ii][leafSizes[ii] - 1]; if (ii < leafCount - 1) { final short directoryValue = directoryValues[ii]; - Assert.assertion(leq(lastValue, directoryValue), "lt(lastValue, directoryValue)", lastValue, "leafValues[ii][leafSizes[ii] - 1]", directoryValue, "directoryValue"); + Assert.assertion(leq(lastValue, directoryValue), "lt(lastValue, directoryValue)", lastValue, + "leafValues[ii][leafSizes[ii] - 1]", directoryValue, "directoryValue"); if (ii < leafCount - 2) { final short nextDirectoryValue = directoryValues[ii + 1]; - Assert.assertion(lt(directoryValue, nextDirectoryValue), "lt(directoryValue, nextDirectoryValue)", directoryValue, "directoryValue", nextDirectoryValue, "nextDirectoryValue"); + Assert.assertion(lt(directoryValue, nextDirectoryValue), + "lt(directoryValue, nextDirectoryValue)", directoryValue, "directoryValue", + nextDirectoryValue, "nextDirectoryValue"); } final short nextFirstValue = leafValues[ii + 1][0]; - Assert.assertion(lt(directoryValue, nextFirstValue), "lt(directoryValue, nextFirstValue)", directoryValue, "directoryValue", nextFirstValue, "nextFirstValue"); + Assert.assertion(lt(directoryValue, nextFirstValue), "lt(directoryValue, nextFirstValue)", + directoryValue, "directoryValue", nextFirstValue, "nextFirstValue"); } // It would be nice to enable an assertion to make sure we are dense after removals, but the other // reason this assertion can fail is that if we insert into a node that is too large we may have to - // split it. The last node we have could be short, and it might be possible to merge it with the node + // split it. The last node we have could be short, and it might be possible to merge it with the node // afterwards, but we don't do removals during an insertion phase. -// if (ii < leafCount - 1) { -// final int thisLeafSize = leafSizes[ii]; -// final int nextLeafSize = leafSizes[ii + 1]; -// Assert.leq(leafSize, "leafSize", thisLeafSize + nextLeafSize, "thisLeafSize + nextLeafSize"); -// } + // if (ii < leafCount - 1) { + // final int thisLeafSize = leafSizes[ii]; + // final int nextLeafSize = leafSizes[ii + 1]; + // Assert.leq(leafSize, "leafSize", thisLeafSize + nextLeafSize, "thisLeafSize + nextLeafSize"); + // } } validateLeafOrdering(); @@ -1244,7 +1281,8 @@ private static void validateLeaf(short[] values, long[] counts, int size) { Assert.gtZero(counts[ii], "counts[ii]"); final short thisValue = values[ii]; final short nextValue = values[ii + 1]; - Assert.assertion(lt(values[ii], values[ii + 1]), "lt(values[ii], values[ii + 1])", (Short)thisValue, "values[ii]", (Short)nextValue, "values[ii + 1]", ii, "ii"); + Assert.assertion(lt(values[ii], values[ii + 1]), "lt(values[ii], values[ii + 1])", (Short) thisValue, + "values[ii]", (Short) nextValue, "values[ii + 1]", ii, "ii"); } if (size > 0) { Assert.gtZero(counts[size - 1], "counts[size - 1]"); @@ -1269,9 +1307,9 @@ private int computeTotalSize() { return expectedSize; } - //endregion + // endregion - //region Comparisons + // region Comparisons private int getDesiredLeafCount(int newSize) { return (newSize + leafSize - 1) / leafSize; } @@ -1305,10 +1343,12 @@ private static boolean eq(short lhs, short rhs) { return lhs == rhs; // endregion equality function } - //endregion + // endregion @Override - public long totalSize() { return totalSize; } + public long totalSize() { + return totalSize; + } @Override public int getNodeSize() { @@ -1328,8 +1368,7 @@ public Short getMax() { public short getMinShort() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryValues[0]; } return leafValues[0][0]; @@ -1339,8 +1378,7 @@ else if (leafCount == 1) { public long getMinCount() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryCount[0]; } return leafCounts[0][0]; @@ -1349,8 +1387,7 @@ else if (leafCount == 1) { private void addMinCount(long toAdd) { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { directoryCount[0] += toAdd; } else { leafCounts[0][0] += toAdd; @@ -1389,8 +1426,7 @@ private void removeMin() { public short getMaxShort() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryValues[size - 1]; } return leafValues[leafCount - 1][leafSizes[leafCount - 1] - 1]; @@ -1400,8 +1436,7 @@ else if (leafCount == 1) { public long getMaxCount() { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { return directoryCount[size - 1]; } return leafCounts[leafCount - 1][leafSizes[leafCount - 1] - 1]; @@ -1410,8 +1445,7 @@ else if (leafCount == 1) { private void addMaxCount(long toAdd) { if (leafCount == 0) { throw new IllegalStateException(); - } - else if (leafCount == 1) { + } else if (leafCount == 1) { directoryCount[size - 1] += toAdd; } else { leafCounts[leafCount - 1][leafSizes[leafCount - 1] - 1] += toAdd; @@ -1438,10 +1472,10 @@ private void removeMax() { } } - //region Moving + // region Moving @Override public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long count) { - final ShortSegmentedSortedMultiset destination = (ShortSegmentedSortedMultiset)untypedDestination; + final ShortSegmentedSortedMultiset destination = (ShortSegmentedSortedMultiset) untypedDestination; validate(); destination.validate(); @@ -1454,7 +1488,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (destination.size > 0) { - Assert.assertion(geq(getMinShort(), destination.getMaxShort()), "geq(getMinShort(), destination.getMaxShort())"); + Assert.assertion(geq(getMinShort(), destination.getMaxShort()), + "geq(getMinShort(), destination.getMaxShort())"); } } @@ -1525,7 +1560,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou directoryCount[0] = leftOver; directoryValues[0] = directoryValues[size - 1]; destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1], "destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1]"); + Assert.gtZero(destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1], + "destination.leafCounts[wleaf][destination.leafSizes[wleaf] - 1]"); size = 1; } else { directoryValues = null; @@ -1556,8 +1592,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou final int sizeOfLeftOverLeaf = leafSizes[rli]; size -= (sizeOfLeftOverLeaf - 1); - final short [] tmpValues = new short[leafSize]; - final long [] tmpCounts = new long[leafSize]; + final short[] tmpValues = new short[leafSize]; + final long[] tmpCounts = new long[leafSize]; tmpValues[0] = leafValues[rli][sizeOfLeftOverLeaf - 1]; tmpCounts[0] = leftOver; leafValues[rli] = tmpValues; @@ -1565,7 +1601,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou leafSizes[rli] = 1; destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1], "destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1]"); + Assert.gtZero(destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1], + "destination.leafCounts[wleaf - 1][sizeOfLeftOverLeaf - 1]"); if (rli < leafCount - 1) { updateDirectory(rli); } @@ -1594,10 +1631,10 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou boolean sourceLeavesMerged = false; if (partialUnique > 0) { - final short [] sourceValues; - final long [] sourceCounts; - final short [] destinationValues; - final long [] destinationCounts; + final short[] sourceValues; + final long[] sourceCounts; + final short[] destinationValues; + final long[] destinationCounts; final int copySize; final int destOffset; if (leafCount == 1) { @@ -1645,10 +1682,12 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (leftOver > 0) { if (destination.directoryCount == null) { destination.leafCounts[wleaf][destOffset + partialUnique - 1] -= leftOver; - Assert.gtZero(destination.leafCounts[wleaf][destOffset + partialUnique - 1], "destination.leafCounts[wleaf][destOffset + partialUnique - 1]"); + Assert.gtZero(destination.leafCounts[wleaf][destOffset + partialUnique - 1], + "destination.leafCounts[wleaf][destOffset + partialUnique - 1]"); } else { destination.directoryCount[destination.size - 1] -= leftOver; - Assert.gtZero(destination.directoryCount[destination.size - 1], "destination.directoryCount[destination.size]"); + Assert.gtZero(destination.directoryCount[destination.size - 1], + "destination.directoryCount[destination.size]"); } } @@ -1722,7 +1761,8 @@ public void moveFrontToBack(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (size > 0 && destination.size > 0) { - Assert.assertion(geq(getMinShort(), destination.getMaxShort()), "geq(getMinShort(), destination.getMaxShort())"); + Assert.assertion(geq(getMinShort(), destination.getMaxShort()), + "geq(getMinShort(), destination.getMaxShort())"); } } @@ -1739,7 +1779,8 @@ private void updateDirectory(int leaf) { * @param finalSlots how many slots outside of completeLeaves are required * @param completeLeaves how many complete leaves are required * - * @return true if we should put our finalSlots values in the "extra" leaf. False if they should be appended to the last leaf that already exists + * @return true if we should put our finalSlots values in the "extra" leaf. False if they should be appended to the + * last leaf that already exists */ private boolean prepareAppend(int finalSlots, int completeLeaves) { Assert.leq(finalSlots, "finalSlots", leafSize, "leafSize"); @@ -1790,8 +1831,8 @@ private boolean prepareAppend(int finalSlots, int completeLeaves) { * @param initialSlots how many slots outside of a complete leaf will be prepended * @param completeLeaves how many complete leaves will be prepended * - * @return true if the initialSlots values should be copied into their own private leaf, false if they should share space - * with the next leaf + * @return true if the initialSlots values should be copied into their own private leaf, false if they should share + * space with the next leaf */ private boolean preparePrepend(int initialSlots, int completeLeaves) { final int extraLeafCount; @@ -1834,8 +1875,8 @@ private boolean preparePrepend(int initialSlots, int completeLeaves) { if (extraLeafCount == 0 && initialSlots > 0) { // make a hole in the first leaf that still has values if (directoryCount != null) { - final short [] tmpValues = new short[initialSlots + size]; - final long [] tmpCount = new long[initialSlots + size]; + final short[] tmpValues = new short[initialSlots + size]; + final long[] tmpCount = new long[initialSlots + size]; System.arraycopy(directoryValues, 0, tmpValues, initialSlots, size); System.arraycopy(directoryCount, 0, tmpCount, initialSlots, size); directoryValues = tmpValues; @@ -1869,7 +1910,7 @@ private static int countFront(long[] counts, int sz, MutableInt valuesToMove, Mu @Override public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long count) { - final ShortSegmentedSortedMultiset destination = (ShortSegmentedSortedMultiset)untypedDestination; + final ShortSegmentedSortedMultiset destination = (ShortSegmentedSortedMultiset) untypedDestination; validate(); destination.validate(); @@ -1882,7 +1923,8 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (destination.size > 0) { - Assert.assertion(leq(getMaxShort(), destination.getMinShort()), "leq(getMaxShort(), destination.getMinShort())"); + Assert.assertion(leq(getMaxShort(), destination.getMinShort()), + "leq(getMaxShort(), destination.getMinShort())"); } } @@ -1943,11 +1985,11 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou final boolean extraLeaf = destination.preparePrepend(slotsInPartialLeaf, completeLeavesToMove); if (slotsInPartialLeaf > 0) { final boolean leftOverExists = leftOver > 0; - final short [] destValues; - final long [] destCounts; + final short[] destValues; + final long[] destCounts; - final short [] srcValues; - final long [] srcCounts; + final short[] srcValues; + final long[] srcCounts; final int srcSize; if (destination.directoryCount != null) { @@ -2020,14 +2062,16 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou System.arraycopy(leafSizes, rleaf + 1, destination.leafSizes, destinationLeaf, completeLeavesToMove); final int directoryMoves; final boolean haveLastSourceDirectoryEntry = rleaf + 1 + completeLeavesToMove < leafCount - 1; - final boolean requireLastDestinationDirectoryEntry = destination.leafCount > (destinationLeaf + completeLeavesToMove); + final boolean requireLastDestinationDirectoryEntry = + destination.leafCount > (destinationLeaf + completeLeavesToMove); if (haveLastSourceDirectoryEntry && requireLastDestinationDirectoryEntry) { directoryMoves = completeLeavesToMove; } else { directoryMoves = completeLeavesToMove - 1; } if (directoryMoves > 0) { - System.arraycopy(directoryValues, rleaf + 1, destination.directoryValues, destinationLeaf, directoryMoves); + System.arraycopy(directoryValues, rleaf + 1, destination.directoryValues, destinationLeaf, + directoryMoves); } if (requireLastDestinationDirectoryEntry) { destination.updateDirectory(destinationLeaf + completeLeavesToMove - 1); @@ -2061,9 +2105,11 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou final int firstLeafTozero = hasLeftOverSlot ? rleaf + 2 : rleaf + 1; Arrays.fill(leafValues, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, null); Arrays.fill(leafCounts, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, null); - Arrays.fill(leafSizes, firstLeafTozero , firstLeafTozero + numberOfLeavesToRemove, 0); + Arrays.fill(leafSizes, firstLeafTozero, firstLeafTozero + numberOfLeavesToRemove, 0); if (directoryMoves > 0) { - Arrays.fill(directoryValues, firstLeafTozero, firstLeafTozero + directoryMoves - (completeLeavesToMove - numberOfLeavesToRemove), NULL_SHORT); + Arrays.fill(directoryValues, firstLeafTozero, + firstLeafTozero + directoryMoves - (completeLeavesToMove - numberOfLeavesToRemove), + NULL_SHORT); } maybePromoteLastLeaf(); } @@ -2082,7 +2128,8 @@ public void moveBackToFront(SegmentedSortedMultiSet untypedDestination, long cou if (SEGMENTED_SORTED_MULTISET_VALIDATION) { if (size > 0 && destination.size > 0) { - Assert.assertion(leq(getMaxShort(), destination.getMinShort()), "leq(getMaxShort(), destination.getMinShort())"); + Assert.assertion(leq(getMaxShort(), destination.getMinShort()), + "leq(getMaxShort(), destination.getMinShort())"); } } } @@ -2102,7 +2149,7 @@ private static int countBack(long[] counts, int sz, MutableInt valuesToMove, Mut } return sz - rpos; } - //endregion + // endregion @Override public WritableShortChunk keyChunk() { @@ -2117,7 +2164,7 @@ public void fillKeyChunk(WritableChunk keyChunk, int offset) { } private void fillKeyChunk(WritableShortChunk keyChunk, int offset) { - if(keyChunk.capacity() < offset + intSize()) { + if (keyChunk.capacity() < offset + intSize()) { throw new IllegalArgumentException("Input chunk is not large enough"); } @@ -2148,37 +2195,38 @@ public WritableLongChunk countChunk() { } private short[] keyArray() { - return keyArray(0, size-1); + return keyArray(0, size - 1); } /** * Create an array of the current keys beginning with the first (inclusive) and ending with the last (inclusive) + * * @param first * @param last * @return */ private short[] keyArray(long first, long last) { - if(isEmpty()) { + if (isEmpty()) { return ArrayTypeUtils.EMPTY_SHORT_ARRAY; } - final int totalSize = (int)(last - first + 1); + final int totalSize = (int) (last - first + 1); final short[] keyArray = new short[totalSize]; if (leafCount == 1) { - System.arraycopy(directoryValues, (int)first, keyArray, 0, totalSize); + System.arraycopy(directoryValues, (int) first, keyArray, 0, totalSize); } else if (leafCount > 0) { int offset = 0; int copied = 0; int skipped = 0; for (int li = 0; li < leafCount && copied < totalSize; ++li) { - if(skipped < first) { - final int toSkip = (int)first - skipped; - if(toSkip < leafSizes[li]) { + if (skipped < first) { + final int toSkip = (int) first - skipped; + if (toSkip < leafSizes[li]) { final int nToCopy = Math.min(leafSizes[li] - toSkip, totalSize); System.arraycopy(leafValues[li], toSkip, keyArray, 0, nToCopy); copied = nToCopy; offset = copied; - skipped = (int)first; + skipped = (int) first; } else { skipped += leafSizes[li]; } @@ -2199,7 +2247,7 @@ private void maybeAccumulateAdditions(WritableShortChunk value return; } - if(prevValues == null) { + if (prevValues == null) { prevValues = new ShortVectorDirect(keyArray()); } @@ -2207,7 +2255,7 @@ private void maybeAccumulateAdditions(WritableShortChunk value added = new TShortHashSet(valuesToInsert.size()); } - if(removed == null) { + if (removed == null) { for (int ii = 0; ii < valuesToInsert.size(); ii++) { added.add(valuesToInsert.get(ii)); } @@ -2224,19 +2272,19 @@ private void maybeAccumulateAdditions(WritableShortChunk value } private void maybeAccumulateRemoval(short valueRemoved) { - if(!accumulateDeltas) { + if (!accumulateDeltas) { return; } - if(prevValues == null) { + if (prevValues == null) { prevValues = new ShortVectorDirect(keyArray()); } - if(removed == null) { + if (removed == null) { removed = new TShortHashSet(); } - if(added == null || !added.remove(valueRemoved)) { + if (added == null || !added.remove(valueRemoved)) { removed.add(valueRemoved); } } @@ -2278,16 +2326,16 @@ public ShortVector getPrevValues() { // region ShortVector @Override public short get(long index) { - if(index < 0 || index > size()) { + if (index < 0 || index > size()) { throw new IllegalArgumentException("Illegal index " + index + " current size: " + size()); } - if(leafCount == 1) { + if (leafCount == 1) { return directoryValues[(int) index]; } else { - for(int ii = 0; ii < leafCount; ii++) { - if(index < leafSizes[ii]) { - return leafValues[ii][(int)(index)]; + for (int ii = 0; ii < leafCount; ii++) { + if (index < leafSizes[ii]) { + return leafValues[ii][(int) (index)]; } index -= leafSizes[ii]; } @@ -2331,21 +2379,21 @@ public long size() { public ShortVector getDirect() { return new ShortVectorDirect(keyArray()); } - //endregion + // endregion - //region VectorEquals + // region VectorEquals private boolean equalsArray(ShortVector o) { - if(size() != o.size()) { + if (size() != o.size()) { return false; } - if(leafCount == 1) { - for(int ii = 0; ii < size; ii++) { - //region DirObjectEquals - if(directoryValues[ii] != o.get(ii)) { + if (leafCount == 1) { + for (int ii = 0; ii < size; ii++) { + // region DirObjectEquals + if (directoryValues[ii] != o.get(ii)) { return false; } - //endregion DirObjectEquals + // endregion DirObjectEquals } return true; @@ -2353,8 +2401,8 @@ private boolean equalsArray(ShortVector o) { int nCompared = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - if(leafValues[li][ai] != o.get(nCompared++)) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + if (leafValues[li][ai] != o.get(nCompared++)) { return false; } } @@ -2362,29 +2410,29 @@ private boolean equalsArray(ShortVector o) { return true; } - //endregion VectorEquals + // endregion VectorEquals private boolean equalsArray(ObjectVector o) { - //region EqualsArrayTypeCheck - if(o.getComponentType() != short.class && o.getComponentType() != Short.class) { + // region EqualsArrayTypeCheck + if (o.getComponentType() != short.class && o.getComponentType() != Short.class) { return false; } - //endregion EqualsArrayTypeCheck + // endregion EqualsArrayTypeCheck - if(size() != o.size()) { + if (size() != o.size()) { return false; } - if(leafCount == 1) { - for(int ii = 0; ii < size; ii++) { - final Short val = (Short)o.get(ii); - //region VectorEquals - if(directoryValues[ii] == NULL_SHORT && val != null && val != NULL_SHORT) { + if (leafCount == 1) { + for (int ii = 0; ii < size; ii++) { + final Short val = (Short) o.get(ii); + // region VectorEquals + if (directoryValues[ii] == NULL_SHORT && val != null && val != NULL_SHORT) { return false; } - //endregion VectorEquals + // endregion VectorEquals - if(!Objects.equals(directoryValues[ii], val)) { + if (!Objects.equals(directoryValues[ii], val)) { return false; } } @@ -2394,15 +2442,15 @@ private boolean equalsArray(ObjectVector o) { int nCompared = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - final Short val = (Short)o.get(nCompared++); - //region VectorEquals - if(leafValues[li][ai] == NULL_SHORT && val != null && val != NULL_SHORT) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + final Short val = (Short) o.get(nCompared++); + // region VectorEquals + if (leafValues[li][ai] == NULL_SHORT && val != null && val != NULL_SHORT) { return false; } - //endregion VectorEquals + // endregion VectorEquals - if(!Objects.equals(leafValues[li][ai], val)) { + if (!Objects.equals(leafValues[li][ai], val)) { return false; } } @@ -2413,36 +2461,37 @@ private boolean equalsArray(ObjectVector o) { @Override public boolean equals(Object o) { - if (this == o) return true; + if (this == o) + return true; if (!(o instanceof ShortSegmentedSortedMultiset)) { - //region VectorEquals - if(o instanceof ShortVector) { - return equalsArray((ShortVector)o); + // region VectorEquals + if (o instanceof ShortVector) { + return equalsArray((ShortVector) o); } - //endregion VectorEquals + // endregion VectorEquals - if(o instanceof ObjectVector) { - return equalsArray((ObjectVector)o); + if (o instanceof ObjectVector) { + return equalsArray((ObjectVector) o); } return false; } final ShortSegmentedSortedMultiset that = (ShortSegmentedSortedMultiset) o; - if(size() != that.size()) { + if (size() != that.size()) { return false; } - if(leafCount == 1) { - if(that.leafCount != 1 || size != that.size) { + if (leafCount == 1) { + if (that.leafCount != 1 || size != that.size) { return false; } - for(int ii = 0; ii < size; ii++) { - //region DirObjectEquals - if(directoryValues[ii] != that.directoryValues[ii]) { + for (int ii = 0; ii < size; ii++) { + // region DirObjectEquals + if (directoryValues[ii] != that.directoryValues[ii]) { return false; } - //endregion DirObjectEquals + // endregion DirObjectEquals } return true; @@ -2451,19 +2500,19 @@ public boolean equals(Object o) { int otherLeaf = 0; int otherLeafIdx = 0; for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { - //region LeafObjectEquals - if(leafValues[li][ai] != that.leafValues[otherLeaf][otherLeafIdx++]) { + for (int ai = 0; ai < leafSizes[li]; ai++) { + // region LeafObjectEquals + if (leafValues[li][ai] != that.leafValues[otherLeaf][otherLeafIdx++]) { return false; } - //endregion LeafObjectEquals + // endregion LeafObjectEquals - if(otherLeafIdx >= that.leafSizes[otherLeaf]) { + if (otherLeafIdx >= that.leafSizes[otherLeaf]) { otherLeaf++; otherLeafIdx = 0; } - if(otherLeaf >= that.leafCount) { + if (otherLeaf >= that.leafCount) { return false; } } @@ -2474,9 +2523,9 @@ public boolean equals(Object o) { @Override public int hashCode() { - if(leafCount == 1) { + if (leafCount == 1) { int result = Objects.hash(size); - for(int ii = 0; ii < size; ii++) { + for (int ii = 0; ii < size; ii++) { result = result * 31 + Objects.hash(directoryValues[ii]); } @@ -2486,7 +2535,7 @@ public int hashCode() { int result = Objects.hash(leafCount, size); for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { + for (int ai = 0; ai < leafSizes[li]; ai++) { result = result * 31 + Objects.hash(leafValues[li][ai]); } } @@ -2501,7 +2550,7 @@ public String toString() { } else if (leafCount > 0) { StringBuilder arrAsString = new StringBuilder("["); for (int li = 0; li < leafCount; ++li) { - for(int ai = 0; ai < leafSizes[li]; ai++) { + for (int ai = 0; ai < leafSizes[li]; ai++) { arrAsString.append(leafValues[li][ai]).append(", "); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/BucketedPartitionedUpdateByManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/BucketedPartitionedUpdateByManager.java index 9f9b0b45415..83461f2a75b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/BucketedPartitionedUpdateByManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/BucketedPartitionedUpdateByManager.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateBy.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateBy.java index 298ada3a2dd..f1c8f927691 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateBy.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateBy.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import gnu.trove.list.array.TIntArrayList; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByBucketHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByBucketHelper.java index 2aac97cd85d..ab7de9a15c9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByBucketHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByBucketHelper.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.updateby.UpdateByControl; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByOperator.java index 6601db1f771..b82ef5c83eb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByOperatorFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByOperatorFactory.java index 9a2a295e1e7..45e594997ce 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByOperatorFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByOperatorFactory.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.Pair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindow.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindow.java index dcee470e55b..501b37fd67f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindow.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindow.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindowCumulative.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindowCumulative.java index d161c4163c2..fc0dba46273 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindowCumulative.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindowCumulative.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindowRollingBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindowRollingBase.java index baa54fff036..e35973bc1a0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindowRollingBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindowRollingBase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindowRollingTicks.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindowRollingTicks.java index 40bc369cace..d180da64789 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindowRollingTicks.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindowRollingTicks.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.base.ArrayUtil; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindowRollingTime.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindowRollingTime.java index 39067ab9053..ee42b5007b3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindowRollingTime.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/UpdateByWindowRollingTime.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.base.ringbuffer.LongRingBuffer; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/ZeroKeyUpdateByManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/ZeroKeyUpdateByManager.java index d62cf744bc5..98f43be8cf7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/ZeroKeyUpdateByManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/ZeroKeyUpdateByManager.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/BigDecimalDeltaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/BigDecimalDeltaOperator.java index 1618dbc7708..ab05475b96f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/BigDecimalDeltaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/BigDecimalDeltaOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.delta; import io.deephaven.api.updateby.DeltaControl; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/BigIntegerDeltaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/BigIntegerDeltaOperator.java index 3a1d28c7d23..27f6248dca9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/BigIntegerDeltaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/BigIntegerDeltaOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.delta; import io.deephaven.api.updateby.DeltaControl; @@ -52,8 +55,8 @@ public void push(int pos, int count) { curVal = control.nullBehavior() == NullBehavior.NullDominates ? null : (control.nullBehavior() == NullBehavior.ZeroDominates - ? BigInteger.ZERO - : currentVal); + ? BigInteger.ZERO + : currentVal); } else { curVal = currentVal.subtract(lastVal); } @@ -63,7 +66,7 @@ public void push(int pos, int count) { } public BigIntegerDeltaOperator(@NotNull final MatchPair pair, @NotNull final DeltaControl control) { - super(pair, new String[] { pair.rightColumn }, BigInteger.class); + super(pair, new String[] {pair.rightColumn}, BigInteger.class); this.control = control; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/ByteDeltaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/ByteDeltaOperator.java index 7606190f2da..520f744af95 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/ByteDeltaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/ByteDeltaOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharDeltaOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharDeltaOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.delta; import io.deephaven.api.updateby.DeltaControl; @@ -58,10 +60,10 @@ public void push(int pos, int count) { curVal = control.nullBehavior() == NullBehavior.NullDominates ? NULL_BYTE : (control.nullBehavior() == NullBehavior.ZeroDominates - ? (byte)0 - : currentVal); + ? (byte) 0 + : currentVal); } else { - curVal = (byte)(currentVal - lastVal); + curVal = (byte) (currentVal - lastVal); } lastVal = currentVal; @@ -71,10 +73,10 @@ public void push(int pos, int count) { public ByteDeltaOperator( @NotNull final MatchPair pair, @NotNull final DeltaControl control - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); this.control = control; // region constructor // endregion constructor diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/CharDeltaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/CharDeltaOperator.java index ba0c24a65e6..22e3bd0d523 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/CharDeltaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/CharDeltaOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.delta; import io.deephaven.api.updateby.DeltaControl; @@ -53,10 +56,10 @@ public void push(int pos, int count) { curVal = control.nullBehavior() == NullBehavior.NullDominates ? NULL_CHAR : (control.nullBehavior() == NullBehavior.ZeroDominates - ? (char)0 - : currentVal); + ? (char) 0 + : currentVal); } else { - curVal = (char)(currentVal - lastVal); + curVal = (char) (currentVal - lastVal); } lastVal = currentVal; @@ -66,10 +69,10 @@ public void push(int pos, int count) { public CharDeltaOperator( @NotNull final MatchPair pair, @NotNull final DeltaControl control - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); this.control = control; // region constructor // endregion constructor diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/DoubleDeltaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/DoubleDeltaOperator.java index d111cbfcb02..c26aec7bd44 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/DoubleDeltaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/DoubleDeltaOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharDeltaOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharDeltaOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.delta; import io.deephaven.api.updateby.DeltaControl; @@ -58,10 +60,10 @@ public void push(int pos, int count) { curVal = control.nullBehavior() == NullBehavior.NullDominates ? NULL_DOUBLE : (control.nullBehavior() == NullBehavior.ZeroDominates - ? (double)0 - : currentVal); + ? (double) 0 + : currentVal); } else { - curVal = (double)(currentVal - lastVal); + curVal = (double) (currentVal - lastVal); } lastVal = currentVal; @@ -71,10 +73,10 @@ public void push(int pos, int count) { public DoubleDeltaOperator( @NotNull final MatchPair pair, @NotNull final DeltaControl control - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); this.control = control; // region constructor // endregion constructor diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/FloatDeltaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/FloatDeltaOperator.java index 00ecfa3a2b8..ecdf396e2b5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/FloatDeltaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/FloatDeltaOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharDeltaOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharDeltaOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.delta; import io.deephaven.api.updateby.DeltaControl; @@ -58,10 +60,10 @@ public void push(int pos, int count) { curVal = control.nullBehavior() == NullBehavior.NullDominates ? NULL_FLOAT : (control.nullBehavior() == NullBehavior.ZeroDominates - ? (float)0 - : currentVal); + ? (float) 0 + : currentVal); } else { - curVal = (float)(currentVal - lastVal); + curVal = (float) (currentVal - lastVal); } lastVal = currentVal; @@ -71,10 +73,10 @@ public void push(int pos, int count) { public FloatDeltaOperator( @NotNull final MatchPair pair, @NotNull final DeltaControl control - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); this.control = control; // region constructor // endregion constructor diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/IntDeltaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/IntDeltaOperator.java index 31a48d6f4af..6d4feb02e2d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/IntDeltaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/IntDeltaOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharDeltaOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharDeltaOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.delta; import io.deephaven.api.updateby.DeltaControl; @@ -58,10 +60,10 @@ public void push(int pos, int count) { curVal = control.nullBehavior() == NullBehavior.NullDominates ? NULL_INT : (control.nullBehavior() == NullBehavior.ZeroDominates - ? (int)0 - : currentVal); + ? (int) 0 + : currentVal); } else { - curVal = (int)(currentVal - lastVal); + curVal = (int) (currentVal - lastVal); } lastVal = currentVal; @@ -71,10 +73,10 @@ public void push(int pos, int count) { public IntDeltaOperator( @NotNull final MatchPair pair, @NotNull final DeltaControl control - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); this.control = control; // region constructor // endregion constructor diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/LongDeltaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/LongDeltaOperator.java index e9a3348228a..d700ce8fcf8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/LongDeltaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/LongDeltaOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharDeltaOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharDeltaOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.delta; import io.deephaven.api.updateby.DeltaControl; @@ -58,10 +60,10 @@ public void push(int pos, int count) { curVal = control.nullBehavior() == NullBehavior.NullDominates ? NULL_LONG : (control.nullBehavior() == NullBehavior.ZeroDominates - ? (long)0 - : currentVal); + ? (long) 0 + : currentVal); } else { - curVal = (long)(currentVal - lastVal); + curVal = (long) (currentVal - lastVal); } lastVal = currentVal; @@ -71,10 +73,10 @@ public void push(int pos, int count) { public LongDeltaOperator( @NotNull final MatchPair pair, @NotNull final DeltaControl control - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); this.control = control; // region constructor // endregion constructor diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/ShortDeltaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/ShortDeltaOperator.java index 1f345c38fd5..c6331e344a8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/ShortDeltaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/delta/ShortDeltaOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharDeltaOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharDeltaOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.delta; import io.deephaven.api.updateby.DeltaControl; @@ -58,10 +60,10 @@ public void push(int pos, int count) { curVal = control.nullBehavior() == NullBehavior.NullDominates ? NULL_SHORT : (control.nullBehavior() == NullBehavior.ZeroDominates - ? (short)0 - : currentVal); + ? (short) 0 + : currentVal); } else { - curVal = (short)(currentVal - lastVal); + curVal = (short) (currentVal - lastVal); } lastVal = currentVal; @@ -71,10 +73,10 @@ public void push(int pos, int count) { public ShortDeltaOperator( @NotNull final MatchPair pair, @NotNull final DeltaControl control - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); this.control = control; // region constructor // endregion constructor diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/BaseBigNumberEMOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/BaseBigNumberEMOperator.java index 20616d45278..d26b8aee98c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/BaseBigNumberEMOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/BaseBigNumberEMOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.em; import io.deephaven.api.updateby.BadDataBehavior; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/BasePrimitiveEMOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/BasePrimitiveEMOperator.java index c841a417d4c..7be34f6dd7e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/BasePrimitiveEMOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/BasePrimitiveEMOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.em; import io.deephaven.api.updateby.BadDataBehavior; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/BigDecimalEMOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/BigDecimalEMOperator.java index 7c2020478e4..334ec4fda2c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/BigDecimalEMOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/BigDecimalEMOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.em; import io.deephaven.api.updateby.OperationControl; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/BigIntegerEMOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/BigIntegerEMOperator.java index 17904ea2b6e..1981e815350 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/BigIntegerEMOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/BigIntegerEMOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.em; import io.deephaven.api.updateby.OperationControl; @@ -44,7 +47,7 @@ public void accumulateCumulative( curVal = decimalInput; } else { curVal = aggFunction.apply(curVal, decimalInput, opAlpha, opOneMinusAlpha); - } + } } outputValues.set(ii, curVal); } @@ -93,15 +96,16 @@ public void push(int pos, int count) { throw new IllegalStateException("EMAOperator#push() is not used"); } } - + /** * An operator that computes an EMA from a BigInteger column using an exponential decay function. * - * @param pair the {@link MatchPair} that defines the input/output for this operation - * @param affectingColumns the names of the columns that affect this ema - * @param control defines how to handle {@code null} input values. + * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param affectingColumns the names of the columns that affect this ema + * @param control defines how to handle {@code null} input values. * @param timestampColumnName the name of the column containing timestamps for time-based calcuations - * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is measured in ticks, otherwise it is measured in nanoseconds + * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is + * measured in ticks, otherwise it is measured in nanoseconds */ public BigIntegerEMOperator( @NotNull final MatchPair pair, @@ -115,7 +119,8 @@ public BigIntegerEMOperator( @Override public UpdateByOperator copy() { - return new BigIntegerEMOperator(pair, affectingColumns, control, timestampColumnName, reverseWindowScaleUnits, aggFunction); + return new BigIntegerEMOperator(pair, affectingColumns, control, timestampColumnName, reverseWindowScaleUnits, + aggFunction); } @NotNull diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/ByteEMOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/ByteEMOperator.java index 3d12575eadb..568f67fca37 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/ByteEMOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/ByteEMOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharEMOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharEMOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.em; import io.deephaven.api.updateby.OperationControl; @@ -39,9 +41,9 @@ public void setValueChunks(@NotNull final Chunk[] valueChunks) @Override public void accumulateCumulative(@NotNull RowSequence inputKeys, - Chunk[] valueChunkArr, - LongChunk tsChunk, - int len) { + Chunk[] valueChunkArr, + LongChunk tsChunk, + int len) { setValueChunks(valueChunkArr); // chunk processing @@ -68,7 +70,7 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, // read the value from the values chunk final byte input = byteValueChunk.get(ii); final long timestamp = tsChunk.get(ii); - //noinspection ConstantConditions + // noinspection ConstantConditions final boolean isNull = input == nullValue; final boolean isNullTime = timestamp == NULL_LONG; if (isNull) { @@ -116,11 +118,12 @@ public void push(int pos, int count) { /** * An operator that computes an EMA from a byte column using an exponential decay function. * - * @param pair the {@link MatchPair} that defines the input/output for this operation - * @param affectingColumns the names of the columns that affect this ema - * @param control defines how to handle {@code null} input values. + * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param affectingColumns the names of the columns that affect this ema + * @param control defines how to handle {@code null} input values. * @param timestampColumnName the name of the column containing timestamps for time-based calcuations - * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is measured in ticks, otherwise it is measured in nanoseconds + * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is + * measured in ticks, otherwise it is measured in nanoseconds */ public ByteEMOperator( @NotNull final MatchPair pair, @@ -129,9 +132,9 @@ public ByteEMOperator( @Nullable final String timestampColumnName, final double windowScaleUnits, @NotNull final EmFunction aggFunction - // region extra-constructor-args + // region extra-constructor-args ,final byte nullValue - // endregion extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, control, timestampColumnName, windowScaleUnits, aggFunction); // region constructor @@ -148,9 +151,9 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, aggFunction - // region extra-copy-args + // region extra-copy-args , nullValue - // endregion extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/CharEMOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/CharEMOperator.java index b189d61a00a..7cfa5c3b4f4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/CharEMOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/CharEMOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.em; import io.deephaven.api.updateby.OperationControl; @@ -33,9 +36,9 @@ public void setValueChunks(@NotNull final Chunk[] valueChunks) @Override public void accumulateCumulative(@NotNull RowSequence inputKeys, - Chunk[] valueChunkArr, - LongChunk tsChunk, - int len) { + Chunk[] valueChunkArr, + LongChunk tsChunk, + int len) { setValueChunks(valueChunkArr); // chunk processing @@ -62,7 +65,7 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, // read the value from the values chunk final char input = charValueChunk.get(ii); final long timestamp = tsChunk.get(ii); - //noinspection ConstantConditions + // noinspection ConstantConditions final boolean isNull = input == NULL_CHAR; final boolean isNullTime = timestamp == NULL_LONG; if (isNull) { @@ -110,11 +113,12 @@ public void push(int pos, int count) { /** * An operator that computes an EMA from a char column using an exponential decay function. * - * @param pair the {@link MatchPair} that defines the input/output for this operation - * @param affectingColumns the names of the columns that affect this ema - * @param control defines how to handle {@code null} input values. + * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param affectingColumns the names of the columns that affect this ema + * @param control defines how to handle {@code null} input values. * @param timestampColumnName the name of the column containing timestamps for time-based calcuations - * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is measured in ticks, otherwise it is measured in nanoseconds + * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is + * measured in ticks, otherwise it is measured in nanoseconds */ public CharEMOperator( @NotNull final MatchPair pair, @@ -123,8 +127,8 @@ public CharEMOperator( @Nullable final String timestampColumnName, final double windowScaleUnits, @NotNull final EmFunction aggFunction - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, control, timestampColumnName, windowScaleUnits, aggFunction); // region constructor @@ -140,8 +144,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, aggFunction - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/DoubleEMOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/DoubleEMOperator.java index b87eefcb9e1..293ff08f7a9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/DoubleEMOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/DoubleEMOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatEMOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatEMOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.em; import io.deephaven.api.updateby.BadDataBehavior; @@ -119,19 +121,19 @@ public void push(int pos, int count) { /** * An operator that computes an EMA from a double column using an exponential decay function. * - * @param pair the {@link MatchPair} that defines the input/output for this operation - * @param affectingColumns the names of the columns that affect this ema - * @param control defines how to handle {@code null} input values. + * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param affectingColumns the names of the columns that affect this ema + * @param control defines how to handle {@code null} input values. * @param timestampColumnName the name of the column containing timestamps for time-based calcuations - * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is measured in ticks, otherwise it is measured in nanoseconds + * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is + * measured in ticks, otherwise it is measured in nanoseconds */ public DoubleEMOperator(@NotNull final MatchPair pair, - @NotNull final String[] affectingColumns, - @NotNull final OperationControl control, - @Nullable final String timestampColumnName, - final double windowScaleUnits, - @NotNull final EmFunction aggFunction - ) { + @NotNull final String[] affectingColumns, + @NotNull final OperationControl control, + @Nullable final String timestampColumnName, + final double windowScaleUnits, + @NotNull final EmFunction aggFunction) { super(pair, affectingColumns, control, timestampColumnName, windowScaleUnits, aggFunction); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/FloatEMOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/FloatEMOperator.java index 4efc955a689..7fa92bcb57c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/FloatEMOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/FloatEMOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.em; import io.deephaven.api.updateby.BadDataBehavior; @@ -114,19 +117,19 @@ public void push(int pos, int count) { /** * An operator that computes an EMA from a float column using an exponential decay function. * - * @param pair the {@link MatchPair} that defines the input/output for this operation - * @param affectingColumns the names of the columns that affect this ema - * @param control defines how to handle {@code null} input values. + * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param affectingColumns the names of the columns that affect this ema + * @param control defines how to handle {@code null} input values. * @param timestampColumnName the name of the column containing timestamps for time-based calcuations - * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is measured in ticks, otherwise it is measured in nanoseconds + * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is + * measured in ticks, otherwise it is measured in nanoseconds */ public FloatEMOperator(@NotNull final MatchPair pair, - @NotNull final String[] affectingColumns, - @NotNull final OperationControl control, - @Nullable final String timestampColumnName, - final double windowScaleUnits, - @NotNull final EmFunction aggFunction - ) { + @NotNull final String[] affectingColumns, + @NotNull final OperationControl control, + @Nullable final String timestampColumnName, + final double windowScaleUnits, + @NotNull final EmFunction aggFunction) { super(pair, affectingColumns, control, timestampColumnName, windowScaleUnits, aggFunction); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/IntEMOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/IntEMOperator.java index 441bd31bf02..9362f01c491 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/IntEMOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/IntEMOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharEMOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharEMOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.em; import io.deephaven.api.updateby.OperationControl; @@ -38,9 +40,9 @@ public void setValueChunks(@NotNull final Chunk[] valueChunks) @Override public void accumulateCumulative(@NotNull RowSequence inputKeys, - Chunk[] valueChunkArr, - LongChunk tsChunk, - int len) { + Chunk[] valueChunkArr, + LongChunk tsChunk, + int len) { setValueChunks(valueChunkArr); // chunk processing @@ -67,7 +69,7 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, // read the value from the values chunk final int input = intValueChunk.get(ii); final long timestamp = tsChunk.get(ii); - //noinspection ConstantConditions + // noinspection ConstantConditions final boolean isNull = input == NULL_INT; final boolean isNullTime = timestamp == NULL_LONG; if (isNull) { @@ -115,11 +117,12 @@ public void push(int pos, int count) { /** * An operator that computes an EMA from a int column using an exponential decay function. * - * @param pair the {@link MatchPair} that defines the input/output for this operation - * @param affectingColumns the names of the columns that affect this ema - * @param control defines how to handle {@code null} input values. + * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param affectingColumns the names of the columns that affect this ema + * @param control defines how to handle {@code null} input values. * @param timestampColumnName the name of the column containing timestamps for time-based calcuations - * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is measured in ticks, otherwise it is measured in nanoseconds + * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is + * measured in ticks, otherwise it is measured in nanoseconds */ public IntEMOperator( @NotNull final MatchPair pair, @@ -128,8 +131,8 @@ public IntEMOperator( @Nullable final String timestampColumnName, final double windowScaleUnits, @NotNull final EmFunction aggFunction - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, control, timestampColumnName, windowScaleUnits, aggFunction); // region constructor @@ -145,8 +148,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, aggFunction - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/LongEMOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/LongEMOperator.java index 6f7002e36e4..0888f10680a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/LongEMOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/LongEMOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharEMOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharEMOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.em; import io.deephaven.api.updateby.OperationControl; @@ -38,9 +40,9 @@ public void setValueChunks(@NotNull final Chunk[] valueChunks) @Override public void accumulateCumulative(@NotNull RowSequence inputKeys, - Chunk[] valueChunkArr, - LongChunk tsChunk, - int len) { + Chunk[] valueChunkArr, + LongChunk tsChunk, + int len) { setValueChunks(valueChunkArr); // chunk processing @@ -67,7 +69,7 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, // read the value from the values chunk final long input = longValueChunk.get(ii); final long timestamp = tsChunk.get(ii); - //noinspection ConstantConditions + // noinspection ConstantConditions final boolean isNull = input == NULL_LONG; final boolean isNullTime = timestamp == NULL_LONG; if (isNull) { @@ -115,11 +117,12 @@ public void push(int pos, int count) { /** * An operator that computes an EMA from a long column using an exponential decay function. * - * @param pair the {@link MatchPair} that defines the input/output for this operation - * @param affectingColumns the names of the columns that affect this ema - * @param control defines how to handle {@code null} input values. + * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param affectingColumns the names of the columns that affect this ema + * @param control defines how to handle {@code null} input values. * @param timestampColumnName the name of the column containing timestamps for time-based calcuations - * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is measured in ticks, otherwise it is measured in nanoseconds + * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is + * measured in ticks, otherwise it is measured in nanoseconds */ public LongEMOperator( @NotNull final MatchPair pair, @@ -128,8 +131,8 @@ public LongEMOperator( @Nullable final String timestampColumnName, final double windowScaleUnits, @NotNull final EmFunction aggFunction - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, control, timestampColumnName, windowScaleUnits, aggFunction); // region constructor @@ -145,8 +148,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, aggFunction - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/ShortEMOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/ShortEMOperator.java index 85091f74530..865e163087c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/ShortEMOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/em/ShortEMOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharEMOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharEMOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.em; import io.deephaven.api.updateby.OperationControl; @@ -38,9 +40,9 @@ public void setValueChunks(@NotNull final Chunk[] valueChunks) @Override public void accumulateCumulative(@NotNull RowSequence inputKeys, - Chunk[] valueChunkArr, - LongChunk tsChunk, - int len) { + Chunk[] valueChunkArr, + LongChunk tsChunk, + int len) { setValueChunks(valueChunkArr); // chunk processing @@ -67,7 +69,7 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, // read the value from the values chunk final short input = shortValueChunk.get(ii); final long timestamp = tsChunk.get(ii); - //noinspection ConstantConditions + // noinspection ConstantConditions final boolean isNull = input == NULL_SHORT; final boolean isNullTime = timestamp == NULL_LONG; if (isNull) { @@ -115,11 +117,12 @@ public void push(int pos, int count) { /** * An operator that computes an EMA from a short column using an exponential decay function. * - * @param pair the {@link MatchPair} that defines the input/output for this operation - * @param affectingColumns the names of the columns that affect this ema - * @param control defines how to handle {@code null} input values. + * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param affectingColumns the names of the columns that affect this ema + * @param control defines how to handle {@code null} input values. * @param timestampColumnName the name of the column containing timestamps for time-based calcuations - * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is measured in ticks, otherwise it is measured in nanoseconds + * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is + * measured in ticks, otherwise it is measured in nanoseconds */ public ShortEMOperator( @NotNull final MatchPair pair, @@ -128,8 +131,8 @@ public ShortEMOperator( @Nullable final String timestampColumnName, final double windowScaleUnits, @NotNull final EmFunction aggFunction - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, control, timestampColumnName, windowScaleUnits, aggFunction); // region constructor @@ -145,8 +148,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, aggFunction - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/BaseBigNumberEmStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/BaseBigNumberEmStdOperator.java index 44bf74f070f..7e989879e54 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/BaseBigNumberEmStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/BaseBigNumberEmStdOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.emstd; import io.deephaven.api.updateby.BadDataBehavior; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/BasePrimitiveEmStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/BasePrimitiveEmStdOperator.java index 4366dfa4ed5..26a5e97b1ef 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/BasePrimitiveEmStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/BasePrimitiveEmStdOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.emstd; import io.deephaven.api.updateby.BadDataBehavior; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/BigDecimalEmStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/BigDecimalEmStdOperator.java index bbed4c93cd4..98b499f597d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/BigDecimalEmStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/BigDecimalEmStdOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.emstd; import io.deephaven.api.updateby.OperationControl; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/BigIntegerEmStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/BigIntegerEmStdOperator.java index e76ccdd5dd7..079dba39e41 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/BigIntegerEmStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/BigIntegerEmStdOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.emstd; import io.deephaven.api.updateby.OperationControl; @@ -18,19 +21,20 @@ import static io.deephaven.util.QueryConstants.NULL_LONG; /*** - * Compute an exponential moving standard deviation for a BigInteger column source. The output is expressed as a + * Compute an exponential moving standard deviation for a BigInteger column source. The output is expressed as a * BigDecimal value and is computed using the following formula: *

* variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) *

* This function is described in the following document: *

- * "Incremental calculation of weighted mean and variance" - * Tony Finch, University of Cambridge Computing Service (February 2009) + * "Incremental calculation of weighted mean and variance" Tony Finch, University of Cambridge Computing Service + * (February 2009) * https://web.archive.org/web/20181222175223/http://people.ds.cam.ac.uk/fanf2/hermes/doc/antiforgery/stats.pdf *

* NOTE: `alpha` as used in the paper has been replaced with `1 - alpha` per the convention adopted by Deephaven. - */public class BigIntegerEmStdOperator extends BaseBigNumberEmStdOperator { + */ +public class BigIntegerEmStdOperator extends BaseBigNumberEmStdOperator { public class Context extends BaseBigNumberEmStdOperator.Context { protected Context(final int affectedChunkSize, final int influencerChunkSize) { super(affectedChunkSize); @@ -38,9 +42,9 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { @Override public void accumulateCumulative(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] valueChunkArr, - @Nullable final LongChunk tsChunk, - final int len) { + @NotNull final Chunk[] valueChunkArr, + @Nullable final LongChunk tsChunk, + final int len) { setValueChunks(valueChunkArr); // chunk processing @@ -58,10 +62,11 @@ public void accumulateCumulative(@NotNull final RowSequence inputKeys, curVariance = BigDecimal.ZERO; curVal = null; } else { - // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) + // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) curVariance = opAlpha.multiply( curVariance.add( - opOneMinusAlpha.multiply(decInput.subtract(curEma).pow(2, mathContext)), mathContext), + opOneMinusAlpha.multiply(decInput.subtract(curEma).pow(2, mathContext)), + mathContext), mathContext); final BigDecimal decayedEmaVal = curEma.multiply(opAlpha, mathContext); @@ -103,11 +108,12 @@ public void accumulateCumulative(@NotNull final RowSequence inputKeys, oneMinusAlpha = computeOneMinusAlpha(alpha); lastDt = dt; } - // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) + // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) final BigDecimal decInput = new BigDecimal(input, mathContext); curVariance = alpha.multiply( curVariance.add( - oneMinusAlpha.multiply(decInput.subtract(curEma).pow(2, mathContext)), mathContext), + oneMinusAlpha.multiply(decInput.subtract(curEma).pow(2, mathContext)), + mathContext), mathContext); final BigDecimal decayedEmaVal = curEma.multiply(alpha, mathContext); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/ByteEmStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/ByteEmStdOperator.java index f1325adc504..609345e2abb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/ByteEmStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/ByteEmStdOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharEmStdOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharEmStdOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.emstd; import io.deephaven.api.updateby.OperationControl; @@ -20,15 +22,15 @@ import static io.deephaven.util.QueryConstants.*; /*** - * Compute an exponential moving standard deviation for a byte column source. The output is expressed as a double - * value and is computed using the following formula: + * Compute an exponential moving standard deviation for a byte column source. The output is expressed as a double value + * and is computed using the following formula: *

* variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) *

* This function is described in the following document: *

- * "Incremental calculation of weighted mean and variance" - * Tony Finch, University of Cambridge Computing Service (February 2009) + * "Incremental calculation of weighted mean and variance" Tony Finch, University of Cambridge Computing Service + * (February 2009) * https://web.archive.org/web/20181222175223/http://people.ds.cam.ac.uk/fanf2/hermes/doc/antiforgery/stats.pdf *

* NOTE: `alpha` as used in the paper has been replaced with `1 - alpha` per the convention adopted by Deephaven. @@ -49,9 +51,9 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { @Override public void accumulateCumulative(@NotNull RowSequence inputKeys, - Chunk[] valueChunkArr, - LongChunk tsChunk, - int len) { + Chunk[] valueChunkArr, + LongChunk tsChunk, + int len) { setValueChunks(valueChunkArr); // chunk processing @@ -69,11 +71,11 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, curVariance = 0.0; curVal = Double.NaN; } else { - // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) + // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) curVariance = opAlpha * (curVariance + opOneMinusAlpha * Math.pow(input - curEma, 2.0)); final double decayedEmaVal = curEma * opAlpha; - curEma = decayedEmaVal + (opOneMinusAlpha * input); + curEma = decayedEmaVal + (opOneMinusAlpha * input); curVal = Math.sqrt(curVariance); } } @@ -88,7 +90,7 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, // read the value from the values chunk final byte input = byteValueChunk.get(ii); final long timestamp = tsChunk.get(ii); - //noinspection ConstantConditions + // noinspection ConstantConditions final boolean isNull = input == nullValue; final boolean isNullTime = timestamp == NULL_LONG; @@ -113,11 +115,11 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, oneMinusAlpha = 1.0 - alpha; lastDt = dt; } - // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) + // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) curVariance = alpha * (curVariance + oneMinusAlpha * Math.pow(input - curEma, 2.0)); final double decayedEmaVal = curEma * alpha; - curEma = decayedEmaVal + (oneMinusAlpha * input); + curEma = decayedEmaVal + (oneMinusAlpha * input); curVal = Math.sqrt(curVariance); lastStamp = timestamp; @@ -153,24 +155,25 @@ public boolean isValueValid(long atKey) { } /** - * An operator that computes an exponential moving standard deviation from a byte column using an exponential - * decay function. + * An operator that computes an exponential moving standard deviation from a byte column using an exponential decay + * function. * - * @param pair the {@link MatchPair} that defines the input/output for this operation - * @param affectingColumns the names of the columns that affect this ema - * @param control defines how to handle {@code null} input values. + * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param affectingColumns the names of the columns that affect this ema + * @param control defines how to handle {@code null} input values. * @param timestampColumnName the name of the column containing timestamps for time-based calcuations - * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is measured in ticks, otherwise it is measured in nanoseconds + * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is + * measured in ticks, otherwise it is measured in nanoseconds */ public ByteEmStdOperator( @NotNull final MatchPair pair, - @NotNull final String[] affectingColumns, - @NotNull final OperationControl control, - @Nullable final String timestampColumnName, - final double windowScaleUnits - // region extra-constructor-args + @NotNull final String[] affectingColumns, + @NotNull final OperationControl control, + @Nullable final String timestampColumnName, + final double windowScaleUnits + // region extra-constructor-args ,final byte nullValue - // endregion extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, control, timestampColumnName, windowScaleUnits); // region constructor @@ -186,9 +189,9 @@ public UpdateByOperator copy() { control, timestampColumnName, reverseWindowScaleUnits - // region extra-copy-args + // region extra-copy-args , nullValue - // endregion extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/CharEmStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/CharEmStdOperator.java index 26e173ed3dc..842220933ca 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/CharEmStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/CharEmStdOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.emstd; import io.deephaven.api.updateby.OperationControl; @@ -15,15 +18,15 @@ import static io.deephaven.util.QueryConstants.*; /*** - * Compute an exponential moving standard deviation for a char column source. The output is expressed as a double - * value and is computed using the following formula: + * Compute an exponential moving standard deviation for a char column source. The output is expressed as a double value + * and is computed using the following formula: *

* variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) *

* This function is described in the following document: *

- * "Incremental calculation of weighted mean and variance" - * Tony Finch, University of Cambridge Computing Service (February 2009) + * "Incremental calculation of weighted mean and variance" Tony Finch, University of Cambridge Computing Service + * (February 2009) * https://web.archive.org/web/20181222175223/http://people.ds.cam.ac.uk/fanf2/hermes/doc/antiforgery/stats.pdf *

* NOTE: `alpha` as used in the paper has been replaced with `1 - alpha` per the convention adopted by Deephaven. @@ -43,9 +46,9 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { @Override public void accumulateCumulative(@NotNull RowSequence inputKeys, - Chunk[] valueChunkArr, - LongChunk tsChunk, - int len) { + Chunk[] valueChunkArr, + LongChunk tsChunk, + int len) { setValueChunks(valueChunkArr); // chunk processing @@ -63,11 +66,11 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, curVariance = 0.0; curVal = Double.NaN; } else { - // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) + // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) curVariance = opAlpha * (curVariance + opOneMinusAlpha * Math.pow(input - curEma, 2.0)); final double decayedEmaVal = curEma * opAlpha; - curEma = decayedEmaVal + (opOneMinusAlpha * input); + curEma = decayedEmaVal + (opOneMinusAlpha * input); curVal = Math.sqrt(curVariance); } } @@ -82,7 +85,7 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, // read the value from the values chunk final char input = charValueChunk.get(ii); final long timestamp = tsChunk.get(ii); - //noinspection ConstantConditions + // noinspection ConstantConditions final boolean isNull = input == NULL_CHAR; final boolean isNullTime = timestamp == NULL_LONG; @@ -107,11 +110,11 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, oneMinusAlpha = 1.0 - alpha; lastDt = dt; } - // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) + // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) curVariance = alpha * (curVariance + oneMinusAlpha * Math.pow(input - curEma, 2.0)); final double decayedEmaVal = curEma * alpha; - curEma = decayedEmaVal + (oneMinusAlpha * input); + curEma = decayedEmaVal + (oneMinusAlpha * input); curVal = Math.sqrt(curVariance); lastStamp = timestamp; @@ -147,23 +150,24 @@ public boolean isValueValid(long atKey) { } /** - * An operator that computes an exponential moving standard deviation from a char column using an exponential - * decay function. + * An operator that computes an exponential moving standard deviation from a char column using an exponential decay + * function. * - * @param pair the {@link MatchPair} that defines the input/output for this operation - * @param affectingColumns the names of the columns that affect this ema - * @param control defines how to handle {@code null} input values. + * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param affectingColumns the names of the columns that affect this ema + * @param control defines how to handle {@code null} input values. * @param timestampColumnName the name of the column containing timestamps for time-based calcuations - * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is measured in ticks, otherwise it is measured in nanoseconds + * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is + * measured in ticks, otherwise it is measured in nanoseconds */ public CharEmStdOperator( @NotNull final MatchPair pair, - @NotNull final String[] affectingColumns, - @NotNull final OperationControl control, - @Nullable final String timestampColumnName, - final double windowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + @NotNull final String[] affectingColumns, + @NotNull final OperationControl control, + @Nullable final String timestampColumnName, + final double windowScaleUnits + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, control, timestampColumnName, windowScaleUnits); // region constructor @@ -178,8 +182,8 @@ public UpdateByOperator copy() { control, timestampColumnName, reverseWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/DoubleEmStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/DoubleEmStdOperator.java index 3cd80bfbec0..84c06aabd5f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/DoubleEmStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/DoubleEmStdOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatEmStdOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatEmStdOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.emstd; import io.deephaven.api.updateby.BadDataBehavior; @@ -24,15 +26,15 @@ import static io.deephaven.util.QueryConstants.*; /*** - * Compute an exponential moving standard deviation for a double column source. The output is expressed as a double - * value and is computed using the following formula: + * Compute an exponential moving standard deviation for a double column source. The output is expressed as a double value + * and is computed using the following formula: *

* variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) *

* This function is described in the following document: *

- * "Incremental calculation of weighted mean and variance" - * Tony Finch, University of Cambridge Computing Service (February 2009) + * "Incremental calculation of weighted mean and variance" Tony Finch, University of Cambridge Computing Service + * (February 2009) * https://web.archive.org/web/20181222175223/http://people.ds.cam.ac.uk/fanf2/hermes/doc/antiforgery/stats.pdf *

* NOTE: `alpha` as used in the paper has been replaced with `1 - alpha` per the convention adopted by Deephaven. @@ -74,11 +76,11 @@ public void accumulateCumulative( curVariance = 0.0; curVal = Double.NaN; } else { - // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) + // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) curVariance = opAlpha * (curVariance + opOneMinusAlpha * Math.pow(input - curEma, 2.0)); final double decayedEmaVal = curEma * opAlpha; - curEma = decayedEmaVal + (opOneMinusAlpha * input); + curEma = decayedEmaVal + (opOneMinusAlpha * input); curVal = Math.sqrt(curVariance); } } @@ -93,7 +95,7 @@ public void accumulateCumulative( // read the value from the values chunk final double input = doubleValueChunk.get(ii); final long timestamp = tsChunk.get(ii); - //noinspection ConstantConditions + // noinspection ConstantConditions final boolean isNull = input == NULL_DOUBLE; final boolean isNan = Double.isNaN(input); final boolean isNullTime = timestamp == NULL_LONG; @@ -120,11 +122,11 @@ public void accumulateCumulative( oneMinusAlpha = 1.0 - alpha; lastDt = dt; } - // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) + // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) curVariance = alpha * (curVariance + oneMinusAlpha * Math.pow(input - curEma, 2.0)); final double decayedEmaVal = curEma * alpha; - curEma = decayedEmaVal + (oneMinusAlpha * input); + curEma = decayedEmaVal + (oneMinusAlpha * input); curVal = Math.sqrt(curVariance); lastStamp = timestamp; @@ -165,14 +167,15 @@ public boolean isValueValid(long atKey) { } /** - * An operator that computes an exponential moving standard deviation from a double column using an exponential - * decay function. + * An operator that computes an exponential moving standard deviation from a double column using an exponential decay + * function. * - * @param pair the {@link MatchPair} that defines the input/output for this operation - * @param affectingColumns the names of the columns that affect this ema - * @param control defines how to handle {@code null} input values. + * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param affectingColumns the names of the columns that affect this ema + * @param control defines how to handle {@code null} input values. * @param timestampColumnName the name of the column containing timestamps for time-based calcuations - * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is measured in ticks, otherwise it is measured in nanoseconds + * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is + * measured in ticks, otherwise it is measured in nanoseconds */ public DoubleEmStdOperator( @NotNull final MatchPair pair, diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/FloatEmStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/FloatEmStdOperator.java index 50162036f47..0cfa9cfc014 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/FloatEmStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/FloatEmStdOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.emstd; import io.deephaven.api.updateby.BadDataBehavior; @@ -19,15 +22,15 @@ import static io.deephaven.util.QueryConstants.*; /*** - * Compute an exponential moving standard deviation for a float column source. The output is expressed as a double - * value and is computed using the following formula: + * Compute an exponential moving standard deviation for a float column source. The output is expressed as a double value + * and is computed using the following formula: *

* variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) *

* This function is described in the following document: *

- * "Incremental calculation of weighted mean and variance" - * Tony Finch, University of Cambridge Computing Service (February 2009) + * "Incremental calculation of weighted mean and variance" Tony Finch, University of Cambridge Computing Service + * (February 2009) * https://web.archive.org/web/20181222175223/http://people.ds.cam.ac.uk/fanf2/hermes/doc/antiforgery/stats.pdf *

* NOTE: `alpha` as used in the paper has been replaced with `1 - alpha` per the convention adopted by Deephaven. @@ -69,11 +72,11 @@ public void accumulateCumulative( curVariance = 0.0; curVal = Double.NaN; } else { - // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) + // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) curVariance = opAlpha * (curVariance + opOneMinusAlpha * Math.pow(input - curEma, 2.0)); final double decayedEmaVal = curEma * opAlpha; - curEma = decayedEmaVal + (opOneMinusAlpha * input); + curEma = decayedEmaVal + (opOneMinusAlpha * input); curVal = Math.sqrt(curVariance); } } @@ -88,7 +91,7 @@ public void accumulateCumulative( // read the value from the values chunk final float input = floatValueChunk.get(ii); final long timestamp = tsChunk.get(ii); - //noinspection ConstantConditions + // noinspection ConstantConditions final boolean isNull = input == NULL_FLOAT; final boolean isNan = Float.isNaN(input); final boolean isNullTime = timestamp == NULL_LONG; @@ -115,11 +118,11 @@ public void accumulateCumulative( oneMinusAlpha = 1.0 - alpha; lastDt = dt; } - // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) + // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) curVariance = alpha * (curVariance + oneMinusAlpha * Math.pow(input - curEma, 2.0)); final double decayedEmaVal = curEma * alpha; - curEma = decayedEmaVal + (oneMinusAlpha * input); + curEma = decayedEmaVal + (oneMinusAlpha * input); curVal = Math.sqrt(curVariance); lastStamp = timestamp; @@ -160,14 +163,15 @@ public boolean isValueValid(long atKey) { } /** - * An operator that computes an exponential moving standard deviation from a float column using an exponential - * decay function. + * An operator that computes an exponential moving standard deviation from a float column using an exponential decay + * function. * - * @param pair the {@link MatchPair} that defines the input/output for this operation - * @param affectingColumns the names of the columns that affect this ema - * @param control defines how to handle {@code null} input values. + * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param affectingColumns the names of the columns that affect this ema + * @param control defines how to handle {@code null} input values. * @param timestampColumnName the name of the column containing timestamps for time-based calcuations - * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is measured in ticks, otherwise it is measured in nanoseconds + * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is + * measured in ticks, otherwise it is measured in nanoseconds */ public FloatEmStdOperator( @NotNull final MatchPair pair, diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/IntEmStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/IntEmStdOperator.java index 025242b2b9e..e87c7720d7d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/IntEmStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/IntEmStdOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharEmStdOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharEmStdOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.emstd; import io.deephaven.api.updateby.OperationControl; @@ -20,15 +22,15 @@ import static io.deephaven.util.QueryConstants.*; /*** - * Compute an exponential moving standard deviation for a int column source. The output is expressed as a double - * value and is computed using the following formula: + * Compute an exponential moving standard deviation for a int column source. The output is expressed as a double value + * and is computed using the following formula: *

* variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) *

* This function is described in the following document: *

- * "Incremental calculation of weighted mean and variance" - * Tony Finch, University of Cambridge Computing Service (February 2009) + * "Incremental calculation of weighted mean and variance" Tony Finch, University of Cambridge Computing Service + * (February 2009) * https://web.archive.org/web/20181222175223/http://people.ds.cam.ac.uk/fanf2/hermes/doc/antiforgery/stats.pdf *

* NOTE: `alpha` as used in the paper has been replaced with `1 - alpha` per the convention adopted by Deephaven. @@ -48,9 +50,9 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { @Override public void accumulateCumulative(@NotNull RowSequence inputKeys, - Chunk[] valueChunkArr, - LongChunk tsChunk, - int len) { + Chunk[] valueChunkArr, + LongChunk tsChunk, + int len) { setValueChunks(valueChunkArr); // chunk processing @@ -68,11 +70,11 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, curVariance = 0.0; curVal = Double.NaN; } else { - // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) + // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) curVariance = opAlpha * (curVariance + opOneMinusAlpha * Math.pow(input - curEma, 2.0)); final double decayedEmaVal = curEma * opAlpha; - curEma = decayedEmaVal + (opOneMinusAlpha * input); + curEma = decayedEmaVal + (opOneMinusAlpha * input); curVal = Math.sqrt(curVariance); } } @@ -87,7 +89,7 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, // read the value from the values chunk final int input = intValueChunk.get(ii); final long timestamp = tsChunk.get(ii); - //noinspection ConstantConditions + // noinspection ConstantConditions final boolean isNull = input == NULL_INT; final boolean isNullTime = timestamp == NULL_LONG; @@ -112,11 +114,11 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, oneMinusAlpha = 1.0 - alpha; lastDt = dt; } - // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) + // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) curVariance = alpha * (curVariance + oneMinusAlpha * Math.pow(input - curEma, 2.0)); final double decayedEmaVal = curEma * alpha; - curEma = decayedEmaVal + (oneMinusAlpha * input); + curEma = decayedEmaVal + (oneMinusAlpha * input); curVal = Math.sqrt(curVariance); lastStamp = timestamp; @@ -152,23 +154,24 @@ public boolean isValueValid(long atKey) { } /** - * An operator that computes an exponential moving standard deviation from a int column using an exponential - * decay function. + * An operator that computes an exponential moving standard deviation from a int column using an exponential decay + * function. * - * @param pair the {@link MatchPair} that defines the input/output for this operation - * @param affectingColumns the names of the columns that affect this ema - * @param control defines how to handle {@code null} input values. + * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param affectingColumns the names of the columns that affect this ema + * @param control defines how to handle {@code null} input values. * @param timestampColumnName the name of the column containing timestamps for time-based calcuations - * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is measured in ticks, otherwise it is measured in nanoseconds + * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is + * measured in ticks, otherwise it is measured in nanoseconds */ public IntEmStdOperator( @NotNull final MatchPair pair, - @NotNull final String[] affectingColumns, - @NotNull final OperationControl control, - @Nullable final String timestampColumnName, - final double windowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + @NotNull final String[] affectingColumns, + @NotNull final OperationControl control, + @Nullable final String timestampColumnName, + final double windowScaleUnits + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, control, timestampColumnName, windowScaleUnits); // region constructor @@ -183,8 +186,8 @@ public UpdateByOperator copy() { control, timestampColumnName, reverseWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/LongEmStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/LongEmStdOperator.java index 66465b51824..e8816bd3184 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/LongEmStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/LongEmStdOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharEmStdOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharEmStdOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.emstd; import io.deephaven.api.updateby.OperationControl; @@ -20,15 +22,15 @@ import static io.deephaven.util.QueryConstants.*; /*** - * Compute an exponential moving standard deviation for a long column source. The output is expressed as a double - * value and is computed using the following formula: + * Compute an exponential moving standard deviation for a long column source. The output is expressed as a double value + * and is computed using the following formula: *

* variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) *

* This function is described in the following document: *

- * "Incremental calculation of weighted mean and variance" - * Tony Finch, University of Cambridge Computing Service (February 2009) + * "Incremental calculation of weighted mean and variance" Tony Finch, University of Cambridge Computing Service + * (February 2009) * https://web.archive.org/web/20181222175223/http://people.ds.cam.ac.uk/fanf2/hermes/doc/antiforgery/stats.pdf *

* NOTE: `alpha` as used in the paper has been replaced with `1 - alpha` per the convention adopted by Deephaven. @@ -48,9 +50,9 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { @Override public void accumulateCumulative(@NotNull RowSequence inputKeys, - Chunk[] valueChunkArr, - LongChunk tsChunk, - int len) { + Chunk[] valueChunkArr, + LongChunk tsChunk, + int len) { setValueChunks(valueChunkArr); // chunk processing @@ -68,11 +70,11 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, curVariance = 0.0; curVal = Double.NaN; } else { - // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) + // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) curVariance = opAlpha * (curVariance + opOneMinusAlpha * Math.pow(input - curEma, 2.0)); final double decayedEmaVal = curEma * opAlpha; - curEma = decayedEmaVal + (opOneMinusAlpha * input); + curEma = decayedEmaVal + (opOneMinusAlpha * input); curVal = Math.sqrt(curVariance); } } @@ -87,7 +89,7 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, // read the value from the values chunk final long input = longValueChunk.get(ii); final long timestamp = tsChunk.get(ii); - //noinspection ConstantConditions + // noinspection ConstantConditions final boolean isNull = input == NULL_LONG; final boolean isNullTime = timestamp == NULL_LONG; @@ -112,11 +114,11 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, oneMinusAlpha = 1.0 - alpha; lastDt = dt; } - // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) + // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) curVariance = alpha * (curVariance + oneMinusAlpha * Math.pow(input - curEma, 2.0)); final double decayedEmaVal = curEma * alpha; - curEma = decayedEmaVal + (oneMinusAlpha * input); + curEma = decayedEmaVal + (oneMinusAlpha * input); curVal = Math.sqrt(curVariance); lastStamp = timestamp; @@ -152,23 +154,24 @@ public boolean isValueValid(long atKey) { } /** - * An operator that computes an exponential moving standard deviation from a long column using an exponential - * decay function. + * An operator that computes an exponential moving standard deviation from a long column using an exponential decay + * function. * - * @param pair the {@link MatchPair} that defines the input/output for this operation - * @param affectingColumns the names of the columns that affect this ema - * @param control defines how to handle {@code null} input values. + * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param affectingColumns the names of the columns that affect this ema + * @param control defines how to handle {@code null} input values. * @param timestampColumnName the name of the column containing timestamps for time-based calcuations - * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is measured in ticks, otherwise it is measured in nanoseconds + * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is + * measured in ticks, otherwise it is measured in nanoseconds */ public LongEmStdOperator( @NotNull final MatchPair pair, - @NotNull final String[] affectingColumns, - @NotNull final OperationControl control, - @Nullable final String timestampColumnName, - final double windowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + @NotNull final String[] affectingColumns, + @NotNull final OperationControl control, + @Nullable final String timestampColumnName, + final double windowScaleUnits + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, control, timestampColumnName, windowScaleUnits); // region constructor @@ -183,8 +186,8 @@ public UpdateByOperator copy() { control, timestampColumnName, reverseWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/ShortEmStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/ShortEmStdOperator.java index a1ecd378924..85c14ab0173 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/ShortEmStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/emstd/ShortEmStdOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharEmStdOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharEmStdOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.emstd; import io.deephaven.api.updateby.OperationControl; @@ -20,15 +22,15 @@ import static io.deephaven.util.QueryConstants.*; /*** - * Compute an exponential moving standard deviation for a short column source. The output is expressed as a double - * value and is computed using the following formula: + * Compute an exponential moving standard deviation for a short column source. The output is expressed as a double value + * and is computed using the following formula: *

* variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) *

* This function is described in the following document: *

- * "Incremental calculation of weighted mean and variance" - * Tony Finch, University of Cambridge Computing Service (February 2009) + * "Incremental calculation of weighted mean and variance" Tony Finch, University of Cambridge Computing Service + * (February 2009) * https://web.archive.org/web/20181222175223/http://people.ds.cam.ac.uk/fanf2/hermes/doc/antiforgery/stats.pdf *

* NOTE: `alpha` as used in the paper has been replaced with `1 - alpha` per the convention adopted by Deephaven. @@ -48,9 +50,9 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { @Override public void accumulateCumulative(@NotNull RowSequence inputKeys, - Chunk[] valueChunkArr, - LongChunk tsChunk, - int len) { + Chunk[] valueChunkArr, + LongChunk tsChunk, + int len) { setValueChunks(valueChunkArr); // chunk processing @@ -68,11 +70,11 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, curVariance = 0.0; curVal = Double.NaN; } else { - // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) + // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) curVariance = opAlpha * (curVariance + opOneMinusAlpha * Math.pow(input - curEma, 2.0)); final double decayedEmaVal = curEma * opAlpha; - curEma = decayedEmaVal + (opOneMinusAlpha * input); + curEma = decayedEmaVal + (opOneMinusAlpha * input); curVal = Math.sqrt(curVariance); } } @@ -87,7 +89,7 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, // read the value from the values chunk final short input = shortValueChunk.get(ii); final long timestamp = tsChunk.get(ii); - //noinspection ConstantConditions + // noinspection ConstantConditions final boolean isNull = input == NULL_SHORT; final boolean isNullTime = timestamp == NULL_LONG; @@ -112,11 +114,11 @@ public void accumulateCumulative(@NotNull RowSequence inputKeys, oneMinusAlpha = 1.0 - alpha; lastDt = dt; } - // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) + // incremental variance = alpha * (prevVariance + (1 - alpha) * (x - prevEma)^2) curVariance = alpha * (curVariance + oneMinusAlpha * Math.pow(input - curEma, 2.0)); final double decayedEmaVal = curEma * alpha; - curEma = decayedEmaVal + (oneMinusAlpha * input); + curEma = decayedEmaVal + (oneMinusAlpha * input); curVal = Math.sqrt(curVariance); lastStamp = timestamp; @@ -152,23 +154,24 @@ public boolean isValueValid(long atKey) { } /** - * An operator that computes an exponential moving standard deviation from a short column using an exponential - * decay function. + * An operator that computes an exponential moving standard deviation from a short column using an exponential decay + * function. * - * @param pair the {@link MatchPair} that defines the input/output for this operation - * @param affectingColumns the names of the columns that affect this ema - * @param control defines how to handle {@code null} input values. + * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param affectingColumns the names of the columns that affect this ema + * @param control defines how to handle {@code null} input values. * @param timestampColumnName the name of the column containing timestamps for time-based calcuations - * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is measured in ticks, otherwise it is measured in nanoseconds + * @param windowScaleUnits the smoothing window for the EMA. If no {@code timestampColumnName} is provided, this is + * measured in ticks, otherwise it is measured in nanoseconds */ public ShortEmStdOperator( @NotNull final MatchPair pair, - @NotNull final String[] affectingColumns, - @NotNull final OperationControl control, - @Nullable final String timestampColumnName, - final double windowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + @NotNull final String[] affectingColumns, + @NotNull final OperationControl control, + @Nullable final String timestampColumnName, + final double windowScaleUnits + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, control, timestampColumnName, windowScaleUnits); // region constructor @@ -183,8 +186,8 @@ public UpdateByOperator copy() { control, timestampColumnName, reverseWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/BooleanFillByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/BooleanFillByOperator.java index 1d513d1bb7a..5470be06128 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/BooleanFillByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/BooleanFillByOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFillByOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFillByOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.fill; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/ByteFillByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/ByteFillByOperator.java index cbad6889538..e8e4f8ebaf8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/ByteFillByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/ByteFillByOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFillByOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFillByOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.fill; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/DoubleFillByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/DoubleFillByOperator.java index 4e4807745f4..c95a042df12 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/DoubleFillByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/DoubleFillByOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFillByOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFillByOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.fill; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/FloatFillByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/FloatFillByOperator.java index 41a24e17047..cc6c69c2d53 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/FloatFillByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/FloatFillByOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFillByOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFillByOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.fill; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/IntFillByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/IntFillByOperator.java index b9dae79bd35..1a98696ce73 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/IntFillByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/IntFillByOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFillByOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFillByOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.fill; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/LongFillByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/LongFillByOperator.java index 95c3790e3bd..7856b13f2a9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/LongFillByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/LongFillByOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFillByOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFillByOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.fill; import java.time.Instant; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/ObjectFillByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/ObjectFillByOperator.java index 725fdf0cd54..ab867e796c3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/ObjectFillByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/ObjectFillByOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFillByOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFillByOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.fill; import io.deephaven.engine.table.impl.util.ChunkUtils; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/ShortFillByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/ShortFillByOperator.java index 9407bf67e9a..334cf2aefb3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/ShortFillByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/fill/ShortFillByOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFillByOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFillByOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.fill; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/TypedUpdateByFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/TypedUpdateByFactory.java index 8db4399576e..90664e00d8c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/TypedUpdateByFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/TypedUpdateByFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.hashing; import com.squareup.javapoet.CodeBlock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/UpdateByStateManager.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/UpdateByStateManager.java index 575c3ad617d..d3c969f7a8c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/UpdateByStateManager.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/UpdateByStateManager.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.hashing; import io.deephaven.chunk.WritableIntChunk; @@ -28,27 +31,28 @@ protected String extractKeyStringFromSourceTable(long leftKey) { if (keySourcesForErrorMessages.length == 1) { return Objects.toString(keySourcesForErrorMessages[0].get(leftKey)); } - return "[" + Arrays.stream(keySourcesForErrorMessages).map(ls -> Objects.toString(ls.get(leftKey))).collect(Collectors.joining(", ")) + "]"; + return "[" + Arrays.stream(keySourcesForErrorMessages).map(ls -> Objects.toString(ls.get(leftKey))) + .collect(Collectors.joining(", ")) + "]"; } public abstract void add(final boolean initialBuild, - final SafeCloseable bc, - final RowSequence orderedKeys, - final ColumnSource[] sources, - final MutableInt nextOutputPosition, - final WritableIntChunk outputPositions); + final SafeCloseable bc, + final RowSequence orderedKeys, + final ColumnSource[] sources, + final MutableInt nextOutputPosition, + final WritableIntChunk outputPositions); public void remove(@NotNull final SafeCloseable pc, - @NotNull final RowSequence indexToRemove, - @NotNull final ColumnSource[] sources, - @NotNull final WritableIntChunk outputPositions) { + @NotNull final RowSequence indexToRemove, + @NotNull final ColumnSource[] sources, + @NotNull final WritableIntChunk outputPositions) { throw new UnsupportedOperationException("Remove is not supported"); } public void findModifications(@NotNull final SafeCloseable pc, - @NotNull final RowSequence modifiedIndex, - @NotNull final ColumnSource [] keySources, - @NotNull final WritableIntChunk outputPositions) { + @NotNull final RowSequence modifiedIndex, + @NotNull final ColumnSource[] keySources, + @NotNull final WritableIntChunk outputPositions) { throw new UnsupportedOperationException("Find is not supported"); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/UpdateByStateManagerTypedBase.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/UpdateByStateManagerTypedBase.java index 45a7df519b7..ce3abc3a290 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/UpdateByStateManagerTypedBase.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/UpdateByStateManagerTypedBase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.hashing; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/TypedHashDispatcher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/TypedHashDispatcher.java index 666fa22f51b..200671909a5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/TypedHashDispatcher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/TypedHashDispatcher.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.replicators.ReplicateTypedHashers -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByte.java index 5079b8e4f46..ae359ff2c81 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteByte.java index a935a6f56c8..e0cf26a67d6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteChar.java index f71b89360df..461f08be1c1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteDouble.java index 0d9cf5d67ae..f91c6301a9d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteFloat.java index 2c3d4a136dd..cbc1fafd566 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteInt.java index f5708f00a62..1f3dcb4328d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteLong.java index 5a1af0f7545..690fc1a9bef 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteObject.java index 90a28b8a59c..fab758bf8c4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteShort.java index 3d72c1e674b..69ddb09672b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherByteShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherChar.java index 51fd8d1c52d..8bc45e5f2b3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharByte.java index fd5c04771d6..960ff924c49 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharChar.java index 5afc298189b..f79a3bbca9a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharDouble.java index 790981dcffc..9db635952b1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharFloat.java index 66ace726db6..6f55a6beea7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharInt.java index d583c1dfbed..452a2f80689 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharLong.java index 13914f16537..85be8a8c9ee 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharObject.java index 86940ee9c80..41fcd598348 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharShort.java index 5d710347de2..72f68fa7957 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherCharShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDouble.java index ba2be078960..7fffe02813c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleByte.java index 9b53eec7461..1fecad782fb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleChar.java index a1fb2039d0c..3e70ff29644 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleDouble.java index e7882b82700..b6e972e0801 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleFloat.java index b09d7853342..e50f5c7df94 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleInt.java index 28b91a34825..b1856206683 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleLong.java index ca2f3f8117b..4042f034233 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleObject.java index f5588056493..2294cd860a2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleShort.java index 0d6618b3b93..f49e738edd5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherDoubleShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloat.java index a02267e5c34..59fb8c21ba8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatByte.java index ef091e4791d..427254bb507 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatChar.java index 26faf508ed8..3564d4c8f39 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatDouble.java index 35cfe4f84e2..07de825fd76 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatFloat.java index 4ee3f5c1844..c4426114687 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatInt.java index 2c820ee8f09..1ed482d23a6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatLong.java index 35368879ab5..2bf55f4d305 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatObject.java index a1d86f38343..11515441a68 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatShort.java index abfd1009c8e..01f505fc798 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherFloatShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherInt.java index 996ab8c2963..7d757c63eed 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntByte.java index 3d80beae193..5f62fc9bb3b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntChar.java index f3e9ec9c7a0..7dff4c6872a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntDouble.java index 7ad0ce9205d..6b3e2374254 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntFloat.java index c7a624f3227..7d7cb918f5c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntInt.java index ac5ce3a8502..5d246702e8e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntLong.java index 900ba42d943..e399854adb1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntObject.java index fce086f2836..a42b8cbd8db 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntShort.java index 0b172bb9eff..e4ab6578b06 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherIntShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLong.java index 2bd9990b1d0..b1f906dfeb0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongByte.java index f095c21fbae..da9170b91b9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongChar.java index 62ae28312dd..449dec1e338 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongDouble.java index 7e25d5a88df..0b3d5f65683 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongFloat.java index 7cc464e1f01..ee2823ffea1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongInt.java index 86d84ad2ac3..6b9ea0b6664 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongLong.java index a7721c344b4..ade4a39604f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongObject.java index 30a38d74e00..0227cc000bf 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongShort.java index 6d5ccb23861..d9deb8d925a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherLongShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObject.java index a3321f349b2..e7afd8b24fc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectByte.java index cf8f9f3d833..bb4165ddcd4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectChar.java index 9a3c089cfa7..3ef0377cb3b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectDouble.java index 8687d04003e..aed7074526e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectFloat.java index df748fcd4f3..b850333413f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectInt.java index 9e1bc740f8b..b42c88f71d7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectLong.java index efbcee4c882..f021fa2ddcd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectObject.java index bd67b1cdf69..f5b58ad1d27 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectShort.java index 0fc81c0417c..e03a2a052ed 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherObjectShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShort.java index f17309ec5ae..f930e9e4812 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortByte.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortByte.java index 00266870760..4c8fd49a29c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortByte.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortByte.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ByteComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortChar.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortChar.java index 58550cc4216..e8ac3211934 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortChar.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortChar.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.CharComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortDouble.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortDouble.java index bf11479261f..4d18891ccf4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortDouble.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortDouble.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.DoubleComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortFloat.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortFloat.java index f00f5eb7806..eef1b6f6f05 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortFloat.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortFloat.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.FloatComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortInt.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortInt.java index 0099f0e280f..66886939732 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortInt.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortInt.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.IntComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortLong.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortLong.java index 4967985e583..57b74b81953 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortLong.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortLong.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.LongComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortObject.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortObject.java index c05ab926337..f160f7d85dc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortObject.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortObject.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ObjectComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortShort.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortShort.java index 48e5bed8e4b..6f48c72e46f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortShort.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/hashing/typed/open/gen/UpdateByHasherShortShort.java @@ -1,6 +1,10 @@ -// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory -// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending // +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run ReplicateTypedHashers or ./gradlew replicateTypedHashers to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.hashing.typed.open.gen; import static io.deephaven.util.compare.ShortComparisons.eq; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseByteUpdateByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseByteUpdateByOperator.java index 66e569fe358..451b285beb1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseByteUpdateByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseByteUpdateByOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit BaseCharUpdateByOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit BaseCharUpdateByOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.internal; import io.deephaven.util.QueryConstants; @@ -54,9 +56,9 @@ protected Context(final int chunkSize) { @Override public void accumulateCumulative(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] valueChunkArr, - @Nullable final LongChunk tsChunk, - final int len) { + @NotNull final Chunk[] valueChunkArr, + @Nullable final LongChunk tsChunk, + final int len) { setValueChunks(valueChunkArr); @@ -72,12 +74,12 @@ public void accumulateCumulative(@NotNull final RowSequence inputKeys, @Override public void accumulateRolling(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] influencerValueChunkArr, - @Nullable final LongChunk affectedPosChunk, - @Nullable final LongChunk influencerPosChunk, - @NotNull final IntChunk pushChunk, - @NotNull final IntChunk popChunk, - final int len) { + @NotNull final Chunk[] influencerValueChunkArr, + @Nullable final LongChunk affectedPosChunk, + @Nullable final LongChunk influencerPosChunk, + @NotNull final IntChunk pushChunk, + @NotNull final IntChunk popChunk, + final int len) { setValueChunks(influencerValueChunkArr); setPosChunks(affectedPosChunk, influencerPosChunk); @@ -146,31 +148,31 @@ public void close() { /** * Construct a base operator for operations that produce byte outputs. * - * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param pair the {@link MatchPair} that defines the input/output for this operation * @param affectingColumns a list of all columns (including the input column from the pair) that affects the result - * of this operator. + * of this operator. */ public BaseByteUpdateByOperator( @NotNull final MatchPair pair, @NotNull final String[] affectingColumns - // region extra-constructor-args - // endregion extra-constructor-args - ) { + // region extra-constructor-args + // endregion extra-constructor-args + ) { this(pair, affectingColumns, null, 0, 0, false); } /** * Construct a base operator for operations that produce byte outputs. * - * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param pair the {@link MatchPair} that defines the input/output for this operation * @param affectingColumns a list of all columns (including the input column from the pair) that affects the result - * of this operator. + * of this operator. * @param timestampColumnName an optional timestamp column. If this is null, it will be assumed time is measured in * integer ticks. - * @param reverseWindowScaleUnits the reverse window for the operator. If no {@code timestampColumnName} is provided, this - * is measured in ticks, otherwise it is measured in nanoseconds. - * @param forwardWindowScaleUnits the forward window for the operator. If no {@code timestampColumnName} is provided, this - * is measured in ticks, otherwise it is measured in nanoseconds. + * @param reverseWindowScaleUnits the reverse window for the operator. If no {@code timestampColumnName} is + * provided, this is measured in ticks, otherwise it is measured in nanoseconds. + * @param forwardWindowScaleUnits the forward window for the operator. If no {@code timestampColumnName} is + * provided, this is measured in ticks, otherwise it is measured in nanoseconds. */ public BaseByteUpdateByOperator( @NotNull final MatchPair pair, @@ -179,10 +181,11 @@ public BaseByteUpdateByOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, final boolean isWindowed - // region extra-constructor-args - // endregion extra-constructor-args - ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, isWindowed); + // region extra-constructor-args + // endregion extra-constructor-args + ) { + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, + isWindowed); // region constructor this.nullValue = getNullValue(); // endregion constructor @@ -192,7 +195,7 @@ public BaseByteUpdateByOperator( @OverridingMethodsMustInvokeSuper public void initializeSources(@NotNull final Table source, @Nullable final RowRedirection rowRedirection) { this.rowRedirection = rowRedirection; - if(rowRedirection != null) { + if (rowRedirection != null) { // region create-dense this.maybeInnerSource = makeDenseSource(); // endregion create-dense @@ -223,9 +226,9 @@ protected WritableColumnSource makeDenseSource() { @Override public void initializeCumulative(@NotNull final UpdateByOperator.Context context, - final long firstUnmodifiedKey, - final long firstUnmodifiedTimestamp, - @NotNull final RowSet bucketRowSet) { + final long firstUnmodifiedKey, + final long firstUnmodifiedTimestamp, + @NotNull final RowSet bucketRowSet) { Context ctx = (Context) context; ctx.reset(); if (firstUnmodifiedKey != NULL_ROW_KEY) { @@ -257,7 +260,8 @@ public void applyOutputShift(@NotNull final RowSet subIndexToShift, final long d public void prepareForParallelPopulation(final RowSet changedRows) { if (rowRedirection != null) { assert maybeInnerSource != null; - ((WritableSourceWithPrepareForParallelPopulation) maybeInnerSource).prepareForParallelPopulation(changedRows); + ((WritableSourceWithPrepareForParallelPopulation) maybeInnerSource) + .prepareForParallelPopulation(changedRows); } else { ((WritableSourceWithPrepareForParallelPopulation) outputSource).prepareForParallelPopulation(changedRows); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseCharUpdateByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseCharUpdateByOperator.java index 0d2f7762224..7a6c44999ba 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseCharUpdateByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseCharUpdateByOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.internal; import io.deephaven.chunk.Chunk; @@ -43,9 +46,9 @@ protected Context(final int chunkSize) { @Override public void accumulateCumulative(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] valueChunkArr, - @Nullable final LongChunk tsChunk, - final int len) { + @NotNull final Chunk[] valueChunkArr, + @Nullable final LongChunk tsChunk, + final int len) { setValueChunks(valueChunkArr); @@ -61,12 +64,12 @@ public void accumulateCumulative(@NotNull final RowSequence inputKeys, @Override public void accumulateRolling(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] influencerValueChunkArr, - @Nullable final LongChunk affectedPosChunk, - @Nullable final LongChunk influencerPosChunk, - @NotNull final IntChunk pushChunk, - @NotNull final IntChunk popChunk, - final int len) { + @NotNull final Chunk[] influencerValueChunkArr, + @Nullable final LongChunk affectedPosChunk, + @Nullable final LongChunk influencerPosChunk, + @NotNull final IntChunk pushChunk, + @NotNull final IntChunk popChunk, + final int len) { setValueChunks(influencerValueChunkArr); setPosChunks(affectedPosChunk, influencerPosChunk); @@ -135,31 +138,31 @@ public void close() { /** * Construct a base operator for operations that produce char outputs. * - * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param pair the {@link MatchPair} that defines the input/output for this operation * @param affectingColumns a list of all columns (including the input column from the pair) that affects the result - * of this operator. + * of this operator. */ public BaseCharUpdateByOperator( @NotNull final MatchPair pair, @NotNull final String[] affectingColumns - // region extra-constructor-args - // endregion extra-constructor-args - ) { + // region extra-constructor-args + // endregion extra-constructor-args + ) { this(pair, affectingColumns, null, 0, 0, false); } /** * Construct a base operator for operations that produce char outputs. * - * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param pair the {@link MatchPair} that defines the input/output for this operation * @param affectingColumns a list of all columns (including the input column from the pair) that affects the result - * of this operator. + * of this operator. * @param timestampColumnName an optional timestamp column. If this is null, it will be assumed time is measured in * integer ticks. - * @param reverseWindowScaleUnits the reverse window for the operator. If no {@code timestampColumnName} is provided, this - * is measured in ticks, otherwise it is measured in nanoseconds. - * @param forwardWindowScaleUnits the forward window for the operator. If no {@code timestampColumnName} is provided, this - * is measured in ticks, otherwise it is measured in nanoseconds. + * @param reverseWindowScaleUnits the reverse window for the operator. If no {@code timestampColumnName} is + * provided, this is measured in ticks, otherwise it is measured in nanoseconds. + * @param forwardWindowScaleUnits the forward window for the operator. If no {@code timestampColumnName} is + * provided, this is measured in ticks, otherwise it is measured in nanoseconds. */ public BaseCharUpdateByOperator( @NotNull final MatchPair pair, @@ -168,10 +171,11 @@ public BaseCharUpdateByOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, final boolean isWindowed - // region extra-constructor-args - // endregion extra-constructor-args - ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, isWindowed); + // region extra-constructor-args + // endregion extra-constructor-args + ) { + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, + isWindowed); // region constructor // endregion constructor } @@ -180,7 +184,7 @@ public BaseCharUpdateByOperator( @OverridingMethodsMustInvokeSuper public void initializeSources(@NotNull final Table source, @Nullable final RowRedirection rowRedirection) { this.rowRedirection = rowRedirection; - if(rowRedirection != null) { + if (rowRedirection != null) { // region create-dense maybeInnerSource = new CharacterArraySource(); // endregion create-dense @@ -199,9 +203,9 @@ public void initializeSources(@NotNull final Table source, @Nullable final RowRe @Override public void initializeCumulative(@NotNull final UpdateByOperator.Context context, - final long firstUnmodifiedKey, - final long firstUnmodifiedTimestamp, - @NotNull final RowSet bucketRowSet) { + final long firstUnmodifiedKey, + final long firstUnmodifiedTimestamp, + @NotNull final RowSet bucketRowSet) { Context ctx = (Context) context; ctx.reset(); if (firstUnmodifiedKey != NULL_ROW_KEY) { @@ -221,7 +225,7 @@ public void startTrackingPrev() { // region Shifts @Override public void applyOutputShift(@NotNull final RowSet subRowSetToShift, final long delta) { - ((CharacterSparseArraySource)outputSource).shift(subRowSetToShift, delta); + ((CharacterSparseArraySource) outputSource).shift(subRowSetToShift, delta); } // endregion Shifts @@ -229,7 +233,8 @@ public void applyOutputShift(@NotNull final RowSet subRowSetToShift, final long public void prepareForParallelPopulation(final RowSet changedRows) { if (rowRedirection != null) { assert maybeInnerSource != null; - ((WritableSourceWithPrepareForParallelPopulation) maybeInnerSource).prepareForParallelPopulation(changedRows); + ((WritableSourceWithPrepareForParallelPopulation) maybeInnerSource) + .prepareForParallelPopulation(changedRows); } else { ((WritableSourceWithPrepareForParallelPopulation) outputSource).prepareForParallelPopulation(changedRows); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseDoubleUpdateByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseDoubleUpdateByOperator.java index 22d497628b9..ba2585be16b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseDoubleUpdateByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseDoubleUpdateByOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit BaseCharUpdateByOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit BaseCharUpdateByOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.internal; import io.deephaven.chunk.Chunk; @@ -48,9 +50,9 @@ protected Context(final int chunkSize) { @Override public void accumulateCumulative(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] valueChunkArr, - @Nullable final LongChunk tsChunk, - final int len) { + @NotNull final Chunk[] valueChunkArr, + @Nullable final LongChunk tsChunk, + final int len) { setValueChunks(valueChunkArr); @@ -66,12 +68,12 @@ public void accumulateCumulative(@NotNull final RowSequence inputKeys, @Override public void accumulateRolling(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] influencerValueChunkArr, - @Nullable final LongChunk affectedPosChunk, - @Nullable final LongChunk influencerPosChunk, - @NotNull final IntChunk pushChunk, - @NotNull final IntChunk popChunk, - final int len) { + @NotNull final Chunk[] influencerValueChunkArr, + @Nullable final LongChunk affectedPosChunk, + @Nullable final LongChunk influencerPosChunk, + @NotNull final IntChunk pushChunk, + @NotNull final IntChunk popChunk, + final int len) { setValueChunks(influencerValueChunkArr); setPosChunks(affectedPosChunk, influencerPosChunk); @@ -140,31 +142,31 @@ public void close() { /** * Construct a base operator for operations that produce double outputs. * - * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param pair the {@link MatchPair} that defines the input/output for this operation * @param affectingColumns a list of all columns (including the input column from the pair) that affects the result - * of this operator. + * of this operator. */ public BaseDoubleUpdateByOperator( @NotNull final MatchPair pair, @NotNull final String[] affectingColumns - // region extra-constructor-args - // endregion extra-constructor-args - ) { + // region extra-constructor-args + // endregion extra-constructor-args + ) { this(pair, affectingColumns, null, 0, 0, false); } /** * Construct a base operator for operations that produce double outputs. * - * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param pair the {@link MatchPair} that defines the input/output for this operation * @param affectingColumns a list of all columns (including the input column from the pair) that affects the result - * of this operator. + * of this operator. * @param timestampColumnName an optional timestamp column. If this is null, it will be assumed time is measured in * integer ticks. - * @param reverseWindowScaleUnits the reverse window for the operator. If no {@code timestampColumnName} is provided, this - * is measured in ticks, otherwise it is measured in nanoseconds. - * @param forwardWindowScaleUnits the forward window for the operator. If no {@code timestampColumnName} is provided, this - * is measured in ticks, otherwise it is measured in nanoseconds. + * @param reverseWindowScaleUnits the reverse window for the operator. If no {@code timestampColumnName} is + * provided, this is measured in ticks, otherwise it is measured in nanoseconds. + * @param forwardWindowScaleUnits the forward window for the operator. If no {@code timestampColumnName} is + * provided, this is measured in ticks, otherwise it is measured in nanoseconds. */ public BaseDoubleUpdateByOperator( @NotNull final MatchPair pair, @@ -173,10 +175,11 @@ public BaseDoubleUpdateByOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, final boolean isWindowed - // region extra-constructor-args - // endregion extra-constructor-args - ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, isWindowed); + // region extra-constructor-args + // endregion extra-constructor-args + ) { + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, + isWindowed); // region constructor // endregion constructor } @@ -185,7 +188,7 @@ public BaseDoubleUpdateByOperator( @OverridingMethodsMustInvokeSuper public void initializeSources(@NotNull final Table source, @Nullable final RowRedirection rowRedirection) { this.rowRedirection = rowRedirection; - if(rowRedirection != null) { + if (rowRedirection != null) { // region create-dense maybeInnerSource = new DoubleArraySource(); // endregion create-dense @@ -204,9 +207,9 @@ public void initializeSources(@NotNull final Table source, @Nullable final RowRe @Override public void initializeCumulative(@NotNull final UpdateByOperator.Context context, - final long firstUnmodifiedKey, - final long firstUnmodifiedTimestamp, - @NotNull final RowSet bucketRowSet) { + final long firstUnmodifiedKey, + final long firstUnmodifiedTimestamp, + @NotNull final RowSet bucketRowSet) { Context ctx = (Context) context; ctx.reset(); if (firstUnmodifiedKey != NULL_ROW_KEY) { @@ -226,7 +229,7 @@ public void startTrackingPrev() { // region Shifts @Override public void applyOutputShift(@NotNull final RowSet subRowSetToShift, final long delta) { - ((DoubleSparseArraySource)outputSource).shift(subRowSetToShift, delta); + ((DoubleSparseArraySource) outputSource).shift(subRowSetToShift, delta); } // endregion Shifts @@ -234,7 +237,8 @@ public void applyOutputShift(@NotNull final RowSet subRowSetToShift, final long public void prepareForParallelPopulation(final RowSet changedRows) { if (rowRedirection != null) { assert maybeInnerSource != null; - ((WritableSourceWithPrepareForParallelPopulation) maybeInnerSource).prepareForParallelPopulation(changedRows); + ((WritableSourceWithPrepareForParallelPopulation) maybeInnerSource) + .prepareForParallelPopulation(changedRows); } else { ((WritableSourceWithPrepareForParallelPopulation) outputSource).prepareForParallelPopulation(changedRows); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseFloatUpdateByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseFloatUpdateByOperator.java index 05563ef83aa..5dff3066b43 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseFloatUpdateByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseFloatUpdateByOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit BaseCharUpdateByOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit BaseCharUpdateByOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.internal; import io.deephaven.chunk.Chunk; @@ -48,9 +50,9 @@ protected Context(final int chunkSize) { @Override public void accumulateCumulative(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] valueChunkArr, - @Nullable final LongChunk tsChunk, - final int len) { + @NotNull final Chunk[] valueChunkArr, + @Nullable final LongChunk tsChunk, + final int len) { setValueChunks(valueChunkArr); @@ -66,12 +68,12 @@ public void accumulateCumulative(@NotNull final RowSequence inputKeys, @Override public void accumulateRolling(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] influencerValueChunkArr, - @Nullable final LongChunk affectedPosChunk, - @Nullable final LongChunk influencerPosChunk, - @NotNull final IntChunk pushChunk, - @NotNull final IntChunk popChunk, - final int len) { + @NotNull final Chunk[] influencerValueChunkArr, + @Nullable final LongChunk affectedPosChunk, + @Nullable final LongChunk influencerPosChunk, + @NotNull final IntChunk pushChunk, + @NotNull final IntChunk popChunk, + final int len) { setValueChunks(influencerValueChunkArr); setPosChunks(affectedPosChunk, influencerPosChunk); @@ -140,31 +142,31 @@ public void close() { /** * Construct a base operator for operations that produce float outputs. * - * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param pair the {@link MatchPair} that defines the input/output for this operation * @param affectingColumns a list of all columns (including the input column from the pair) that affects the result - * of this operator. + * of this operator. */ public BaseFloatUpdateByOperator( @NotNull final MatchPair pair, @NotNull final String[] affectingColumns - // region extra-constructor-args - // endregion extra-constructor-args - ) { + // region extra-constructor-args + // endregion extra-constructor-args + ) { this(pair, affectingColumns, null, 0, 0, false); } /** * Construct a base operator for operations that produce float outputs. * - * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param pair the {@link MatchPair} that defines the input/output for this operation * @param affectingColumns a list of all columns (including the input column from the pair) that affects the result - * of this operator. + * of this operator. * @param timestampColumnName an optional timestamp column. If this is null, it will be assumed time is measured in * integer ticks. - * @param reverseWindowScaleUnits the reverse window for the operator. If no {@code timestampColumnName} is provided, this - * is measured in ticks, otherwise it is measured in nanoseconds. - * @param forwardWindowScaleUnits the forward window for the operator. If no {@code timestampColumnName} is provided, this - * is measured in ticks, otherwise it is measured in nanoseconds. + * @param reverseWindowScaleUnits the reverse window for the operator. If no {@code timestampColumnName} is + * provided, this is measured in ticks, otherwise it is measured in nanoseconds. + * @param forwardWindowScaleUnits the forward window for the operator. If no {@code timestampColumnName} is + * provided, this is measured in ticks, otherwise it is measured in nanoseconds. */ public BaseFloatUpdateByOperator( @NotNull final MatchPair pair, @@ -173,10 +175,11 @@ public BaseFloatUpdateByOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, final boolean isWindowed - // region extra-constructor-args - // endregion extra-constructor-args - ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, isWindowed); + // region extra-constructor-args + // endregion extra-constructor-args + ) { + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, + isWindowed); // region constructor // endregion constructor } @@ -185,7 +188,7 @@ public BaseFloatUpdateByOperator( @OverridingMethodsMustInvokeSuper public void initializeSources(@NotNull final Table source, @Nullable final RowRedirection rowRedirection) { this.rowRedirection = rowRedirection; - if(rowRedirection != null) { + if (rowRedirection != null) { // region create-dense maybeInnerSource = new FloatArraySource(); // endregion create-dense @@ -204,9 +207,9 @@ public void initializeSources(@NotNull final Table source, @Nullable final RowRe @Override public void initializeCumulative(@NotNull final UpdateByOperator.Context context, - final long firstUnmodifiedKey, - final long firstUnmodifiedTimestamp, - @NotNull final RowSet bucketRowSet) { + final long firstUnmodifiedKey, + final long firstUnmodifiedTimestamp, + @NotNull final RowSet bucketRowSet) { Context ctx = (Context) context; ctx.reset(); if (firstUnmodifiedKey != NULL_ROW_KEY) { @@ -226,7 +229,7 @@ public void startTrackingPrev() { // region Shifts @Override public void applyOutputShift(@NotNull final RowSet subRowSetToShift, final long delta) { - ((FloatSparseArraySource)outputSource).shift(subRowSetToShift, delta); + ((FloatSparseArraySource) outputSource).shift(subRowSetToShift, delta); } // endregion Shifts @@ -234,7 +237,8 @@ public void applyOutputShift(@NotNull final RowSet subRowSetToShift, final long public void prepareForParallelPopulation(final RowSet changedRows) { if (rowRedirection != null) { assert maybeInnerSource != null; - ((WritableSourceWithPrepareForParallelPopulation) maybeInnerSource).prepareForParallelPopulation(changedRows); + ((WritableSourceWithPrepareForParallelPopulation) maybeInnerSource) + .prepareForParallelPopulation(changedRows); } else { ((WritableSourceWithPrepareForParallelPopulation) outputSource).prepareForParallelPopulation(changedRows); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseIntUpdateByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseIntUpdateByOperator.java index 19e5b720976..112284e5a48 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseIntUpdateByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseIntUpdateByOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit BaseCharUpdateByOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit BaseCharUpdateByOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.internal; import io.deephaven.chunk.Chunk; @@ -48,9 +50,9 @@ protected Context(final int chunkSize) { @Override public void accumulateCumulative(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] valueChunkArr, - @Nullable final LongChunk tsChunk, - final int len) { + @NotNull final Chunk[] valueChunkArr, + @Nullable final LongChunk tsChunk, + final int len) { setValueChunks(valueChunkArr); @@ -66,12 +68,12 @@ public void accumulateCumulative(@NotNull final RowSequence inputKeys, @Override public void accumulateRolling(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] influencerValueChunkArr, - @Nullable final LongChunk affectedPosChunk, - @Nullable final LongChunk influencerPosChunk, - @NotNull final IntChunk pushChunk, - @NotNull final IntChunk popChunk, - final int len) { + @NotNull final Chunk[] influencerValueChunkArr, + @Nullable final LongChunk affectedPosChunk, + @Nullable final LongChunk influencerPosChunk, + @NotNull final IntChunk pushChunk, + @NotNull final IntChunk popChunk, + final int len) { setValueChunks(influencerValueChunkArr); setPosChunks(affectedPosChunk, influencerPosChunk); @@ -140,31 +142,31 @@ public void close() { /** * Construct a base operator for operations that produce int outputs. * - * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param pair the {@link MatchPair} that defines the input/output for this operation * @param affectingColumns a list of all columns (including the input column from the pair) that affects the result - * of this operator. + * of this operator. */ public BaseIntUpdateByOperator( @NotNull final MatchPair pair, @NotNull final String[] affectingColumns - // region extra-constructor-args - // endregion extra-constructor-args - ) { + // region extra-constructor-args + // endregion extra-constructor-args + ) { this(pair, affectingColumns, null, 0, 0, false); } /** * Construct a base operator for operations that produce int outputs. * - * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param pair the {@link MatchPair} that defines the input/output for this operation * @param affectingColumns a list of all columns (including the input column from the pair) that affects the result - * of this operator. + * of this operator. * @param timestampColumnName an optional timestamp column. If this is null, it will be assumed time is measured in * integer ticks. - * @param reverseWindowScaleUnits the reverse window for the operator. If no {@code timestampColumnName} is provided, this - * is measured in ticks, otherwise it is measured in nanoseconds. - * @param forwardWindowScaleUnits the forward window for the operator. If no {@code timestampColumnName} is provided, this - * is measured in ticks, otherwise it is measured in nanoseconds. + * @param reverseWindowScaleUnits the reverse window for the operator. If no {@code timestampColumnName} is + * provided, this is measured in ticks, otherwise it is measured in nanoseconds. + * @param forwardWindowScaleUnits the forward window for the operator. If no {@code timestampColumnName} is + * provided, this is measured in ticks, otherwise it is measured in nanoseconds. */ public BaseIntUpdateByOperator( @NotNull final MatchPair pair, @@ -173,10 +175,11 @@ public BaseIntUpdateByOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, final boolean isWindowed - // region extra-constructor-args - // endregion extra-constructor-args - ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, isWindowed); + // region extra-constructor-args + // endregion extra-constructor-args + ) { + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, + isWindowed); // region constructor // endregion constructor } @@ -185,7 +188,7 @@ public BaseIntUpdateByOperator( @OverridingMethodsMustInvokeSuper public void initializeSources(@NotNull final Table source, @Nullable final RowRedirection rowRedirection) { this.rowRedirection = rowRedirection; - if(rowRedirection != null) { + if (rowRedirection != null) { // region create-dense maybeInnerSource = new IntegerArraySource(); // endregion create-dense @@ -204,9 +207,9 @@ public void initializeSources(@NotNull final Table source, @Nullable final RowRe @Override public void initializeCumulative(@NotNull final UpdateByOperator.Context context, - final long firstUnmodifiedKey, - final long firstUnmodifiedTimestamp, - @NotNull final RowSet bucketRowSet) { + final long firstUnmodifiedKey, + final long firstUnmodifiedTimestamp, + @NotNull final RowSet bucketRowSet) { Context ctx = (Context) context; ctx.reset(); if (firstUnmodifiedKey != NULL_ROW_KEY) { @@ -226,7 +229,7 @@ public void startTrackingPrev() { // region Shifts @Override public void applyOutputShift(@NotNull final RowSet subRowSetToShift, final long delta) { - ((IntegerSparseArraySource)outputSource).shift(subRowSetToShift, delta); + ((IntegerSparseArraySource) outputSource).shift(subRowSetToShift, delta); } // endregion Shifts @@ -234,7 +237,8 @@ public void applyOutputShift(@NotNull final RowSet subRowSetToShift, final long public void prepareForParallelPopulation(final RowSet changedRows) { if (rowRedirection != null) { assert maybeInnerSource != null; - ((WritableSourceWithPrepareForParallelPopulation) maybeInnerSource).prepareForParallelPopulation(changedRows); + ((WritableSourceWithPrepareForParallelPopulation) maybeInnerSource) + .prepareForParallelPopulation(changedRows); } else { ((WritableSourceWithPrepareForParallelPopulation) outputSource).prepareForParallelPopulation(changedRows); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseLongUpdateByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseLongUpdateByOperator.java index dcabd2a0c23..52410ab4d0b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseLongUpdateByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseLongUpdateByOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit BaseCharUpdateByOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit BaseCharUpdateByOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.internal; import io.deephaven.chunk.Chunk; @@ -48,9 +50,9 @@ protected Context(final int chunkSize) { @Override public void accumulateCumulative(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] valueChunkArr, - @Nullable final LongChunk tsChunk, - final int len) { + @NotNull final Chunk[] valueChunkArr, + @Nullable final LongChunk tsChunk, + final int len) { setValueChunks(valueChunkArr); @@ -66,12 +68,12 @@ public void accumulateCumulative(@NotNull final RowSequence inputKeys, @Override public void accumulateRolling(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] influencerValueChunkArr, - @Nullable final LongChunk affectedPosChunk, - @Nullable final LongChunk influencerPosChunk, - @NotNull final IntChunk pushChunk, - @NotNull final IntChunk popChunk, - final int len) { + @NotNull final Chunk[] influencerValueChunkArr, + @Nullable final LongChunk affectedPosChunk, + @Nullable final LongChunk influencerPosChunk, + @NotNull final IntChunk pushChunk, + @NotNull final IntChunk popChunk, + final int len) { setValueChunks(influencerValueChunkArr); setPosChunks(affectedPosChunk, influencerPosChunk); @@ -140,31 +142,31 @@ public void close() { /** * Construct a base operator for operations that produce long outputs. * - * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param pair the {@link MatchPair} that defines the input/output for this operation * @param affectingColumns a list of all columns (including the input column from the pair) that affects the result - * of this operator. + * of this operator. */ public BaseLongUpdateByOperator( @NotNull final MatchPair pair, @NotNull final String[] affectingColumns - // region extra-constructor-args - // endregion extra-constructor-args - ) { + // region extra-constructor-args + // endregion extra-constructor-args + ) { this(pair, affectingColumns, null, 0, 0, false); } /** * Construct a base operator for operations that produce long outputs. * - * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param pair the {@link MatchPair} that defines the input/output for this operation * @param affectingColumns a list of all columns (including the input column from the pair) that affects the result - * of this operator. + * of this operator. * @param timestampColumnName an optional timestamp column. If this is null, it will be assumed time is measured in * integer ticks. - * @param reverseWindowScaleUnits the reverse window for the operator. If no {@code timestampColumnName} is provided, this - * is measured in ticks, otherwise it is measured in nanoseconds. - * @param forwardWindowScaleUnits the forward window for the operator. If no {@code timestampColumnName} is provided, this - * is measured in ticks, otherwise it is measured in nanoseconds. + * @param reverseWindowScaleUnits the reverse window for the operator. If no {@code timestampColumnName} is + * provided, this is measured in ticks, otherwise it is measured in nanoseconds. + * @param forwardWindowScaleUnits the forward window for the operator. If no {@code timestampColumnName} is + * provided, this is measured in ticks, otherwise it is measured in nanoseconds. */ public BaseLongUpdateByOperator( @NotNull final MatchPair pair, @@ -173,10 +175,11 @@ public BaseLongUpdateByOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, final boolean isWindowed - // region extra-constructor-args - // endregion extra-constructor-args - ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, isWindowed); + // region extra-constructor-args + // endregion extra-constructor-args + ) { + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, + isWindowed); // region constructor // endregion constructor } @@ -185,7 +188,7 @@ public BaseLongUpdateByOperator( @OverridingMethodsMustInvokeSuper public void initializeSources(@NotNull final Table source, @Nullable final RowRedirection rowRedirection) { this.rowRedirection = rowRedirection; - if(rowRedirection != null) { + if (rowRedirection != null) { // region create-dense maybeInnerSource = new LongArraySource(); // endregion create-dense @@ -204,9 +207,9 @@ public void initializeSources(@NotNull final Table source, @Nullable final RowRe @Override public void initializeCumulative(@NotNull final UpdateByOperator.Context context, - final long firstUnmodifiedKey, - final long firstUnmodifiedTimestamp, - @NotNull final RowSet bucketRowSet) { + final long firstUnmodifiedKey, + final long firstUnmodifiedTimestamp, + @NotNull final RowSet bucketRowSet) { Context ctx = (Context) context; ctx.reset(); if (firstUnmodifiedKey != NULL_ROW_KEY) { @@ -226,7 +229,7 @@ public void startTrackingPrev() { // region Shifts @Override public void applyOutputShift(@NotNull final RowSet subRowSetToShift, final long delta) { - ((LongSparseArraySource)outputSource).shift(subRowSetToShift, delta); + ((LongSparseArraySource) outputSource).shift(subRowSetToShift, delta); } // endregion Shifts @@ -234,7 +237,8 @@ public void applyOutputShift(@NotNull final RowSet subRowSetToShift, final long public void prepareForParallelPopulation(final RowSet changedRows) { if (rowRedirection != null) { assert maybeInnerSource != null; - ((WritableSourceWithPrepareForParallelPopulation) maybeInnerSource).prepareForParallelPopulation(changedRows); + ((WritableSourceWithPrepareForParallelPopulation) maybeInnerSource) + .prepareForParallelPopulation(changedRows); } else { ((WritableSourceWithPrepareForParallelPopulation) outputSource).prepareForParallelPopulation(changedRows); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseObjectBinaryOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseObjectBinaryOperator.java index 47666a345ff..eb9cbe29322 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseObjectBinaryOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseObjectBinaryOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.internal; import io.deephaven.chunk.Chunk; @@ -40,8 +43,8 @@ public void reset() { } public BaseObjectBinaryOperator(@NotNull final MatchPair pair, - @NotNull final String[] affectingColumns, - @NotNull final Class type) { + @NotNull final String[] affectingColumns, + @NotNull final Class type) { super(pair, affectingColumns, type); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseObjectUpdateByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseObjectUpdateByOperator.java index e7cb220693f..8d06f8195bf 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseObjectUpdateByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseObjectUpdateByOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit BaseCharUpdateByOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit BaseCharUpdateByOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.internal; import io.deephaven.engine.table.impl.util.ChunkUtils; @@ -51,9 +53,9 @@ protected Context(final int chunkSize) { @Override public void accumulateCumulative(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] valueChunkArr, - @Nullable final LongChunk tsChunk, - final int len) { + @NotNull final Chunk[] valueChunkArr, + @Nullable final LongChunk tsChunk, + final int len) { setValueChunks(valueChunkArr); @@ -69,12 +71,12 @@ public void accumulateCumulative(@NotNull final RowSequence inputKeys, @Override public void accumulateRolling(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] influencerValueChunkArr, - @Nullable final LongChunk affectedPosChunk, - @Nullable final LongChunk influencerPosChunk, - @NotNull final IntChunk pushChunk, - @NotNull final IntChunk popChunk, - final int len) { + @NotNull final Chunk[] influencerValueChunkArr, + @Nullable final LongChunk affectedPosChunk, + @Nullable final LongChunk influencerPosChunk, + @NotNull final IntChunk pushChunk, + @NotNull final IntChunk popChunk, + final int len) { setValueChunks(influencerValueChunkArr); setPosChunks(affectedPosChunk, influencerPosChunk); @@ -143,32 +145,32 @@ public void close() { /** * Construct a base operator for operations that produce Object outputs. * - * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param pair the {@link MatchPair} that defines the input/output for this operation * @param affectingColumns a list of all columns (including the input column from the pair) that affects the result - * of this operator. + * of this operator. */ public BaseObjectUpdateByOperator( @NotNull final MatchPair pair, @NotNull final String[] affectingColumns - // region extra-constructor-args + // region extra-constructor-args , final Class colType - // endregion extra-constructor-args - ) { + // endregion extra-constructor-args + ) { this(pair, affectingColumns, null, 0, 0, false, colType); } /** * Construct a base operator for operations that produce Object outputs. * - * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param pair the {@link MatchPair} that defines the input/output for this operation * @param affectingColumns a list of all columns (including the input column from the pair) that affects the result - * of this operator. + * of this operator. * @param timestampColumnName an optional timestamp column. If this is null, it will be assumed time is measured in * integer ticks. - * @param reverseWindowScaleUnits the reverse window for the operator. If no {@code timestampColumnName} is provided, this - * is measured in ticks, otherwise it is measured in nanoseconds. - * @param forwardWindowScaleUnits the forward window for the operator. If no {@code timestampColumnName} is provided, this - * is measured in ticks, otherwise it is measured in nanoseconds. + * @param reverseWindowScaleUnits the reverse window for the operator. If no {@code timestampColumnName} is + * provided, this is measured in ticks, otherwise it is measured in nanoseconds. + * @param forwardWindowScaleUnits the forward window for the operator. If no {@code timestampColumnName} is + * provided, this is measured in ticks, otherwise it is measured in nanoseconds. */ public BaseObjectUpdateByOperator( @NotNull final MatchPair pair, @@ -177,11 +179,12 @@ public BaseObjectUpdateByOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, final boolean isWindowed - // region extra-constructor-args + // region extra-constructor-args , final Class colType - // endregion extra-constructor-args - ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, isWindowed); + // endregion extra-constructor-args + ) { + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, + isWindowed); // region constructor this.colType = colType; // endregion constructor @@ -191,7 +194,7 @@ public BaseObjectUpdateByOperator( @OverridingMethodsMustInvokeSuper public void initializeSources(@NotNull final Table source, @Nullable final RowRedirection rowRedirection) { this.rowRedirection = rowRedirection; - if(rowRedirection != null) { + if (rowRedirection != null) { // region create-dense maybeInnerSource = new ObjectArraySource<>(colType); // endregion create-dense @@ -210,9 +213,9 @@ public void initializeSources(@NotNull final Table source, @Nullable final RowRe @Override public void initializeCumulative(@NotNull final UpdateByOperator.Context context, - final long firstUnmodifiedKey, - final long firstUnmodifiedTimestamp, - @NotNull final RowSet bucketRowSet) { + final long firstUnmodifiedKey, + final long firstUnmodifiedTimestamp, + @NotNull final RowSet bucketRowSet) { Context ctx = (Context) context; ctx.reset(); if (firstUnmodifiedKey != NULL_ROW_KEY) { @@ -232,7 +235,7 @@ public void startTrackingPrev() { // region Shifts @Override public void applyOutputShift(@NotNull final RowSet subRowSetToShift, final long delta) { - ((ObjectSparseArraySource)outputSource).shift(subRowSetToShift, delta); + ((ObjectSparseArraySource) outputSource).shift(subRowSetToShift, delta); } // endregion Shifts @@ -240,7 +243,8 @@ public void applyOutputShift(@NotNull final RowSet subRowSetToShift, final long public void prepareForParallelPopulation(final RowSet changedRows) { if (rowRedirection != null) { assert maybeInnerSource != null; - ((WritableSourceWithPrepareForParallelPopulation) maybeInnerSource).prepareForParallelPopulation(changedRows); + ((WritableSourceWithPrepareForParallelPopulation) maybeInnerSource) + .prepareForParallelPopulation(changedRows); } else { ((WritableSourceWithPrepareForParallelPopulation) outputSource).prepareForParallelPopulation(changedRows); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseShortUpdateByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseShortUpdateByOperator.java index a971383066a..0a5107d4ee0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseShortUpdateByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/internal/BaseShortUpdateByOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit BaseCharUpdateByOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit BaseCharUpdateByOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.internal; import io.deephaven.chunk.Chunk; @@ -48,9 +50,9 @@ protected Context(final int chunkSize) { @Override public void accumulateCumulative(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] valueChunkArr, - @Nullable final LongChunk tsChunk, - final int len) { + @NotNull final Chunk[] valueChunkArr, + @Nullable final LongChunk tsChunk, + final int len) { setValueChunks(valueChunkArr); @@ -66,12 +68,12 @@ public void accumulateCumulative(@NotNull final RowSequence inputKeys, @Override public void accumulateRolling(@NotNull final RowSequence inputKeys, - @NotNull final Chunk[] influencerValueChunkArr, - @Nullable final LongChunk affectedPosChunk, - @Nullable final LongChunk influencerPosChunk, - @NotNull final IntChunk pushChunk, - @NotNull final IntChunk popChunk, - final int len) { + @NotNull final Chunk[] influencerValueChunkArr, + @Nullable final LongChunk affectedPosChunk, + @Nullable final LongChunk influencerPosChunk, + @NotNull final IntChunk pushChunk, + @NotNull final IntChunk popChunk, + final int len) { setValueChunks(influencerValueChunkArr); setPosChunks(affectedPosChunk, influencerPosChunk); @@ -140,31 +142,31 @@ public void close() { /** * Construct a base operator for operations that produce short outputs. * - * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param pair the {@link MatchPair} that defines the input/output for this operation * @param affectingColumns a list of all columns (including the input column from the pair) that affects the result - * of this operator. + * of this operator. */ public BaseShortUpdateByOperator( @NotNull final MatchPair pair, @NotNull final String[] affectingColumns - // region extra-constructor-args - // endregion extra-constructor-args - ) { + // region extra-constructor-args + // endregion extra-constructor-args + ) { this(pair, affectingColumns, null, 0, 0, false); } /** * Construct a base operator for operations that produce short outputs. * - * @param pair the {@link MatchPair} that defines the input/output for this operation + * @param pair the {@link MatchPair} that defines the input/output for this operation * @param affectingColumns a list of all columns (including the input column from the pair) that affects the result - * of this operator. + * of this operator. * @param timestampColumnName an optional timestamp column. If this is null, it will be assumed time is measured in * integer ticks. - * @param reverseWindowScaleUnits the reverse window for the operator. If no {@code timestampColumnName} is provided, this - * is measured in ticks, otherwise it is measured in nanoseconds. - * @param forwardWindowScaleUnits the forward window for the operator. If no {@code timestampColumnName} is provided, this - * is measured in ticks, otherwise it is measured in nanoseconds. + * @param reverseWindowScaleUnits the reverse window for the operator. If no {@code timestampColumnName} is + * provided, this is measured in ticks, otherwise it is measured in nanoseconds. + * @param forwardWindowScaleUnits the forward window for the operator. If no {@code timestampColumnName} is + * provided, this is measured in ticks, otherwise it is measured in nanoseconds. */ public BaseShortUpdateByOperator( @NotNull final MatchPair pair, @@ -173,10 +175,11 @@ public BaseShortUpdateByOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, final boolean isWindowed - // region extra-constructor-args - // endregion extra-constructor-args - ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, isWindowed); + // region extra-constructor-args + // endregion extra-constructor-args + ) { + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, + isWindowed); // region constructor // endregion constructor } @@ -185,7 +188,7 @@ public BaseShortUpdateByOperator( @OverridingMethodsMustInvokeSuper public void initializeSources(@NotNull final Table source, @Nullable final RowRedirection rowRedirection) { this.rowRedirection = rowRedirection; - if(rowRedirection != null) { + if (rowRedirection != null) { // region create-dense maybeInnerSource = new ShortArraySource(); // endregion create-dense @@ -204,9 +207,9 @@ public void initializeSources(@NotNull final Table source, @Nullable final RowRe @Override public void initializeCumulative(@NotNull final UpdateByOperator.Context context, - final long firstUnmodifiedKey, - final long firstUnmodifiedTimestamp, - @NotNull final RowSet bucketRowSet) { + final long firstUnmodifiedKey, + final long firstUnmodifiedTimestamp, + @NotNull final RowSet bucketRowSet) { Context ctx = (Context) context; ctx.reset(); if (firstUnmodifiedKey != NULL_ROW_KEY) { @@ -226,7 +229,7 @@ public void startTrackingPrev() { // region Shifts @Override public void applyOutputShift(@NotNull final RowSet subRowSetToShift, final long delta) { - ((ShortSparseArraySource)outputSource).shift(subRowSetToShift, delta); + ((ShortSparseArraySource) outputSource).shift(subRowSetToShift, delta); } // endregion Shifts @@ -234,7 +237,8 @@ public void applyOutputShift(@NotNull final RowSet subRowSetToShift, final long public void prepareForParallelPopulation(final RowSet changedRows) { if (rowRedirection != null) { assert maybeInnerSource != null; - ((WritableSourceWithPrepareForParallelPopulation) maybeInnerSource).prepareForParallelPopulation(changedRows); + ((WritableSourceWithPrepareForParallelPopulation) maybeInnerSource) + .prepareForParallelPopulation(changedRows); } else { ((WritableSourceWithPrepareForParallelPopulation) outputSource).prepareForParallelPopulation(changedRows); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/ByteCumMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/ByteCumMinMaxOperator.java index 591cb81d873..1661bd727f5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/ByteCumMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/ByteCumMinMaxOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ShortCumMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortCumMinMaxOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.minmax; import io.deephaven.base.verify.Assert; @@ -55,11 +57,11 @@ public void push(int pos, int count) { public ByteCumMinMaxOperator( @NotNull final MatchPair pair, final boolean isMax - // region extra-constructor-args + // region extra-constructor-args ,final byte nullValue - // endregion extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); this.isMax = isMax; // region constructor this.nullValue = nullValue; @@ -71,9 +73,9 @@ public UpdateByOperator copy() { return new ByteCumMinMaxOperator( pair, isMax - // region extra-copy-args + // region extra-copy-args , nullValue - // endregion extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/ComparableCumMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/ComparableCumMinMaxOperator.java index 3d64fbd7840..4676f1836fe 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/ComparableCumMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/ComparableCumMinMaxOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.minmax; import io.deephaven.engine.table.impl.MatchPair; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/DoubleCumMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/DoubleCumMinMaxOperator.java index ff5baedcb69..47cb562d325 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/DoubleCumMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/DoubleCumMinMaxOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ShortCumMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortCumMinMaxOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.minmax; import io.deephaven.base.verify.Assert; @@ -54,10 +56,10 @@ public void push(int pos, int count) { public DoubleCumMinMaxOperator( @NotNull final MatchPair pair, final boolean isMax - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); this.isMax = isMax; // region constructor // endregion constructor @@ -68,8 +70,8 @@ public UpdateByOperator copy() { return new DoubleCumMinMaxOperator( pair, isMax - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/FloatCumMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/FloatCumMinMaxOperator.java index a9456a82bac..abc5b928289 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/FloatCumMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/FloatCumMinMaxOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ShortCumMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortCumMinMaxOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.minmax; import io.deephaven.base.verify.Assert; @@ -54,10 +56,10 @@ public void push(int pos, int count) { public FloatCumMinMaxOperator( @NotNull final MatchPair pair, final boolean isMax - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); this.isMax = isMax; // region constructor // endregion constructor @@ -68,8 +70,8 @@ public UpdateByOperator copy() { return new FloatCumMinMaxOperator( pair, isMax - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/IntCumMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/IntCumMinMaxOperator.java index 3e07323ad0a..662df61a4c9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/IntCumMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/IntCumMinMaxOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ShortCumMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortCumMinMaxOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.minmax; import io.deephaven.base.verify.Assert; @@ -54,10 +56,10 @@ public void push(int pos, int count) { public IntCumMinMaxOperator( @NotNull final MatchPair pair, final boolean isMax - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); this.isMax = isMax; // region constructor // endregion constructor @@ -68,8 +70,8 @@ public UpdateByOperator copy() { return new IntCumMinMaxOperator( pair, isMax - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/LongCumMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/LongCumMinMaxOperator.java index 4d9ac108abe..078d4fb35ef 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/LongCumMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/LongCumMinMaxOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ShortCumMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortCumMinMaxOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.minmax; import java.time.Instant; @@ -62,11 +64,11 @@ public void push(int pos, int count) { public LongCumMinMaxOperator( @NotNull final MatchPair pair, final boolean isMax - // region extra-constructor-args + // region extra-constructor-args ,@NotNull final Class type - // endregion extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); this.isMax = isMax; // region constructor this.type = type; @@ -78,9 +80,9 @@ public UpdateByOperator copy() { return new LongCumMinMaxOperator( pair, isMax - // region extra-copy-args + // region extra-copy-args , type - // endregion extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/ShortCumMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/ShortCumMinMaxOperator.java index 07fe5da2948..ee57ecc52b1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/ShortCumMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/minmax/ShortCumMinMaxOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.minmax; import io.deephaven.base.verify.Assert; @@ -49,10 +52,10 @@ public void push(int pos, int count) { public ShortCumMinMaxOperator( @NotNull final MatchPair pair, final boolean isMax - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); this.isMax = isMax; // region constructor // endregion constructor @@ -63,8 +66,8 @@ public UpdateByOperator copy() { return new ShortCumMinMaxOperator( pair, isMax - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/BigDecimalCumProdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/BigDecimalCumProdOperator.java index 79281ee4282..229cc7d0eeb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/BigDecimalCumProdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/BigDecimalCumProdOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.prod; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/BigIntegerCumProdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/BigIntegerCumProdOperator.java index 8ec2aac7e97..aa71010ab96 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/BigIntegerCumProdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/BigIntegerCumProdOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.prod; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/ByteCumProdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/ByteCumProdOperator.java index 4cc2e8d25d2..bdf2ae233c0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/ByteCumProdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/ByteCumProdOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ShortCumProdOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortCumProdOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.prod; import io.deephaven.base.verify.Assert; @@ -48,11 +50,11 @@ public void push(int pos, int count) { public ByteCumProdOperator( @NotNull final MatchPair pair - // region extra-constructor-args + // region extra-constructor-args ,final byte nullValue - // endregion extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); // region constructor this.nullValue = nullValue; // endregion constructor @@ -62,9 +64,9 @@ public ByteCumProdOperator( public UpdateByOperator copy() { return new ByteCumProdOperator( pair - // region extra-copy-args + // region extra-copy-args , nullValue - // endregion extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/DoubleCumProdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/DoubleCumProdOperator.java index e7f8b93af5d..56cd5ba585b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/DoubleCumProdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/DoubleCumProdOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatCumProdOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatCumProdOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.prod; import io.deephaven.base.verify.Assert; @@ -46,10 +48,10 @@ public void push(int pos, int count) { public DoubleCumProdOperator( @NotNull final MatchPair pair - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); // region constructor // endregion constructor } @@ -58,8 +60,8 @@ public DoubleCumProdOperator( public UpdateByOperator copy() { return new DoubleCumProdOperator( pair - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/FloatCumProdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/FloatCumProdOperator.java index 6c442130f6b..af36f5c9539 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/FloatCumProdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/FloatCumProdOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.prod; import io.deephaven.base.verify.Assert; @@ -41,10 +44,10 @@ public void push(int pos, int count) { public FloatCumProdOperator( @NotNull final MatchPair pair - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); // region constructor // endregion constructor } @@ -53,8 +56,8 @@ public FloatCumProdOperator( public UpdateByOperator copy() { return new FloatCumProdOperator( pair - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/IntCumProdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/IntCumProdOperator.java index c083640363d..e408c060ee5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/IntCumProdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/IntCumProdOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ShortCumProdOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortCumProdOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.prod; import io.deephaven.base.verify.Assert; @@ -47,10 +49,10 @@ public void push(int pos, int count) { public IntCumProdOperator( @NotNull final MatchPair pair - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); // region constructor // endregion constructor } @@ -59,8 +61,8 @@ public IntCumProdOperator( public UpdateByOperator copy() { return new IntCumProdOperator( pair - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/LongCumProdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/LongCumProdOperator.java index c6a0c810684..53d8f6d4795 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/LongCumProdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/LongCumProdOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ShortCumProdOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortCumProdOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.prod; import io.deephaven.base.verify.Assert; @@ -47,10 +49,10 @@ public void push(int pos, int count) { public LongCumProdOperator( @NotNull final MatchPair pair - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); // region constructor // endregion constructor } @@ -59,8 +61,8 @@ public LongCumProdOperator( public UpdateByOperator copy() { return new LongCumProdOperator( pair - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/ShortCumProdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/ShortCumProdOperator.java index e231d8bdf4b..f6593ab4d7b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/ShortCumProdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/prod/ShortCumProdOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.prod; import io.deephaven.base.verify.Assert; @@ -42,10 +45,10 @@ public void push(int pos, int count) { public ShortCumProdOperator( @NotNull final MatchPair pair - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); // region constructor // endregion constructor } @@ -54,8 +57,8 @@ public ShortCumProdOperator( public UpdateByOperator copy() { return new ShortCumProdOperator( pair - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/BigDecimalRollingAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/BigDecimalRollingAvgOperator.java index ff7be077e28..ffe791d5476 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/BigDecimalRollingAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/BigDecimalRollingAvgOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingavg; import io.deephaven.base.RingBuffer; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/BigIntegerRollingAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/BigIntegerRollingAvgOperator.java index decdd7e576e..817bfeee1d8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/BigIntegerRollingAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/BigIntegerRollingAvgOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingavg; import io.deephaven.base.RingBuffer; @@ -112,7 +115,8 @@ public BigIntegerRollingAvgOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, @NotNull final MathContext mathContext) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true, BigDecimal.class); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true, + BigDecimal.class); this.mathContext = mathContext; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/ByteRollingAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/ByteRollingAvgOperator.java index 6f7e89a017e..adc9ca532d4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/ByteRollingAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/ByteRollingAvgOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingAvgOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingavg; import io.deephaven.base.ringbuffer.ByteRingBuffer; @@ -92,7 +94,7 @@ public void writeToOutputChunk(int outIdx) { if (count == 0) { outputValues.set(outIdx, Double.NaN); } else { - outputValues.set(outIdx, curVal / (double)count); + outputValues.set(outIdx, curVal / (double) count); } } } @@ -116,9 +118,9 @@ public ByteRollingAvgOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args + // region extra-constructor-args ,final byte nullValue - // endregion extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -134,9 +136,9 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args + // region extra-copy-args , nullValue - // endregion extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/CharRollingAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/CharRollingAvgOperator.java index d1ee36d621a..e5620d15cc2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/CharRollingAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/CharRollingAvgOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingavg; import io.deephaven.base.ringbuffer.CharRingBuffer; @@ -86,7 +89,7 @@ public void writeToOutputChunk(int outIdx) { if (count == 0) { outputValues.set(outIdx, Double.NaN); } else { - outputValues.set(outIdx, curVal / (double)count); + outputValues.set(outIdx, curVal / (double) count); } } } @@ -110,8 +113,8 @@ public CharRollingAvgOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -126,8 +129,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/DoubleRollingAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/DoubleRollingAvgOperator.java index 05855da9823..3e53befcd5c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/DoubleRollingAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/DoubleRollingAvgOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatRollingAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatRollingAvgOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingavg; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; @@ -34,7 +36,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { if (a == NULL_DOUBLE) { return b; } else if (b == NULL_DOUBLE) { - return a; + return a; } return a + b; }); @@ -87,7 +89,7 @@ public void writeToOutputChunk(int outIdx) { if (count == 0) { outputValues.set(outIdx, Double.NaN); } else { - outputValues.set(outIdx, aggSum.evaluate() / (double)count); + outputValues.set(outIdx, aggSum.evaluate() / (double) count); } } } @@ -111,8 +113,8 @@ public DoubleRollingAvgOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -127,8 +129,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/FloatRollingAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/FloatRollingAvgOperator.java index 5d45e6086ec..4f4eaa67053 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/FloatRollingAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/FloatRollingAvgOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingavg; import io.deephaven.base.ringbuffer.AggregatingFloatRingBuffer; @@ -29,7 +32,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { if (a == NULL_FLOAT) { return b; } else if (b == NULL_FLOAT) { - return a; + return a; } return a + b; }); @@ -82,7 +85,7 @@ public void writeToOutputChunk(int outIdx) { if (count == 0) { outputValues.set(outIdx, Double.NaN); } else { - outputValues.set(outIdx, aggSum.evaluate() / (double)count); + outputValues.set(outIdx, aggSum.evaluate() / (double) count); } } } @@ -106,8 +109,8 @@ public FloatRollingAvgOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -122,8 +125,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/IntRollingAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/IntRollingAvgOperator.java index 513b7548324..fa73349b73f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/IntRollingAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/IntRollingAvgOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingAvgOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingavg; import io.deephaven.base.ringbuffer.IntRingBuffer; @@ -91,7 +93,7 @@ public void writeToOutputChunk(int outIdx) { if (count == 0) { outputValues.set(outIdx, Double.NaN); } else { - outputValues.set(outIdx, curVal / (double)count); + outputValues.set(outIdx, curVal / (double) count); } } } @@ -115,8 +117,8 @@ public IntRollingAvgOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -131,8 +133,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/LongRollingAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/LongRollingAvgOperator.java index d64263ccf4a..72c6e7b639f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/LongRollingAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/LongRollingAvgOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingAvgOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingavg; import io.deephaven.base.ringbuffer.LongRingBuffer; @@ -91,7 +93,7 @@ public void writeToOutputChunk(int outIdx) { if (count == 0) { outputValues.set(outIdx, Double.NaN); } else { - outputValues.set(outIdx, curVal / (double)count); + outputValues.set(outIdx, curVal / (double) count); } } } @@ -115,8 +117,8 @@ public LongRollingAvgOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -131,8 +133,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/ShortRollingAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/ShortRollingAvgOperator.java index 0f91486985e..23512f1ab4d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/ShortRollingAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingavg/ShortRollingAvgOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingAvgOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingavg; import io.deephaven.base.ringbuffer.ShortRingBuffer; @@ -91,7 +93,7 @@ public void writeToOutputChunk(int outIdx) { if (count == 0) { outputValues.set(outIdx, Double.NaN); } else { - outputValues.set(outIdx, curVal / (double)count); + outputValues.set(outIdx, curVal / (double) count); } } } @@ -115,8 +117,8 @@ public ShortRollingAvgOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -131,8 +133,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/ByteRollingCountOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/ByteRollingCountOperator.java index d0c5266d3a8..6a5eef6195f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/ByteRollingCountOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/ByteRollingCountOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingCountOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingCountOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingcount; import io.deephaven.base.ringbuffer.ByteRingBuffer; @@ -44,6 +46,7 @@ public void close() { public void setValueChunks(@NotNull final Chunk[] valueChunks) { influencerValuesChunk = valueChunks[0].asByteChunk(); } + @Override public void push(int pos, int count) { buffer.ensureRemaining(count); @@ -98,9 +101,9 @@ public ByteRollingCountOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args + // region extra-constructor-args ,final byte nullValue - // endregion extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -115,9 +118,9 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args + // region extra-copy-args , nullValue - // endregion extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/CharRollingCountOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/CharRollingCountOperator.java index ca1dd1eb528..ccfb3b5a9c3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/CharRollingCountOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/CharRollingCountOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingcount; import io.deephaven.base.ringbuffer.ByteRingBuffer; @@ -38,6 +41,7 @@ public void close() { public void setValueChunks(@NotNull final Chunk[] valueChunks) { influencerValuesChunk = valueChunks[0].asCharChunk(); } + @Override public void push(int pos, int count) { buffer.ensureRemaining(count); @@ -92,8 +96,8 @@ public CharRollingCountOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -107,8 +111,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/DoubleRollingCountOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/DoubleRollingCountOperator.java index fc613515cd5..bbf6e0275b8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/DoubleRollingCountOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/DoubleRollingCountOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingCountOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingCountOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingcount; import io.deephaven.base.ringbuffer.ByteRingBuffer; @@ -43,6 +45,7 @@ public void close() { public void setValueChunks(@NotNull final Chunk[] valueChunks) { influencerValuesChunk = valueChunks[0].asDoubleChunk(); } + @Override public void push(int pos, int count) { buffer.ensureRemaining(count); @@ -97,8 +100,8 @@ public DoubleRollingCountOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -112,8 +115,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/FloatRollingCountOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/FloatRollingCountOperator.java index ebdd714c449..9dced53d051 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/FloatRollingCountOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/FloatRollingCountOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingCountOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingCountOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingcount; import io.deephaven.base.ringbuffer.ByteRingBuffer; @@ -43,6 +45,7 @@ public void close() { public void setValueChunks(@NotNull final Chunk[] valueChunks) { influencerValuesChunk = valueChunks[0].asFloatChunk(); } + @Override public void push(int pos, int count) { buffer.ensureRemaining(count); @@ -97,8 +100,8 @@ public FloatRollingCountOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -112,8 +115,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/IntRollingCountOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/IntRollingCountOperator.java index c7a9ff8f04d..e9b50ca018c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/IntRollingCountOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/IntRollingCountOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingCountOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingCountOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingcount; import io.deephaven.base.ringbuffer.ByteRingBuffer; @@ -43,6 +45,7 @@ public void close() { public void setValueChunks(@NotNull final Chunk[] valueChunks) { influencerValuesChunk = valueChunks[0].asIntChunk(); } + @Override public void push(int pos, int count) { buffer.ensureRemaining(count); @@ -97,8 +100,8 @@ public IntRollingCountOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -112,8 +115,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/LongRollingCountOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/LongRollingCountOperator.java index c16401341b5..ed82caccc03 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/LongRollingCountOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/LongRollingCountOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingCountOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingCountOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingcount; import io.deephaven.base.ringbuffer.ByteRingBuffer; @@ -43,6 +45,7 @@ public void close() { public void setValueChunks(@NotNull final Chunk[] valueChunks) { influencerValuesChunk = valueChunks[0].asLongChunk(); } + @Override public void push(int pos, int count) { buffer.ensureRemaining(count); @@ -97,8 +100,8 @@ public LongRollingCountOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -112,8 +115,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/ObjectRollingCountOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/ObjectRollingCountOperator.java index 0c79e962be5..1dd43ba5dd4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/ObjectRollingCountOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/ObjectRollingCountOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingcount; import io.deephaven.base.ringbuffer.ByteRingBuffer; @@ -94,6 +97,7 @@ public ObjectRollingCountOperator( @Override public UpdateByOperator copy() { - return new ObjectRollingCountOperator(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits); + return new ObjectRollingCountOperator(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, + forwardWindowScaleUnits); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/ShortRollingCountOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/ShortRollingCountOperator.java index 0e9bd5f4300..2beb6ce1b5c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/ShortRollingCountOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingcount/ShortRollingCountOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingCountOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingCountOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingcount; import io.deephaven.base.ringbuffer.ByteRingBuffer; @@ -43,6 +45,7 @@ public void close() { public void setValueChunks(@NotNull final Chunk[] valueChunks) { influencerValuesChunk = valueChunks[0].asShortChunk(); } + @Override public void push(int pos, int count) { buffer.ensureRemaining(count); @@ -97,8 +100,8 @@ public ShortRollingCountOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -112,8 +115,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/BaseRollingFormulaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/BaseRollingFormulaOperator.java index 51be9f20d03..32c662fe872 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/BaseRollingFormulaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/BaseRollingFormulaOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingformula; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/BooleanRollingFormulaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/BooleanRollingFormulaOperator.java index c5dd517bd8b..b463a44a0f1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/BooleanRollingFormulaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/BooleanRollingFormulaOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingformula; import io.deephaven.base.ringbuffer.ObjectRingBuffer; @@ -42,8 +45,8 @@ protected class Context extends BaseRollingFormulaOperator.Context { private ByteChunk influencerValuesChunk; /** - * The value chunks are coming from a reinterpreted column, but we want to present an ObjectVector - * to the formula. + * The value chunks are coming from a reinterpreted column, but we want to present an ObjectVector to + * the formula. */ private ObjectRingBuffer windowValues; @@ -54,10 +57,12 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { windowValues = new ObjectRingBuffer<>(BUFFER_INITIAL_CAPACITY, true); // Make a copy of the operator formula column. - final FormulaColumn formulaCopy = (FormulaColumn)formulaColumn.copy(); + final FormulaColumn formulaCopy = (FormulaColumn) formulaColumn.copy(); // Create a single value column source of the appropriate type for the formula column input. - final SingleValueColumnSource> formulaInputSource = (SingleValueColumnSource>) SingleValueColumnSource.getSingleValueColumnSource(inputVectorType); + final SingleValueColumnSource> formulaInputSource = + (SingleValueColumnSource>) SingleValueColumnSource + .getSingleValueColumnSource(inputVectorType); formulaInputSource.set(new ObjectRingBufferVectorWrapper(windowValues, inputVectorType)); formulaCopy.initInputs(RowSetFactory.flat(1).toTracking(), Collections.singletonMap(PARAM_COLUMN_NAME, formulaInputSource)); @@ -156,7 +161,8 @@ public BooleanRollingFormulaOperator( @NotNull final String paramToken, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, paramToken, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, + paramToken, formulaColumnMap, tableDef); } protected BooleanRollingFormulaOperator( @@ -168,7 +174,8 @@ protected BooleanRollingFormulaOperator( final Class vectorType, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, + formulaColumnMap, tableDef); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ByteRollingFormulaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ByteRollingFormulaOperator.java index 966f8a78d4b..af6029a58aa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ByteRollingFormulaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ByteRollingFormulaOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingFormulaOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingFormulaOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingformula; import io.deephaven.base.ringbuffer.ByteRingBuffer; @@ -58,10 +60,12 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { byteWindowValues = new ByteRingBuffer(BUFFER_INITIAL_CAPACITY, true); // Make a copy of the operator formula column. - final FormulaColumn formulaCopy = (FormulaColumn)formulaColumn.copy(); + final FormulaColumn formulaCopy = (FormulaColumn) formulaColumn.copy(); // Create a single value column source of the appropriate type for the formula column input. - final SingleValueColumnSource formulaInputSource = (SingleValueColumnSource) SingleValueColumnSource.getSingleValueColumnSource(inputVectorType); + final SingleValueColumnSource formulaInputSource = + (SingleValueColumnSource) SingleValueColumnSource + .getSingleValueColumnSource(inputVectorType); formulaInputSource.set(new ByteRingBufferVectorWrapper(byteWindowValues)); formulaCopy.initInputs(RowSetFactory.flat(1).toTracking(), Collections.singletonMap(PARAM_COLUMN_NAME, formulaInputSource)); @@ -160,10 +164,11 @@ public ByteRollingFormulaOperator( @NotNull final String paramToken, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, paramToken, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, + paramToken, formulaColumnMap, tableDef); // region constructor // endregion constructor } @@ -177,10 +182,11 @@ protected ByteRollingFormulaOperator( final Class vectorType, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, + formulaColumnMap, tableDef); // region constructor // endregion constructor } @@ -195,8 +201,8 @@ public UpdateByOperator copy() { inputVectorType, formulaColumnMap, tableDef - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/CharRollingFormulaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/CharRollingFormulaOperator.java index bc9464acbc7..205ee8f2bfa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/CharRollingFormulaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/CharRollingFormulaOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingformula; import io.deephaven.base.ringbuffer.CharRingBuffer; @@ -53,10 +56,12 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { charWindowValues = new CharRingBuffer(BUFFER_INITIAL_CAPACITY, true); // Make a copy of the operator formula column. - final FormulaColumn formulaCopy = (FormulaColumn)formulaColumn.copy(); + final FormulaColumn formulaCopy = (FormulaColumn) formulaColumn.copy(); // Create a single value column source of the appropriate type for the formula column input. - final SingleValueColumnSource formulaInputSource = (SingleValueColumnSource) SingleValueColumnSource.getSingleValueColumnSource(inputVectorType); + final SingleValueColumnSource formulaInputSource = + (SingleValueColumnSource) SingleValueColumnSource + .getSingleValueColumnSource(inputVectorType); formulaInputSource.set(new CharRingBufferVectorWrapper(charWindowValues)); formulaCopy.initInputs(RowSetFactory.flat(1).toTracking(), Collections.singletonMap(PARAM_COLUMN_NAME, formulaInputSource)); @@ -155,10 +160,11 @@ public CharRollingFormulaOperator( @NotNull final String paramToken, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, paramToken, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, + paramToken, formulaColumnMap, tableDef); // region constructor // endregion constructor } @@ -172,10 +178,11 @@ protected CharRollingFormulaOperator( final Class vectorType, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, + formulaColumnMap, tableDef); // region constructor // endregion constructor } @@ -190,8 +197,8 @@ public UpdateByOperator copy() { inputVectorType, formulaColumnMap, tableDef - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/DoubleRollingFormulaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/DoubleRollingFormulaOperator.java index 5f65bbf71e5..5bc233a533d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/DoubleRollingFormulaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/DoubleRollingFormulaOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingFormulaOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingFormulaOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingformula; import io.deephaven.base.ringbuffer.DoubleRingBuffer; @@ -58,10 +60,12 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { doubleWindowValues = new DoubleRingBuffer(BUFFER_INITIAL_CAPACITY, true); // Make a copy of the operator formula column. - final FormulaColumn formulaCopy = (FormulaColumn)formulaColumn.copy(); + final FormulaColumn formulaCopy = (FormulaColumn) formulaColumn.copy(); // Create a single value column source of the appropriate type for the formula column input. - final SingleValueColumnSource formulaInputSource = (SingleValueColumnSource) SingleValueColumnSource.getSingleValueColumnSource(inputVectorType); + final SingleValueColumnSource formulaInputSource = + (SingleValueColumnSource) SingleValueColumnSource + .getSingleValueColumnSource(inputVectorType); formulaInputSource.set(new DoubleRingBufferVectorWrapper(doubleWindowValues)); formulaCopy.initInputs(RowSetFactory.flat(1).toTracking(), Collections.singletonMap(PARAM_COLUMN_NAME, formulaInputSource)); @@ -160,10 +164,11 @@ public DoubleRollingFormulaOperator( @NotNull final String paramToken, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, paramToken, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, + paramToken, formulaColumnMap, tableDef); // region constructor // endregion constructor } @@ -177,10 +182,11 @@ protected DoubleRollingFormulaOperator( final Class vectorType, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, + formulaColumnMap, tableDef); // region constructor // endregion constructor } @@ -195,8 +201,8 @@ public UpdateByOperator copy() { inputVectorType, formulaColumnMap, tableDef - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/FloatRollingFormulaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/FloatRollingFormulaOperator.java index c350d61cd4a..459fa465bff 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/FloatRollingFormulaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/FloatRollingFormulaOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingFormulaOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingFormulaOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingformula; import io.deephaven.base.ringbuffer.FloatRingBuffer; @@ -58,10 +60,12 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { floatWindowValues = new FloatRingBuffer(BUFFER_INITIAL_CAPACITY, true); // Make a copy of the operator formula column. - final FormulaColumn formulaCopy = (FormulaColumn)formulaColumn.copy(); + final FormulaColumn formulaCopy = (FormulaColumn) formulaColumn.copy(); // Create a single value column source of the appropriate type for the formula column input. - final SingleValueColumnSource formulaInputSource = (SingleValueColumnSource) SingleValueColumnSource.getSingleValueColumnSource(inputVectorType); + final SingleValueColumnSource formulaInputSource = + (SingleValueColumnSource) SingleValueColumnSource + .getSingleValueColumnSource(inputVectorType); formulaInputSource.set(new FloatRingBufferVectorWrapper(floatWindowValues)); formulaCopy.initInputs(RowSetFactory.flat(1).toTracking(), Collections.singletonMap(PARAM_COLUMN_NAME, formulaInputSource)); @@ -160,10 +164,11 @@ public FloatRollingFormulaOperator( @NotNull final String paramToken, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, paramToken, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, + paramToken, formulaColumnMap, tableDef); // region constructor // endregion constructor } @@ -177,10 +182,11 @@ protected FloatRollingFormulaOperator( final Class vectorType, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, + formulaColumnMap, tableDef); // region constructor // endregion constructor } @@ -195,8 +201,8 @@ public UpdateByOperator copy() { inputVectorType, formulaColumnMap, tableDef - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/IntRollingFormulaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/IntRollingFormulaOperator.java index 3bbfaa8d2f4..194d1dc7063 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/IntRollingFormulaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/IntRollingFormulaOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingFormulaOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingFormulaOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingformula; import io.deephaven.base.ringbuffer.IntRingBuffer; @@ -58,10 +60,12 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { intWindowValues = new IntRingBuffer(BUFFER_INITIAL_CAPACITY, true); // Make a copy of the operator formula column. - final FormulaColumn formulaCopy = (FormulaColumn)formulaColumn.copy(); + final FormulaColumn formulaCopy = (FormulaColumn) formulaColumn.copy(); // Create a single value column source of the appropriate type for the formula column input. - final SingleValueColumnSource formulaInputSource = (SingleValueColumnSource) SingleValueColumnSource.getSingleValueColumnSource(inputVectorType); + final SingleValueColumnSource formulaInputSource = + (SingleValueColumnSource) SingleValueColumnSource + .getSingleValueColumnSource(inputVectorType); formulaInputSource.set(new IntRingBufferVectorWrapper(intWindowValues)); formulaCopy.initInputs(RowSetFactory.flat(1).toTracking(), Collections.singletonMap(PARAM_COLUMN_NAME, formulaInputSource)); @@ -160,10 +164,11 @@ public IntRollingFormulaOperator( @NotNull final String paramToken, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, paramToken, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, + paramToken, formulaColumnMap, tableDef); // region constructor // endregion constructor } @@ -177,10 +182,11 @@ protected IntRollingFormulaOperator( final Class vectorType, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, + formulaColumnMap, tableDef); // region constructor // endregion constructor } @@ -195,8 +201,8 @@ public UpdateByOperator copy() { inputVectorType, formulaColumnMap, tableDef - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/LongRollingFormulaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/LongRollingFormulaOperator.java index 9af89aa516f..1171ffccaf6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/LongRollingFormulaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/LongRollingFormulaOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingFormulaOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingFormulaOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingformula; import io.deephaven.base.ringbuffer.LongRingBuffer; @@ -58,10 +60,12 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { longWindowValues = new LongRingBuffer(BUFFER_INITIAL_CAPACITY, true); // Make a copy of the operator formula column. - final FormulaColumn formulaCopy = (FormulaColumn)formulaColumn.copy(); + final FormulaColumn formulaCopy = (FormulaColumn) formulaColumn.copy(); // Create a single value column source of the appropriate type for the formula column input. - final SingleValueColumnSource formulaInputSource = (SingleValueColumnSource) SingleValueColumnSource.getSingleValueColumnSource(inputVectorType); + final SingleValueColumnSource formulaInputSource = + (SingleValueColumnSource) SingleValueColumnSource + .getSingleValueColumnSource(inputVectorType); formulaInputSource.set(new LongRingBufferVectorWrapper(longWindowValues)); formulaCopy.initInputs(RowSetFactory.flat(1).toTracking(), Collections.singletonMap(PARAM_COLUMN_NAME, formulaInputSource)); @@ -160,10 +164,11 @@ public LongRollingFormulaOperator( @NotNull final String paramToken, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, paramToken, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, + paramToken, formulaColumnMap, tableDef); // region constructor // endregion constructor } @@ -177,10 +182,11 @@ protected LongRollingFormulaOperator( final Class vectorType, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, + formulaColumnMap, tableDef); // region constructor // endregion constructor } @@ -195,8 +201,8 @@ public UpdateByOperator copy() { inputVectorType, formulaColumnMap, tableDef - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ObjectRollingFormulaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ObjectRollingFormulaOperator.java index 63375c30bd0..849a7a1de28 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ObjectRollingFormulaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ObjectRollingFormulaOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingformula; import io.deephaven.base.ringbuffer.ObjectRingBuffer; @@ -52,10 +55,12 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { windowValues = new ObjectRingBuffer<>(BUFFER_INITIAL_CAPACITY, true); // Make a copy of the operator formula column. - final FormulaColumn formulaCopy = (FormulaColumn)formulaColumn.copy(); + final FormulaColumn formulaCopy = (FormulaColumn) formulaColumn.copy(); // Create a single value column source of the appropriate type for the formula column input. - final SingleValueColumnSource> formulaInputSource = (SingleValueColumnSource>) SingleValueColumnSource.getSingleValueColumnSource(inputVectorType); + final SingleValueColumnSource> formulaInputSource = + (SingleValueColumnSource>) SingleValueColumnSource + .getSingleValueColumnSource(inputVectorType); formulaInputSource.set(new ObjectRingBufferVectorWrapper(windowValues, inputVectorType)); formulaCopy.initInputs(RowSetFactory.flat(1).toTracking(), Collections.singletonMap(PARAM_COLUMN_NAME, formulaInputSource)); @@ -155,7 +160,8 @@ public ObjectRollingFormulaOperator( @NotNull final String paramToken, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, paramToken, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, + paramToken, formulaColumnMap, tableDef); } protected ObjectRollingFormulaOperator( @@ -167,7 +173,8 @@ protected ObjectRollingFormulaOperator( final Class vectorType, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, + formulaColumnMap, tableDef); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ShortRollingFormulaOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ShortRollingFormulaOperator.java index ebd9052f0b2..c0a6978a129 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ShortRollingFormulaOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ShortRollingFormulaOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingFormulaOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingFormulaOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingformula; import io.deephaven.base.ringbuffer.ShortRingBuffer; @@ -58,10 +60,12 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { shortWindowValues = new ShortRingBuffer(BUFFER_INITIAL_CAPACITY, true); // Make a copy of the operator formula column. - final FormulaColumn formulaCopy = (FormulaColumn)formulaColumn.copy(); + final FormulaColumn formulaCopy = (FormulaColumn) formulaColumn.copy(); // Create a single value column source of the appropriate type for the formula column input. - final SingleValueColumnSource formulaInputSource = (SingleValueColumnSource) SingleValueColumnSource.getSingleValueColumnSource(inputVectorType); + final SingleValueColumnSource formulaInputSource = + (SingleValueColumnSource) SingleValueColumnSource + .getSingleValueColumnSource(inputVectorType); formulaInputSource.set(new ShortRingBufferVectorWrapper(shortWindowValues)); formulaCopy.initInputs(RowSetFactory.flat(1).toTracking(), Collections.singletonMap(PARAM_COLUMN_NAME, formulaInputSource)); @@ -160,10 +164,11 @@ public ShortRollingFormulaOperator( @NotNull final String paramToken, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, paramToken, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, formula, + paramToken, formulaColumnMap, tableDef); // region constructor // endregion constructor } @@ -177,10 +182,11 @@ protected ShortRollingFormulaOperator( final Class vectorType, @NotNull final Map, FormulaColumn> formulaColumnMap, @NotNull final TableDefinition tableDef - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, formulaColumnMap, tableDef); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, vectorType, + formulaColumnMap, tableDef); // region constructor // endregion constructor } @@ -195,8 +201,8 @@ public UpdateByOperator copy() { inputVectorType, formulaColumnMap, tableDef - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/ByteRingBufferVectorWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/ByteRingBufferVectorWrapper.java index e6e5911a08a..5fc15cb3280 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/ByteRingBufferVectorWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/ByteRingBufferVectorWrapper.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBufferVectorWrapper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBufferVectorWrapper and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingformula.ringbuffervectorwrapper; import io.deephaven.base.ringbuffer.ByteRingBuffer; @@ -25,7 +27,7 @@ public long size() { @Override public byte get(long index) { - return ringBuffer.front((int)index); + return ringBuffer.front((int) index); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/CharRingBufferVectorWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/CharRingBufferVectorWrapper.java index 99d473731bd..b30dd79b925 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/CharRingBufferVectorWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/CharRingBufferVectorWrapper.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingformula.ringbuffervectorwrapper; import io.deephaven.base.ringbuffer.CharRingBuffer; @@ -20,7 +23,7 @@ public long size() { @Override public char get(long index) { - return ringBuffer.front((int)index); + return ringBuffer.front((int) index); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/DoubleRingBufferVectorWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/DoubleRingBufferVectorWrapper.java index ad5c8ce8ec9..b2e07f33a4e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/DoubleRingBufferVectorWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/DoubleRingBufferVectorWrapper.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBufferVectorWrapper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBufferVectorWrapper and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingformula.ringbuffervectorwrapper; import io.deephaven.base.ringbuffer.DoubleRingBuffer; @@ -25,7 +27,7 @@ public long size() { @Override public double get(long index) { - return ringBuffer.front((int)index); + return ringBuffer.front((int) index); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/FloatRingBufferVectorWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/FloatRingBufferVectorWrapper.java index 7a7605a4e98..1e636dfe397 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/FloatRingBufferVectorWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/FloatRingBufferVectorWrapper.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBufferVectorWrapper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBufferVectorWrapper and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingformula.ringbuffervectorwrapper; import io.deephaven.base.ringbuffer.FloatRingBuffer; @@ -25,7 +27,7 @@ public long size() { @Override public float get(long index) { - return ringBuffer.front((int)index); + return ringBuffer.front((int) index); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/IntRingBufferVectorWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/IntRingBufferVectorWrapper.java index 37e681702d2..28c33bb0c22 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/IntRingBufferVectorWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/IntRingBufferVectorWrapper.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBufferVectorWrapper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBufferVectorWrapper and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingformula.ringbuffervectorwrapper; import io.deephaven.base.ringbuffer.IntRingBuffer; @@ -25,7 +27,7 @@ public long size() { @Override public int get(long index) { - return ringBuffer.front((int)index); + return ringBuffer.front((int) index); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/LongRingBufferVectorWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/LongRingBufferVectorWrapper.java index 5e505a6102d..b7e2a838d3d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/LongRingBufferVectorWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/LongRingBufferVectorWrapper.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBufferVectorWrapper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBufferVectorWrapper and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingformula.ringbuffervectorwrapper; import io.deephaven.base.ringbuffer.LongRingBuffer; @@ -25,7 +27,7 @@ public long size() { @Override public long get(long index) { - return ringBuffer.front((int)index); + return ringBuffer.front((int) index); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/ObjectRingBufferVectorWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/ObjectRingBufferVectorWrapper.java index c955b1ca67f..fde4452e6ea 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/ObjectRingBufferVectorWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/ObjectRingBufferVectorWrapper.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingformula.ringbuffervectorwrapper; import io.deephaven.base.ringbuffer.ObjectRingBuffer; @@ -22,7 +25,7 @@ public long size() { @Override public T get(long index) { - return ringBuffer.front((int)index); + return ringBuffer.front((int) index); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/RingBufferVectorWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/RingBufferVectorWrapper.java index f00d71d1090..48892888ac0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/RingBufferVectorWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/RingBufferVectorWrapper.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingformula.ringbuffervectorwrapper; public interface RingBufferVectorWrapper { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/ShortRingBufferVectorWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/ShortRingBufferVectorWrapper.java index cfbb11b3915..35b36a303a6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/ShortRingBufferVectorWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingformula/ringbuffervectorwrapper/ShortRingBufferVectorWrapper.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRingBufferVectorWrapper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRingBufferVectorWrapper and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingformula.ringbuffervectorwrapper; import io.deephaven.base.ringbuffer.ShortRingBuffer; @@ -25,7 +27,7 @@ public long size() { @Override public short get(long index) { - return ringBuffer.front((int)index); + return ringBuffer.front((int) index); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollinggroup/RollingGroupOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollinggroup/RollingGroupOperator.java index aad948c1ab3..f6ec36769a9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollinggroup/RollingGroupOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollinggroup/RollingGroupOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollinggroup; import io.deephaven.base.ringbuffer.LongRingBuffer; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/ByteRollingMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/ByteRollingMinMaxOperator.java index ba6f93bb1ee..2a57cb58bb7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/ByteRollingMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/ByteRollingMinMaxOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingMinMaxOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingminmax; import io.deephaven.base.ringbuffer.AggregatingByteRingBuffer; @@ -39,7 +41,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (b == NULL_BYTE) { return a; } - return (byte)Math.max(a, b); + return (byte) Math.max(a, b); }); } else { aggMinMax = new AggregatingByteRingBuffer(BUFFER_INITIAL_CAPACITY, Byte.MAX_VALUE, (a, b) -> { @@ -48,7 +50,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (b == NULL_BYTE) { return a; } - return (byte)Math.min(a, b); + return (byte) Math.min(a, b); }); } curVal = isMax ? Byte.MIN_VALUE : Byte.MAX_VALUE; @@ -102,7 +104,7 @@ public void pop(int count) { if (val == NULL_BYTE) { nullCount--; } else { - // Only revaluate if we pop something equal to our current value. Otherwise we have perfect + // Only revaluate if we pop something equal to our current value. Otherwise we have perfect // confidence that the min/max is still in the window. if (curVal == val) { evaluationNeeded = true; @@ -144,8 +146,8 @@ public ByteRollingMinMaxOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, final boolean isMax - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); this.isMax = isMax; @@ -162,8 +164,8 @@ public UpdateByOperator copy() { reverseWindowScaleUnits, forwardWindowScaleUnits, isMax - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/CharRollingMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/CharRollingMinMaxOperator.java index 8f575b4eeb0..dd9fa640cfc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/CharRollingMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/CharRollingMinMaxOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingminmax; import io.deephaven.base.ringbuffer.AggregatingCharRingBuffer; @@ -34,7 +37,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (b == NULL_CHAR) { return a; } - return (char)Math.max(a, b); + return (char) Math.max(a, b); }); } else { aggMinMax = new AggregatingCharRingBuffer(BUFFER_INITIAL_CAPACITY, Character.MAX_VALUE, (a, b) -> { @@ -43,7 +46,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (b == NULL_CHAR) { return a; } - return (char)Math.min(a, b); + return (char) Math.min(a, b); }); } curVal = isMax ? Character.MIN_VALUE : Character.MAX_VALUE; @@ -97,7 +100,7 @@ public void pop(int count) { if (val == NULL_CHAR) { nullCount--; } else { - // Only revaluate if we pop something equal to our current value. Otherwise we have perfect + // Only revaluate if we pop something equal to our current value. Otherwise we have perfect // confidence that the min/max is still in the window. if (curVal == val) { evaluationNeeded = true; @@ -139,8 +142,8 @@ public CharRollingMinMaxOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, final boolean isMax - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); this.isMax = isMax; @@ -157,8 +160,8 @@ public UpdateByOperator copy() { reverseWindowScaleUnits, forwardWindowScaleUnits, isMax - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/ComparableRollingMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/ComparableRollingMinMaxOperator.java index 00d32ec0940..9d3520e3a17 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/ComparableRollingMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/ComparableRollingMinMaxOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingminmax; import io.deephaven.base.ringbuffer.AggregatingObjectRingBuffer; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/DoubleRollingMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/DoubleRollingMinMaxOperator.java index a009a5bb31d..595efd3d37e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/DoubleRollingMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/DoubleRollingMinMaxOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingMinMaxOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingminmax; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; @@ -39,7 +41,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (b == NULL_DOUBLE) { return a; } - return (double)Math.max(a, b); + return (double) Math.max(a, b); }); } else { aggMinMax = new AggregatingDoubleRingBuffer(BUFFER_INITIAL_CAPACITY, Double.MAX_VALUE, (a, b) -> { @@ -48,7 +50,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (b == NULL_DOUBLE) { return a; } - return (double)Math.min(a, b); + return (double) Math.min(a, b); }); } curVal = isMax ? NULL_DOUBLE : Double.MAX_VALUE; @@ -102,7 +104,7 @@ public void pop(int count) { if (val == NULL_DOUBLE) { nullCount--; } else { - // Only revaluate if we pop something equal to our current value. Otherwise we have perfect + // Only revaluate if we pop something equal to our current value. Otherwise we have perfect // confidence that the min/max is still in the window. if (curVal == val) { evaluationNeeded = true; @@ -144,8 +146,8 @@ public DoubleRollingMinMaxOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, final boolean isMax - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); this.isMax = isMax; @@ -162,8 +164,8 @@ public UpdateByOperator copy() { reverseWindowScaleUnits, forwardWindowScaleUnits, isMax - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/FloatRollingMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/FloatRollingMinMaxOperator.java index 9486cf570f6..7f48d649765 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/FloatRollingMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/FloatRollingMinMaxOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingMinMaxOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingminmax; import io.deephaven.base.ringbuffer.AggregatingFloatRingBuffer; @@ -39,7 +41,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (b == NULL_FLOAT) { return a; } - return (float)Math.max(a, b); + return (float) Math.max(a, b); }); } else { aggMinMax = new AggregatingFloatRingBuffer(BUFFER_INITIAL_CAPACITY, Float.MAX_VALUE, (a, b) -> { @@ -48,7 +50,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (b == NULL_FLOAT) { return a; } - return (float)Math.min(a, b); + return (float) Math.min(a, b); }); } curVal = isMax ? NULL_FLOAT : Float.MAX_VALUE; @@ -102,7 +104,7 @@ public void pop(int count) { if (val == NULL_FLOAT) { nullCount--; } else { - // Only revaluate if we pop something equal to our current value. Otherwise we have perfect + // Only revaluate if we pop something equal to our current value. Otherwise we have perfect // confidence that the min/max is still in the window. if (curVal == val) { evaluationNeeded = true; @@ -144,8 +146,8 @@ public FloatRollingMinMaxOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, final boolean isMax - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); this.isMax = isMax; @@ -162,8 +164,8 @@ public UpdateByOperator copy() { reverseWindowScaleUnits, forwardWindowScaleUnits, isMax - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/IntRollingMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/IntRollingMinMaxOperator.java index 7be04eebce7..e11987abd6a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/IntRollingMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/IntRollingMinMaxOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingMinMaxOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingminmax; import io.deephaven.base.ringbuffer.AggregatingIntRingBuffer; @@ -39,7 +41,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (b == NULL_INT) { return a; } - return (int)Math.max(a, b); + return (int) Math.max(a, b); }); } else { aggMinMax = new AggregatingIntRingBuffer(BUFFER_INITIAL_CAPACITY, Integer.MAX_VALUE, (a, b) -> { @@ -48,7 +50,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (b == NULL_INT) { return a; } - return (int)Math.min(a, b); + return (int) Math.min(a, b); }); } curVal = isMax ? Integer.MIN_VALUE : Integer.MAX_VALUE; @@ -102,7 +104,7 @@ public void pop(int count) { if (val == NULL_INT) { nullCount--; } else { - // Only revaluate if we pop something equal to our current value. Otherwise we have perfect + // Only revaluate if we pop something equal to our current value. Otherwise we have perfect // confidence that the min/max is still in the window. if (curVal == val) { evaluationNeeded = true; @@ -144,8 +146,8 @@ public IntRollingMinMaxOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, final boolean isMax - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); this.isMax = isMax; @@ -162,8 +164,8 @@ public UpdateByOperator copy() { reverseWindowScaleUnits, forwardWindowScaleUnits, isMax - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/LongRollingMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/LongRollingMinMaxOperator.java index 5abf202af42..b584c68c300 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/LongRollingMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/LongRollingMinMaxOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingMinMaxOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingminmax; import io.deephaven.base.ringbuffer.AggregatingLongRingBuffer; @@ -39,7 +41,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (b == NULL_LONG) { return a; } - return (long)Math.max(a, b); + return (long) Math.max(a, b); }); } else { aggMinMax = new AggregatingLongRingBuffer(BUFFER_INITIAL_CAPACITY, Long.MAX_VALUE, (a, b) -> { @@ -48,7 +50,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (b == NULL_LONG) { return a; } - return (long)Math.min(a, b); + return (long) Math.min(a, b); }); } curVal = isMax ? Long.MIN_VALUE : Long.MAX_VALUE; @@ -102,7 +104,7 @@ public void pop(int count) { if (val == NULL_LONG) { nullCount--; } else { - // Only revaluate if we pop something equal to our current value. Otherwise we have perfect + // Only revaluate if we pop something equal to our current value. Otherwise we have perfect // confidence that the min/max is still in the window. if (curVal == val) { evaluationNeeded = true; @@ -144,8 +146,8 @@ public LongRollingMinMaxOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, final boolean isMax - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); this.isMax = isMax; @@ -162,8 +164,8 @@ public UpdateByOperator copy() { reverseWindowScaleUnits, forwardWindowScaleUnits, isMax - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/ShortRollingMinMaxOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/ShortRollingMinMaxOperator.java index 8c1ff819d83..c188b0883b9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/ShortRollingMinMaxOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingminmax/ShortRollingMinMaxOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingMinMaxOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingMinMaxOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingminmax; import io.deephaven.base.ringbuffer.AggregatingShortRingBuffer; @@ -39,7 +41,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (b == NULL_SHORT) { return a; } - return (short)Math.max(a, b); + return (short) Math.max(a, b); }); } else { aggMinMax = new AggregatingShortRingBuffer(BUFFER_INITIAL_CAPACITY, Short.MAX_VALUE, (a, b) -> { @@ -48,7 +50,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (b == NULL_SHORT) { return a; } - return (short)Math.min(a, b); + return (short) Math.min(a, b); }); } curVal = isMax ? Short.MIN_VALUE : Short.MAX_VALUE; @@ -102,7 +104,7 @@ public void pop(int count) { if (val == NULL_SHORT) { nullCount--; } else { - // Only revaluate if we pop something equal to our current value. Otherwise we have perfect + // Only revaluate if we pop something equal to our current value. Otherwise we have perfect // confidence that the min/max is still in the window. if (curVal == val) { evaluationNeeded = true; @@ -144,8 +146,8 @@ public ShortRollingMinMaxOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, final boolean isMax - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); this.isMax = isMax; @@ -162,8 +164,8 @@ public UpdateByOperator copy() { reverseWindowScaleUnits, forwardWindowScaleUnits, isMax - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/BigDecimalRollingProductOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/BigDecimalRollingProductOperator.java index bc18488d2e1..6cd6f79a308 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/BigDecimalRollingProductOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/BigDecimalRollingProductOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingproduct; import io.deephaven.base.ringbuffer.AggregatingObjectRingBuffer; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/BigIntegerRollingProductOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/BigIntegerRollingProductOperator.java index 12504ede630..b894d860067 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/BigIntegerRollingProductOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/BigIntegerRollingProductOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingproduct; import io.deephaven.base.ringbuffer.AggregatingObjectRingBuffer; @@ -35,7 +38,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (a == null) { return b; } else if (b == null) { - return a; + return a; } return a.multiply(b); }, @@ -115,7 +118,8 @@ public BigIntegerRollingProductOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true, BigInteger.class); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true, + BigInteger.class); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/ByteRollingProductOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/ByteRollingProductOperator.java index 7a47d384895..35ec27c5db5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/ByteRollingProductOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/ByteRollingProductOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingProductOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingProductOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingproduct; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; @@ -43,7 +45,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (a == NULL_DOUBLE) { return b; } else if (b == NULL_DOUBLE) { - return a; + return a; } return a * b; }, @@ -126,8 +128,8 @@ public ByteRollingProductOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -142,8 +144,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/CharRollingProductOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/CharRollingProductOperator.java index d641b98eb02..3c7f81e0358 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/CharRollingProductOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/CharRollingProductOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingproduct; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; @@ -38,7 +41,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (a == NULL_DOUBLE) { return b; } else if (b == NULL_DOUBLE) { - return a; + return a; } return a * b; }, @@ -121,8 +124,8 @@ public CharRollingProductOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -137,8 +140,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/DoubleRollingProductOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/DoubleRollingProductOperator.java index cae34ddc502..f28fcb417a3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/DoubleRollingProductOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/DoubleRollingProductOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatRollingProductOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatRollingProductOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingproduct; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; @@ -42,7 +44,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (a == NULL_DOUBLE) { return b; } else if (b == NULL_DOUBLE) { - return a; + return a; } return a * b; }, diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/FloatRollingProductOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/FloatRollingProductOperator.java index 1c0d6465e87..fa2afe1b6ed 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/FloatRollingProductOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/FloatRollingProductOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingproduct; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; @@ -37,7 +40,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (a == NULL_DOUBLE) { return b; } else if (b == NULL_DOUBLE) { - return a; + return a; } return a * b; }, diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/IntRollingProductOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/IntRollingProductOperator.java index 5f886f64627..7bede6de87b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/IntRollingProductOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/IntRollingProductOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingProductOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingProductOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingproduct; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; @@ -43,7 +45,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (a == NULL_DOUBLE) { return b; } else if (b == NULL_DOUBLE) { - return a; + return a; } return a * b; }, @@ -126,8 +128,8 @@ public IntRollingProductOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -142,8 +144,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/LongRollingProductOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/LongRollingProductOperator.java index 272d5b024db..bdd76ec8d03 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/LongRollingProductOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/LongRollingProductOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingProductOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingProductOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingproduct; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; @@ -43,7 +45,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (a == NULL_DOUBLE) { return b; } else if (b == NULL_DOUBLE) { - return a; + return a; } return a * b; }, @@ -126,8 +128,8 @@ public LongRollingProductOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -142,8 +144,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/ShortRollingProductOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/ShortRollingProductOperator.java index bf8d37ff776..0fd34b737f3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/ShortRollingProductOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingproduct/ShortRollingProductOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingProductOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingProductOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingproduct; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; @@ -43,7 +45,7 @@ protected Context(final int affectedChunkSize, final int influencerChunkSize) { } else if (a == NULL_DOUBLE) { return b; } else if (b == NULL_DOUBLE) { - return a; + return a; } return a * b; }, @@ -126,8 +128,8 @@ public ShortRollingProductOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -142,8 +144,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/BigDecimalRollingStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/BigDecimalRollingStdOperator.java index 3fe79505c73..9d6d9ed5402 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/BigDecimalRollingStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/BigDecimalRollingStdOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingstd; import io.deephaven.base.ringbuffer.AggregatingObjectRingBuffer; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/BigIntegerRollingStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/BigIntegerRollingStdOperator.java index fd968dc9b54..9111dd3dffd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/BigIntegerRollingStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/BigIntegerRollingStdOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingstd; import io.deephaven.base.ringbuffer.AggregatingObjectRingBuffer; @@ -123,8 +126,7 @@ public void writeToOutputChunk(int outIdx) { final BigDecimal variance = valueSquareSum.divide(biCountMinusOne, mathContext) .subtract(valueSum.multiply(valueSum, mathContext) .divide(biCount, mathContext) - .divide(biCountMinusOne, mathContext) - ); + .divide(biCountMinusOne, mathContext)); final BigDecimal std = variance.sqrt(mathContext); outputValues.set(outIdx, std); @@ -152,7 +154,8 @@ public BigIntegerRollingStdOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, final MathContext mathContext) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true, BigDecimal.class); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true, + BigDecimal.class); this.mathContext = mathContext; } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/ByteRollingStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/ByteRollingStdOperator.java index a772cca3bf7..15c40b34176 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/ByteRollingStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/ByteRollingStdOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingStdOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingStdOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingstd; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; @@ -81,7 +83,7 @@ public void push(int pos, int count) { if (val != nullValue) { // Add the value and its square to the buffers. valueBuffer.addUnsafe(val); - valueSquareBuffer.addUnsafe((double)val * val); + valueSquareBuffer.addUnsafe((double) val * val); } else { // Add null to the buffers and increment the count. valueBuffer.addUnsafe(NULL_DOUBLE); @@ -164,9 +166,9 @@ public ByteRollingStdOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args + // region extra-constructor-args ,final byte nullValue - // endregion extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -182,9 +184,9 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args + // region extra-copy-args , nullValue - // endregion extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/CharRollingStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/CharRollingStdOperator.java index f8a7f2400df..f622450770f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/CharRollingStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/CharRollingStdOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingstd; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; @@ -75,7 +78,7 @@ public void push(int pos, int count) { if (val != NULL_CHAR) { // Add the value and its square to the buffers. valueBuffer.addUnsafe(val); - valueSquareBuffer.addUnsafe((double)val * val); + valueSquareBuffer.addUnsafe((double) val * val); } else { // Add null to the buffers and increment the count. valueBuffer.addUnsafe(NULL_DOUBLE); @@ -158,8 +161,8 @@ public CharRollingStdOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -174,8 +177,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/DoubleRollingStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/DoubleRollingStdOperator.java index ab3c6487a85..1bd631bfd62 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/DoubleRollingStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/DoubleRollingStdOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingStdOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingStdOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingstd; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; @@ -80,7 +82,7 @@ public void push(int pos, int count) { if (val != NULL_DOUBLE) { // Add the value and its square to the buffers. valueBuffer.addUnsafe(val); - valueSquareBuffer.addUnsafe((double)val * val); + valueSquareBuffer.addUnsafe((double) val * val); } else { // Add null to the buffers and increment the count. valueBuffer.addUnsafe(NULL_DOUBLE); @@ -163,8 +165,8 @@ public DoubleRollingStdOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -179,8 +181,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/FloatRollingStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/FloatRollingStdOperator.java index 50048dd7f0d..f15227cd488 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/FloatRollingStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/FloatRollingStdOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingStdOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingStdOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingstd; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; @@ -80,7 +82,7 @@ public void push(int pos, int count) { if (val != NULL_FLOAT) { // Add the value and its square to the buffers. valueBuffer.addUnsafe(val); - valueSquareBuffer.addUnsafe((double)val * val); + valueSquareBuffer.addUnsafe((double) val * val); } else { // Add null to the buffers and increment the count. valueBuffer.addUnsafe(NULL_DOUBLE); @@ -163,8 +165,8 @@ public FloatRollingStdOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -179,8 +181,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/IntRollingStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/IntRollingStdOperator.java index 28afe76b066..2c71b961993 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/IntRollingStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/IntRollingStdOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingStdOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingStdOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingstd; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; @@ -80,7 +82,7 @@ public void push(int pos, int count) { if (val != NULL_INT) { // Add the value and its square to the buffers. valueBuffer.addUnsafe(val); - valueSquareBuffer.addUnsafe((double)val * val); + valueSquareBuffer.addUnsafe((double) val * val); } else { // Add null to the buffers and increment the count. valueBuffer.addUnsafe(NULL_DOUBLE); @@ -163,8 +165,8 @@ public IntRollingStdOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -179,8 +181,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/LongRollingStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/LongRollingStdOperator.java index 8d4cf961e30..b4706c05d75 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/LongRollingStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/LongRollingStdOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingStdOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingStdOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingstd; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; @@ -80,7 +82,7 @@ public void push(int pos, int count) { if (val != NULL_LONG) { // Add the value and its square to the buffers. valueBuffer.addUnsafe(val); - valueSquareBuffer.addUnsafe((double)val * val); + valueSquareBuffer.addUnsafe((double) val * val); } else { // Add null to the buffers and increment the count. valueBuffer.addUnsafe(NULL_DOUBLE); @@ -163,8 +165,8 @@ public LongRollingStdOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -179,8 +181,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/ShortRollingStdOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/ShortRollingStdOperator.java index dafc9fc35fe..193216665f4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/ShortRollingStdOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingstd/ShortRollingStdOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingStdOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingStdOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingstd; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; @@ -80,7 +82,7 @@ public void push(int pos, int count) { if (val != NULL_SHORT) { // Add the value and its square to the buffers. valueBuffer.addUnsafe(val); - valueSquareBuffer.addUnsafe((double)val * val); + valueSquareBuffer.addUnsafe((double) val * val); } else { // Add null to the buffers and increment the count. valueBuffer.addUnsafe(NULL_DOUBLE); @@ -163,8 +165,8 @@ public ShortRollingStdOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -179,8 +181,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/BigDecimalRollingSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/BigDecimalRollingSumOperator.java index 5c67f14e4b4..4f8fa381e4c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/BigDecimalRollingSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/BigDecimalRollingSumOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingsum; import io.deephaven.base.RingBuffer; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/BigIntegerRollingSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/BigIntegerRollingSumOperator.java index b3fc08ef76e..6ca347d21ff 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/BigIntegerRollingSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/BigIntegerRollingSumOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingsum; import io.deephaven.base.RingBuffer; @@ -99,7 +102,8 @@ public BigIntegerRollingSumOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true, BigInteger.class); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true, + BigInteger.class); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/ByteRollingSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/ByteRollingSumOperator.java index 39572518ef9..7491d1b7d26 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/ByteRollingSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/ByteRollingSumOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingSumOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingSumOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingsum; import io.deephaven.base.ringbuffer.ByteRingBuffer; @@ -110,9 +112,9 @@ public ByteRollingSumOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args + // region extra-constructor-args ,final byte nullValue - // endregion extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -128,9 +130,9 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args + // region extra-copy-args , nullValue - // endregion extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/CharRollingSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/CharRollingSumOperator.java index 4490bce0eef..3fad1d9ace2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/CharRollingSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/CharRollingSumOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingsum; import io.deephaven.base.ringbuffer.CharRingBuffer; @@ -104,8 +107,8 @@ public CharRollingSumOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -120,8 +123,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/DoubleRollingSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/DoubleRollingSumOperator.java index c787af7fcda..5959e8e3fe4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/DoubleRollingSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/DoubleRollingSumOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatRollingSumOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatRollingSumOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingsum; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/FloatRollingSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/FloatRollingSumOperator.java index 1f77143b049..56bbad7f7dc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/FloatRollingSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/FloatRollingSumOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingsum; import io.deephaven.base.ringbuffer.AggregatingFloatRingBuffer; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/IntRollingSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/IntRollingSumOperator.java index eea93f15ffa..b131b0140c2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/IntRollingSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/IntRollingSumOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingSumOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingSumOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingsum; import io.deephaven.base.ringbuffer.IntRingBuffer; @@ -109,8 +111,8 @@ public IntRollingSumOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -125,8 +127,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/LongRollingSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/LongRollingSumOperator.java index b9904969e33..a004005e920 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/LongRollingSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/LongRollingSumOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingSumOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingSumOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingsum; import io.deephaven.base.ringbuffer.LongRingBuffer; @@ -109,8 +111,8 @@ public LongRollingSumOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -125,8 +127,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/ShortRollingSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/ShortRollingSumOperator.java index 77141ed5685..ab0ca42aaa1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/ShortRollingSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingsum/ShortRollingSumOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingSumOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingSumOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingsum; import io.deephaven.base.ringbuffer.ShortRingBuffer; @@ -109,8 +111,8 @@ public ShortRollingSumOperator( @Nullable final String timestampColumnName, final long reverseWindowScaleUnits, final long forwardWindowScaleUnits - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, true); // region constructor @@ -125,8 +127,8 @@ public UpdateByOperator copy() { timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/BasePrimitiveRollingWAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/BasePrimitiveRollingWAvgOperator.java index 52ddb4bd185..67d9c7c8b4d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/BasePrimitiveRollingWAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/BasePrimitiveRollingWAvgOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingwavg; import io.deephaven.base.ringbuffer.AggregatingDoubleRingBuffer; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/BigDecimalRollingWAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/BigDecimalRollingWAvgOperator.java index f8323e2ee2f..c3f17df83b8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/BigDecimalRollingWAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/BigDecimalRollingWAvgOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingwavg; import io.deephaven.base.ringbuffer.AggregatingObjectRingBuffer; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/ByteRollingWAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/ByteRollingWAvgOperator.java index 8e27780c8fb..70b3537a674 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/ByteRollingWAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/ByteRollingWAvgOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingWAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingWAvgOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingwavg; import io.deephaven.chunk.ByteChunk; @@ -69,10 +71,11 @@ public ByteRollingWAvgOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, @NotNull final String weightColumnName - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, weightColumnName); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, + weightColumnName); // region constructor // endregion constructor } @@ -86,8 +89,8 @@ public UpdateByOperator copy() { reverseWindowScaleUnits, forwardWindowScaleUnits, weightColumnName - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/CharRollingWAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/CharRollingWAvgOperator.java index 787af3f1faf..37e41347661 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/CharRollingWAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/CharRollingWAvgOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.rollingwavg; import io.deephaven.chunk.CharChunk; @@ -64,10 +67,11 @@ public CharRollingWAvgOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, @NotNull final String weightColumnName - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, weightColumnName); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, + weightColumnName); // region constructor // endregion constructor } @@ -81,8 +85,8 @@ public UpdateByOperator copy() { reverseWindowScaleUnits, forwardWindowScaleUnits, weightColumnName - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/DoubleRollingWAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/DoubleRollingWAvgOperator.java index 34b06e22db3..c1e3a717d9a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/DoubleRollingWAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/DoubleRollingWAvgOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingWAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingWAvgOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingwavg; import io.deephaven.chunk.DoubleChunk; @@ -69,10 +71,11 @@ public DoubleRollingWAvgOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, @NotNull final String weightColumnName - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, weightColumnName); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, + weightColumnName); // region constructor // endregion constructor } @@ -86,8 +89,8 @@ public UpdateByOperator copy() { reverseWindowScaleUnits, forwardWindowScaleUnits, weightColumnName - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/FloatRollingWAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/FloatRollingWAvgOperator.java index 730f85b8667..0d4e0392595 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/FloatRollingWAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/FloatRollingWAvgOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingWAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingWAvgOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingwavg; import io.deephaven.chunk.FloatChunk; @@ -69,10 +71,11 @@ public FloatRollingWAvgOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, @NotNull final String weightColumnName - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, weightColumnName); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, + weightColumnName); // region constructor // endregion constructor } @@ -86,8 +89,8 @@ public UpdateByOperator copy() { reverseWindowScaleUnits, forwardWindowScaleUnits, weightColumnName - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/IntRollingWAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/IntRollingWAvgOperator.java index a8d0c9a1256..5aeda3a07f1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/IntRollingWAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/IntRollingWAvgOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingWAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingWAvgOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingwavg; import io.deephaven.chunk.IntChunk; @@ -69,10 +71,11 @@ public IntRollingWAvgOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, @NotNull final String weightColumnName - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, weightColumnName); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, + weightColumnName); // region constructor // endregion constructor } @@ -86,8 +89,8 @@ public UpdateByOperator copy() { reverseWindowScaleUnits, forwardWindowScaleUnits, weightColumnName - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/LongRollingWAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/LongRollingWAvgOperator.java index 767e17d5021..60bbc0e8d1d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/LongRollingWAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/LongRollingWAvgOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingWAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingWAvgOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingwavg; import io.deephaven.chunk.LongChunk; @@ -69,10 +71,11 @@ public LongRollingWAvgOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, @NotNull final String weightColumnName - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, weightColumnName); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, + weightColumnName); // region constructor // endregion constructor } @@ -86,8 +89,8 @@ public UpdateByOperator copy() { reverseWindowScaleUnits, forwardWindowScaleUnits, weightColumnName - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/ShortRollingWAvgOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/ShortRollingWAvgOperator.java index ff918108d9e..4f9f11f5c83 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/ShortRollingWAvgOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/rollingwavg/ShortRollingWAvgOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRollingWAvgOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRollingWAvgOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.rollingwavg; import io.deephaven.chunk.ShortChunk; @@ -69,10 +71,11 @@ public ShortRollingWAvgOperator( final long reverseWindowScaleUnits, final long forwardWindowScaleUnits, @NotNull final String weightColumnName - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, weightColumnName); + super(pair, affectingColumns, timestampColumnName, reverseWindowScaleUnits, forwardWindowScaleUnits, + weightColumnName); // region constructor // endregion constructor } @@ -86,8 +89,8 @@ public UpdateByOperator copy() { reverseWindowScaleUnits, forwardWindowScaleUnits, weightColumnName - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/BigDecimalCumSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/BigDecimalCumSumOperator.java index 752c937eca0..3f57412f67d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/BigDecimalCumSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/BigDecimalCumSumOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.sum; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/BigIntegerCumSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/BigIntegerCumSumOperator.java index dae33cff471..943d4439b4c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/BigIntegerCumSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/BigIntegerCumSumOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.sum; import io.deephaven.base.verify.Assert; @@ -32,10 +35,10 @@ public void push(int pos, int count) { final BigInteger currentVal = objectValueChunk.get(pos); final boolean isCurrentNull = currentVal == null; - if(curVal == null) { + if (curVal == null) { curVal = isCurrentNull ? null : currentVal; } else { - if(!isCurrentNull) { + if (!isCurrentNull) { curVal = curVal.add(objectValueChunk.get(pos)); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/ByteCumSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/ByteCumSumOperator.java index b1cbf0a8e34..bce234ccdce 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/ByteCumSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/ByteCumSumOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCumSumOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCumSumOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.sum; import io.deephaven.base.verify.Assert; @@ -41,7 +43,7 @@ public void push(int pos, int count) { // read the value from the values chunk final byte currentVal = byteValueChunk.get(pos); - if(curVal == NULL_LONG) { + if (curVal == NULL_LONG) { curVal = currentVal == nullValue ? NULL_LONG : currentVal; } else if (currentVal != nullValue) { curVal += currentVal; @@ -50,11 +52,11 @@ public void push(int pos, int count) { } public ByteCumSumOperator(@NotNull final MatchPair pair - // region extra-constructor-args + // region extra-constructor-args ,final byte nullValue - // endregion extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); // region constructor this.nullValue = nullValue; // endregion constructor @@ -63,9 +65,9 @@ public ByteCumSumOperator(@NotNull final MatchPair pair @Override public UpdateByOperator copy() { return new ByteCumSumOperator(pair - // region extra-copy-args + // region extra-copy-args , nullValue - // endregion extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/CharCumSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/CharCumSumOperator.java index 22734bff3dd..6134f9c5129 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/CharCumSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/CharCumSumOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.sum; import io.deephaven.base.verify.Assert; @@ -35,7 +38,7 @@ public void push(int pos, int count) { // read the value from the values chunk final char currentVal = charValueChunk.get(pos); - if(curVal == NULL_LONG) { + if (curVal == NULL_LONG) { curVal = currentVal == NULL_CHAR ? NULL_LONG : currentVal; } else if (currentVal != NULL_CHAR) { curVal += currentVal; @@ -44,10 +47,10 @@ public void push(int pos, int count) { } public CharCumSumOperator(@NotNull final MatchPair pair - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); // region constructor // endregion constructor } @@ -55,8 +58,8 @@ public CharCumSumOperator(@NotNull final MatchPair pair @Override public UpdateByOperator copy() { return new CharCumSumOperator(pair - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/DoubleCumSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/DoubleCumSumOperator.java index ca83d248d99..9c06cc12136 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/DoubleCumSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/DoubleCumSumOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatCumSumOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatCumSumOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.sum; import io.deephaven.base.verify.Assert; @@ -46,7 +48,7 @@ public void push(int pos, int count) { } public DoubleCumSumOperator(@NotNull final MatchPair pair) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/FloatCumSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/FloatCumSumOperator.java index 5316df2d196..08f7ffce1f3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/FloatCumSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/FloatCumSumOperator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby.sum; import io.deephaven.base.verify.Assert; @@ -41,7 +44,7 @@ public void push(int pos, int count) { } public FloatCumSumOperator(@NotNull final MatchPair pair) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); } @Override diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/IntCumSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/IntCumSumOperator.java index c6d9936d3a3..057eb694b65 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/IntCumSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/IntCumSumOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCumSumOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCumSumOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.sum; import io.deephaven.base.verify.Assert; @@ -40,7 +42,7 @@ public void push(int pos, int count) { // read the value from the values chunk final int currentVal = intValueChunk.get(pos); - if(curVal == NULL_LONG) { + if (curVal == NULL_LONG) { curVal = currentVal == NULL_INT ? NULL_LONG : currentVal; } else if (currentVal != NULL_INT) { curVal += currentVal; @@ -49,10 +51,10 @@ public void push(int pos, int count) { } public IntCumSumOperator(@NotNull final MatchPair pair - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); // region constructor // endregion constructor } @@ -60,8 +62,8 @@ public IntCumSumOperator(@NotNull final MatchPair pair @Override public UpdateByOperator copy() { return new IntCumSumOperator(pair - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/LongCumSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/LongCumSumOperator.java index 704e6e287d5..959b22fa037 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/LongCumSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/LongCumSumOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCumSumOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCumSumOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.sum; import io.deephaven.base.verify.Assert; @@ -40,7 +42,7 @@ public void push(int pos, int count) { // read the value from the values chunk final long currentVal = longValueChunk.get(pos); - if(curVal == NULL_LONG) { + if (curVal == NULL_LONG) { curVal = currentVal == NULL_LONG ? NULL_LONG : currentVal; } else if (currentVal != NULL_LONG) { curVal += currentVal; @@ -49,10 +51,10 @@ public void push(int pos, int count) { } public LongCumSumOperator(@NotNull final MatchPair pair - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); // region constructor // endregion constructor } @@ -60,8 +62,8 @@ public LongCumSumOperator(@NotNull final MatchPair pair @Override public UpdateByOperator copy() { return new LongCumSumOperator(pair - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/ShortCumSumOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/ShortCumSumOperator.java index 8fb989e0ad9..8e592e2e5f4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/ShortCumSumOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/updateby/sum/ShortCumSumOperator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCumSumOperator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCumSumOperator and run "./gradlew replicateUpdateBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.updateby.sum; import io.deephaven.base.verify.Assert; @@ -40,7 +42,7 @@ public void push(int pos, int count) { // read the value from the values chunk final short currentVal = shortValueChunk.get(pos); - if(curVal == NULL_LONG) { + if (curVal == NULL_LONG) { curVal = currentVal == NULL_SHORT ? NULL_LONG : currentVal; } else if (currentVal != NULL_SHORT) { curVal += currentVal; @@ -49,10 +51,10 @@ public void push(int pos, int count) { } public ShortCumSumOperator(@NotNull final MatchPair pair - // region extra-constructor-args - // endregion extra-constructor-args + // region extra-constructor-args + // endregion extra-constructor-args ) { - super(pair, new String[] { pair.rightColumn }); + super(pair, new String[] {pair.rightColumn}); // region constructor // endregion constructor } @@ -60,8 +62,8 @@ public ShortCumSumOperator(@NotNull final MatchPair pair @Override public UpdateByOperator copy() { return new ShortCumSumOperator(pair - // region extra-copy-args - // endregion extra-copy-args + // region extra-copy-args + // endregion extra-copy-args ); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AppendOnlyArrayBackedInputTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AppendOnlyArrayBackedInputTable.java index a65210dc3ea..bfe74740e25 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AppendOnlyArrayBackedInputTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AppendOnlyArrayBackedInputTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AsyncClientErrorNotifier.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AsyncClientErrorNotifier.java index 7cb5d3305a1..f58696d7e1e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AsyncClientErrorNotifier.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AsyncClientErrorNotifier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.table.impl.UpdateErrorReporter; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AsyncErrorImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AsyncErrorImpl.java index 45cf2166e00..4cbdc478a2e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AsyncErrorImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AsyncErrorImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AsyncErrorLogger.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AsyncErrorLogger.java index 7606c7b313d..112cd6e9a0b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AsyncErrorLogger.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AsyncErrorLogger.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AsyncErrorStreamPublisher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AsyncErrorStreamPublisher.java index d891df9e041..a93f774fbdb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AsyncErrorStreamPublisher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/AsyncErrorStreamPublisher.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/BarrageMessage.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/BarrageMessage.java index 13471600783..a895302194b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/BarrageMessage.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/BarrageMessage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/BaseArrayBackedInputTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/BaseArrayBackedInputTable.java index 297f0408504..90ac938415e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/BaseArrayBackedInputTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/BaseArrayBackedInputTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ChunkUtils.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ChunkUtils.java index 283abf9469f..ce429aad6ad 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ChunkUtils.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ChunkUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ColumnHolder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ColumnHolder.java index 0a82a2c988e..f45bbbd5765 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ColumnHolder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ColumnHolder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ColumnsToRowsTransform.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ColumnsToRowsTransform.java index 4089e955bbd..abc8a2ee827 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ColumnsToRowsTransform.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ColumnsToRowsTransform.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.attributes.ChunkPositions; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ContiguousWritableRowRedirection.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ContiguousWritableRowRedirection.java index c17eef290a2..ccd416ef697 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ContiguousWritableRowRedirection.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ContiguousWritableRowRedirection.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import gnu.trove.map.hash.TLongLongHashMap; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/DelayedErrorNotifier.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/DelayedErrorNotifier.java index 4328088fdb0..1d3b9832138 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/DelayedErrorNotifier.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/DelayedErrorNotifier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.table.TableListener; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/DynamicTableWriter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/DynamicTableWriter.java index 3322f56bb88..c11ceef510a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/DynamicTableWriter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/DynamicTableWriter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/EngineMetrics.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/EngineMetrics.java index efc298559f2..3e366beb5c7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/EngineMetrics.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/EngineMetrics.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.clock.Clock; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/FieldUtils.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/FieldUtils.java index 71ad0aece57..9ced0367839 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/FieldUtils.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/FieldUtils.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import org.jetbrains.annotations.NotNull; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/FreezeBy.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/FreezeBy.java index 3a87078c73d..00f32d3bc5d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/FreezeBy.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/FreezeBy.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/FunctionGeneratedTableFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/FunctionGeneratedTableFactory.java index 3116d72dc96..a6391686c22 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/FunctionGeneratedTableFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/FunctionGeneratedTableFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/GroupedWritableRowRedirection.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/GroupedWritableRowRedirection.java index 71fb46f7ef5..6065f049f48 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/GroupedWritableRowRedirection.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/GroupedWritableRowRedirection.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/HashSetBackedTableFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/HashSetBackedTableFactory.java index a479f327364..ca8259f8a1c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/HashSetBackedTableFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/HashSetBackedTableFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ImmediateJobScheduler.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ImmediateJobScheduler.java index 364dc13c3ce..224fff35a6e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ImmediateJobScheduler.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ImmediateJobScheduler.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.log.LogOutputAppendable; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/IntColumnSourceRowRedirection.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/IntColumnSourceRowRedirection.java index 29163ad8919..074e56465d2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/IntColumnSourceRowRedirection.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/IntColumnSourceRowRedirection.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/IntColumnSourceWritableRowRedirection.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/IntColumnSourceWritableRowRedirection.java index 404f36764e2..b4503553d4c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/IntColumnSourceWritableRowRedirection.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/IntColumnSourceWritableRowRedirection.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/InverseWrappedRowSetRowRedirection.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/InverseWrappedRowSetRowRedirection.java index 67c94ef8e8f..8597287e8bd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/InverseWrappedRowSetRowRedirection.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/InverseWrappedRowSetRowRedirection.java @@ -1,7 +1,6 @@ -/* - * Copyright (c) 2016-2021 Deephaven Data Labs and Patent Pending - */ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/JobScheduler.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/JobScheduler.java index 155364a2aeb..a8187252bb5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/JobScheduler.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/JobScheduler.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/KeyHolder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/KeyHolder.java index 9ae77f0c2cb..43a462afb22 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/KeyHolder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/KeyHolder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import java.util.ArrayList; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/KeyedArrayBackedInputTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/KeyedArrayBackedInputTable.java index 1eaeba52a01..8f51fad3137 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/KeyedArrayBackedInputTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/KeyedArrayBackedInputTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/LongColumnSourceRowRedirection.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/LongColumnSourceRowRedirection.java index ad711300759..4392b83d0fc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/LongColumnSourceRowRedirection.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/LongColumnSourceRowRedirection.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/LongColumnSourceWritableRowRedirection.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/LongColumnSourceWritableRowRedirection.java index af6a5452cd9..90b6928d211 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/LongColumnSourceWritableRowRedirection.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/LongColumnSourceWritableRowRedirection.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.LongChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/MergeSortedHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/MergeSortedHelper.java index 04f6dafb330..308ff91be98 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/MergeSortedHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/MergeSortedHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/OperationInitializerJobScheduler.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/OperationInitializerJobScheduler.java index b6ac2b22cf1..7707a77344c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/OperationInitializerJobScheduler.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/OperationInitializerJobScheduler.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.log.LogOutputAppendable; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ProcessInfoImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ProcessInfoImpl.java index fdde94adeca..5df07b12662 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ProcessInfoImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ProcessInfoImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/QueryOperationPerformanceImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/QueryOperationPerformanceImpl.java index d43d8ab1ce2..353c1dde68e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/QueryOperationPerformanceImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/QueryOperationPerformanceImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/QueryOperationPerformanceStreamPublisher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/QueryOperationPerformanceStreamPublisher.java index 4c0aec21fac..c816a29bc6a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/QueryOperationPerformanceStreamPublisher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/QueryOperationPerformanceStreamPublisher.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/QueryPerformanceImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/QueryPerformanceImpl.java index 355dabe72ae..3f4068d2546 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/QueryPerformanceImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/QueryPerformanceImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/QueryPerformanceStreamPublisher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/QueryPerformanceStreamPublisher.java index b676e88cae5..02bb53c2e13 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/QueryPerformanceStreamPublisher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/QueryPerformanceStreamPublisher.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RowRedirection.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RowRedirection.java index 06dc5a718f3..7058ce8005a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RowRedirection.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RowRedirection.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RowRedirectionLockFreeFactory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RowRedirectionLockFreeFactory.java index 820af8182c1..1b5e879d3ad 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RowRedirectionLockFreeFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RowRedirectionLockFreeFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.util.datastructures.hash.TNullableLongLongMap; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RowRedirectionUtils.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RowRedirectionUtils.java index a7db8d05340..df30d66babb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RowRedirectionUtils.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RowRedirectionUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.rowset.RowSequence; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RowSetShiftDataExpander.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RowSetShiftDataExpander.java index b226cbb3169..dd2d801da62 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RowSetShiftDataExpander.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RowSetShiftDataExpander.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.Base64; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RuntimeMemory.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RuntimeMemory.java index bdef8babbc5..156528fec5d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RuntimeMemory.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/RuntimeMemory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ServerStateStreamPublisher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ServerStateStreamPublisher.java index d7a5c0d9da4..e9ce67f0ef7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ServerStateStreamPublisher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ServerStateStreamPublisher.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ServerStateTracker.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ServerStateTracker.java index 583b877ada2..03f10cc2fa9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ServerStateTracker.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ServerStateTracker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ShiftData.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ShiftData.java index 5b09393b89f..1e3f9859561 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ShiftData.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ShiftData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import gnu.trove.list.TLongList; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ShiftInversionHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ShiftInversionHelper.java index 22ed2ac0b1f..6ea22cd7b7a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ShiftInversionHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ShiftInversionHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ShiftObliviousUpdateCoalescer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ShiftObliviousUpdateCoalescer.java index 04ba4713e14..064447336a0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ShiftObliviousUpdateCoalescer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/ShiftObliviousUpdateCoalescer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/SingleValueRowRedirection.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/SingleValueRowRedirection.java index 91487e75476..769386b460e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/SingleValueRowRedirection.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/SingleValueRowRedirection.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/SizedSafeCloseable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/SizedSafeCloseable.java index 89b5285c3f5..309f14df9ae 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/SizedSafeCloseable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/SizedSafeCloseable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.util.SafeCloseable; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/StatsImpl.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/StatsImpl.java index 80e0ad6ce3e..8861db7b83f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/StatsImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/StatsImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/StatsStreamPublisher.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/StatsStreamPublisher.java index d44558bc1d7..829ae455902 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/StatsStreamPublisher.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/StatsStreamPublisher.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/StepUpdater.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/StepUpdater.java index e8fe11b93af..3dbcad7b898 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/StepUpdater.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/StepUpdater.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/SyncTableFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/SyncTableFilter.java index 6bc5ade7e40..206395531a1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/SyncTableFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/SyncTableFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import gnu.trove.list.array.TLongArrayList; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TableBuilder.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TableBuilder.java index b43660c00b1..063cc6c3b0c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TableBuilder.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TableBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.rowset.RowSetFactory; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TableLoggers.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TableLoggers.java index 5767204e641..1e2107c33c2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TableLoggers.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TableLoggers.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.table.impl.perf.UpdatePerformanceTracker; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TableTimeConversions.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TableTimeConversions.java index e237ac2b255..82d5e4eeb9c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TableTimeConversions.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TableTimeConversions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TailInitializationFilter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TailInitializationFilter.java index 7d1d1605fcb..f0c65bd1a91 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TailInitializationFilter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TailInitializationFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TypedHasherUtil.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TypedHasherUtil.java index 309a15761f7..bae2098b869 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TypedHasherUtil.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/TypedHasherUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/UpdateCoalescer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/UpdateCoalescer.java index e06d601c21f..f8c4ab2d92e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/UpdateCoalescer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/UpdateCoalescer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.rowset.WritableRowSet; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/UpdateGraphJobScheduler.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/UpdateGraphJobScheduler.java index 8c528b38fa0..840ddda4113 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/UpdateGraphJobScheduler.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/UpdateGraphJobScheduler.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/UpdateSizeCalculator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/UpdateSizeCalculator.java index 8156a5156eb..b52be8cd2ba 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/UpdateSizeCalculator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/UpdateSizeCalculator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.rowset.RowSetShiftData; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/WrappedRowSetRowRedirection.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/WrappedRowSetRowRedirection.java index 5e606b04173..6ef8f3da959 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/WrappedRowSetRowRedirection.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/WrappedRowSetRowRedirection.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.rowset.chunkattributes.OrderedRowKeys; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/WritableRowRedirection.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/WritableRowRedirection.java index 799563e5de4..269beef8425 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/WritableRowRedirection.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/WritableRowRedirection.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import gnu.trove.map.TLongLongMap; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/WritableRowRedirectionLockFree.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/WritableRowRedirectionLockFree.java index 903f5a2f035..3a9fef7129c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/WritableRowRedirectionLockFree.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/WritableRowRedirectionLockFree.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import gnu.trove.iterator.TLongLongIterator; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/WritableSingleValueRowRedirection.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/WritableSingleValueRowRedirection.java index 4f97d1fd221..de592a5ed7b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/WritableSingleValueRowRedirection.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/WritableSingleValueRowRedirection.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/BigNumberToBigDecimalCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/BigNumberToBigDecimalCast.java index 94aa2c45b54..2d52313cd84 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/BigNumberToBigDecimalCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/BigNumberToBigDecimalCast.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ByteToBigDecimalCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ByteToBigDecimalCast.java index fbb34ce6ba4..2d9babbc7ba 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ByteToBigDecimalCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ByteToBigDecimalCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToBigDecimalCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToBigDecimalCast and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.ByteChunk; @@ -38,7 +37,8 @@ public class ByteToBigDecimalCast implements ToBigDecimalCast { return result; } - public static void castInto(ByteChunk input, WritableObjectChunk result) { + public static void castInto(ByteChunk input, + WritableObjectChunk result) { final int size = input.size(); for (int ii = 0; ii < size; ++ii) { final byte value = input.get(ii); @@ -57,4 +57,4 @@ public void close() { result.fillWithNullValue(0, result.size()); result.close(); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ByteToDoubleCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ByteToDoubleCast.java index 1e1ec70b564..56b9d20f9d1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ByteToDoubleCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ByteToDoubleCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToDoubleCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToDoubleCast and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.*; @@ -50,4 +49,4 @@ public static void castInto(ByteChunk input, Writ public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/CharToBigDecimalCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/CharToBigDecimalCast.java index d2399f96af6..d7db1e90b8e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/CharToBigDecimalCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/CharToBigDecimalCast.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.CharChunk; @@ -33,7 +33,8 @@ public class CharToBigDecimalCast implements ToBigDecimalCast { return result; } - public static void castInto(CharChunk input, WritableObjectChunk result) { + public static void castInto(CharChunk input, + WritableObjectChunk result) { final int size = input.size(); for (int ii = 0; ii < size; ++ii) { final char value = input.get(ii); @@ -52,4 +53,4 @@ public void close() { result.fillWithNullValue(0, result.size()); result.close(); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/CharToDoubleCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/CharToDoubleCast.java index 5fc46d0039b..fe77fc0c1d8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/CharToDoubleCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/CharToDoubleCast.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.*; @@ -45,4 +45,4 @@ public static void castInto(CharChunk input, Writ public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/DoubleToBigDecimalCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/DoubleToBigDecimalCast.java index 7139b88698d..6b9da08b98f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/DoubleToBigDecimalCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/DoubleToBigDecimalCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToBigDecimalCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToBigDecimalCast and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.DoubleChunk; @@ -38,7 +37,8 @@ public class DoubleToBigDecimalCast implements ToBigDecimalCast { return result; } - public static void castInto(DoubleChunk input, WritableObjectChunk result) { + public static void castInto(DoubleChunk input, + WritableObjectChunk result) { final int size = input.size(); for (int ii = 0; ii < size; ++ii) { final double value = input.get(ii); @@ -57,4 +57,4 @@ public void close() { result.fillWithNullValue(0, result.size()); result.close(); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/DoubleToDoubleCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/DoubleToDoubleCast.java index e9d8d413941..781e41a2413 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/DoubleToDoubleCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/DoubleToDoubleCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToDoubleCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToDoubleCast and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.*; @@ -50,4 +49,4 @@ public static void castInto(DoubleChunk input, Wr public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/FloatToBigDecimalCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/FloatToBigDecimalCast.java index 2cff2770a23..54474b7859c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/FloatToBigDecimalCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/FloatToBigDecimalCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToBigDecimalCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToBigDecimalCast and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.FloatChunk; @@ -38,7 +37,8 @@ public class FloatToBigDecimalCast implements ToBigDecimalCast { return result; } - public static void castInto(FloatChunk input, WritableObjectChunk result) { + public static void castInto(FloatChunk input, + WritableObjectChunk result) { final int size = input.size(); for (int ii = 0; ii < size; ++ii) { final float value = input.get(ii); @@ -57,4 +57,4 @@ public void close() { result.fillWithNullValue(0, result.size()); result.close(); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/FloatToDoubleCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/FloatToDoubleCast.java index 90fb7b34381..e4d95fda84a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/FloatToDoubleCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/FloatToDoubleCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToDoubleCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToDoubleCast and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.*; @@ -50,4 +49,4 @@ public static void castInto(FloatChunk input, Wri public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/IntToBigDecimalCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/IntToBigDecimalCast.java index 5bfac96ed21..2d285ae2090 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/IntToBigDecimalCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/IntToBigDecimalCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToBigDecimalCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToBigDecimalCast and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.IntChunk; @@ -38,7 +37,8 @@ public class IntToBigDecimalCast implements ToBigDecimalCast { return result; } - public static void castInto(IntChunk input, WritableObjectChunk result) { + public static void castInto(IntChunk input, + WritableObjectChunk result) { final int size = input.size(); for (int ii = 0; ii < size; ++ii) { final int value = input.get(ii); @@ -57,4 +57,4 @@ public void close() { result.fillWithNullValue(0, result.size()); result.close(); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/IntToDoubleCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/IntToDoubleCast.java index 723ec133c4d..381d1b0c638 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/IntToDoubleCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/IntToDoubleCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToDoubleCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToDoubleCast and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.*; @@ -50,4 +49,4 @@ public static void castInto(IntChunk input, Writa public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/LongToBigDecimalCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/LongToBigDecimalCast.java index eed4bc9b5dd..7723acce9d6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/LongToBigDecimalCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/LongToBigDecimalCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToBigDecimalCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToBigDecimalCast and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.LongChunk; @@ -38,7 +37,8 @@ public class LongToBigDecimalCast implements ToBigDecimalCast { return result; } - public static void castInto(LongChunk input, WritableObjectChunk result) { + public static void castInto(LongChunk input, + WritableObjectChunk result) { final int size = input.size(); for (int ii = 0; ii < size; ++ii) { final long value = input.get(ii); @@ -57,4 +57,4 @@ public void close() { result.fillWithNullValue(0, result.size()); result.close(); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/LongToDoubleCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/LongToDoubleCast.java index 9412d57f5bf..6357658612a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/LongToDoubleCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/LongToDoubleCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToDoubleCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToDoubleCast and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.*; @@ -50,4 +49,4 @@ public static void castInto(LongChunk input, Writ public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ShortToBigDecimalCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ShortToBigDecimalCast.java index eb75db5f08f..765f3c03ad6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ShortToBigDecimalCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ShortToBigDecimalCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToBigDecimalCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToBigDecimalCast and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.ShortChunk; @@ -38,7 +37,8 @@ public class ShortToBigDecimalCast implements ToBigDecimalCast { return result; } - public static void castInto(ShortChunk input, WritableObjectChunk result) { + public static void castInto(ShortChunk input, + WritableObjectChunk result) { final int size = input.size(); for (int ii = 0; ii < size; ++ii) { final short value = input.get(ii); @@ -57,4 +57,4 @@ public void close() { result.fillWithNullValue(0, result.size()); result.close(); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ShortToDoubleCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ShortToDoubleCast.java index b5e5f70abe6..7fdc63741cb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ShortToDoubleCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ShortToDoubleCast.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharToDoubleCast and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharToDoubleCast and run "./gradlew replicateOperators" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.*; @@ -50,4 +49,4 @@ public static void castInto(ShortChunk input, Wri public void close() { result.close(); } -} \ No newline at end of file +} diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ToBigDecimalCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ToBigDecimalCast.java index 71656a57ef0..a0d69bafef8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ToBigDecimalCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ToBigDecimalCast.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.Chunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ToDoubleCast.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ToDoubleCast.java index f878321fc8a..606ba3a6a9e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ToDoubleCast.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/cast/ToDoubleCast.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.cast; import io.deephaven.chunk.Chunk; @@ -49,8 +49,7 @@ public DoubleChunk cast(Chunk input) { } @Override - public void close() { - } + public void close() {} } ToDoubleCast IDENTITY = new Identity(); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/codegen/CodeGenerator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/codegen/CodeGenerator.java index 0682d5897f5..d4af82c6e6a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/codegen/CodeGenerator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/codegen/CodeGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.codegen; import java.util.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/codegen/TypeAnalyzer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/codegen/TypeAnalyzer.java index 16eb27eae8d..cfad5a5b951 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/codegen/TypeAnalyzer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/codegen/TypeAnalyzer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.codegen; import io.deephaven.engine.table.impl.lang.QueryLanguageFunctionUtils; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/BooleanCompactKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/BooleanCompactKernel.java index 0dcb3de7b51..b46722ad44e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/BooleanCompactKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/BooleanCompactKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCompactKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCompactKernel and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.compact; import io.deephaven.chunk.attributes.ChunkLengths; @@ -17,6 +16,7 @@ public class BooleanCompactKernel implements CompactKernel { static BooleanCompactKernel INSTANCE = new BooleanCompactKernel(); + private BooleanCompactKernel() {} // use the instance /** @@ -25,7 +25,7 @@ private BooleanCompactKernel() {} // use the instance * @param values the input and output chunk of values * @param retainValues a chunk parallel to values, a value is retained in the output iff retainedValues is true */ - public static void compact(WritableBooleanChunk values, BooleanChunk retainValues) { + public static void compact(WritableBooleanChunk values, BooleanChunk retainValues) { int writePosition = 0; for (int ii = 0; ii < retainValues.size(); ++ii) { if (retainValues.get(ii)) { @@ -42,33 +42,40 @@ public void compact(WritableChunk values, BooleanChunk retai @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + boolean countNull) { compactAndCount(valueChunk.asWritableBooleanChunk(), counts, countNull); } @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { compactAndCount(valueChunk.asWritableBooleanChunk(), counts, startPositions, lengths, countNull); } - public static void compactAndCount(WritableBooleanChunk valueChunk, WritableIntChunk counts) { - compactAndCount(valueChunk, counts, false); + public static void compactAndCount(WritableBooleanChunk valueChunk, + WritableIntChunk counts) { + compactAndCount(valueChunk, counts, false); } - public static void compactAndCount(WritableBooleanChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public static void compactAndCount(WritableBooleanChunk valueChunk, + WritableIntChunk counts, boolean countNull) { final int newSize = compactAndCount(valueChunk, counts, 0, valueChunk.size(), countNull); valueChunk.setSize(newSize); counts.setSize(newSize); } - public static void compactAndCount(WritableBooleanChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public static void compactAndCount(WritableBooleanChunk valueChunk, + WritableIntChunk counts, IntChunk startPositions, + WritableIntChunk lengths, boolean countNull) { for (int ii = 0; ii < startPositions.size(); ++ii) { final int newSize = compactAndCount(valueChunk, counts, startPositions.get(ii), lengths.get(ii), countNull); lengths.set(ii, newSize); } } - public static int compactAndCount(WritableBooleanChunk valueChunk, WritableIntChunk counts, final int start, final int length, boolean countNull) { + public static int compactAndCount(WritableBooleanChunk valueChunk, + WritableIntChunk counts, final int start, final int length, boolean countNull) { int wpos = -1; // region compactAndCount int trueValues = 0; int falseValues = 0; final int end = start + length; for (int rpos = start; rpos < end; ++rpos) { final boolean nextValue = valueChunk.get(rpos); if (nextValue) { trueValues++; } else { falseValues++; } } @@ -85,7 +92,7 @@ public static int compactAndCount(WritableBooleanChunk valueCh } private static boolean shouldIgnore(boolean value) { - // region shouldIgnore + // region shouldIgnore return false; // endregion shouldIgnore } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/ByteCompactKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/ByteCompactKernel.java index 8c69d717541..2539c850fb7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/ByteCompactKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/ByteCompactKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCompactKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCompactKernel and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.compact; import io.deephaven.chunk.attributes.ChunkLengths; @@ -19,6 +18,7 @@ public class ByteCompactKernel implements CompactKernel { static ByteCompactKernel INSTANCE = new ByteCompactKernel(); + private ByteCompactKernel() {} // use the instance /** @@ -27,7 +27,7 @@ private ByteCompactKernel() {} // use the instance * @param values the input and output chunk of values * @param retainValues a chunk parallel to values, a value is retained in the output iff retainedValues is true */ - public static void compact(WritableByteChunk values, BooleanChunk retainValues) { + public static void compact(WritableByteChunk values, BooleanChunk retainValues) { int writePosition = 0; for (int ii = 0; ii < retainValues.size(); ++ii) { if (retainValues.get(ii)) { @@ -44,33 +44,40 @@ public void compact(WritableChunk values, BooleanChunk retai @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + boolean countNull) { compactAndCount(valueChunk.asWritableByteChunk(), counts, countNull); } @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { compactAndCount(valueChunk.asWritableByteChunk(), counts, startPositions, lengths, countNull); } - public static void compactAndCount(WritableByteChunk valueChunk, WritableIntChunk counts) { - compactAndCount(valueChunk, counts, false); + public static void compactAndCount(WritableByteChunk valueChunk, + WritableIntChunk counts) { + compactAndCount(valueChunk, counts, false); } - public static void compactAndCount(WritableByteChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public static void compactAndCount(WritableByteChunk valueChunk, + WritableIntChunk counts, boolean countNull) { final int newSize = compactAndCount(valueChunk, counts, 0, valueChunk.size(), countNull); valueChunk.setSize(newSize); counts.setSize(newSize); } - public static void compactAndCount(WritableByteChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public static void compactAndCount(WritableByteChunk valueChunk, + WritableIntChunk counts, IntChunk startPositions, + WritableIntChunk lengths, boolean countNull) { for (int ii = 0; ii < startPositions.size(); ++ii) { final int newSize = compactAndCount(valueChunk, counts, startPositions.get(ii), lengths.get(ii), countNull); lengths.set(ii, newSize); } } - public static int compactAndCount(WritableByteChunk valueChunk, WritableIntChunk counts, final int start, final int length, boolean countNull) { + public static int compactAndCount(WritableByteChunk valueChunk, + WritableIntChunk counts, final int start, final int length, boolean countNull) { int wpos = -1; // region compactAndCount valueChunk.sort(start, length); @@ -95,7 +102,7 @@ public static int compactAndCount(WritableByteChunk valueChunk } private static boolean shouldIgnore(byte value) { - // region shouldIgnore + // region shouldIgnore return value == NULL_BYTE; // endregion shouldIgnore } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/CharCompactKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/CharCompactKernel.java index 1e72f904413..27f1099b76a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/CharCompactKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/CharCompactKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.compact; import io.deephaven.chunk.attributes.ChunkLengths; @@ -14,6 +14,7 @@ public class CharCompactKernel implements CompactKernel { static CharCompactKernel INSTANCE = new CharCompactKernel(); + private CharCompactKernel() {} // use the instance /** @@ -22,7 +23,7 @@ private CharCompactKernel() {} // use the instance * @param values the input and output chunk of values * @param retainValues a chunk parallel to values, a value is retained in the output iff retainedValues is true */ - public static void compact(WritableCharChunk values, BooleanChunk retainValues) { + public static void compact(WritableCharChunk values, BooleanChunk retainValues) { int writePosition = 0; for (int ii = 0; ii < retainValues.size(); ++ii) { if (retainValues.get(ii)) { @@ -39,33 +40,40 @@ public void compact(WritableChunk values, BooleanChunk retai @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + boolean countNull) { compactAndCount(valueChunk.asWritableCharChunk(), counts, countNull); } @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { compactAndCount(valueChunk.asWritableCharChunk(), counts, startPositions, lengths, countNull); } - public static void compactAndCount(WritableCharChunk valueChunk, WritableIntChunk counts) { - compactAndCount(valueChunk, counts, false); + public static void compactAndCount(WritableCharChunk valueChunk, + WritableIntChunk counts) { + compactAndCount(valueChunk, counts, false); } - public static void compactAndCount(WritableCharChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public static void compactAndCount(WritableCharChunk valueChunk, + WritableIntChunk counts, boolean countNull) { final int newSize = compactAndCount(valueChunk, counts, 0, valueChunk.size(), countNull); valueChunk.setSize(newSize); counts.setSize(newSize); } - public static void compactAndCount(WritableCharChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public static void compactAndCount(WritableCharChunk valueChunk, + WritableIntChunk counts, IntChunk startPositions, + WritableIntChunk lengths, boolean countNull) { for (int ii = 0; ii < startPositions.size(); ++ii) { final int newSize = compactAndCount(valueChunk, counts, startPositions.get(ii), lengths.get(ii), countNull); lengths.set(ii, newSize); } } - public static int compactAndCount(WritableCharChunk valueChunk, WritableIntChunk counts, final int start, final int length, boolean countNull) { + public static int compactAndCount(WritableCharChunk valueChunk, + WritableIntChunk counts, final int start, final int length, boolean countNull) { int wpos = -1; // region compactAndCount valueChunk.sort(start, length); @@ -90,7 +98,7 @@ public static int compactAndCount(WritableCharChunk valueChunk } private static boolean shouldIgnore(char value) { - // region shouldIgnore + // region shouldIgnore return value == NULL_CHAR; // endregion shouldIgnore } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/CompactKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/CompactKernel.java index e0441015bfc..44f35526399 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/CompactKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/CompactKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.compact; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/DoubleCompactKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/DoubleCompactKernel.java index 12322867a99..895ca429b14 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/DoubleCompactKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/DoubleCompactKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCompactKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCompactKernel and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.compact; import io.deephaven.chunk.attributes.ChunkLengths; @@ -19,6 +18,7 @@ public class DoubleCompactKernel implements CompactKernel { static DoubleCompactKernel INSTANCE = new DoubleCompactKernel(); + private DoubleCompactKernel() {} // use the instance /** @@ -27,7 +27,7 @@ private DoubleCompactKernel() {} // use the instance * @param values the input and output chunk of values * @param retainValues a chunk parallel to values, a value is retained in the output iff retainedValues is true */ - public static void compact(WritableDoubleChunk values, BooleanChunk retainValues) { + public static void compact(WritableDoubleChunk values, BooleanChunk retainValues) { int writePosition = 0; for (int ii = 0; ii < retainValues.size(); ++ii) { if (retainValues.get(ii)) { @@ -44,33 +44,40 @@ public void compact(WritableChunk values, BooleanChunk retai @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + boolean countNull) { compactAndCount(valueChunk.asWritableDoubleChunk(), counts, countNull); } @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { compactAndCount(valueChunk.asWritableDoubleChunk(), counts, startPositions, lengths, countNull); } - public static void compactAndCount(WritableDoubleChunk valueChunk, WritableIntChunk counts) { - compactAndCount(valueChunk, counts, false); + public static void compactAndCount(WritableDoubleChunk valueChunk, + WritableIntChunk counts) { + compactAndCount(valueChunk, counts, false); } - public static void compactAndCount(WritableDoubleChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public static void compactAndCount(WritableDoubleChunk valueChunk, + WritableIntChunk counts, boolean countNull) { final int newSize = compactAndCount(valueChunk, counts, 0, valueChunk.size(), countNull); valueChunk.setSize(newSize); counts.setSize(newSize); } - public static void compactAndCount(WritableDoubleChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public static void compactAndCount(WritableDoubleChunk valueChunk, + WritableIntChunk counts, IntChunk startPositions, + WritableIntChunk lengths, boolean countNull) { for (int ii = 0; ii < startPositions.size(); ++ii) { final int newSize = compactAndCount(valueChunk, counts, startPositions.get(ii), lengths.get(ii), countNull); lengths.set(ii, newSize); } } - public static int compactAndCount(WritableDoubleChunk valueChunk, WritableIntChunk counts, final int start, final int length, boolean countNull) { + public static int compactAndCount(WritableDoubleChunk valueChunk, + WritableIntChunk counts, final int start, final int length, boolean countNull) { int wpos = -1; // region compactAndCount valueChunk.sort(start, length); @@ -95,7 +102,7 @@ public static int compactAndCount(WritableDoubleChunk valueChu } private static boolean shouldIgnore(double value) { - // region shouldIgnore + // region shouldIgnore return value == NULL_DOUBLE || Double.isNaN(value); // endregion shouldIgnore } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/FloatCompactKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/FloatCompactKernel.java index f099c85750f..d6142a3116a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/FloatCompactKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/FloatCompactKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCompactKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCompactKernel and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.compact; import io.deephaven.chunk.attributes.ChunkLengths; @@ -19,6 +18,7 @@ public class FloatCompactKernel implements CompactKernel { static FloatCompactKernel INSTANCE = new FloatCompactKernel(); + private FloatCompactKernel() {} // use the instance /** @@ -27,7 +27,7 @@ private FloatCompactKernel() {} // use the instance * @param values the input and output chunk of values * @param retainValues a chunk parallel to values, a value is retained in the output iff retainedValues is true */ - public static void compact(WritableFloatChunk values, BooleanChunk retainValues) { + public static void compact(WritableFloatChunk values, BooleanChunk retainValues) { int writePosition = 0; for (int ii = 0; ii < retainValues.size(); ++ii) { if (retainValues.get(ii)) { @@ -44,33 +44,40 @@ public void compact(WritableChunk values, BooleanChunk retai @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + boolean countNull) { compactAndCount(valueChunk.asWritableFloatChunk(), counts, countNull); } @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { compactAndCount(valueChunk.asWritableFloatChunk(), counts, startPositions, lengths, countNull); } - public static void compactAndCount(WritableFloatChunk valueChunk, WritableIntChunk counts) { - compactAndCount(valueChunk, counts, false); + public static void compactAndCount(WritableFloatChunk valueChunk, + WritableIntChunk counts) { + compactAndCount(valueChunk, counts, false); } - public static void compactAndCount(WritableFloatChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public static void compactAndCount(WritableFloatChunk valueChunk, + WritableIntChunk counts, boolean countNull) { final int newSize = compactAndCount(valueChunk, counts, 0, valueChunk.size(), countNull); valueChunk.setSize(newSize); counts.setSize(newSize); } - public static void compactAndCount(WritableFloatChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public static void compactAndCount(WritableFloatChunk valueChunk, + WritableIntChunk counts, IntChunk startPositions, + WritableIntChunk lengths, boolean countNull) { for (int ii = 0; ii < startPositions.size(); ++ii) { final int newSize = compactAndCount(valueChunk, counts, startPositions.get(ii), lengths.get(ii), countNull); lengths.set(ii, newSize); } } - public static int compactAndCount(WritableFloatChunk valueChunk, WritableIntChunk counts, final int start, final int length, boolean countNull) { + public static int compactAndCount(WritableFloatChunk valueChunk, + WritableIntChunk counts, final int start, final int length, boolean countNull) { int wpos = -1; // region compactAndCount valueChunk.sort(start, length); @@ -95,7 +102,7 @@ public static int compactAndCount(WritableFloatChunk valueChun } private static boolean shouldIgnore(float value) { - // region shouldIgnore + // region shouldIgnore return value == NULL_FLOAT || Float.isNaN(value); // endregion shouldIgnore } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/IntCompactKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/IntCompactKernel.java index d35fff4a9ce..91f54de875a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/IntCompactKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/IntCompactKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCompactKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCompactKernel and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.compact; import io.deephaven.chunk.attributes.ChunkLengths; @@ -19,6 +18,7 @@ public class IntCompactKernel implements CompactKernel { static IntCompactKernel INSTANCE = new IntCompactKernel(); + private IntCompactKernel() {} // use the instance /** @@ -27,7 +27,7 @@ private IntCompactKernel() {} // use the instance * @param values the input and output chunk of values * @param retainValues a chunk parallel to values, a value is retained in the output iff retainedValues is true */ - public static void compact(WritableIntChunk values, BooleanChunk retainValues) { + public static void compact(WritableIntChunk values, BooleanChunk retainValues) { int writePosition = 0; for (int ii = 0; ii < retainValues.size(); ++ii) { if (retainValues.get(ii)) { @@ -44,33 +44,40 @@ public void compact(WritableChunk values, BooleanChunk retai @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + boolean countNull) { compactAndCount(valueChunk.asWritableIntChunk(), counts, countNull); } @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { compactAndCount(valueChunk.asWritableIntChunk(), counts, startPositions, lengths, countNull); } - public static void compactAndCount(WritableIntChunk valueChunk, WritableIntChunk counts) { - compactAndCount(valueChunk, counts, false); + public static void compactAndCount(WritableIntChunk valueChunk, + WritableIntChunk counts) { + compactAndCount(valueChunk, counts, false); } - public static void compactAndCount(WritableIntChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public static void compactAndCount(WritableIntChunk valueChunk, + WritableIntChunk counts, boolean countNull) { final int newSize = compactAndCount(valueChunk, counts, 0, valueChunk.size(), countNull); valueChunk.setSize(newSize); counts.setSize(newSize); } - public static void compactAndCount(WritableIntChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public static void compactAndCount(WritableIntChunk valueChunk, + WritableIntChunk counts, IntChunk startPositions, + WritableIntChunk lengths, boolean countNull) { for (int ii = 0; ii < startPositions.size(); ++ii) { final int newSize = compactAndCount(valueChunk, counts, startPositions.get(ii), lengths.get(ii), countNull); lengths.set(ii, newSize); } } - public static int compactAndCount(WritableIntChunk valueChunk, WritableIntChunk counts, final int start, final int length, boolean countNull) { + public static int compactAndCount(WritableIntChunk valueChunk, + WritableIntChunk counts, final int start, final int length, boolean countNull) { int wpos = -1; // region compactAndCount valueChunk.sort(start, length); @@ -95,7 +102,7 @@ public static int compactAndCount(WritableIntChunk valueChunk, } private static boolean shouldIgnore(int value) { - // region shouldIgnore + // region shouldIgnore return value == NULL_INT; // endregion shouldIgnore } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/LongCompactKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/LongCompactKernel.java index 36758b8c4dc..652cdb141c3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/LongCompactKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/LongCompactKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCompactKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCompactKernel and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.compact; import io.deephaven.chunk.attributes.ChunkLengths; @@ -19,6 +18,7 @@ public class LongCompactKernel implements CompactKernel { static LongCompactKernel INSTANCE = new LongCompactKernel(); + private LongCompactKernel() {} // use the instance /** @@ -27,7 +27,7 @@ private LongCompactKernel() {} // use the instance * @param values the input and output chunk of values * @param retainValues a chunk parallel to values, a value is retained in the output iff retainedValues is true */ - public static void compact(WritableLongChunk values, BooleanChunk retainValues) { + public static void compact(WritableLongChunk values, BooleanChunk retainValues) { int writePosition = 0; for (int ii = 0; ii < retainValues.size(); ++ii) { if (retainValues.get(ii)) { @@ -44,33 +44,40 @@ public void compact(WritableChunk values, BooleanChunk retai @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + boolean countNull) { compactAndCount(valueChunk.asWritableLongChunk(), counts, countNull); } @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { compactAndCount(valueChunk.asWritableLongChunk(), counts, startPositions, lengths, countNull); } - public static void compactAndCount(WritableLongChunk valueChunk, WritableIntChunk counts) { - compactAndCount(valueChunk, counts, false); + public static void compactAndCount(WritableLongChunk valueChunk, + WritableIntChunk counts) { + compactAndCount(valueChunk, counts, false); } - public static void compactAndCount(WritableLongChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public static void compactAndCount(WritableLongChunk valueChunk, + WritableIntChunk counts, boolean countNull) { final int newSize = compactAndCount(valueChunk, counts, 0, valueChunk.size(), countNull); valueChunk.setSize(newSize); counts.setSize(newSize); } - public static void compactAndCount(WritableLongChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public static void compactAndCount(WritableLongChunk valueChunk, + WritableIntChunk counts, IntChunk startPositions, + WritableIntChunk lengths, boolean countNull) { for (int ii = 0; ii < startPositions.size(); ++ii) { final int newSize = compactAndCount(valueChunk, counts, startPositions.get(ii), lengths.get(ii), countNull); lengths.set(ii, newSize); } } - public static int compactAndCount(WritableLongChunk valueChunk, WritableIntChunk counts, final int start, final int length, boolean countNull) { + public static int compactAndCount(WritableLongChunk valueChunk, + WritableIntChunk counts, final int start, final int length, boolean countNull) { int wpos = -1; // region compactAndCount valueChunk.sort(start, length); @@ -95,7 +102,7 @@ public static int compactAndCount(WritableLongChunk valueChunk } private static boolean shouldIgnore(long value) { - // region shouldIgnore + // region shouldIgnore return value == NULL_LONG; // endregion shouldIgnore } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/ObjectCompactKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/ObjectCompactKernel.java index 45eaf3095d9..dac8c879c02 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/ObjectCompactKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/ObjectCompactKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCompactKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCompactKernel and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.compact; import io.deephaven.chunk.attributes.ChunkLengths; @@ -18,6 +17,7 @@ public class ObjectCompactKernel implements CompactKernel { static ObjectCompactKernel INSTANCE = new ObjectCompactKernel(); + private ObjectCompactKernel() {} // use the instance /** @@ -26,7 +26,7 @@ private ObjectCompactKernel() {} // use the instance * @param values the input and output chunk of values * @param retainValues a chunk parallel to values, a value is retained in the output iff retainedValues is true */ - public static void compact(WritableObjectChunk values, BooleanChunk retainValues) { + public static void compact(WritableObjectChunk values, BooleanChunk retainValues) { int writePosition = 0; for (int ii = 0; ii < retainValues.size(); ++ii) { if (retainValues.get(ii)) { @@ -43,33 +43,40 @@ public void compact(WritableChunk values, BooleanChunk retai @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + boolean countNull) { compactAndCount(valueChunk.asWritableObjectChunk(), counts, countNull); } @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { compactAndCount(valueChunk.asWritableObjectChunk(), counts, startPositions, lengths, countNull); } - public static void compactAndCount(WritableObjectChunk valueChunk, WritableIntChunk counts) { - compactAndCount(valueChunk, counts, false); + public static void compactAndCount(WritableObjectChunk valueChunk, + WritableIntChunk counts) { + compactAndCount(valueChunk, counts, false); } - public static void compactAndCount(WritableObjectChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public static void compactAndCount(WritableObjectChunk valueChunk, + WritableIntChunk counts, boolean countNull) { final int newSize = compactAndCount(valueChunk, counts, 0, valueChunk.size(), countNull); valueChunk.setSize(newSize); counts.setSize(newSize); } - public static void compactAndCount(WritableObjectChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public static void compactAndCount(WritableObjectChunk valueChunk, + WritableIntChunk counts, IntChunk startPositions, + WritableIntChunk lengths, boolean countNull) { for (int ii = 0; ii < startPositions.size(); ++ii) { final int newSize = compactAndCount(valueChunk, counts, startPositions.get(ii), lengths.get(ii), countNull); lengths.set(ii, newSize); } } - public static int compactAndCount(WritableObjectChunk valueChunk, WritableIntChunk counts, final int start, final int length, boolean countNull) { + public static int compactAndCount(WritableObjectChunk valueChunk, + WritableIntChunk counts, final int start, final int length, boolean countNull) { int wpos = -1; // region compactAndCount valueChunk.sort(start, length); @@ -94,7 +101,7 @@ public static int compactAndCount(WritableObjectChunk v } private static boolean shouldIgnore(Object value) { - // region shouldIgnore + // region shouldIgnore return value == null; // endregion shouldIgnore } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/ShortCompactKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/ShortCompactKernel.java index 787b6fcd45a..c761f4aee50 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/ShortCompactKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/compact/ShortCompactKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCompactKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCompactKernel and run "./gradlew replicateHashing" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.compact; import io.deephaven.chunk.attributes.ChunkLengths; @@ -19,6 +18,7 @@ public class ShortCompactKernel implements CompactKernel { static ShortCompactKernel INSTANCE = new ShortCompactKernel(); + private ShortCompactKernel() {} // use the instance /** @@ -27,7 +27,7 @@ private ShortCompactKernel() {} // use the instance * @param values the input and output chunk of values * @param retainValues a chunk parallel to values, a value is retained in the output iff retainedValues is true */ - public static void compact(WritableShortChunk values, BooleanChunk retainValues) { + public static void compact(WritableShortChunk values, BooleanChunk retainValues) { int writePosition = 0; for (int ii = 0; ii < retainValues.size(); ++ii) { if (retainValues.get(ii)) { @@ -44,33 +44,40 @@ public void compact(WritableChunk values, BooleanChunk retai @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + boolean countNull) { compactAndCount(valueChunk.asWritableShortChunk(), counts, countNull); } @Override - public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public void compactAndCount(WritableChunk valueChunk, WritableIntChunk counts, + IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { compactAndCount(valueChunk.asWritableShortChunk(), counts, startPositions, lengths, countNull); } - public static void compactAndCount(WritableShortChunk valueChunk, WritableIntChunk counts) { - compactAndCount(valueChunk, counts, false); + public static void compactAndCount(WritableShortChunk valueChunk, + WritableIntChunk counts) { + compactAndCount(valueChunk, counts, false); } - public static void compactAndCount(WritableShortChunk valueChunk, WritableIntChunk counts, boolean countNull) { + public static void compactAndCount(WritableShortChunk valueChunk, + WritableIntChunk counts, boolean countNull) { final int newSize = compactAndCount(valueChunk, counts, 0, valueChunk.size(), countNull); valueChunk.setSize(newSize); counts.setSize(newSize); } - public static void compactAndCount(WritableShortChunk valueChunk, WritableIntChunk counts, IntChunk startPositions, WritableIntChunk lengths, boolean countNull) { + public static void compactAndCount(WritableShortChunk valueChunk, + WritableIntChunk counts, IntChunk startPositions, + WritableIntChunk lengths, boolean countNull) { for (int ii = 0; ii < startPositions.size(); ++ii) { final int newSize = compactAndCount(valueChunk, counts, startPositions.get(ii), lengths.get(ii), countNull); lengths.set(ii, newSize); } } - public static int compactAndCount(WritableShortChunk valueChunk, WritableIntChunk counts, final int start, final int length, boolean countNull) { + public static int compactAndCount(WritableShortChunk valueChunk, + WritableIntChunk counts, final int start, final int length, boolean countNull) { int wpos = -1; // region compactAndCount valueChunk.sort(start, length); @@ -95,7 +102,7 @@ public static int compactAndCount(WritableShortChunk valueChun } private static boolean shouldIgnore(short value) { - // region shouldIgnore + // region shouldIgnore return value == NULL_SHORT; // endregion shouldIgnore } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/BooleanCopyKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/BooleanCopyKernel.java index f84f7f128a6..4db16333fe6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/BooleanCopyKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/BooleanCopyKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCopyKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCopyKernel and run "./gradlew replicateCopyKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.*; @@ -25,18 +24,17 @@ private BooleanCopyKernel() {} // use through the instance * Note that useOverInput should cover the same data range as baseInput such that * {@code useOverInput.length == (overInput.length + 63) / 64} is true. * - * @param output the output chunk - * @param baseInput the input array to use when bit in useOverInput is zero (array) - * @param overInput the input array to use when bit in useOverInput is one (array) + * @param output the output chunk + * @param baseInput the input array to use when bit in useOverInput is zero (array) + * @param overInput the input array to use when bit in useOverInput is one (array) * @param useOverInput the bitset array to indicate whether to use baseInput or overInput for each element - * @param srcOffset the offset in baseInput/overInput - * @param dstOffset the offset in output - * @param length the number of elements to copy + * @param srcOffset the offset in baseInput/overInput + * @param dstOffset the offset in output + * @param length the number of elements to copy */ public static void conditionalCopy( WritableBooleanChunk output, boolean[] baseInput, boolean[] overInput, long[] useOverInput, - int srcOffset, int dstOffset, int length) - { + int srcOffset, int dstOffset, int length) { int bitsSet = 0; final int bitsetLen = (length + 63) >> 6; final int bitsetOffset = srcOffset >> 6; @@ -50,9 +48,9 @@ public static void conditionalCopy( output.copyFromTypedArray(flipBase ? overInput : baseInput, srcOffset, dstOffset, length); final int srcEndOffset = srcOffset + length; - for (int ii = CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); - ii < srcEndOffset; - ii = CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { + for (int ii = + CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); ii < srcEndOffset; ii = + CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { output.set(dstOffset + ii - srcOffset, flipBase ? baseInput[ii] : overInput[ii]); } } @@ -60,10 +58,10 @@ public static void conditionalCopy( @Override public void conditionalCopy( WritableChunk output, Object baseInput, Object overInput, long[] useOverInput, - int srcOffset, int dstOffset, int length) - { + int srcOffset, int dstOffset, int length) { boolean[] typedBaseInput = (boolean[]) baseInput; boolean[] typedOverInput = (boolean[]) overInput; - conditionalCopy(output.asWritableBooleanChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, dstOffset, length); + conditionalCopy(output.asWritableBooleanChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, + dstOffset, length); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/ByteCopyKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/ByteCopyKernel.java index eab7072f184..30715ae544d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/ByteCopyKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/ByteCopyKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCopyKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCopyKernel and run "./gradlew replicateCopyKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.*; @@ -25,18 +24,17 @@ private ByteCopyKernel() {} // use through the instance * Note that useOverInput should cover the same data range as baseInput such that * {@code useOverInput.length == (overInput.length + 63) / 64} is true. * - * @param output the output chunk - * @param baseInput the input array to use when bit in useOverInput is zero (array) - * @param overInput the input array to use when bit in useOverInput is one (array) + * @param output the output chunk + * @param baseInput the input array to use when bit in useOverInput is zero (array) + * @param overInput the input array to use when bit in useOverInput is one (array) * @param useOverInput the bitset array to indicate whether to use baseInput or overInput for each element - * @param srcOffset the offset in baseInput/overInput - * @param dstOffset the offset in output - * @param length the number of elements to copy + * @param srcOffset the offset in baseInput/overInput + * @param dstOffset the offset in output + * @param length the number of elements to copy */ public static void conditionalCopy( WritableByteChunk output, byte[] baseInput, byte[] overInput, long[] useOverInput, - int srcOffset, int dstOffset, int length) - { + int srcOffset, int dstOffset, int length) { int bitsSet = 0; final int bitsetLen = (length + 63) >> 6; final int bitsetOffset = srcOffset >> 6; @@ -50,9 +48,9 @@ public static void conditionalCopy( output.copyFromTypedArray(flipBase ? overInput : baseInput, srcOffset, dstOffset, length); final int srcEndOffset = srcOffset + length; - for (int ii = CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); - ii < srcEndOffset; - ii = CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { + for (int ii = + CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); ii < srcEndOffset; ii = + CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { output.set(dstOffset + ii - srcOffset, flipBase ? baseInput[ii] : overInput[ii]); } } @@ -60,10 +58,10 @@ public static void conditionalCopy( @Override public void conditionalCopy( WritableChunk output, Object baseInput, Object overInput, long[] useOverInput, - int srcOffset, int dstOffset, int length) - { + int srcOffset, int dstOffset, int length) { byte[] typedBaseInput = (byte[]) baseInput; byte[] typedOverInput = (byte[]) overInput; - conditionalCopy(output.asWritableByteChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, dstOffset, length); + conditionalCopy(output.asWritableByteChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, + dstOffset, length); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/CharCopyKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/CharCopyKernel.java index bac920892d0..b2e77afa48d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/CharCopyKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/CharCopyKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.*; @@ -20,18 +20,17 @@ private CharCopyKernel() {} // use through the instance * Note that useOverInput should cover the same data range as baseInput such that * {@code useOverInput.length == (overInput.length + 63) / 64} is true. * - * @param output the output chunk - * @param baseInput the input array to use when bit in useOverInput is zero (array) - * @param overInput the input array to use when bit in useOverInput is one (array) + * @param output the output chunk + * @param baseInput the input array to use when bit in useOverInput is zero (array) + * @param overInput the input array to use when bit in useOverInput is one (array) * @param useOverInput the bitset array to indicate whether to use baseInput or overInput for each element - * @param srcOffset the offset in baseInput/overInput - * @param dstOffset the offset in output - * @param length the number of elements to copy + * @param srcOffset the offset in baseInput/overInput + * @param dstOffset the offset in output + * @param length the number of elements to copy */ public static void conditionalCopy( WritableCharChunk output, char[] baseInput, char[] overInput, long[] useOverInput, - int srcOffset, int dstOffset, int length) - { + int srcOffset, int dstOffset, int length) { int bitsSet = 0; final int bitsetLen = (length + 63) >> 6; final int bitsetOffset = srcOffset >> 6; @@ -45,9 +44,9 @@ public static void conditionalCopy( output.copyFromTypedArray(flipBase ? overInput : baseInput, srcOffset, dstOffset, length); final int srcEndOffset = srcOffset + length; - for (int ii = CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); - ii < srcEndOffset; - ii = CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { + for (int ii = + CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); ii < srcEndOffset; ii = + CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { output.set(dstOffset + ii - srcOffset, flipBase ? baseInput[ii] : overInput[ii]); } } @@ -55,10 +54,10 @@ public static void conditionalCopy( @Override public void conditionalCopy( WritableChunk output, Object baseInput, Object overInput, long[] useOverInput, - int srcOffset, int dstOffset, int length) - { + int srcOffset, int dstOffset, int length) { char[] typedBaseInput = (char[]) baseInput; char[] typedOverInput = (char[]) overInput; - conditionalCopy(output.asWritableCharChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, dstOffset, length); + conditionalCopy(output.asWritableCharChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, + dstOffset, length); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/CopyKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/CopyKernel.java index f60bb835c52..e21f05c24ef 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/CopyKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/CopyKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/DoubleCopyKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/DoubleCopyKernel.java index 3c62b9e4ecf..145e6d7c190 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/DoubleCopyKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/DoubleCopyKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCopyKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCopyKernel and run "./gradlew replicateCopyKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.*; @@ -25,18 +24,17 @@ private DoubleCopyKernel() {} // use through the instance * Note that useOverInput should cover the same data range as baseInput such that * {@code useOverInput.length == (overInput.length + 63) / 64} is true. * - * @param output the output chunk - * @param baseInput the input array to use when bit in useOverInput is zero (array) - * @param overInput the input array to use when bit in useOverInput is one (array) + * @param output the output chunk + * @param baseInput the input array to use when bit in useOverInput is zero (array) + * @param overInput the input array to use when bit in useOverInput is one (array) * @param useOverInput the bitset array to indicate whether to use baseInput or overInput for each element - * @param srcOffset the offset in baseInput/overInput - * @param dstOffset the offset in output - * @param length the number of elements to copy + * @param srcOffset the offset in baseInput/overInput + * @param dstOffset the offset in output + * @param length the number of elements to copy */ public static void conditionalCopy( WritableDoubleChunk output, double[] baseInput, double[] overInput, long[] useOverInput, - int srcOffset, int dstOffset, int length) - { + int srcOffset, int dstOffset, int length) { int bitsSet = 0; final int bitsetLen = (length + 63) >> 6; final int bitsetOffset = srcOffset >> 6; @@ -50,9 +48,9 @@ public static void conditionalCopy( output.copyFromTypedArray(flipBase ? overInput : baseInput, srcOffset, dstOffset, length); final int srcEndOffset = srcOffset + length; - for (int ii = CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); - ii < srcEndOffset; - ii = CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { + for (int ii = + CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); ii < srcEndOffset; ii = + CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { output.set(dstOffset + ii - srcOffset, flipBase ? baseInput[ii] : overInput[ii]); } } @@ -60,10 +58,10 @@ public static void conditionalCopy( @Override public void conditionalCopy( WritableChunk output, Object baseInput, Object overInput, long[] useOverInput, - int srcOffset, int dstOffset, int length) - { + int srcOffset, int dstOffset, int length) { double[] typedBaseInput = (double[]) baseInput; double[] typedOverInput = (double[]) overInput; - conditionalCopy(output.asWritableDoubleChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, dstOffset, length); + conditionalCopy(output.asWritableDoubleChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, + dstOffset, length); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/FloatCopyKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/FloatCopyKernel.java index e9549992443..56fddce61b5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/FloatCopyKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/FloatCopyKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCopyKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCopyKernel and run "./gradlew replicateCopyKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.*; @@ -25,18 +24,17 @@ private FloatCopyKernel() {} // use through the instance * Note that useOverInput should cover the same data range as baseInput such that * {@code useOverInput.length == (overInput.length + 63) / 64} is true. * - * @param output the output chunk - * @param baseInput the input array to use when bit in useOverInput is zero (array) - * @param overInput the input array to use when bit in useOverInput is one (array) + * @param output the output chunk + * @param baseInput the input array to use when bit in useOverInput is zero (array) + * @param overInput the input array to use when bit in useOverInput is one (array) * @param useOverInput the bitset array to indicate whether to use baseInput or overInput for each element - * @param srcOffset the offset in baseInput/overInput - * @param dstOffset the offset in output - * @param length the number of elements to copy + * @param srcOffset the offset in baseInput/overInput + * @param dstOffset the offset in output + * @param length the number of elements to copy */ public static void conditionalCopy( WritableFloatChunk output, float[] baseInput, float[] overInput, long[] useOverInput, - int srcOffset, int dstOffset, int length) - { + int srcOffset, int dstOffset, int length) { int bitsSet = 0; final int bitsetLen = (length + 63) >> 6; final int bitsetOffset = srcOffset >> 6; @@ -50,9 +48,9 @@ public static void conditionalCopy( output.copyFromTypedArray(flipBase ? overInput : baseInput, srcOffset, dstOffset, length); final int srcEndOffset = srcOffset + length; - for (int ii = CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); - ii < srcEndOffset; - ii = CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { + for (int ii = + CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); ii < srcEndOffset; ii = + CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { output.set(dstOffset + ii - srcOffset, flipBase ? baseInput[ii] : overInput[ii]); } } @@ -60,10 +58,10 @@ public static void conditionalCopy( @Override public void conditionalCopy( WritableChunk output, Object baseInput, Object overInput, long[] useOverInput, - int srcOffset, int dstOffset, int length) - { + int srcOffset, int dstOffset, int length) { float[] typedBaseInput = (float[]) baseInput; float[] typedOverInput = (float[]) overInput; - conditionalCopy(output.asWritableFloatChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, dstOffset, length); + conditionalCopy(output.asWritableFloatChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, + dstOffset, length); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/IntCopyKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/IntCopyKernel.java index 3bdc81c9dde..7a94caa299c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/IntCopyKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/IntCopyKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCopyKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCopyKernel and run "./gradlew replicateCopyKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.*; @@ -25,18 +24,17 @@ private IntCopyKernel() {} // use through the instance * Note that useOverInput should cover the same data range as baseInput such that * {@code useOverInput.length == (overInput.length + 63) / 64} is true. * - * @param output the output chunk - * @param baseInput the input array to use when bit in useOverInput is zero (array) - * @param overInput the input array to use when bit in useOverInput is one (array) + * @param output the output chunk + * @param baseInput the input array to use when bit in useOverInput is zero (array) + * @param overInput the input array to use when bit in useOverInput is one (array) * @param useOverInput the bitset array to indicate whether to use baseInput or overInput for each element - * @param srcOffset the offset in baseInput/overInput - * @param dstOffset the offset in output - * @param length the number of elements to copy + * @param srcOffset the offset in baseInput/overInput + * @param dstOffset the offset in output + * @param length the number of elements to copy */ public static void conditionalCopy( WritableIntChunk output, int[] baseInput, int[] overInput, long[] useOverInput, - int srcOffset, int dstOffset, int length) - { + int srcOffset, int dstOffset, int length) { int bitsSet = 0; final int bitsetLen = (length + 63) >> 6; final int bitsetOffset = srcOffset >> 6; @@ -50,9 +48,9 @@ public static void conditionalCopy( output.copyFromTypedArray(flipBase ? overInput : baseInput, srcOffset, dstOffset, length); final int srcEndOffset = srcOffset + length; - for (int ii = CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); - ii < srcEndOffset; - ii = CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { + for (int ii = + CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); ii < srcEndOffset; ii = + CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { output.set(dstOffset + ii - srcOffset, flipBase ? baseInput[ii] : overInput[ii]); } } @@ -60,10 +58,10 @@ public static void conditionalCopy( @Override public void conditionalCopy( WritableChunk output, Object baseInput, Object overInput, long[] useOverInput, - int srcOffset, int dstOffset, int length) - { + int srcOffset, int dstOffset, int length) { int[] typedBaseInput = (int[]) baseInput; int[] typedOverInput = (int[]) overInput; - conditionalCopy(output.asWritableIntChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, dstOffset, length); + conditionalCopy(output.asWritableIntChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, + dstOffset, length); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/LongCopyKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/LongCopyKernel.java index ffad004799a..ac41fced908 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/LongCopyKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/LongCopyKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCopyKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCopyKernel and run "./gradlew replicateCopyKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.*; @@ -25,18 +24,17 @@ private LongCopyKernel() {} // use through the instance * Note that useOverInput should cover the same data range as baseInput such that * {@code useOverInput.length == (overInput.length + 63) / 64} is true. * - * @param output the output chunk - * @param baseInput the input array to use when bit in useOverInput is zero (array) - * @param overInput the input array to use when bit in useOverInput is one (array) + * @param output the output chunk + * @param baseInput the input array to use when bit in useOverInput is zero (array) + * @param overInput the input array to use when bit in useOverInput is one (array) * @param useOverInput the bitset array to indicate whether to use baseInput or overInput for each element - * @param srcOffset the offset in baseInput/overInput - * @param dstOffset the offset in output - * @param length the number of elements to copy + * @param srcOffset the offset in baseInput/overInput + * @param dstOffset the offset in output + * @param length the number of elements to copy */ public static void conditionalCopy( WritableLongChunk output, long[] baseInput, long[] overInput, long[] useOverInput, - int srcOffset, int dstOffset, int length) - { + int srcOffset, int dstOffset, int length) { int bitsSet = 0; final int bitsetLen = (length + 63) >> 6; final int bitsetOffset = srcOffset >> 6; @@ -50,9 +48,9 @@ public static void conditionalCopy( output.copyFromTypedArray(flipBase ? overInput : baseInput, srcOffset, dstOffset, length); final int srcEndOffset = srcOffset + length; - for (int ii = CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); - ii < srcEndOffset; - ii = CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { + for (int ii = + CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); ii < srcEndOffset; ii = + CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { output.set(dstOffset + ii - srcOffset, flipBase ? baseInput[ii] : overInput[ii]); } } @@ -60,10 +58,10 @@ public static void conditionalCopy( @Override public void conditionalCopy( WritableChunk output, Object baseInput, Object overInput, long[] useOverInput, - int srcOffset, int dstOffset, int length) - { + int srcOffset, int dstOffset, int length) { long[] typedBaseInput = (long[]) baseInput; long[] typedOverInput = (long[]) overInput; - conditionalCopy(output.asWritableLongChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, dstOffset, length); + conditionalCopy(output.asWritableLongChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, + dstOffset, length); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/ObjectCopyKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/ObjectCopyKernel.java index 92b55f5f642..2b1040671da 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/ObjectCopyKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/ObjectCopyKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.*; @@ -19,18 +19,17 @@ private ObjectCopyKernel() {} // use through the instance * Note that useOverInput should cover the same data range as baseInput such that * {@code useOverInput.length == (overInput.length + 63) / 64} is true. * - * @param output the output chunk - * @param baseInput the input array to use when bit in useOverInput is zero (array) - * @param overInput the input array to use when bit in useOverInput is one (array) + * @param output the output chunk + * @param baseInput the input array to use when bit in useOverInput is zero (array) + * @param overInput the input array to use when bit in useOverInput is one (array) * @param useOverInput the bitset array to indicate whether to use baseInput or overInput for each element - * @param srcOffset the offset in baseInput/overInput - * @param dstOffset the offset in output - * @param length the number of elements to copy + * @param srcOffset the offset in baseInput/overInput + * @param dstOffset the offset in output + * @param length the number of elements to copy */ public static void conditionalCopy( WritableObjectChunk output, Object[] baseInput, Object[] overInput, - long[] useOverInput, int srcOffset, int dstOffset, int length) - { + long[] useOverInput, int srcOffset, int dstOffset, int length) { int bitsSet = 0; final int bitsetLen = (length + 63) >> 6; final int bitsetOffset = srcOffset >> 6; @@ -44,9 +43,9 @@ public static void conditionalCopy( output.copyFromTypedArray(flipBase ? overInput : baseInput, srcOffset, dstOffset, length); final int srcEndOffset = srcOffset + length; - for (int ii = CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); - ii < srcEndOffset; - ii = CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { + for (int ii = + CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); ii < srcEndOffset; ii = + CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { output.set(dstOffset + ii - srcOffset, flipBase ? baseInput[ii] : overInput[ii]); } } @@ -54,10 +53,10 @@ public static void conditionalCopy( @Override public void conditionalCopy( WritableChunk output, Object baseInput, Object overInput, - long[] useOverInput, int srcOffset, int dstOffset, int length) - { + long[] useOverInput, int srcOffset, int dstOffset, int length) { Object[] typedBaseInput = (Object[]) baseInput; Object[] typedOverInput = (Object[]) overInput; - conditionalCopy(output.asWritableObjectChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, dstOffset, length); + conditionalCopy(output.asWritableObjectChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, + dstOffset, length); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/ShortCopyKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/ShortCopyKernel.java index ba7603e24f7..de61ba26833 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/ShortCopyKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/copy/ShortCopyKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharCopyKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharCopyKernel and run "./gradlew replicateCopyKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.*; @@ -25,18 +24,17 @@ private ShortCopyKernel() {} // use through the instance * Note that useOverInput should cover the same data range as baseInput such that * {@code useOverInput.length == (overInput.length + 63) / 64} is true. * - * @param output the output chunk - * @param baseInput the input array to use when bit in useOverInput is zero (array) - * @param overInput the input array to use when bit in useOverInput is one (array) + * @param output the output chunk + * @param baseInput the input array to use when bit in useOverInput is zero (array) + * @param overInput the input array to use when bit in useOverInput is one (array) * @param useOverInput the bitset array to indicate whether to use baseInput or overInput for each element - * @param srcOffset the offset in baseInput/overInput - * @param dstOffset the offset in output - * @param length the number of elements to copy + * @param srcOffset the offset in baseInput/overInput + * @param dstOffset the offset in output + * @param length the number of elements to copy */ public static void conditionalCopy( WritableShortChunk output, short[] baseInput, short[] overInput, long[] useOverInput, - int srcOffset, int dstOffset, int length) - { + int srcOffset, int dstOffset, int length) { int bitsSet = 0; final int bitsetLen = (length + 63) >> 6; final int bitsetOffset = srcOffset >> 6; @@ -50,9 +48,9 @@ public static void conditionalCopy( output.copyFromTypedArray(flipBase ? overInput : baseInput, srcOffset, dstOffset, length); final int srcEndOffset = srcOffset + length; - for (int ii = CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); - ii < srcEndOffset; - ii = CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { + for (int ii = + CopyKernel.Utils.nextSetBit(useOverInput, srcOffset, srcEndOffset, flipBase); ii < srcEndOffset; ii = + CopyKernel.Utils.nextSetBit(useOverInput, ii + 1, srcEndOffset, flipBase)) { output.set(dstOffset + ii - srcOffset, flipBase ? baseInput[ii] : overInput[ii]); } } @@ -60,10 +58,10 @@ public static void conditionalCopy( @Override public void conditionalCopy( WritableChunk output, Object baseInput, Object overInput, long[] useOverInput, - int srcOffset, int dstOffset, int length) - { + int srcOffset, int dstOffset, int length) { short[] typedBaseInput = (short[]) baseInput; short[] typedOverInput = (short[]) overInput; - conditionalCopy(output.asWritableShortChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, dstOffset, length); + conditionalCopy(output.asWritableShortChunk(), typedBaseInput, typedOverInput, useOverInput, srcOffset, + dstOffset, length); } } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/BooleanFreezeByHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/BooleanFreezeByHelper.java index 8420f569bd9..f77e703f522 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/BooleanFreezeByHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/BooleanFreezeByHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFreezeByHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFreezeByHelper and run "./gradlew replicateFreezeBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.freezeby; import io.deephaven.chunk.attributes.ChunkLengths; @@ -22,17 +21,19 @@ class BooleanFreezeByHelper implements FreezeByOperator.FreezeByHelper { private final FreezeByCountOperator rowCount; BooleanFreezeByHelper(WritableColumnSource resultSource, FreezeByCountOperator rowCount) { - this.resultSource = (BooleanArraySource)resultSource; + this.resultSource = (BooleanArraySource) resultSource; this.rowCount = rowCount; } @Override - public void addChunk(Chunk values, IntChunk startPositions, IntChunk destinations, IntChunk length) { + public void addChunk(Chunk values, IntChunk startPositions, + IntChunk destinations, IntChunk length) { final ObjectChunk asBoolean = values.asObjectChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int position = startPositions.get(ii); final int destination = destinations.get(position); - // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get ignored) + // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get + // ignored) if (rowCount.wasDestinationEmpty(destination)) { resultSource.set(destination, asBoolean.get(position)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/ByteFreezeByHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/ByteFreezeByHelper.java index 6301bcced08..49aad413f10 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/ByteFreezeByHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/ByteFreezeByHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFreezeByHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFreezeByHelper and run "./gradlew replicateFreezeBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.freezeby; import io.deephaven.chunk.attributes.ChunkLengths; @@ -22,17 +21,19 @@ class ByteFreezeByHelper implements FreezeByOperator.FreezeByHelper { private final FreezeByCountOperator rowCount; ByteFreezeByHelper(WritableColumnSource resultSource, FreezeByCountOperator rowCount) { - this.resultSource = (ByteArraySource)resultSource; + this.resultSource = (ByteArraySource) resultSource; this.rowCount = rowCount; } @Override - public void addChunk(Chunk values, IntChunk startPositions, IntChunk destinations, IntChunk length) { + public void addChunk(Chunk values, IntChunk startPositions, + IntChunk destinations, IntChunk length) { final ByteChunk asByte = values.asByteChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int position = startPositions.get(ii); final int destination = destinations.get(position); - // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get ignored) + // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get + // ignored) if (rowCount.wasDestinationEmpty(destination)) { resultSource.set(destination, asByte.get(position)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/CharFreezeByHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/CharFreezeByHelper.java index 7686aaa9fc2..6e9a60a798e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/CharFreezeByHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/CharFreezeByHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.freezeby; import io.deephaven.chunk.attributes.ChunkLengths; @@ -17,17 +17,19 @@ class CharFreezeByHelper implements FreezeByOperator.FreezeByHelper { private final FreezeByCountOperator rowCount; CharFreezeByHelper(WritableColumnSource resultSource, FreezeByCountOperator rowCount) { - this.resultSource = (CharacterArraySource)resultSource; + this.resultSource = (CharacterArraySource) resultSource; this.rowCount = rowCount; } @Override - public void addChunk(Chunk values, IntChunk startPositions, IntChunk destinations, IntChunk length) { + public void addChunk(Chunk values, IntChunk startPositions, + IntChunk destinations, IntChunk length) { final CharChunk asChar = values.asCharChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int position = startPositions.get(ii); final int destination = destinations.get(position); - // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get ignored) + // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get + // ignored) if (rowCount.wasDestinationEmpty(destination)) { resultSource.set(destination, asChar.get(position)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/DoubleFreezeByHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/DoubleFreezeByHelper.java index 0d43baf64fa..b55ef4757b4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/DoubleFreezeByHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/DoubleFreezeByHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFreezeByHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFreezeByHelper and run "./gradlew replicateFreezeBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.freezeby; import io.deephaven.chunk.attributes.ChunkLengths; @@ -22,17 +21,19 @@ class DoubleFreezeByHelper implements FreezeByOperator.FreezeByHelper { private final FreezeByCountOperator rowCount; DoubleFreezeByHelper(WritableColumnSource resultSource, FreezeByCountOperator rowCount) { - this.resultSource = (DoubleArraySource)resultSource; + this.resultSource = (DoubleArraySource) resultSource; this.rowCount = rowCount; } @Override - public void addChunk(Chunk values, IntChunk startPositions, IntChunk destinations, IntChunk length) { + public void addChunk(Chunk values, IntChunk startPositions, + IntChunk destinations, IntChunk length) { final DoubleChunk asDouble = values.asDoubleChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int position = startPositions.get(ii); final int destination = destinations.get(position); - // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get ignored) + // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get + // ignored) if (rowCount.wasDestinationEmpty(destination)) { resultSource.set(destination, asDouble.get(position)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/FloatFreezeByHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/FloatFreezeByHelper.java index 4ece8d45054..ab0036b4ad0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/FloatFreezeByHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/FloatFreezeByHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFreezeByHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFreezeByHelper and run "./gradlew replicateFreezeBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.freezeby; import io.deephaven.chunk.attributes.ChunkLengths; @@ -22,17 +21,19 @@ class FloatFreezeByHelper implements FreezeByOperator.FreezeByHelper { private final FreezeByCountOperator rowCount; FloatFreezeByHelper(WritableColumnSource resultSource, FreezeByCountOperator rowCount) { - this.resultSource = (FloatArraySource)resultSource; + this.resultSource = (FloatArraySource) resultSource; this.rowCount = rowCount; } @Override - public void addChunk(Chunk values, IntChunk startPositions, IntChunk destinations, IntChunk length) { + public void addChunk(Chunk values, IntChunk startPositions, + IntChunk destinations, IntChunk length) { final FloatChunk asFloat = values.asFloatChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int position = startPositions.get(ii); final int destination = destinations.get(position); - // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get ignored) + // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get + // ignored) if (rowCount.wasDestinationEmpty(destination)) { resultSource.set(destination, asFloat.get(position)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/FreezeByCountOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/FreezeByCountOperator.java index 31a3a2c0359..b5aba3b6f0c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/FreezeByCountOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/FreezeByCountOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.freezeby; import io.deephaven.chunk.attributes.ChunkLengths; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/FreezeByOperator.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/FreezeByOperator.java index f5a707bd815..76a08017819 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/FreezeByOperator.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/FreezeByOperator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.freezeby; import io.deephaven.chunk.attributes.ChunkLengths; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/IntFreezeByHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/IntFreezeByHelper.java index 3aad16995fc..026c106840a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/IntFreezeByHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/IntFreezeByHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFreezeByHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFreezeByHelper and run "./gradlew replicateFreezeBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.freezeby; import io.deephaven.chunk.attributes.ChunkLengths; @@ -22,17 +21,19 @@ class IntFreezeByHelper implements FreezeByOperator.FreezeByHelper { private final FreezeByCountOperator rowCount; IntFreezeByHelper(WritableColumnSource resultSource, FreezeByCountOperator rowCount) { - this.resultSource = (IntegerArraySource)resultSource; + this.resultSource = (IntegerArraySource) resultSource; this.rowCount = rowCount; } @Override - public void addChunk(Chunk values, IntChunk startPositions, IntChunk destinations, IntChunk length) { + public void addChunk(Chunk values, IntChunk startPositions, + IntChunk destinations, IntChunk length) { final IntChunk asInt = values.asIntChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int position = startPositions.get(ii); final int destination = destinations.get(position); - // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get ignored) + // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get + // ignored) if (rowCount.wasDestinationEmpty(destination)) { resultSource.set(destination, asInt.get(position)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/LongFreezeByHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/LongFreezeByHelper.java index 633d7c9c5c7..06b37417f98 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/LongFreezeByHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/LongFreezeByHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFreezeByHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFreezeByHelper and run "./gradlew replicateFreezeBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.freezeby; import io.deephaven.chunk.attributes.ChunkLengths; @@ -22,17 +21,19 @@ class LongFreezeByHelper implements FreezeByOperator.FreezeByHelper { private final FreezeByCountOperator rowCount; LongFreezeByHelper(WritableColumnSource resultSource, FreezeByCountOperator rowCount) { - this.resultSource = (LongArraySource)resultSource; + this.resultSource = (LongArraySource) resultSource; this.rowCount = rowCount; } @Override - public void addChunk(Chunk values, IntChunk startPositions, IntChunk destinations, IntChunk length) { + public void addChunk(Chunk values, IntChunk startPositions, + IntChunk destinations, IntChunk length) { final LongChunk asLong = values.asLongChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int position = startPositions.get(ii); final int destination = destinations.get(position); - // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get ignored) + // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get + // ignored) if (rowCount.wasDestinationEmpty(destination)) { resultSource.set(destination, asLong.get(position)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/ObjectFreezeByHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/ObjectFreezeByHelper.java index 736690373c3..b2d44bb4066 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/ObjectFreezeByHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/ObjectFreezeByHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFreezeByHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFreezeByHelper and run "./gradlew replicateFreezeBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.freezeby; import io.deephaven.chunk.attributes.ChunkLengths; @@ -22,17 +21,19 @@ class ObjectFreezeByHelper implements FreezeByOperator.FreezeByHelper { private final FreezeByCountOperator rowCount; ObjectFreezeByHelper(WritableColumnSource resultSource, FreezeByCountOperator rowCount) { - this.resultSource = (ObjectArraySource)resultSource; + this.resultSource = (ObjectArraySource) resultSource; this.rowCount = rowCount; } @Override - public void addChunk(Chunk values, IntChunk startPositions, IntChunk destinations, IntChunk length) { + public void addChunk(Chunk values, IntChunk startPositions, + IntChunk destinations, IntChunk length) { final ObjectChunk asObject = values.asObjectChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int position = startPositions.get(ii); final int destination = destinations.get(position); - // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get ignored) + // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get + // ignored) if (rowCount.wasDestinationEmpty(destination)) { resultSource.set(destination, asObject.get(position)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/ShortFreezeByHelper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/ShortFreezeByHelper.java index bb3e9b8df51..3249d19778e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/ShortFreezeByHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/freezeby/ShortFreezeByHelper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharFreezeByHelper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharFreezeByHelper and run "./gradlew replicateFreezeBy" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.freezeby; import io.deephaven.chunk.attributes.ChunkLengths; @@ -22,17 +21,19 @@ class ShortFreezeByHelper implements FreezeByOperator.FreezeByHelper { private final FreezeByCountOperator rowCount; ShortFreezeByHelper(WritableColumnSource resultSource, FreezeByCountOperator rowCount) { - this.resultSource = (ShortArraySource)resultSource; + this.resultSource = (ShortArraySource) resultSource; this.rowCount = rowCount; } @Override - public void addChunk(Chunk values, IntChunk startPositions, IntChunk destinations, IntChunk length) { + public void addChunk(Chunk values, IntChunk startPositions, + IntChunk destinations, IntChunk length) { final ShortChunk asShort = values.asShortChunk(); for (int ii = 0; ii < startPositions.size(); ++ii) { final int position = startPositions.get(ii); final int destination = destinations.get(position); - // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get ignored) + // if there is just row churn for a key, we don't want to re-snapshot the value (adds/removes just get + // ignored) if (rowCount.wasDestinationEmpty(destination)) { resultSource.set(destination, asShort.get(position)); } diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/BooleanReverseKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/BooleanReverseKernel.java index 5d3b9e45afc..33e98f4f223 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/BooleanReverseKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/BooleanReverseKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharReverseKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharReverseKernel and run "./gradlew replicateReverseKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.reverse; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/ByteReverseKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/ByteReverseKernel.java index adfad3da26b..d18b3eb3683 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/ByteReverseKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/ByteReverseKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharReverseKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharReverseKernel and run "./gradlew replicateReverseKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.reverse; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/CharReverseKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/CharReverseKernel.java index d14b7e157f9..b7e08c26660 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/CharReverseKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/CharReverseKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.reverse; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/DoubleReverseKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/DoubleReverseKernel.java index 187ab558a3e..a7a3740fe68 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/DoubleReverseKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/DoubleReverseKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharReverseKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharReverseKernel and run "./gradlew replicateReverseKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.reverse; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/FloatReverseKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/FloatReverseKernel.java index 00776f5c303..d05e500cf09 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/FloatReverseKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/FloatReverseKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharReverseKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharReverseKernel and run "./gradlew replicateReverseKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.reverse; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/IntReverseKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/IntReverseKernel.java index 5da22132b8e..fb0d792e8ab 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/IntReverseKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/IntReverseKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharReverseKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharReverseKernel and run "./gradlew replicateReverseKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.reverse; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/LongReverseKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/LongReverseKernel.java index cf244cab2a3..d7b2a02cbc3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/LongReverseKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/LongReverseKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharReverseKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharReverseKernel and run "./gradlew replicateReverseKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.reverse; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/ObjectReverseKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/ObjectReverseKernel.java index f437d6e9452..50758f6c1fc 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/ObjectReverseKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/ObjectReverseKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.reverse; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/ReverseKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/ReverseKernel.java index 5fc78eb0b64..e3229382562 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/ReverseKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/ReverseKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.reverse; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/ShortReverseKernel.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/ShortReverseKernel.java index 189631df079..308037d8174 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/ShortReverseKernel.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/reverse/ShortReverseKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharReverseKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharReverseKernel and run "./gradlew replicateReverseKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.reverse; import io.deephaven.chunk.*; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/ByteUnboxer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/ByteUnboxer.java index 284d9ef161d..9c2ca9e529a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/ByteUnboxer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/ByteUnboxer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharUnboxer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharUnboxer and run "./gradlew replicateUnboxerKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.unboxer; import io.deephaven.chunk.*; @@ -32,11 +31,13 @@ public ByteChunk unbox(ObjectChunk boxed) } @Override - public void unboxTo(ObjectChunk boxed, WritableChunk primitives, int sourceOffset, int destOffset) { + public void unboxTo(ObjectChunk boxed, WritableChunk primitives, + int sourceOffset, int destOffset) { unboxTo(boxed, primitives.asWritableByteChunk(), sourceOffset, destOffset); } - public static void unboxTo(ObjectChunk boxed, WritableByteChunk primitives, int sourceOffset, int destOffset) { + public static void unboxTo(ObjectChunk boxed, WritableByteChunk primitives, + int sourceOffset, int destOffset) { final ObjectChunk byteChunk = boxed.asObjectChunk(); for (int ii = 0; ii < boxed.size(); ++ii) { primitives.set(ii + destOffset, TypeUtils.unbox(byteChunk.get(ii + sourceOffset))); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/CharUnboxer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/CharUnboxer.java index 3a549ecb789..be9fb5034b2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/CharUnboxer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/CharUnboxer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.unboxer; import io.deephaven.chunk.*; @@ -27,11 +27,13 @@ public CharChunk unbox(ObjectChunk boxed) } @Override - public void unboxTo(ObjectChunk boxed, WritableChunk primitives, int sourceOffset, int destOffset) { + public void unboxTo(ObjectChunk boxed, WritableChunk primitives, + int sourceOffset, int destOffset) { unboxTo(boxed, primitives.asWritableCharChunk(), sourceOffset, destOffset); } - public static void unboxTo(ObjectChunk boxed, WritableCharChunk primitives, int sourceOffset, int destOffset) { + public static void unboxTo(ObjectChunk boxed, WritableCharChunk primitives, + int sourceOffset, int destOffset) { final ObjectChunk charChunk = boxed.asObjectChunk(); for (int ii = 0; ii < boxed.size(); ++ii) { primitives.set(ii + destOffset, TypeUtils.unbox(charChunk.get(ii + sourceOffset))); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/ChunkUnboxer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/ChunkUnboxer.java index 9e4679330fc..52ad0f98c20 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/ChunkUnboxer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/ChunkUnboxer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.unboxer; import io.deephaven.engine.table.Context; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/DoubleUnboxer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/DoubleUnboxer.java index e812768336f..1cc018dfbda 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/DoubleUnboxer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/DoubleUnboxer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharUnboxer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharUnboxer and run "./gradlew replicateUnboxerKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.unboxer; import io.deephaven.chunk.*; @@ -32,11 +31,13 @@ public DoubleChunk unbox(ObjectChunk boxe } @Override - public void unboxTo(ObjectChunk boxed, WritableChunk primitives, int sourceOffset, int destOffset) { + public void unboxTo(ObjectChunk boxed, WritableChunk primitives, + int sourceOffset, int destOffset) { unboxTo(boxed, primitives.asWritableDoubleChunk(), sourceOffset, destOffset); } - public static void unboxTo(ObjectChunk boxed, WritableDoubleChunk primitives, int sourceOffset, int destOffset) { + public static void unboxTo(ObjectChunk boxed, WritableDoubleChunk primitives, + int sourceOffset, int destOffset) { final ObjectChunk doubleChunk = boxed.asObjectChunk(); for (int ii = 0; ii < boxed.size(); ++ii) { primitives.set(ii + destOffset, TypeUtils.unbox(doubleChunk.get(ii + sourceOffset))); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/FloatUnboxer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/FloatUnboxer.java index a877a852e89..1a43fb292aa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/FloatUnboxer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/FloatUnboxer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharUnboxer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharUnboxer and run "./gradlew replicateUnboxerKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.unboxer; import io.deephaven.chunk.*; @@ -32,11 +31,13 @@ public FloatChunk unbox(ObjectChunk boxed } @Override - public void unboxTo(ObjectChunk boxed, WritableChunk primitives, int sourceOffset, int destOffset) { + public void unboxTo(ObjectChunk boxed, WritableChunk primitives, + int sourceOffset, int destOffset) { unboxTo(boxed, primitives.asWritableFloatChunk(), sourceOffset, destOffset); } - public static void unboxTo(ObjectChunk boxed, WritableFloatChunk primitives, int sourceOffset, int destOffset) { + public static void unboxTo(ObjectChunk boxed, WritableFloatChunk primitives, + int sourceOffset, int destOffset) { final ObjectChunk floatChunk = boxed.asObjectChunk(); for (int ii = 0; ii < boxed.size(); ++ii) { primitives.set(ii + destOffset, TypeUtils.unbox(floatChunk.get(ii + sourceOffset))); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/IntUnboxer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/IntUnboxer.java index 75d412d9538..c9cbf494fd8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/IntUnboxer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/IntUnboxer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharUnboxer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharUnboxer and run "./gradlew replicateUnboxerKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.unboxer; import io.deephaven.chunk.*; @@ -32,11 +31,13 @@ public IntChunk unbox(ObjectChunk boxed) } @Override - public void unboxTo(ObjectChunk boxed, WritableChunk primitives, int sourceOffset, int destOffset) { + public void unboxTo(ObjectChunk boxed, WritableChunk primitives, + int sourceOffset, int destOffset) { unboxTo(boxed, primitives.asWritableIntChunk(), sourceOffset, destOffset); } - public static void unboxTo(ObjectChunk boxed, WritableIntChunk primitives, int sourceOffset, int destOffset) { + public static void unboxTo(ObjectChunk boxed, WritableIntChunk primitives, + int sourceOffset, int destOffset) { final ObjectChunk intChunk = boxed.asObjectChunk(); for (int ii = 0; ii < boxed.size(); ++ii) { primitives.set(ii + destOffset, TypeUtils.unbox(intChunk.get(ii + sourceOffset))); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/LongUnboxer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/LongUnboxer.java index 35ae361dd24..1f9976e8c8a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/LongUnboxer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/LongUnboxer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharUnboxer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharUnboxer and run "./gradlew replicateUnboxerKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.unboxer; import io.deephaven.chunk.*; @@ -32,11 +31,13 @@ public LongChunk unbox(ObjectChunk boxed) } @Override - public void unboxTo(ObjectChunk boxed, WritableChunk primitives, int sourceOffset, int destOffset) { + public void unboxTo(ObjectChunk boxed, WritableChunk primitives, + int sourceOffset, int destOffset) { unboxTo(boxed, primitives.asWritableLongChunk(), sourceOffset, destOffset); } - public static void unboxTo(ObjectChunk boxed, WritableLongChunk primitives, int sourceOffset, int destOffset) { + public static void unboxTo(ObjectChunk boxed, WritableLongChunk primitives, + int sourceOffset, int destOffset) { final ObjectChunk longChunk = boxed.asObjectChunk(); for (int ii = 0; ii < boxed.size(); ++ii) { primitives.set(ii + destOffset, TypeUtils.unbox(longChunk.get(ii + sourceOffset))); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/ShortUnboxer.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/ShortUnboxer.java index 32446428fde..095baa68a9b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/ShortUnboxer.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/util/unboxer/ShortUnboxer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharUnboxer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharUnboxer and run "./gradlew replicateUnboxerKernel" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.unboxer; import io.deephaven.chunk.*; @@ -32,11 +31,13 @@ public ShortChunk unbox(ObjectChunk boxed } @Override - public void unboxTo(ObjectChunk boxed, WritableChunk primitives, int sourceOffset, int destOffset) { + public void unboxTo(ObjectChunk boxed, WritableChunk primitives, + int sourceOffset, int destOffset) { unboxTo(boxed, primitives.asWritableShortChunk(), sourceOffset, destOffset); } - public static void unboxTo(ObjectChunk boxed, WritableShortChunk primitives, int sourceOffset, int destOffset) { + public static void unboxTo(ObjectChunk boxed, WritableShortChunk primitives, + int sourceOffset, int destOffset) { final ObjectChunk shortChunk = boxed.asObjectChunk(); for (int ii = 0; ii < boxed.size(); ++ii) { primitives.set(ii + destOffset, TypeUtils.unbox(shortChunk.get(ii + sourceOffset))); diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/ByteVectorColumnWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/ByteVectorColumnWrapper.java index b3504e8bb4e..b5e311d977f 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/ByteVectorColumnWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/ByteVectorColumnWrapper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorColumnWrapper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorColumnWrapper and run "./gradlew replicateVectorColumnWrappers" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.vector; import io.deephaven.base.ClampUtil; @@ -157,7 +156,8 @@ public CloseablePrimitiveIteratorOfByte iterator(final long fromIndexInclusive, final long rowSetSize = rowSet.size(); if (startPadding == 0 && endPadding == 0 && fromIndexInclusive == 0 && toIndexExclusive == rowSetSize) { if (rowSetSize >= CHUNKED_COLUMN_ITERATOR_SIZE_THRESHOLD) { - return new ChunkedByteColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, rowSet.firstRowKey(), rowSetSize); + return new ChunkedByteColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, + rowSet.firstRowKey(), rowSetSize); } else { return new SerialByteColumnIterator(columnSource, rowSet, rowSet.firstRowKey(), rowSetSize); } @@ -192,10 +192,11 @@ public CloseablePrimitiveIteratorOfByte iterator(final long fromIndexInclusive, ? repeat(NULL_BYTE, includedInitialNulls) : null; final CloseablePrimitiveIteratorOfByte rowsIterator = includedRows > CHUNKED_COLUMN_ITERATOR_SIZE_THRESHOLD - ? new ChunkedByteColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, firstIncludedRowKey, includedRows) + ? new ChunkedByteColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, firstIncludedRowKey, + includedRows) : includedRows > 0 - ? new SerialByteColumnIterator(columnSource, rowSet, firstIncludedRowKey, includedRows) - : null; + ? new SerialByteColumnIterator(columnSource, rowSet, firstIncludedRowKey, includedRows) + : null; final CloseablePrimitiveIteratorOfByte finalNullsIterator = remaining > 0 ? repeat(NULL_BYTE, remaining) : null; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/CharVectorColumnWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/CharVectorColumnWrapper.java index d9cc7e51a30..0f0f82f78d8 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/CharVectorColumnWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/CharVectorColumnWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.vector; import io.deephaven.base.ClampUtil; @@ -152,7 +152,8 @@ public CloseablePrimitiveIteratorOfChar iterator(final long fromIndexInclusive, final long rowSetSize = rowSet.size(); if (startPadding == 0 && endPadding == 0 && fromIndexInclusive == 0 && toIndexExclusive == rowSetSize) { if (rowSetSize >= CHUNKED_COLUMN_ITERATOR_SIZE_THRESHOLD) { - return new ChunkedCharacterColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, rowSet.firstRowKey(), rowSetSize); + return new ChunkedCharacterColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, + rowSet.firstRowKey(), rowSetSize); } else { return new SerialCharacterColumnIterator(columnSource, rowSet, rowSet.firstRowKey(), rowSetSize); } @@ -187,10 +188,11 @@ public CloseablePrimitiveIteratorOfChar iterator(final long fromIndexInclusive, ? repeat(NULL_CHAR, includedInitialNulls) : null; final CloseablePrimitiveIteratorOfChar rowsIterator = includedRows > CHUNKED_COLUMN_ITERATOR_SIZE_THRESHOLD - ? new ChunkedCharacterColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, firstIncludedRowKey, includedRows) + ? new ChunkedCharacterColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, firstIncludedRowKey, + includedRows) : includedRows > 0 - ? new SerialCharacterColumnIterator(columnSource, rowSet, firstIncludedRowKey, includedRows) - : null; + ? new SerialCharacterColumnIterator(columnSource, rowSet, firstIncludedRowKey, includedRows) + : null; final CloseablePrimitiveIteratorOfChar finalNullsIterator = remaining > 0 ? repeat(NULL_CHAR, remaining) : null; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/DoubleVectorColumnWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/DoubleVectorColumnWrapper.java index e82259a2a8a..2e34b276206 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/DoubleVectorColumnWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/DoubleVectorColumnWrapper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorColumnWrapper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorColumnWrapper and run "./gradlew replicateVectorColumnWrappers" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.vector; import io.deephaven.base.ClampUtil; @@ -157,7 +156,8 @@ public CloseablePrimitiveIteratorOfDouble iterator(final long fromIndexInclusive final long rowSetSize = rowSet.size(); if (startPadding == 0 && endPadding == 0 && fromIndexInclusive == 0 && toIndexExclusive == rowSetSize) { if (rowSetSize >= CHUNKED_COLUMN_ITERATOR_SIZE_THRESHOLD) { - return new ChunkedDoubleColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, rowSet.firstRowKey(), rowSetSize); + return new ChunkedDoubleColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, + rowSet.firstRowKey(), rowSetSize); } else { return new SerialDoubleColumnIterator(columnSource, rowSet, rowSet.firstRowKey(), rowSetSize); } @@ -192,10 +192,11 @@ public CloseablePrimitiveIteratorOfDouble iterator(final long fromIndexInclusive ? repeat(NULL_DOUBLE, includedInitialNulls) : null; final CloseablePrimitiveIteratorOfDouble rowsIterator = includedRows > CHUNKED_COLUMN_ITERATOR_SIZE_THRESHOLD - ? new ChunkedDoubleColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, firstIncludedRowKey, includedRows) + ? new ChunkedDoubleColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, firstIncludedRowKey, + includedRows) : includedRows > 0 - ? new SerialDoubleColumnIterator(columnSource, rowSet, firstIncludedRowKey, includedRows) - : null; + ? new SerialDoubleColumnIterator(columnSource, rowSet, firstIncludedRowKey, includedRows) + : null; final CloseablePrimitiveIteratorOfDouble finalNullsIterator = remaining > 0 ? repeat(NULL_DOUBLE, remaining) : null; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/FloatVectorColumnWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/FloatVectorColumnWrapper.java index ceb24a0ce93..f4e595d080e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/FloatVectorColumnWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/FloatVectorColumnWrapper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorColumnWrapper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorColumnWrapper and run "./gradlew replicateVectorColumnWrappers" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.vector; import io.deephaven.base.ClampUtil; @@ -157,7 +156,8 @@ public CloseablePrimitiveIteratorOfFloat iterator(final long fromIndexInclusive, final long rowSetSize = rowSet.size(); if (startPadding == 0 && endPadding == 0 && fromIndexInclusive == 0 && toIndexExclusive == rowSetSize) { if (rowSetSize >= CHUNKED_COLUMN_ITERATOR_SIZE_THRESHOLD) { - return new ChunkedFloatColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, rowSet.firstRowKey(), rowSetSize); + return new ChunkedFloatColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, + rowSet.firstRowKey(), rowSetSize); } else { return new SerialFloatColumnIterator(columnSource, rowSet, rowSet.firstRowKey(), rowSetSize); } @@ -192,10 +192,11 @@ public CloseablePrimitiveIteratorOfFloat iterator(final long fromIndexInclusive, ? repeat(NULL_FLOAT, includedInitialNulls) : null; final CloseablePrimitiveIteratorOfFloat rowsIterator = includedRows > CHUNKED_COLUMN_ITERATOR_SIZE_THRESHOLD - ? new ChunkedFloatColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, firstIncludedRowKey, includedRows) + ? new ChunkedFloatColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, firstIncludedRowKey, + includedRows) : includedRows > 0 - ? new SerialFloatColumnIterator(columnSource, rowSet, firstIncludedRowKey, includedRows) - : null; + ? new SerialFloatColumnIterator(columnSource, rowSet, firstIncludedRowKey, includedRows) + : null; final CloseablePrimitiveIteratorOfFloat finalNullsIterator = remaining > 0 ? repeat(NULL_FLOAT, remaining) : null; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/IntVectorColumnWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/IntVectorColumnWrapper.java index b86ed6c79a8..0289a5d52ad 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/IntVectorColumnWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/IntVectorColumnWrapper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorColumnWrapper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorColumnWrapper and run "./gradlew replicateVectorColumnWrappers" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.vector; import io.deephaven.base.ClampUtil; @@ -157,7 +156,8 @@ public CloseablePrimitiveIteratorOfInt iterator(final long fromIndexInclusive, f final long rowSetSize = rowSet.size(); if (startPadding == 0 && endPadding == 0 && fromIndexInclusive == 0 && toIndexExclusive == rowSetSize) { if (rowSetSize >= CHUNKED_COLUMN_ITERATOR_SIZE_THRESHOLD) { - return new ChunkedIntegerColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, rowSet.firstRowKey(), rowSetSize); + return new ChunkedIntegerColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, + rowSet.firstRowKey(), rowSetSize); } else { return new SerialIntegerColumnIterator(columnSource, rowSet, rowSet.firstRowKey(), rowSetSize); } @@ -192,10 +192,11 @@ public CloseablePrimitiveIteratorOfInt iterator(final long fromIndexInclusive, f ? repeat(NULL_INT, includedInitialNulls) : null; final CloseablePrimitiveIteratorOfInt rowsIterator = includedRows > CHUNKED_COLUMN_ITERATOR_SIZE_THRESHOLD - ? new ChunkedIntegerColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, firstIncludedRowKey, includedRows) + ? new ChunkedIntegerColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, firstIncludedRowKey, + includedRows) : includedRows > 0 - ? new SerialIntegerColumnIterator(columnSource, rowSet, firstIncludedRowKey, includedRows) - : null; + ? new SerialIntegerColumnIterator(columnSource, rowSet, firstIncludedRowKey, includedRows) + : null; final CloseablePrimitiveIteratorOfInt finalNullsIterator = remaining > 0 ? repeat(NULL_INT, remaining) : null; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/LongVectorColumnWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/LongVectorColumnWrapper.java index feb0e5aebd5..aaa37ea4e90 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/LongVectorColumnWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/LongVectorColumnWrapper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorColumnWrapper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorColumnWrapper and run "./gradlew replicateVectorColumnWrappers" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.vector; import io.deephaven.base.ClampUtil; @@ -157,7 +156,8 @@ public CloseablePrimitiveIteratorOfLong iterator(final long fromIndexInclusive, final long rowSetSize = rowSet.size(); if (startPadding == 0 && endPadding == 0 && fromIndexInclusive == 0 && toIndexExclusive == rowSetSize) { if (rowSetSize >= CHUNKED_COLUMN_ITERATOR_SIZE_THRESHOLD) { - return new ChunkedLongColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, rowSet.firstRowKey(), rowSetSize); + return new ChunkedLongColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, + rowSet.firstRowKey(), rowSetSize); } else { return new SerialLongColumnIterator(columnSource, rowSet, rowSet.firstRowKey(), rowSetSize); } @@ -192,10 +192,11 @@ public CloseablePrimitiveIteratorOfLong iterator(final long fromIndexInclusive, ? repeat(NULL_LONG, includedInitialNulls) : null; final CloseablePrimitiveIteratorOfLong rowsIterator = includedRows > CHUNKED_COLUMN_ITERATOR_SIZE_THRESHOLD - ? new ChunkedLongColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, firstIncludedRowKey, includedRows) + ? new ChunkedLongColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, firstIncludedRowKey, + includedRows) : includedRows > 0 - ? new SerialLongColumnIterator(columnSource, rowSet, firstIncludedRowKey, includedRows) - : null; + ? new SerialLongColumnIterator(columnSource, rowSet, firstIncludedRowKey, includedRows) + : null; final CloseablePrimitiveIteratorOfLong finalNullsIterator = remaining > 0 ? repeat(NULL_LONG, remaining) : null; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/ObjectVectorColumnWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/ObjectVectorColumnWrapper.java index e4ccae7e6c4..52765da0efd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/ObjectVectorColumnWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/ObjectVectorColumnWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.vector; import io.deephaven.base.ClampUtil; @@ -153,7 +153,8 @@ public CloseableIterator iterator(final long fromIndexInclusive, final long t final long rowSetSize = rowSet.size(); if (startPadding == 0 && endPadding == 0 && fromIndexInclusive == 0 && toIndexExclusive == rowSetSize) { if (rowSetSize >= CHUNKED_COLUMN_ITERATOR_SIZE_THRESHOLD) { - return new ChunkedObjectColumnIterator<>(columnSource, rowSet, DEFAULT_CHUNK_SIZE, rowSet.firstRowKey(), rowSetSize); + return new ChunkedObjectColumnIterator<>(columnSource, rowSet, DEFAULT_CHUNK_SIZE, rowSet.firstRowKey(), + rowSetSize); } else { return new SerialObjectColumnIterator<>(columnSource, rowSet, rowSet.firstRowKey(), rowSetSize); } @@ -188,10 +189,11 @@ public CloseableIterator iterator(final long fromIndexInclusive, final long t ? repeat(null, includedInitialNulls) : null; final CloseableIterator rowsIterator = includedRows > CHUNKED_COLUMN_ITERATOR_SIZE_THRESHOLD - ? new ChunkedObjectColumnIterator<>(columnSource, rowSet, DEFAULT_CHUNK_SIZE, firstIncludedRowKey, includedRows) + ? new ChunkedObjectColumnIterator<>(columnSource, rowSet, DEFAULT_CHUNK_SIZE, firstIncludedRowKey, + includedRows) : includedRows > 0 - ? new SerialObjectColumnIterator<>(columnSource, rowSet, firstIncludedRowKey, includedRows) - : null; + ? new SerialObjectColumnIterator<>(columnSource, rowSet, firstIncludedRowKey, includedRows) + : null; final CloseableIterator finalNullsIterator = remaining > 0 ? repeat(null, remaining) : null; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/ShortVectorColumnWrapper.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/ShortVectorColumnWrapper.java index ab319bcce2f..5ee8f9bd67b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/ShortVectorColumnWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/ShortVectorColumnWrapper.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorColumnWrapper and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorColumnWrapper and run "./gradlew replicateVectorColumnWrappers" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.vector; import io.deephaven.base.ClampUtil; @@ -157,7 +156,8 @@ public CloseablePrimitiveIteratorOfShort iterator(final long fromIndexInclusive, final long rowSetSize = rowSet.size(); if (startPadding == 0 && endPadding == 0 && fromIndexInclusive == 0 && toIndexExclusive == rowSetSize) { if (rowSetSize >= CHUNKED_COLUMN_ITERATOR_SIZE_THRESHOLD) { - return new ChunkedShortColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, rowSet.firstRowKey(), rowSetSize); + return new ChunkedShortColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, + rowSet.firstRowKey(), rowSetSize); } else { return new SerialShortColumnIterator(columnSource, rowSet, rowSet.firstRowKey(), rowSetSize); } @@ -192,10 +192,11 @@ public CloseablePrimitiveIteratorOfShort iterator(final long fromIndexInclusive, ? repeat(NULL_SHORT, includedInitialNulls) : null; final CloseablePrimitiveIteratorOfShort rowsIterator = includedRows > CHUNKED_COLUMN_ITERATOR_SIZE_THRESHOLD - ? new ChunkedShortColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, firstIncludedRowKey, includedRows) + ? new ChunkedShortColumnIterator(columnSource, rowSet, DEFAULT_CHUNK_SIZE, firstIncludedRowKey, + includedRows) : includedRows > 0 - ? new SerialShortColumnIterator(columnSource, rowSet, firstIncludedRowKey, includedRows) - : null; + ? new SerialShortColumnIterator(columnSource, rowSet, firstIncludedRowKey, includedRows) + : null; final CloseablePrimitiveIteratorOfShort finalNullsIterator = remaining > 0 ? repeat(NULL_SHORT, remaining) : null; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/VectorColumnWrapperConstants.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/VectorColumnWrapperConstants.java index 41519edb44f..0a658b278d5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/VectorColumnWrapperConstants.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/vector/VectorColumnWrapperConstants.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.vector; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/AppendOnlyAssertionFailure.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/AppendOnlyAssertionFailure.java index f04939f4fc4..3f3231559b3 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/AppendOnlyAssertionFailure.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/AppendOnlyAssertionFailure.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.verify; public class AppendOnlyAssertionFailure extends TableAssertionFailure { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/AppendOnlyAssertionInstrumentedListenerAdapter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/AppendOnlyAssertionInstrumentedListenerAdapter.java index f6b9598bce0..92ad4873ec9 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/AppendOnlyAssertionInstrumentedListenerAdapter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/AppendOnlyAssertionInstrumentedListenerAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.verify; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/SortedAssertionFailure.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/SortedAssertionFailure.java index a83f8c3d7ba..8018a9c2230 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/SortedAssertionFailure.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/SortedAssertionFailure.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.verify; import io.deephaven.engine.table.impl.SortingOrder; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/SortedAssertionInstrumentedListenerAdapter.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/SortedAssertionInstrumentedListenerAdapter.java index 2eeca11372f..e2e9610dcb4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/SortedAssertionInstrumentedListenerAdapter.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/SortedAssertionInstrumentedListenerAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.verify; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/TableAssertionFailure.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/TableAssertionFailure.java index bdfa4d19546..b67c0747020 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/TableAssertionFailure.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/TableAssertionFailure.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.verify; public class TableAssertionFailure extends RuntimeException { diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/TableAssertions.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/TableAssertions.java index 0fc7a836a08..0ee56dee076 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/TableAssertions.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/verify/TableAssertions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.verify; import io.deephaven.engine.table.TableUpdateListener; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/lang/impl/QueryLibraryImportsConfiguration.java b/engine/table/src/main/java/io/deephaven/engine/table/lang/impl/QueryLibraryImportsConfiguration.java index 2670f0b9c98..e917987406b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/lang/impl/QueryLibraryImportsConfiguration.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/lang/impl/QueryLibraryImportsConfiguration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.lang.impl; import com.google.auto.service.AutoService; diff --git a/engine/table/src/main/java/io/deephaven/engine/table/lang/impl/QueryLibraryImportsDefaults.java b/engine/table/src/main/java/io/deephaven/engine/table/lang/impl/QueryLibraryImportsDefaults.java index 1226d44b388..bb799b0dffa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/lang/impl/QueryLibraryImportsDefaults.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/lang/impl/QueryLibraryImportsDefaults.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.lang.impl; import com.google.auto.service.AutoService; diff --git a/engine/table/src/main/java/io/deephaven/engine/tablelogger/EngineTableLoggers.java b/engine/table/src/main/java/io/deephaven/engine/tablelogger/EngineTableLoggers.java index 9ba69aa5bf0..842b1d6f055 100644 --- a/engine/table/src/main/java/io/deephaven/engine/tablelogger/EngineTableLoggers.java +++ b/engine/table/src/main/java/io/deephaven/engine/tablelogger/EngineTableLoggers.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.tablelogger; /** diff --git a/engine/table/src/main/java/io/deephaven/engine/tablelogger/ProcessInfoLogLogger.java b/engine/table/src/main/java/io/deephaven/engine/tablelogger/ProcessInfoLogLogger.java index a4202d99f1c..b8991c9301a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/tablelogger/ProcessInfoLogLogger.java +++ b/engine/table/src/main/java/io/deephaven/engine/tablelogger/ProcessInfoLogLogger.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.tablelogger; import io.deephaven.tablelogger.Row; diff --git a/engine/table/src/main/java/io/deephaven/engine/tablelogger/ProcessMetricsLogLogger.java b/engine/table/src/main/java/io/deephaven/engine/tablelogger/ProcessMetricsLogLogger.java index 1a59c873337..dc9296a0919 100644 --- a/engine/table/src/main/java/io/deephaven/engine/tablelogger/ProcessMetricsLogLogger.java +++ b/engine/table/src/main/java/io/deephaven/engine/tablelogger/ProcessMetricsLogLogger.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.tablelogger; import io.deephaven.tablelogger.Row; diff --git a/engine/table/src/main/java/io/deephaven/engine/tablelogger/QueryOperationPerformanceLogLogger.java b/engine/table/src/main/java/io/deephaven/engine/tablelogger/QueryOperationPerformanceLogLogger.java index 1b828022a00..cdd65288c0a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/tablelogger/QueryOperationPerformanceLogLogger.java +++ b/engine/table/src/main/java/io/deephaven/engine/tablelogger/QueryOperationPerformanceLogLogger.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.tablelogger; import io.deephaven.engine.table.impl.perf.QueryPerformanceNugget; diff --git a/engine/table/src/main/java/io/deephaven/engine/tablelogger/QueryPerformanceLogLogger.java b/engine/table/src/main/java/io/deephaven/engine/tablelogger/QueryPerformanceLogLogger.java index 97a7aa0c834..84aa51248d2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/tablelogger/QueryPerformanceLogLogger.java +++ b/engine/table/src/main/java/io/deephaven/engine/tablelogger/QueryPerformanceLogLogger.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.tablelogger; import io.deephaven.engine.table.impl.perf.QueryPerformanceNugget; diff --git a/engine/table/src/main/java/io/deephaven/engine/tablelogger/ServerStateLogLogger.java b/engine/table/src/main/java/io/deephaven/engine/tablelogger/ServerStateLogLogger.java index ade544b1967..defb7783e2d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/tablelogger/ServerStateLogLogger.java +++ b/engine/table/src/main/java/io/deephaven/engine/tablelogger/ServerStateLogLogger.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.tablelogger; import io.deephaven.tablelogger.Row; diff --git a/engine/table/src/main/java/io/deephaven/engine/tablelogger/UpdatePerformanceLogLogger.java b/engine/table/src/main/java/io/deephaven/engine/tablelogger/UpdatePerformanceLogLogger.java index 132c1852cb3..4536fa931d1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/tablelogger/UpdatePerformanceLogLogger.java +++ b/engine/table/src/main/java/io/deephaven/engine/tablelogger/UpdatePerformanceLogLogger.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.tablelogger; import io.deephaven.engine.table.impl.perf.PerformanceEntry; diff --git a/engine/table/src/main/java/io/deephaven/engine/tablelogger/impl/memory/EngineTableLoggersFactoryMemoryImpl.java b/engine/table/src/main/java/io/deephaven/engine/tablelogger/impl/memory/EngineTableLoggersFactoryMemoryImpl.java index e2223526eca..4df4277b508 100644 --- a/engine/table/src/main/java/io/deephaven/engine/tablelogger/impl/memory/EngineTableLoggersFactoryMemoryImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/tablelogger/impl/memory/EngineTableLoggersFactoryMemoryImpl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.tablelogger.impl.memory; import io.deephaven.engine.tablelogger.EngineTableLoggers; diff --git a/engine/table/src/main/java/io/deephaven/engine/tablelogger/impl/memory/MemoryTableLogger.java b/engine/table/src/main/java/io/deephaven/engine/tablelogger/impl/memory/MemoryTableLogger.java index 8925d41df5e..477dbdba6a5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/tablelogger/impl/memory/MemoryTableLogger.java +++ b/engine/table/src/main/java/io/deephaven/engine/tablelogger/impl/memory/MemoryTableLogger.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.tablelogger.impl.memory; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/updategraph/impl/BaseUpdateGraph.java b/engine/table/src/main/java/io/deephaven/engine/updategraph/impl/BaseUpdateGraph.java index 656ae518ba9..5656caf60d2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/updategraph/impl/BaseUpdateGraph.java +++ b/engine/table/src/main/java/io/deephaven/engine/updategraph/impl/BaseUpdateGraph.java @@ -1,7 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph.impl; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/updategraph/impl/EventDrivenUpdateGraph.java b/engine/table/src/main/java/io/deephaven/engine/updategraph/impl/EventDrivenUpdateGraph.java index 701a0d17878..b95acaa4bad 100644 --- a/engine/table/src/main/java/io/deephaven/engine/updategraph/impl/EventDrivenUpdateGraph.java +++ b/engine/table/src/main/java/io/deephaven/engine/updategraph/impl/EventDrivenUpdateGraph.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph.impl; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/main/java/io/deephaven/engine/updategraph/impl/PeriodicUpdateGraph.java b/engine/table/src/main/java/io/deephaven/engine/updategraph/impl/PeriodicUpdateGraph.java index da476d4752f..70d36063182 100644 --- a/engine/table/src/main/java/io/deephaven/engine/updategraph/impl/PeriodicUpdateGraph.java +++ b/engine/table/src/main/java/io/deephaven/engine/updategraph/impl/PeriodicUpdateGraph.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph.impl; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/table/src/main/java/io/deephaven/engine/updategraph/impl/PoisonedNotificationProcessor.java b/engine/table/src/main/java/io/deephaven/engine/updategraph/impl/PoisonedNotificationProcessor.java index e6590d9285b..8298c05f068 100644 --- a/engine/table/src/main/java/io/deephaven/engine/updategraph/impl/PoisonedNotificationProcessor.java +++ b/engine/table/src/main/java/io/deephaven/engine/updategraph/impl/PoisonedNotificationProcessor.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph.impl; import io.deephaven.engine.updategraph.NotificationQueue; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/AbstractScriptSession.java b/engine/table/src/main/java/io/deephaven/engine/util/AbstractScriptSession.java index 988dc6d702c..26388fe5546 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/AbstractScriptSession.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/AbstractScriptSession.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import com.github.f4b6a3.uuid.UuidCreator; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/BigDecimalUtils.java b/engine/table/src/main/java/io/deephaven/engine/util/BigDecimalUtils.java index e84381c3805..fe192c436da 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/BigDecimalUtils.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/BigDecimalUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.chunk.ObjectChunk; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/ClassList.java b/engine/table/src/main/java/io/deephaven/engine/util/ClassList.java index 7e2a09e3c79..050a811436e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/ClassList.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/ClassList.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import org.jetbrains.annotations.NotNull; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/ColorUtil.java b/engine/table/src/main/java/io/deephaven/engine/util/ColorUtil.java index 26bbc2e0895..cf7dc7822c2 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/ColorUtil.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/ColorUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/ColorUtilImpl.java b/engine/table/src/main/java/io/deephaven/engine/util/ColorUtilImpl.java index 3f427371a96..cff1b075483 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/ColorUtilImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/ColorUtilImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.gui.color.Color; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/ColumnFormatting.java b/engine/table/src/main/java/io/deephaven/engine/util/ColumnFormatting.java index ee3c5b4b4af..ef91f15ee5b 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/ColumnFormatting.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/ColumnFormatting.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import org.jetbrains.annotations.NotNull; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/ColumnsSpecHelper.java b/engine/table/src/main/java/io/deephaven/engine/util/ColumnsSpecHelper.java index bd45705356e..3feaa6b8b12 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/ColumnsSpecHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/ColumnsSpecHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import java.util.ArrayList; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/DelegatingScriptSession.java b/engine/table/src/main/java/io/deephaven/engine/util/DelegatingScriptSession.java index b9f3814fd2d..77fc340b460 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/DelegatingScriptSession.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/DelegatingScriptSession.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.engine.context.QueryScope; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/DynamicCompileUtils.java b/engine/table/src/main/java/io/deephaven/engine/util/DynamicCompileUtils.java index 6991153b155..2a9971b1747 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/DynamicCompileUtils.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/DynamicCompileUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/FigureWidgetMarker.java b/engine/table/src/main/java/io/deephaven/engine/util/FigureWidgetMarker.java index a62d5924b03..3a56ca05450 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/FigureWidgetMarker.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/FigureWidgetMarker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; /** diff --git a/engine/table/src/main/java/io/deephaven/engine/util/Formatter.java b/engine/table/src/main/java/io/deephaven/engine/util/Formatter.java index c672a0adee8..dbd7fb895ff 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/Formatter.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/Formatter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.engine.table.impl.locations.TableDataService; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/GroovyDeephavenSession.java b/engine/table/src/main/java/io/deephaven/engine/util/GroovyDeephavenSession.java index 58f33db9243..83a3694c410 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/GroovyDeephavenSession.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/GroovyDeephavenSession.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import com.google.auto.service.AutoService; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/GroovyExceptionWrapper.java b/engine/table/src/main/java/io/deephaven/engine/util/GroovyExceptionWrapper.java index f79d34afff7..c5be723aed6 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/GroovyExceptionWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/GroovyExceptionWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import groovy.lang.GroovyRuntimeException; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/HtmlTable.java b/engine/table/src/main/java/io/deephaven/engine/util/HtmlTable.java index 2dfd4676b1e..e22b5d42b24 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/HtmlTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/HtmlTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/IterableUtils.java b/engine/table/src/main/java/io/deephaven/engine/util/IterableUtils.java index fb640a29f8e..246470a1dfa 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/IterableUtils.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/IterableUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import java.util.function.Function; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/LayoutHintBuilder.java b/engine/table/src/main/java/io/deephaven/engine/util/LayoutHintBuilder.java index 5d375e7fb0c..a592f6eb106 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/LayoutHintBuilder.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/LayoutHintBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/LiveWidget.java b/engine/table/src/main/java/io/deephaven/engine/util/LiveWidget.java index b7cfdf219b3..01fbf010d41 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/LiveWidget.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/LiveWidget.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; /** diff --git a/engine/table/src/main/java/io/deephaven/engine/util/LiveWidgetVisibilityProvider.java b/engine/table/src/main/java/io/deephaven/engine/util/LiveWidgetVisibilityProvider.java index 3230d949fca..d433a2b8bf7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/LiveWidgetVisibilityProvider.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/LiveWidgetVisibilityProvider.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; /** diff --git a/engine/table/src/main/java/io/deephaven/engine/util/NoLanguageDeephavenSession.java b/engine/table/src/main/java/io/deephaven/engine/util/NoLanguageDeephavenSession.java index 8c162ae06f2..6b4b680e45c 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/NoLanguageDeephavenSession.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/NoLanguageDeephavenSession.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.engine.context.QueryScope; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/NullSafeAddition.java b/engine/table/src/main/java/io/deephaven/engine/util/NullSafeAddition.java index c2a28436bab..deb15d26339 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/NullSafeAddition.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/NullSafeAddition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.util.QueryConstants; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/OuterJoinTools.java b/engine/table/src/main/java/io/deephaven/engine/util/OuterJoinTools.java index b63c329a9d5..4ae282a39a1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/OuterJoinTools.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/OuterJoinTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import com.google.common.collect.Streams; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/PandasWidgetMarker.java b/engine/table/src/main/java/io/deephaven/engine/util/PandasWidgetMarker.java index aed95f1e7f6..f79be5ee902 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/PandasWidgetMarker.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/PandasWidgetMarker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; /** diff --git a/engine/table/src/main/java/io/deephaven/engine/util/PathUtil.java b/engine/table/src/main/java/io/deephaven/engine/util/PathUtil.java index dd1031af3c4..8e455bf818e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/PathUtil.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/PathUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.io.InputStreamFactory; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/PrintListener.java b/engine/table/src/main/java/io/deephaven/engine/util/PrintListener.java index ee0f365a229..7711da3b136 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/PrintListener.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/PrintListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/PyCallableWrapper.java b/engine/table/src/main/java/io/deephaven/engine/util/PyCallableWrapper.java index bc22881b57a..b9c24773981 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/PyCallableWrapper.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/PyCallableWrapper.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import org.jpy.PyObject; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/PyCallableWrapperJpyImpl.java b/engine/table/src/main/java/io/deephaven/engine/util/PyCallableWrapperJpyImpl.java index 53aaf158498..6ba399302cb 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/PyCallableWrapperJpyImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/PyCallableWrapperJpyImpl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.engine.table.impl.select.python.ArgumentsChunked; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/PythonEvaluator.java b/engine/table/src/main/java/io/deephaven/engine/util/PythonEvaluator.java index 428cf8aa9bf..3d0a6b5c4f7 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/PythonEvaluator.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/PythonEvaluator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import java.io.FileNotFoundException; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/PythonEvaluatorJpy.java b/engine/table/src/main/java/io/deephaven/engine/util/PythonEvaluatorJpy.java index 564049e08ad..32a4c06a448 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/PythonEvaluatorJpy.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/PythonEvaluatorJpy.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import java.io.FileNotFoundException; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/PythonScope.java b/engine/table/src/main/java/io/deephaven/engine/util/PythonScope.java index c5b205acf43..7e9f0b61e31 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/PythonScope.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/PythonScope.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import org.jpy.PyDictWrapper; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/PythonScopeJpyImpl.java b/engine/table/src/main/java/io/deephaven/engine/util/PythonScopeJpyImpl.java index 6da26fa5b35..3d552516116 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/PythonScopeJpyImpl.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/PythonScopeJpyImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import com.google.common.cache.Cache; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/ScriptFinder.java b/engine/table/src/main/java/io/deephaven/engine/util/ScriptFinder.java index 16fe919be4f..85c1de3e5af 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/ScriptFinder.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/ScriptFinder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/ScriptSession.java b/engine/table/src/main/java/io/deephaven/engine/util/ScriptSession.java index e22b0bd03b9..d0344bddd2d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/ScriptSession.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/ScriptSession.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/SortedBy.java b/engine/table/src/main/java/io/deephaven/engine/util/SortedBy.java index f6778d8eb53..2d01ab43ed5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/SortedBy.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/SortedBy.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/TableDiff.java b/engine/table/src/main/java/io/deephaven/engine/util/TableDiff.java index cdc01bb862a..3c8aa2a6624 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/TableDiff.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/TableDiff.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.base.Pair; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/TableShowTools.java b/engine/table/src/main/java/io/deephaven/engine/util/TableShowTools.java index 4867ab01de6..35aa40dbf8a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/TableShowTools.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/TableShowTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.datastructures.util.CollectionUtil; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/TableTools.java b/engine/table/src/main/java/io/deephaven/engine/util/TableTools.java index b4b81a18ae5..31d75090d91 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/TableTools.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/TableTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.base.ClassUtil; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/TableToolsMergeHelper.java b/engine/table/src/main/java/io/deephaven/engine/util/TableToolsMergeHelper.java index ee7deb4781c..c5e182ec0d1 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/TableToolsMergeHelper.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/TableToolsMergeHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/TableToolsShowControl.java b/engine/table/src/main/java/io/deephaven/engine/util/TableToolsShowControl.java index 0b436d0cd95..d5ea0c07bf0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/TableToolsShowControl.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/TableToolsShowControl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import java.lang.annotation.Retention; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/TickSuppressor.java b/engine/table/src/main/java/io/deephaven/engine/util/TickSuppressor.java index 7bf58df0337..189a6781005 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/TickSuppressor.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/TickSuppressor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/ToMapListener.java b/engine/table/src/main/java/io/deephaven/engine/util/ToMapListener.java index 7470fb1458e..0d54c158492 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/ToMapListener.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/ToMapListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/TotalsTableBuilder.java b/engine/table/src/main/java/io/deephaven/engine/util/TotalsTableBuilder.java index 5d23a5e5f85..41db32cff3a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/TotalsTableBuilder.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/TotalsTableBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.api.agg.Aggregation; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/WindowCheck.java b/engine/table/src/main/java/io/deephaven/engine/util/WindowCheck.java index 08fdd21b532..9f62e7ebb35 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/WindowCheck.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/WindowCheck.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.base.Pair; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/caching/C14nUtil.java b/engine/table/src/main/java/io/deephaven/engine/util/caching/C14nUtil.java index ae401eed624..87ed1188d1e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/caching/C14nUtil.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/caching/C14nUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.caching; import io.deephaven.base.cache.OpenAddressedCanonicalizationCache; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/file/FileHandle.java b/engine/table/src/main/java/io/deephaven/engine/util/file/FileHandle.java index effdbfbbbcc..34ad546a27a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/file/FileHandle.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/file/FileHandle.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.file; import io.deephaven.base.stats.State; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/file/FileHandleAccessor.java b/engine/table/src/main/java/io/deephaven/engine/util/file/FileHandleAccessor.java index dcd86503740..d97f8404227 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/file/FileHandleAccessor.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/file/FileHandleAccessor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.file; import org.jetbrains.annotations.NotNull; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/file/FileHandleFactory.java b/engine/table/src/main/java/io/deephaven/engine/util/file/FileHandleFactory.java index 00acb9f3d61..bb63484b8a0 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/file/FileHandleFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/file/FileHandleFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.file; import org.jetbrains.annotations.NotNull; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/file/TrackedFileHandleFactory.java b/engine/table/src/main/java/io/deephaven/engine/util/file/TrackedFileHandleFactory.java index 18f23de97fd..ed76a78c031 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/file/TrackedFileHandleFactory.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/file/TrackedFileHandleFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.file; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/file/TrackedSeekableByteChannel.java b/engine/table/src/main/java/io/deephaven/engine/util/file/TrackedSeekableByteChannel.java index 5aa60683094..47c2df7b02a 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/file/TrackedSeekableByteChannel.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/file/TrackedSeekableByteChannel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.file; import io.deephaven.engine.table.impl.locations.TableDataException; @@ -14,9 +14,11 @@ import java.nio.channels.SeekableByteChannel; /** - *

{@link SeekableByteChannel} wrapper around {@link FileHandle} with support for re-opening the handle in case it - * has been closed asynchronously. - *

Note the applications must be sure to use {@link #read(ByteBuffer)}, {@link #write(ByteBuffer)}, and + *

+ * {@link SeekableByteChannel} wrapper around {@link FileHandle} with support for re-opening the handle in case it has + * been closed asynchronously. + *

+ * Note the applications must be sure to use {@link #read(ByteBuffer)}, {@link #write(ByteBuffer)}, and * {@link #position(long)} in a thread safe manner, using external synchronization or other means. */ public final class TrackedSeekableByteChannel extends FileHandleAccessor implements SeekableByteChannel { @@ -29,10 +31,10 @@ public final class TrackedSeekableByteChannel extends FileHandleAccessor impleme * Make a channel for a "local" file. * * @param fileHandleCreator The function used to make file handles - * @param file The abstract path name to wrap access to + * @param file The abstract path name to wrap access to */ public TrackedSeekableByteChannel(@NotNull final FileHandleFactory.FileToHandleFunction fileHandleCreator, - @NotNull final File file) throws IOException { + @NotNull final File file) throws IOException { super(fileHandleCreator, file); initializePosition(); } diff --git a/engine/table/src/main/java/io/deephaven/engine/util/input/InputTableStatusListener.java b/engine/table/src/main/java/io/deephaven/engine/util/input/InputTableStatusListener.java index 2676d20a11f..1000aa3abe5 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/input/InputTableStatusListener.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/input/InputTableStatusListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.input; import io.deephaven.internal.log.LoggerFactory; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/input/InputTableUpdater.java b/engine/table/src/main/java/io/deephaven/engine/util/input/InputTableUpdater.java index 271e3f312c3..f6fb203c96d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/input/InputTableUpdater.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/input/InputTableUpdater.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.input; import io.deephaven.engine.exceptions.ArgumentException; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/jpy/JpyConfigLoader.java b/engine/table/src/main/java/io/deephaven/engine/util/jpy/JpyConfigLoader.java index c8fd929509d..93c07b54fb4 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/jpy/JpyConfigLoader.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/jpy/JpyConfigLoader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.jpy; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/jpy/JpyInit.java b/engine/table/src/main/java/io/deephaven/engine/util/jpy/JpyInit.java index c437c0f222b..478bd6463fd 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/jpy/JpyInit.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/jpy/JpyInit.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.jpy; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/parametrized/TableSupplier.java b/engine/table/src/main/java/io/deephaven/engine/util/parametrized/TableSupplier.java index 877cbb4f401..4b107752165 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/parametrized/TableSupplier.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/parametrized/TableSupplier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.parametrized; import io.deephaven.engine.exceptions.UncheckedTableException; diff --git a/engine/table/src/main/java/io/deephaven/engine/util/string/StringUtils.java b/engine/table/src/main/java/io/deephaven/engine/util/string/StringUtils.java index 3af9fc84dd2..3051d8b5823 100644 --- a/engine/table/src/main/java/io/deephaven/engine/util/string/StringUtils.java +++ b/engine/table/src/main/java/io/deephaven/engine/util/string/StringUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.string; import io.deephaven.hash.KeyedObjectKey; diff --git a/engine/table/src/main/java/io/deephaven/gui/color/Color.java b/engine/table/src/main/java/io/deephaven/gui/color/Color.java index aad4061a629..d169f1ff7cd 100644 --- a/engine/table/src/main/java/io/deephaven/gui/color/Color.java +++ b/engine/table/src/main/java/io/deephaven/gui/color/Color.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.gui.color; import java.io.Serializable; diff --git a/engine/table/src/main/java/io/deephaven/gui/color/ColorPalette.java b/engine/table/src/main/java/io/deephaven/gui/color/ColorPalette.java index 7f7cd3d8637..cb14ae0218a 100644 --- a/engine/table/src/main/java/io/deephaven/gui/color/ColorPalette.java +++ b/engine/table/src/main/java/io/deephaven/gui/color/ColorPalette.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.gui.color; /** diff --git a/engine/table/src/main/java/io/deephaven/gui/color/ColorPaletteAlgo.java b/engine/table/src/main/java/io/deephaven/gui/color/ColorPaletteAlgo.java index 453c42f7392..324b839b7f7 100644 --- a/engine/table/src/main/java/io/deephaven/gui/color/ColorPaletteAlgo.java +++ b/engine/table/src/main/java/io/deephaven/gui/color/ColorPaletteAlgo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.gui.color; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/gui/color/ColorPaletteAlgorithm.java b/engine/table/src/main/java/io/deephaven/gui/color/ColorPaletteAlgorithm.java index c841d4d8aae..43ad8abddd8 100644 --- a/engine/table/src/main/java/io/deephaven/gui/color/ColorPaletteAlgorithm.java +++ b/engine/table/src/main/java/io/deephaven/gui/color/ColorPaletteAlgorithm.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.gui.color; /** diff --git a/engine/table/src/main/java/io/deephaven/gui/color/ColorPaletteAlgorithms.java b/engine/table/src/main/java/io/deephaven/gui/color/ColorPaletteAlgorithms.java index efa11a1081c..fa992de974e 100644 --- a/engine/table/src/main/java/io/deephaven/gui/color/ColorPaletteAlgorithms.java +++ b/engine/table/src/main/java/io/deephaven/gui/color/ColorPaletteAlgorithms.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.gui.color; import java.util.Arrays; diff --git a/engine/table/src/main/java/io/deephaven/gui/color/ColorPaletteArray.java b/engine/table/src/main/java/io/deephaven/gui/color/ColorPaletteArray.java index 50e99034b73..7989b0f161e 100644 --- a/engine/table/src/main/java/io/deephaven/gui/color/ColorPaletteArray.java +++ b/engine/table/src/main/java/io/deephaven/gui/color/ColorPaletteArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.gui.color; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/main/java/io/deephaven/gui/color/Colors.java b/engine/table/src/main/java/io/deephaven/gui/color/Colors.java index c1478409891..255cd749b76 100644 --- a/engine/table/src/main/java/io/deephaven/gui/color/Colors.java +++ b/engine/table/src/main/java/io/deephaven/gui/color/Colors.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.gui.color; import static io.deephaven.util.QueryConstants.NULL_LONG; diff --git a/engine/table/src/main/java/io/deephaven/gui/color/Paint.java b/engine/table/src/main/java/io/deephaven/gui/color/Paint.java index 82403272474..c90a8bef8f8 100644 --- a/engine/table/src/main/java/io/deephaven/gui/color/Paint.java +++ b/engine/table/src/main/java/io/deephaven/gui/color/Paint.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.gui.color; /** diff --git a/engine/table/src/main/java/io/deephaven/gui/table/QuickFilterMode.java b/engine/table/src/main/java/io/deephaven/gui/table/QuickFilterMode.java index 6f4244d490a..f977b97b85d 100644 --- a/engine/table/src/main/java/io/deephaven/gui/table/QuickFilterMode.java +++ b/engine/table/src/main/java/io/deephaven/gui/table/QuickFilterMode.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.gui.table; public enum QuickFilterMode { diff --git a/engine/table/src/main/java/io/deephaven/gui/table/filters/Condition.java b/engine/table/src/main/java/io/deephaven/gui/table/filters/Condition.java index e557a93eaa3..0c29d40e598 100644 --- a/engine/table/src/main/java/io/deephaven/gui/table/filters/Condition.java +++ b/engine/table/src/main/java/io/deephaven/gui/table/filters/Condition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.gui.table.filters; /** diff --git a/engine/table/src/main/java/io/deephaven/libs/GroovyStaticImports.java b/engine/table/src/main/java/io/deephaven/libs/GroovyStaticImports.java index f3ba2a1cce9..e881872850c 100644 --- a/engine/table/src/main/java/io/deephaven/libs/GroovyStaticImports.java +++ b/engine/table/src/main/java/io/deephaven/libs/GroovyStaticImports.java @@ -1,10 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/**************************************************************************************************************************** - ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - Run GroovyStaticImportGenerator or "./gradlew :Generators:groovyStaticImportGenerator" to regenerate - ****************************************************************************************************************************/ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GroovyStaticImportGenerator or "./gradlew :Generators:groovyStaticImportGenerator" to regenerate +// +// @formatter:off package io.deephaven.libs; import io.deephaven.function.Basic; diff --git a/engine/table/src/main/java/io/deephaven/process/ProcessInfoConfig.java b/engine/table/src/main/java/io/deephaven/process/ProcessInfoConfig.java index 98c0ef23dba..3ac373cde21 100644 --- a/engine/table/src/main/java/io/deephaven/process/ProcessInfoConfig.java +++ b/engine/table/src/main/java/io/deephaven/process/ProcessInfoConfig.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.process; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/main/java/io/deephaven/stats/Driver.java b/engine/table/src/main/java/io/deephaven/stats/Driver.java index 1d67d7ab319..f0231d2c64b 100644 --- a/engine/table/src/main/java/io/deephaven/stats/Driver.java +++ b/engine/table/src/main/java/io/deephaven/stats/Driver.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.stats; import io.deephaven.base.clock.Clock; diff --git a/engine/table/src/main/java/io/deephaven/stream/StreamChunkUtils.java b/engine/table/src/main/java/io/deephaven/stream/StreamChunkUtils.java index 02c1e7c2f45..21c464fac00 100644 --- a/engine/table/src/main/java/io/deephaven/stream/StreamChunkUtils.java +++ b/engine/table/src/main/java/io/deephaven/stream/StreamChunkUtils.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.stream; import io.deephaven.chunk.ChunkType; diff --git a/engine/table/src/main/java/io/deephaven/stream/StreamConsumer.java b/engine/table/src/main/java/io/deephaven/stream/StreamConsumer.java index 3a0874edcef..d114f529fb6 100644 --- a/engine/table/src/main/java/io/deephaven/stream/StreamConsumer.java +++ b/engine/table/src/main/java/io/deephaven/stream/StreamConsumer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.stream; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/main/java/io/deephaven/stream/StreamFailureConsumer.java b/engine/table/src/main/java/io/deephaven/stream/StreamFailureConsumer.java index 913a459a92a..61931dfaa58 100644 --- a/engine/table/src/main/java/io/deephaven/stream/StreamFailureConsumer.java +++ b/engine/table/src/main/java/io/deephaven/stream/StreamFailureConsumer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.stream; import org.jetbrains.annotations.NotNull; diff --git a/engine/table/src/main/java/io/deephaven/stream/StreamPublisher.java b/engine/table/src/main/java/io/deephaven/stream/StreamPublisher.java index e6665fab3c2..a0ef3d7cdca 100644 --- a/engine/table/src/main/java/io/deephaven/stream/StreamPublisher.java +++ b/engine/table/src/main/java/io/deephaven/stream/StreamPublisher.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.stream; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/main/java/io/deephaven/stream/StreamToBlinkTableAdapter.java b/engine/table/src/main/java/io/deephaven/stream/StreamToBlinkTableAdapter.java index a797cf618a2..77fbbf4a23c 100644 --- a/engine/table/src/main/java/io/deephaven/stream/StreamToBlinkTableAdapter.java +++ b/engine/table/src/main/java/io/deephaven/stream/StreamToBlinkTableAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.stream; import gnu.trove.list.array.TLongArrayList; diff --git a/engine/table/src/main/java/io/deephaven/stream/TablePublisher.java b/engine/table/src/main/java/io/deephaven/stream/TablePublisher.java index 2eb9eb46f82..2fca2ff9638 100644 --- a/engine/table/src/main/java/io/deephaven/stream/TablePublisher.java +++ b/engine/table/src/main/java/io/deephaven/stream/TablePublisher.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.stream; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/main/java/io/deephaven/stream/TableStreamPublisherImpl.java b/engine/table/src/main/java/io/deephaven/stream/TableStreamPublisherImpl.java index 3446b2828bb..df139b347bd 100644 --- a/engine/table/src/main/java/io/deephaven/stream/TableStreamPublisherImpl.java +++ b/engine/table/src/main/java/io/deephaven/stream/TableStreamPublisherImpl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.stream; import io.deephaven.chunk.WritableChunk; diff --git a/engine/table/src/test/java/io/deephaven/engine/liveness/TestLiveness.java b/engine/table/src/test/java/io/deephaven/engine/liveness/TestLiveness.java index 388a7c19a03..c31efaa0564 100644 --- a/engine/table/src/test/java/io/deephaven/engine/liveness/TestLiveness.java +++ b/engine/table/src/test/java/io/deephaven/engine/liveness/TestLiveness.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/AsOfJoinMatchFactory.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/AsOfJoinMatchFactory.java index 58bd97f9a44..dcb078a7d3c 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/AsOfJoinMatchFactory.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/AsOfJoinMatchFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.AsOfJoinMatch; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/BenchmarkPlaypen.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/BenchmarkPlaypen.java index 2ac7160ea45..338d71874af 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/BenchmarkPlaypen.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/BenchmarkPlaypen.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/BlinkTableOperationsTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/BlinkTableOperationsTest.java index 76eab5fbbc1..33acd6c9f3c 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/BlinkTableOperationsTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/BlinkTableOperationsTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/BlinkTableSemanticsTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/BlinkTableSemanticsTest.java index 01a6a7f118e..06a3b85e637 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/BlinkTableSemanticsTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/BlinkTableSemanticsTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/CapturingUpdateGraph.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/CapturingUpdateGraph.java index 7201e58b196..80b7ed3639d 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/CapturingUpdateGraph.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/CapturingUpdateGraph.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/DeferredViewTableTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/DeferredViewTableTest.java index 8c4ed46ac12..a37fae867a6 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/DeferredViewTableTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/DeferredViewTableTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.Selectable; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ErrorListener.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ErrorListener.java index 1b93fe8bdf8..b1940de724a 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ErrorListener.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ErrorListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/FailureListener.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/FailureListener.java index c71a81a0739..ba2d466bed5 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/FailureListener.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/FailureListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.TableUpdate; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/FuzzerPrintListener.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/FuzzerPrintListener.java index cae98da1697..4107f86d053 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/FuzzerPrintListener.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/FuzzerPrintListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/FuzzerTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/FuzzerTest.java index fa54cca0271..b5327549923 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/FuzzerTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/FuzzerTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.FileUtils; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/GroupingValidator.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/GroupingValidator.java index 9e4b16bd3bf..1dbccf9ab38 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/GroupingValidator.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/GroupingValidator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/MetricsManagerTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/MetricsManagerTest.java index 5fb7ffe3c07..bcb7eba40cb 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/MetricsManagerTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/MetricsManagerTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/MultiColumnSortTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/MultiColumnSortTest.java index 213ed2de322..d4f60299898 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/MultiColumnSortTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/MultiColumnSortTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/PartitionedTableTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/PartitionedTableTest.java index 63811e5df85..666f0d61f02 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/PartitionedTableTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/PartitionedTableTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryFactory.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryFactory.java index cbaacb7dd4d..62c25a31b03 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryFactory.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import java.time.Instant; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableAggregationTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableAggregationTest.java index 6b4a2d9d278..672bec725dc 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableAggregationTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableAggregationTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableAggregationTestFormulaStaticMethods.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableAggregationTestFormulaStaticMethods.java index 698f6940bd7..e25376a5579 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableAggregationTestFormulaStaticMethods.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableAggregationTestFormulaStaticMethods.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.function.Numeric; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableAjTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableAjTest.java index aff123c4487..a3e7e8369c7 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableAjTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableAjTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.impl.AsOfJoinMatchFactory.AsOfJoinResult; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableCrossJoinSmallRightBitsTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableCrossJoinSmallRightBitsTest.java index acb6b75e13b..ab269ebd8a2 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableCrossJoinSmallRightBitsTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableCrossJoinSmallRightBitsTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.JoinMatch; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableCrossJoinTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableCrossJoinTest.java index f2fc34969f2..8b071a52a91 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableCrossJoinTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableCrossJoinTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.test.types.OutOfBandTest; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableCrossJoinTestBase.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableCrossJoinTestBase.java index 82e7f80c675..e5c2251285c 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableCrossJoinTestBase.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableCrossJoinTestBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import com.google.common.collect.Maps; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableFlattenTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableFlattenTest.java index 914b7f859a7..f2a29c5bc45 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableFlattenTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableFlattenTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableHugeSortTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableHugeSortTest.java index e7032fd80b8..035444abf70 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableHugeSortTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableHugeSortTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableJoinTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableJoinTest.java index 7470e0b47e2..e324d2ee9ad 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableJoinTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableJoinTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.datastructures.util.CollectionUtil; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableLeftOuterJoinSmallRightBitsTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableLeftOuterJoinSmallRightBitsTest.java index 5a88345f37c..dceb9f6627b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableLeftOuterJoinSmallRightBitsTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableLeftOuterJoinSmallRightBitsTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import org.apache.commons.lang3.mutable.MutableInt; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableLeftOuterJoinTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableLeftOuterJoinTest.java index 2c74dffe707..359630a6b3f 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableLeftOuterJoinTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableLeftOuterJoinTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; public class QueryTableLeftOuterJoinTest extends QueryTableLeftOuterJoinTestBase { diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableLeftOuterJoinTestBase.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableLeftOuterJoinTestBase.java index a0937517b90..ae1e5564324 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableLeftOuterJoinTestBase.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableLeftOuterJoinTestBase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import com.google.common.collect.Maps; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableMultiJoinTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableMultiJoinTest.java index 7a35a04df23..0b1dce72529 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableMultiJoinTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableMultiJoinTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import gnu.trove.map.hash.TIntIntHashMap; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableNaturalJoinTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableNaturalJoinTest.java index 20b8b99a7fc..d99b96dc675 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableNaturalJoinTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableNaturalJoinTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.FileUtils; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableRangeJoinTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableRangeJoinTest.java index ddf0ccc854c..5d6ef140de5 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableRangeJoinTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableRangeJoinTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.*; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableSelectUpdateBigTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableSelectUpdateBigTest.java index 0237c521daf..9ee8ce1757b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableSelectUpdateBigTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableSelectUpdateBigTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableSelectUpdateTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableSelectUpdateTest.java index d09dcacaf72..40c6c5f48fa 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableSelectUpdateTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableSelectUpdateTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.JoinMatch; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableSliceTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableSliceTest.java index 8b30551df13..f88fd615413 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableSliceTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableSliceTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableSortTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableSortTest.java index b577063c09b..eded694ef80 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableSortTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableSortTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableStaticNaturalJoinRandomTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableStaticNaturalJoinRandomTest.java index ed0f97db8fe..a9b9bb8ea97 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableStaticNaturalJoinRandomTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableStaticNaturalJoinRandomTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.TableOperationsDefaults; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableTest.java index 4d8b0708dec..0d6b68416ae 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import com.google.common.primitives.Ints; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableTreeTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableTreeTest.java index 961e34ce101..2d01eed214d 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableTreeTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableTreeTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.testutil.QueryTableTestBase; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableWhereParallelTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableWhereParallelTest.java index d60ba8f6795..df1467197ac 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableWhereParallelTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableWhereParallelTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import gnu.trove.list.TLongList; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableWhereSingleTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableWhereSingleTest.java index 568a188d397..7126b72db35 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableWhereSingleTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableWhereSingleTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.test.types.OutOfBandTest; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableWhereTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableWhereTest.java index 59e8195aaf1..96afabfa638 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableWhereTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableWhereTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.RawString; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableWouldMatchTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableWouldMatchTest.java index 7d99bc840ff..49944dddad5 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableWouldMatchTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/QueryTableWouldMatchTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/SelectOverheadLimiter.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/SelectOverheadLimiter.java index f21d62024e6..2a2248d2eef 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/SelectOverheadLimiter.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/SelectOverheadLimiter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ShiftedColumnOperationTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ShiftedColumnOperationTest.java index eaa719c1938..63f58320cb2 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ShiftedColumnOperationTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ShiftedColumnOperationTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.chunk.LongChunk; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/SimpleListener.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/SimpleListener.java index 64a02bc2b67..41bbd981a73 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/SimpleListener.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/SimpleListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/SimpleShiftObliviousListener.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/SimpleShiftObliviousListener.java index 2652cf177a9..69b5ff6cf38 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/SimpleShiftObliviousListener.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/SimpleShiftObliviousListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/SourcePartitionedTableTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/SourcePartitionedTableTest.java index 4762e4f49f1..f14b2a6823a 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/SourcePartitionedTableTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/SourcePartitionedTableTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/SparseSelectTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/SparseSelectTest.java index 09d63adee25..5d53a94c2f0 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/SparseSelectTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/SparseSelectTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestAddOnlyToBlinkTableAdapter.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestAddOnlyToBlinkTableAdapter.java index 3adbc80575d..04f125c5673 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestAddOnlyToBlinkTableAdapter.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestAddOnlyToBlinkTableAdapter.java @@ -1,7 +1,6 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestAggBy.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestAggBy.java index e7ac11a5d1a..f8c3ca06cf2 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestAggBy.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestAggBy.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import gnu.trove.set.TDoubleSet; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestAggregatedSelect.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestAggregatedSelect.java index 9ed41ccb846..3544299b6e2 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestAggregatedSelect.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestAggregatedSelect.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.FileUtils; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestBigDecimalColumns.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestBigDecimalColumns.java index 6680b4d125a..27064bc98bc 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestBigDecimalColumns.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestBigDecimalColumns.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestBigIntegerColumns.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestBigIntegerColumns.java index 57a11d9e17a..77ad14182ff 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestBigIntegerColumns.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestBigIntegerColumns.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestBlinkTableTools.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestBlinkTableTools.java index ccfcff88b50..c0f8bbf0555 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestBlinkTableTools.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestBlinkTableTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestCodecColumns.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestCodecColumns.java index 12e776eab0a..f0facd29d92 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestCodecColumns.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestCodecColumns.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.FileUtils; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestColumnDescriptionInheritance.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestColumnDescriptionInheritance.java index 5b7c6bbfd48..12fd855ed64 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestColumnDescriptionInheritance.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestColumnDescriptionInheritance.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestConcurrentInstantiation.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestConcurrentInstantiation.java index a1471769ebd..28c0731b4e4 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestConcurrentInstantiation.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestConcurrentInstantiation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.snapshot.SnapshotWhenOptions.Flag; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestDownsampledWhereFilter.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestDownsampledWhereFilter.java index f1337c372a5..bca65b7c1f0 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestDownsampledWhereFilter.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestDownsampledWhereFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestFormulaArrayEvaluation.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestFormulaArrayEvaluation.java index a83c3e7ddf7..03bb07f1820 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestFormulaArrayEvaluation.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestFormulaArrayEvaluation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import com.github.javaparser.ast.NodeList; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestJoinControl.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestJoinControl.java index 135d183d32d..50cb26dfd57 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestJoinControl.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestJoinControl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestKeyedTableListener.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestKeyedTableListener.java index a361a833af7..dbc56676052 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestKeyedTableListener.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestKeyedTableListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestListenerFailure.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestListenerFailure.java index 342fd439412..1802994594a 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestListenerFailure.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestListenerFailure.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestLiveAttributeMap.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestLiveAttributeMap.java index 32344a38c11..0193c8f2ff6 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestLiveAttributeMap.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestLiveAttributeMap.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import junit.framework.TestCase; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestMapCodecColumns.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestMapCodecColumns.java index ea27ae6c40d..e87f0df4e0d 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestMapCodecColumns.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestMapCodecColumns.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.FileUtils; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestMoveColumns.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestMoveColumns.java index f82f26c7978..c8ee5c4e92e 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestMoveColumns.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestMoveColumns.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.ColumnDefinition; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestPartitionAwareSourceTable.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestPartitionAwareSourceTable.java index 229ea31a34b..0c9d43b5366 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestPartitionAwareSourceTable.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestPartitionAwareSourceTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.Pair; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestPartitionBy.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestPartitionBy.java index b3669ff09f5..b2c0fbf7d5d 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestPartitionBy.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestPartitionBy.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.filter.Filter; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestPartitioningColumns.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestPartitioningColumns.java index 06ac1240ee7..f7c9e2b6aaa 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestPartitioningColumns.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestPartitioningColumns.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.api.filter.Filter; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSelectOverheadLimiter.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSelectOverheadLimiter.java index b3a2588a71c..4718bfe1d0f 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSelectOverheadLimiter.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSelectOverheadLimiter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSelectPreserveGrouping.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSelectPreserveGrouping.java index 4cd1fa6231c..1965f18f86f 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSelectPreserveGrouping.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSelectPreserveGrouping.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.FileUtils; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSharedContext.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSharedContext.java index 799d30057dd..e123d36a9a0 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSharedContext.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSharedContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import static io.deephaven.engine.testutil.TstUtils.getTable; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSimpleSourceTable.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSimpleSourceTable.java index c4559d5e85b..6142ced7b12 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSimpleSourceTable.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSimpleSourceTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.Pair; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSort.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSort.java index 46242faeadc..44393077569 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSort.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSort.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.exceptions.NotSortableException; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSortIncrementalPerformance.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSortIncrementalPerformance.java index 14cf95ff280..32fbab8252a 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSortIncrementalPerformance.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSortIncrementalPerformance.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSourceSink.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSourceSink.java index 33fc594206b..857e907ee61 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSourceSink.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSourceSink.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.chunk.*; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSymbolTableCombiner.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSymbolTableCombiner.java index 2d20f886ac6..02d41a12b00 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSymbolTableCombiner.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestSymbolTableCombiner.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestTableAdapter.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestTableAdapter.java index 3d2c51bc618..62cdd98375c 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestTableAdapter.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestTableAdapter.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestTableUpdateValidator.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestTableUpdateValidator.java index 2b1aa69d914..4573fffbb93 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestTableUpdateValidator.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestTableUpdateValidator.java @@ -1,7 +1,6 @@ -/* - * Copyright (c) 2016-2019 Deephaven Data Labs and Patent Pending - */ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.QueryScope; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestTableValidator.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestTableValidator.java index 595aeee465c..dfc41b6a61e 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestTableValidator.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestTableValidator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestTotalsTable.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestTotalsTable.java index 66d40ade933..977f2e90950 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestTotalsTable.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestTotalsTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestUngroupRebase.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestUngroupRebase.java index f592d92eea0..3da2cd46c8a 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestUngroupRebase.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestUngroupRebase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestUtfAssumptions.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestUtfAssumptions.java index 2fe0fdeea8b..cec9a74f0cf 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TestUtfAssumptions.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TestUtfAssumptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import junit.framework.TestCase; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/TickSuppressorTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/TickSuppressorTest.java index 745da3945dd..394038d251e 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/TickSuppressorTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/TickSuppressorTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/by/TestSortedFirstOrLastByFactory.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/by/TestSortedFirstOrLastByFactory.java index 26da0a328dc..25e5b2268cd 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/by/TestSortedFirstOrLastByFactory.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/by/TestSortedFirstOrLastByFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.by; import io.deephaven.api.agg.spec.AggSpec; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/indexer/CountingTable.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/indexer/CountingTable.java index c9503919f9d..b1131c00632 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/indexer/CountingTable.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/indexer/CountingTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.indexer; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/indexer/TestRowSetIndexer.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/indexer/TestRowSetIndexer.java index 637cb914643..10afe27c8e9 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/indexer/TestRowSetIndexer.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/indexer/TestRowSetIndexer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.indexer; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/LanguageParserDummyClass.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/LanguageParserDummyClass.java index 2955c97337a..7ac33132840 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/LanguageParserDummyClass.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/LanguageParserDummyClass.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.lang; import io.deephaven.base.Pair; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/LanguageParserDummyEnum.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/LanguageParserDummyEnum.java index 8fa5e812933..bd9fcd3f1d0 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/LanguageParserDummyEnum.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/LanguageParserDummyEnum.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.lang; public enum LanguageParserDummyEnum { diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/LanguageParserDummyInterface.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/LanguageParserDummyInterface.java index 4a1a63dbf0c..136c71efd00 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/LanguageParserDummyInterface.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/LanguageParserDummyInterface.java @@ -1,8 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.lang; public interface LanguageParserDummyInterface { - enum AnEnum { THING_ONE, THING_TWO } + enum AnEnum { + THING_ONE, THING_TWO + } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/PyCallableWrapperDummyImpl.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/PyCallableWrapperDummyImpl.java index 573f8003f96..76ef69a0687 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/PyCallableWrapperDummyImpl.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/PyCallableWrapperDummyImpl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.lang; import io.deephaven.engine.util.PyCallableWrapper; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/TestQueryLanguageFunctionUtils.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/TestQueryLanguageFunctionUtils.java index cdefed38937..cbc41fd2b0f 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/TestQueryLanguageFunctionUtils.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/TestQueryLanguageFunctionUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.lang; import io.deephaven.util.QueryConstants; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/TestQueryLanguageParser.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/TestQueryLanguageParser.java index 13f2e3c5aa1..2fd1498e064 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/TestQueryLanguageParser.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/lang/TestQueryLanguageParser.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.lang; import groovy.lang.Closure; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/locations/impl/SimpleTableLocationKey.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/locations/impl/SimpleTableLocationKey.java index a0f67f8ba54..55ebb48429a 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/locations/impl/SimpleTableLocationKey.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/locations/impl/SimpleTableLocationKey.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.base.log.LogOutput; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/locations/impl/TestGroupingProviders.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/locations/impl/TestGroupingProviders.java index 2b5fee65f09..e4db2b85ed2 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/locations/impl/TestGroupingProviders.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/locations/impl/TestGroupingProviders.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.base.FileUtils; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/locations/impl/TestKeyValuePartitionLayout.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/locations/impl/TestKeyValuePartitionLayout.java index 6bcde5137ac..d830c735ead 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/locations/impl/TestKeyValuePartitionLayout.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/locations/impl/TestKeyValuePartitionLayout.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.locations.impl; import io.deephaven.base.FileUtils; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/remote/TestConstructSnapshot.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/remote/TestConstructSnapshot.java index 171ff53aed3..abb630c1b45 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/remote/TestConstructSnapshot.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/remote/TestConstructSnapshot.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.remote; import io.deephaven.base.SleepUtil; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/FilterPatternTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/FilterPatternTest.java index 100e27ca7be..f9ceb864bed 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/FilterPatternTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/FilterPatternTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/FormulaTestUtil.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/FormulaTestUtil.java index b0e7dca66bc..f421e8097a4 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/FormulaTestUtil.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/FormulaTestUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/FormulaUtilTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/FormulaUtilTest.java index 9a5fe63f78a..37f25f26bf9 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/FormulaUtilTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/FormulaUtilTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.table.impl.select.FormulaUtil; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/MatchPairFactoryTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/MatchPairFactoryTest.java index f55eb6a16c3..bcd4c05104f 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/MatchPairFactoryTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/MatchPairFactoryTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.api.expression.ExpressionException; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/SelectColumnTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/SelectColumnTest.java index 6f270774e1f..3d02906de58 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/SelectColumnTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/SelectColumnTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestClockFilters.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestClockFilters.java index 9bdbeb17528..42c2b315da7 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestClockFilters.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestClockFilters.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestConditionFilterGeneration.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestConditionFilterGeneration.java index bc2f176fa87..c07a3f103d4 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestConditionFilterGeneration.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestConditionFilterGeneration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestConstantFormulaEvaluation.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestConstantFormulaEvaluation.java index da3be26e696..3bcd4a3e860 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestConstantFormulaEvaluation.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestConstantFormulaEvaluation.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import com.github.javaparser.ast.expr.Expression; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestFormulaColumn.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestFormulaColumn.java index 79ba3d9182f..92dd08e59d7 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestFormulaColumn.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestFormulaColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestFormulaColumnGeneration.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestFormulaColumnGeneration.java index bf3621f4f81..fa9e21b6f9d 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestFormulaColumnGeneration.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestFormulaColumnGeneration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestReinterpretedColumn.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestReinterpretedColumn.java index 90e156201e5..7463fc59ece 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestReinterpretedColumn.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestReinterpretedColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.chunk.LongChunk; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestSimulationClock.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestSimulationClock.java index 58a0497a264..3059a652b5b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestSimulationClock.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestSimulationClock.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestWhereFilterFactory.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestWhereFilterFactory.java index 687183564ca..be1c26b0f52 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestWhereFilterFactory.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/TestWhereFilterFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/WhereFilterFactoryTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/WhereFilterFactoryTest.java index c8e6ae3b7d5..dcc27dbbb6f 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/WhereFilterFactoryTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/WhereFilterFactoryTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/WhereFilterTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/WhereFilterTest.java index 901b2999364..082d737a639 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/select/WhereFilterTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/select/WhereFilterTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.select; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/MegaMergeTestUtils.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/MegaMergeTestUtils.java index d2559de1580..b78c883dca8 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/MegaMergeTestUtils.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/MegaMergeTestUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestByteLongMegaMerge.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestByteLongMegaMerge.java index e5b58269b19..b114ace7024 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestByteLongMegaMerge.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestByteLongMegaMerge.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharLongMegaMerge and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharLongMegaMerge and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.ChunkSource; @@ -44,13 +43,13 @@ private void testMerge(boolean ascending) { int totalSize = chunkSize * chunkCount; try (final WritableByteChunk allValues = WritableByteChunk.makeWritableChunk(totalSize); - final WritableLongChunk allKeys = WritableLongChunk.makeWritableChunk(totalSize)) { + final WritableLongChunk allKeys = WritableLongChunk.makeWritableChunk(totalSize)) { for (int chunk = 0; chunk < chunkCount; ++chunk) { final int sizeAfterAddition = (chunk + 1) * chunkSize; try (final WritableByteChunk valuesChunk = WritableByteChunk.makeWritableChunk(chunkSize); - final WritableLongChunk keysChunk = WritableLongChunk.makeWritableChunk(chunkSize)) { + final WritableLongChunk keysChunk = WritableLongChunk.makeWritableChunk(chunkSize)) { final Random random = new Random(0); @@ -62,9 +61,11 @@ private void testMerge(boolean ascending) { MegaMergeTestUtils.doSort(ascending, chunkSize, valuesChunk, keysChunk); if (ascending) { - ByteLongMegaMergeKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, keysChunk, valuesChunk); + ByteLongMegaMergeKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, + keysChunk, valuesChunk); } else { - ByteLongMegaMergeDescendingKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, keysChunk, valuesChunk); + ByteLongMegaMergeDescendingKernel.merge(keySource, valuesSource, 0, + sizeAfterAddition - chunkSize, keysChunk, valuesChunk); } allValues.setSize(sizeAfterAddition); @@ -76,11 +77,12 @@ private void testMerge(boolean ascending) { MegaMergeTestUtils.doSort(ascending, chunkSize * chunkCount, allValues, allKeys); try (final ChunkSource.GetContext valueContext = valuesSource.makeGetContext(sizeAfterAddition); - final ChunkSource.GetContext keyContext = keySource.makeGetContext(sizeAfterAddition)) { + final ChunkSource.GetContext keyContext = keySource.makeGetContext(sizeAfterAddition)) { final RowSequence rowSequence = RowSequenceFactory.forRange(0, sizeAfterAddition - 1); - final ByteChunk checkValues = valuesSource.getChunk(valueContext, rowSequence).asByteChunk(); + final ByteChunk checkValues = + valuesSource.getChunk(valueContext, rowSequence).asByteChunk(); final LongChunk checkKeys = keySource.getChunk(keyContext, rowSequence).asLongChunk(); TestCase.assertEquals(checkValues.size(), allValues.size()); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestCharLongMegaMerge.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestCharLongMegaMerge.java index 10dd4388e86..95cae01d669 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestCharLongMegaMerge.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestCharLongMegaMerge.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.ChunkSource; @@ -39,13 +39,13 @@ private void testMerge(boolean ascending) { int totalSize = chunkSize * chunkCount; try (final WritableCharChunk allValues = WritableCharChunk.makeWritableChunk(totalSize); - final WritableLongChunk allKeys = WritableLongChunk.makeWritableChunk(totalSize)) { + final WritableLongChunk allKeys = WritableLongChunk.makeWritableChunk(totalSize)) { for (int chunk = 0; chunk < chunkCount; ++chunk) { final int sizeAfterAddition = (chunk + 1) * chunkSize; try (final WritableCharChunk valuesChunk = WritableCharChunk.makeWritableChunk(chunkSize); - final WritableLongChunk keysChunk = WritableLongChunk.makeWritableChunk(chunkSize)) { + final WritableLongChunk keysChunk = WritableLongChunk.makeWritableChunk(chunkSize)) { final Random random = new Random(0); @@ -57,9 +57,11 @@ private void testMerge(boolean ascending) { MegaMergeTestUtils.doSort(ascending, chunkSize, valuesChunk, keysChunk); if (ascending) { - CharLongMegaMergeKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, keysChunk, valuesChunk); + CharLongMegaMergeKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, + keysChunk, valuesChunk); } else { - CharLongMegaMergeDescendingKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, keysChunk, valuesChunk); + CharLongMegaMergeDescendingKernel.merge(keySource, valuesSource, 0, + sizeAfterAddition - chunkSize, keysChunk, valuesChunk); } allValues.setSize(sizeAfterAddition); @@ -71,11 +73,12 @@ private void testMerge(boolean ascending) { MegaMergeTestUtils.doSort(ascending, chunkSize * chunkCount, allValues, allKeys); try (final ChunkSource.GetContext valueContext = valuesSource.makeGetContext(sizeAfterAddition); - final ChunkSource.GetContext keyContext = keySource.makeGetContext(sizeAfterAddition)) { + final ChunkSource.GetContext keyContext = keySource.makeGetContext(sizeAfterAddition)) { final RowSequence rowSequence = RowSequenceFactory.forRange(0, sizeAfterAddition - 1); - final CharChunk checkValues = valuesSource.getChunk(valueContext, rowSequence).asCharChunk(); + final CharChunk checkValues = + valuesSource.getChunk(valueContext, rowSequence).asCharChunk(); final LongChunk checkKeys = keySource.getChunk(keyContext, rowSequence).asLongChunk(); TestCase.assertEquals(checkValues.size(), allValues.size()); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestDoubleLongMegaMerge.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestDoubleLongMegaMerge.java index f0759473e46..f071f2e3e76 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestDoubleLongMegaMerge.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestDoubleLongMegaMerge.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharLongMegaMerge and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharLongMegaMerge and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.ChunkSource; @@ -44,13 +43,13 @@ private void testMerge(boolean ascending) { int totalSize = chunkSize * chunkCount; try (final WritableDoubleChunk allValues = WritableDoubleChunk.makeWritableChunk(totalSize); - final WritableLongChunk allKeys = WritableLongChunk.makeWritableChunk(totalSize)) { + final WritableLongChunk allKeys = WritableLongChunk.makeWritableChunk(totalSize)) { for (int chunk = 0; chunk < chunkCount; ++chunk) { final int sizeAfterAddition = (chunk + 1) * chunkSize; try (final WritableDoubleChunk valuesChunk = WritableDoubleChunk.makeWritableChunk(chunkSize); - final WritableLongChunk keysChunk = WritableLongChunk.makeWritableChunk(chunkSize)) { + final WritableLongChunk keysChunk = WritableLongChunk.makeWritableChunk(chunkSize)) { final Random random = new Random(0); @@ -62,9 +61,11 @@ private void testMerge(boolean ascending) { MegaMergeTestUtils.doSort(ascending, chunkSize, valuesChunk, keysChunk); if (ascending) { - DoubleLongMegaMergeKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, keysChunk, valuesChunk); + DoubleLongMegaMergeKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, + keysChunk, valuesChunk); } else { - DoubleLongMegaMergeDescendingKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, keysChunk, valuesChunk); + DoubleLongMegaMergeDescendingKernel.merge(keySource, valuesSource, 0, + sizeAfterAddition - chunkSize, keysChunk, valuesChunk); } allValues.setSize(sizeAfterAddition); @@ -76,11 +77,12 @@ private void testMerge(boolean ascending) { MegaMergeTestUtils.doSort(ascending, chunkSize * chunkCount, allValues, allKeys); try (final ChunkSource.GetContext valueContext = valuesSource.makeGetContext(sizeAfterAddition); - final ChunkSource.GetContext keyContext = keySource.makeGetContext(sizeAfterAddition)) { + final ChunkSource.GetContext keyContext = keySource.makeGetContext(sizeAfterAddition)) { final RowSequence rowSequence = RowSequenceFactory.forRange(0, sizeAfterAddition - 1); - final DoubleChunk checkValues = valuesSource.getChunk(valueContext, rowSequence).asDoubleChunk(); + final DoubleChunk checkValues = + valuesSource.getChunk(valueContext, rowSequence).asDoubleChunk(); final LongChunk checkKeys = keySource.getChunk(keyContext, rowSequence).asLongChunk(); TestCase.assertEquals(checkValues.size(), allValues.size()); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestFloatLongMegaMerge.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestFloatLongMegaMerge.java index 50ffc6ea237..e9d1a40767b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestFloatLongMegaMerge.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestFloatLongMegaMerge.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharLongMegaMerge and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharLongMegaMerge and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.ChunkSource; @@ -44,13 +43,13 @@ private void testMerge(boolean ascending) { int totalSize = chunkSize * chunkCount; try (final WritableFloatChunk allValues = WritableFloatChunk.makeWritableChunk(totalSize); - final WritableLongChunk allKeys = WritableLongChunk.makeWritableChunk(totalSize)) { + final WritableLongChunk allKeys = WritableLongChunk.makeWritableChunk(totalSize)) { for (int chunk = 0; chunk < chunkCount; ++chunk) { final int sizeAfterAddition = (chunk + 1) * chunkSize; try (final WritableFloatChunk valuesChunk = WritableFloatChunk.makeWritableChunk(chunkSize); - final WritableLongChunk keysChunk = WritableLongChunk.makeWritableChunk(chunkSize)) { + final WritableLongChunk keysChunk = WritableLongChunk.makeWritableChunk(chunkSize)) { final Random random = new Random(0); @@ -62,9 +61,11 @@ private void testMerge(boolean ascending) { MegaMergeTestUtils.doSort(ascending, chunkSize, valuesChunk, keysChunk); if (ascending) { - FloatLongMegaMergeKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, keysChunk, valuesChunk); + FloatLongMegaMergeKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, + keysChunk, valuesChunk); } else { - FloatLongMegaMergeDescendingKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, keysChunk, valuesChunk); + FloatLongMegaMergeDescendingKernel.merge(keySource, valuesSource, 0, + sizeAfterAddition - chunkSize, keysChunk, valuesChunk); } allValues.setSize(sizeAfterAddition); @@ -76,11 +77,12 @@ private void testMerge(boolean ascending) { MegaMergeTestUtils.doSort(ascending, chunkSize * chunkCount, allValues, allKeys); try (final ChunkSource.GetContext valueContext = valuesSource.makeGetContext(sizeAfterAddition); - final ChunkSource.GetContext keyContext = keySource.makeGetContext(sizeAfterAddition)) { + final ChunkSource.GetContext keyContext = keySource.makeGetContext(sizeAfterAddition)) { final RowSequence rowSequence = RowSequenceFactory.forRange(0, sizeAfterAddition - 1); - final FloatChunk checkValues = valuesSource.getChunk(valueContext, rowSequence).asFloatChunk(); + final FloatChunk checkValues = + valuesSource.getChunk(valueContext, rowSequence).asFloatChunk(); final LongChunk checkKeys = keySource.getChunk(keyContext, rowSequence).asLongChunk(); TestCase.assertEquals(checkValues.size(), allValues.size()); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestIntLongMegaMerge.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestIntLongMegaMerge.java index c27c7b14e2e..66b733ddebd 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestIntLongMegaMerge.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestIntLongMegaMerge.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharLongMegaMerge and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharLongMegaMerge and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.ChunkSource; @@ -44,13 +43,13 @@ private void testMerge(boolean ascending) { int totalSize = chunkSize * chunkCount; try (final WritableIntChunk allValues = WritableIntChunk.makeWritableChunk(totalSize); - final WritableLongChunk allKeys = WritableLongChunk.makeWritableChunk(totalSize)) { + final WritableLongChunk allKeys = WritableLongChunk.makeWritableChunk(totalSize)) { for (int chunk = 0; chunk < chunkCount; ++chunk) { final int sizeAfterAddition = (chunk + 1) * chunkSize; try (final WritableIntChunk valuesChunk = WritableIntChunk.makeWritableChunk(chunkSize); - final WritableLongChunk keysChunk = WritableLongChunk.makeWritableChunk(chunkSize)) { + final WritableLongChunk keysChunk = WritableLongChunk.makeWritableChunk(chunkSize)) { final Random random = new Random(0); @@ -62,9 +61,11 @@ private void testMerge(boolean ascending) { MegaMergeTestUtils.doSort(ascending, chunkSize, valuesChunk, keysChunk); if (ascending) { - IntLongMegaMergeKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, keysChunk, valuesChunk); + IntLongMegaMergeKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, + keysChunk, valuesChunk); } else { - IntLongMegaMergeDescendingKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, keysChunk, valuesChunk); + IntLongMegaMergeDescendingKernel.merge(keySource, valuesSource, 0, + sizeAfterAddition - chunkSize, keysChunk, valuesChunk); } allValues.setSize(sizeAfterAddition); @@ -76,11 +77,12 @@ private void testMerge(boolean ascending) { MegaMergeTestUtils.doSort(ascending, chunkSize * chunkCount, allValues, allKeys); try (final ChunkSource.GetContext valueContext = valuesSource.makeGetContext(sizeAfterAddition); - final ChunkSource.GetContext keyContext = keySource.makeGetContext(sizeAfterAddition)) { + final ChunkSource.GetContext keyContext = keySource.makeGetContext(sizeAfterAddition)) { final RowSequence rowSequence = RowSequenceFactory.forRange(0, sizeAfterAddition - 1); - final IntChunk checkValues = valuesSource.getChunk(valueContext, rowSequence).asIntChunk(); + final IntChunk checkValues = + valuesSource.getChunk(valueContext, rowSequence).asIntChunk(); final LongChunk checkKeys = keySource.getChunk(keyContext, rowSequence).asLongChunk(); TestCase.assertEquals(checkValues.size(), allValues.size()); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestLongLongMegaMerge.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestLongLongMegaMerge.java index 3793cf23783..f6fed4b3dde 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestLongLongMegaMerge.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestLongLongMegaMerge.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharLongMegaMerge and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharLongMegaMerge and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.ChunkSource; @@ -44,13 +43,13 @@ private void testMerge(boolean ascending) { int totalSize = chunkSize * chunkCount; try (final WritableLongChunk allValues = WritableLongChunk.makeWritableChunk(totalSize); - final WritableLongChunk allKeys = WritableLongChunk.makeWritableChunk(totalSize)) { + final WritableLongChunk allKeys = WritableLongChunk.makeWritableChunk(totalSize)) { for (int chunk = 0; chunk < chunkCount; ++chunk) { final int sizeAfterAddition = (chunk + 1) * chunkSize; try (final WritableLongChunk valuesChunk = WritableLongChunk.makeWritableChunk(chunkSize); - final WritableLongChunk keysChunk = WritableLongChunk.makeWritableChunk(chunkSize)) { + final WritableLongChunk keysChunk = WritableLongChunk.makeWritableChunk(chunkSize)) { final Random random = new Random(0); @@ -62,9 +61,11 @@ private void testMerge(boolean ascending) { MegaMergeTestUtils.doSort(ascending, chunkSize, valuesChunk, keysChunk); if (ascending) { - LongLongMegaMergeKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, keysChunk, valuesChunk); + LongLongMegaMergeKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, + keysChunk, valuesChunk); } else { - LongLongMegaMergeDescendingKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, keysChunk, valuesChunk); + LongLongMegaMergeDescendingKernel.merge(keySource, valuesSource, 0, + sizeAfterAddition - chunkSize, keysChunk, valuesChunk); } allValues.setSize(sizeAfterAddition); @@ -76,11 +77,12 @@ private void testMerge(boolean ascending) { MegaMergeTestUtils.doSort(ascending, chunkSize * chunkCount, allValues, allKeys); try (final ChunkSource.GetContext valueContext = valuesSource.makeGetContext(sizeAfterAddition); - final ChunkSource.GetContext keyContext = keySource.makeGetContext(sizeAfterAddition)) { + final ChunkSource.GetContext keyContext = keySource.makeGetContext(sizeAfterAddition)) { final RowSequence rowSequence = RowSequenceFactory.forRange(0, sizeAfterAddition - 1); - final LongChunk checkValues = valuesSource.getChunk(valueContext, rowSequence).asLongChunk(); + final LongChunk checkValues = + valuesSource.getChunk(valueContext, rowSequence).asLongChunk(); final LongChunk checkKeys = keySource.getChunk(keyContext, rowSequence).asLongChunk(); TestCase.assertEquals(checkValues.size(), allValues.size()); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestObjectLongMegaMerge.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestObjectLongMegaMerge.java index f04529e9bb8..5d55e9d71a1 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestObjectLongMegaMerge.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestObjectLongMegaMerge.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharLongMegaMerge and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharLongMegaMerge and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.ChunkSource; @@ -44,13 +43,13 @@ private void testMerge(boolean ascending) { int totalSize = chunkSize * chunkCount; try (final WritableObjectChunk allValues = WritableObjectChunk.makeWritableChunk(totalSize); - final WritableLongChunk allKeys = WritableLongChunk.makeWritableChunk(totalSize)) { + final WritableLongChunk allKeys = WritableLongChunk.makeWritableChunk(totalSize)) { for (int chunk = 0; chunk < chunkCount; ++chunk) { final int sizeAfterAddition = (chunk + 1) * chunkSize; try (final WritableObjectChunk valuesChunk = WritableObjectChunk.makeWritableChunk(chunkSize); - final WritableLongChunk keysChunk = WritableLongChunk.makeWritableChunk(chunkSize)) { + final WritableLongChunk keysChunk = WritableLongChunk.makeWritableChunk(chunkSize)) { final Random random = new Random(0); @@ -62,9 +61,11 @@ private void testMerge(boolean ascending) { MegaMergeTestUtils.doSort(ascending, chunkSize, valuesChunk, keysChunk); if (ascending) { - ObjectLongMegaMergeKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, keysChunk, valuesChunk); + ObjectLongMegaMergeKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, + keysChunk, valuesChunk); } else { - ObjectLongMegaMergeDescendingKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, keysChunk, valuesChunk); + ObjectLongMegaMergeDescendingKernel.merge(keySource, valuesSource, 0, + sizeAfterAddition - chunkSize, keysChunk, valuesChunk); } allValues.setSize(sizeAfterAddition); @@ -76,11 +77,12 @@ private void testMerge(boolean ascending) { MegaMergeTestUtils.doSort(ascending, chunkSize * chunkCount, allValues, allKeys); try (final ChunkSource.GetContext valueContext = valuesSource.makeGetContext(sizeAfterAddition); - final ChunkSource.GetContext keyContext = keySource.makeGetContext(sizeAfterAddition)) { + final ChunkSource.GetContext keyContext = keySource.makeGetContext(sizeAfterAddition)) { final RowSequence rowSequence = RowSequenceFactory.forRange(0, sizeAfterAddition - 1); - final ObjectChunk checkValues = valuesSource.getChunk(valueContext, rowSequence).asObjectChunk(); + final ObjectChunk checkValues = + valuesSource.getChunk(valueContext, rowSequence).asObjectChunk(); final LongChunk checkKeys = keySource.getChunk(keyContext, rowSequence).asLongChunk(); TestCase.assertEquals(checkValues.size(), allValues.size()); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestShortLongMegaMerge.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestShortLongMegaMerge.java index 1a26f2dcaec..a1d4ee9ab6b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestShortLongMegaMerge.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/megamerge/TestShortLongMegaMerge.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharLongMegaMerge and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharLongMegaMerge and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.megamerge; import io.deephaven.engine.table.ChunkSource; @@ -44,13 +43,13 @@ private void testMerge(boolean ascending) { int totalSize = chunkSize * chunkCount; try (final WritableShortChunk allValues = WritableShortChunk.makeWritableChunk(totalSize); - final WritableLongChunk allKeys = WritableLongChunk.makeWritableChunk(totalSize)) { + final WritableLongChunk allKeys = WritableLongChunk.makeWritableChunk(totalSize)) { for (int chunk = 0; chunk < chunkCount; ++chunk) { final int sizeAfterAddition = (chunk + 1) * chunkSize; try (final WritableShortChunk valuesChunk = WritableShortChunk.makeWritableChunk(chunkSize); - final WritableLongChunk keysChunk = WritableLongChunk.makeWritableChunk(chunkSize)) { + final WritableLongChunk keysChunk = WritableLongChunk.makeWritableChunk(chunkSize)) { final Random random = new Random(0); @@ -62,9 +61,11 @@ private void testMerge(boolean ascending) { MegaMergeTestUtils.doSort(ascending, chunkSize, valuesChunk, keysChunk); if (ascending) { - ShortLongMegaMergeKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, keysChunk, valuesChunk); + ShortLongMegaMergeKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, + keysChunk, valuesChunk); } else { - ShortLongMegaMergeDescendingKernel.merge(keySource, valuesSource, 0, sizeAfterAddition - chunkSize, keysChunk, valuesChunk); + ShortLongMegaMergeDescendingKernel.merge(keySource, valuesSource, 0, + sizeAfterAddition - chunkSize, keysChunk, valuesChunk); } allValues.setSize(sizeAfterAddition); @@ -76,11 +77,12 @@ private void testMerge(boolean ascending) { MegaMergeTestUtils.doSort(ascending, chunkSize * chunkCount, allValues, allKeys); try (final ChunkSource.GetContext valueContext = valuesSource.makeGetContext(sizeAfterAddition); - final ChunkSource.GetContext keyContext = keySource.makeGetContext(sizeAfterAddition)) { + final ChunkSource.GetContext keyContext = keySource.makeGetContext(sizeAfterAddition)) { final RowSequence rowSequence = RowSequenceFactory.forRange(0, sizeAfterAddition - 1); - final ShortChunk checkValues = valuesSource.getChunk(valueContext, rowSequence).asShortChunk(); + final ShortChunk checkValues = + valuesSource.getChunk(valueContext, rowSequence).asShortChunk(); final LongChunk checkKeys = keySource.getChunk(keyContext, rowSequence).asLongChunk(); TestCase.assertEquals(checkValues.size(), allValues.size()); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestBytePermuteKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestBytePermuteKernel.java index c6e2c8447f1..291d84d255f 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestBytePermuteKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestBytePermuteKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharPermuteKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharPermuteKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.permute; import io.deephaven.chunk.WritableByteChunk; @@ -34,7 +33,7 @@ public void testReverse() { BytePermuteKernel.permute(inputValues, destinations, outputValues); - byte value = (byte)(startingValue() + 9); + byte value = (byte) (startingValue() + 9); for (int ii = 0; ii < 10; ++ii) { TestCase.assertEquals(value, outputValues.get(ii)); value--; @@ -100,8 +99,7 @@ public void testSpread() { for (int ii = 0; ii < outputValues.size(); ++ii) { if (ii % 2 == 1) { TestCase.assertEquals(uninitializedValue(), outputValues.get(ii)); - } - else if (ii / 2 < half) { + } else if (ii / 2 < half) { TestCase.assertEquals(startingValue() + ii, outputValues.get(ii)); } else { TestCase.assertEquals(startingValue() + (ii / 2 - half) * 2 + 1, outputValues.get(ii)); @@ -117,7 +115,8 @@ private byte startingValue() { // region defaultValue @SuppressWarnings("MismatchedReadAndWriteOfArray") - private static final byte [] uninitializedValue = new byte[1]; + private static final byte[] uninitializedValue = new byte[1]; + private byte uninitializedValue() { return uninitializedValue[0]; } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestCharPermuteKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestCharPermuteKernel.java index 061b60e8d2f..e50176fbe07 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestCharPermuteKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestCharPermuteKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.permute; import io.deephaven.chunk.WritableCharChunk; @@ -29,7 +29,7 @@ public void testReverse() { CharPermuteKernel.permute(inputValues, destinations, outputValues); - char value = (char)(startingValue() + 9); + char value = (char) (startingValue() + 9); for (int ii = 0; ii < 10; ++ii) { TestCase.assertEquals(value, outputValues.get(ii)); value--; @@ -95,8 +95,7 @@ public void testSpread() { for (int ii = 0; ii < outputValues.size(); ++ii) { if (ii % 2 == 1) { TestCase.assertEquals(uninitializedValue(), outputValues.get(ii)); - } - else if (ii / 2 < half) { + } else if (ii / 2 < half) { TestCase.assertEquals(startingValue() + ii, outputValues.get(ii)); } else { TestCase.assertEquals(startingValue() + (ii / 2 - half) * 2 + 1, outputValues.get(ii)); @@ -112,7 +111,8 @@ private char startingValue() { // region defaultValue @SuppressWarnings("MismatchedReadAndWriteOfArray") - private static final char [] uninitializedValue = new char[1]; + private static final char[] uninitializedValue = new char[1]; + private char uninitializedValue() { return uninitializedValue[0]; } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestDoublePermuteKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestDoublePermuteKernel.java index bf365800570..9b4fa0dbd43 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestDoublePermuteKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestDoublePermuteKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharPermuteKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharPermuteKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.permute; import io.deephaven.chunk.WritableDoubleChunk; @@ -34,7 +33,7 @@ public void testReverse() { DoublePermuteKernel.permute(inputValues, destinations, outputValues); - double value = (double)(startingValue() + 9); + double value = (double) (startingValue() + 9); for (int ii = 0; ii < 10; ++ii) { TestCase.assertEquals(value, outputValues.get(ii)); value--; @@ -100,8 +99,7 @@ public void testSpread() { for (int ii = 0; ii < outputValues.size(); ++ii) { if (ii % 2 == 1) { TestCase.assertEquals(uninitializedValue(), outputValues.get(ii)); - } - else if (ii / 2 < half) { + } else if (ii / 2 < half) { TestCase.assertEquals(startingValue() + ii, outputValues.get(ii)); } else { TestCase.assertEquals(startingValue() + (ii / 2 - half) * 2 + 1, outputValues.get(ii)); @@ -117,7 +115,8 @@ private double startingValue() { // region defaultValue @SuppressWarnings("MismatchedReadAndWriteOfArray") - private static final double [] uninitializedValue = new double[1]; + private static final double[] uninitializedValue = new double[1]; + private double uninitializedValue() { return uninitializedValue[0]; } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestFloatPermuteKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestFloatPermuteKernel.java index 90c5960b668..9b126ca6172 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestFloatPermuteKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestFloatPermuteKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharPermuteKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharPermuteKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.permute; import io.deephaven.chunk.WritableFloatChunk; @@ -34,7 +33,7 @@ public void testReverse() { FloatPermuteKernel.permute(inputValues, destinations, outputValues); - float value = (float)(startingValue() + 9); + float value = (float) (startingValue() + 9); for (int ii = 0; ii < 10; ++ii) { TestCase.assertEquals(value, outputValues.get(ii)); value--; @@ -100,8 +99,7 @@ public void testSpread() { for (int ii = 0; ii < outputValues.size(); ++ii) { if (ii % 2 == 1) { TestCase.assertEquals(uninitializedValue(), outputValues.get(ii)); - } - else if (ii / 2 < half) { + } else if (ii / 2 < half) { TestCase.assertEquals(startingValue() + ii, outputValues.get(ii)); } else { TestCase.assertEquals(startingValue() + (ii / 2 - half) * 2 + 1, outputValues.get(ii)); @@ -117,7 +115,8 @@ private float startingValue() { // region defaultValue @SuppressWarnings("MismatchedReadAndWriteOfArray") - private static final float [] uninitializedValue = new float[1]; + private static final float[] uninitializedValue = new float[1]; + private float uninitializedValue() { return uninitializedValue[0]; } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestIntPermuteKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestIntPermuteKernel.java index e2cf91d3cce..0b05b806fd6 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestIntPermuteKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestIntPermuteKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharPermuteKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharPermuteKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.permute; import io.deephaven.chunk.WritableIntChunk; @@ -34,7 +33,7 @@ public void testReverse() { IntPermuteKernel.permute(inputValues, destinations, outputValues); - int value = (int)(startingValue() + 9); + int value = (int) (startingValue() + 9); for (int ii = 0; ii < 10; ++ii) { TestCase.assertEquals(value, outputValues.get(ii)); value--; @@ -100,8 +99,7 @@ public void testSpread() { for (int ii = 0; ii < outputValues.size(); ++ii) { if (ii % 2 == 1) { TestCase.assertEquals(uninitializedValue(), outputValues.get(ii)); - } - else if (ii / 2 < half) { + } else if (ii / 2 < half) { TestCase.assertEquals(startingValue() + ii, outputValues.get(ii)); } else { TestCase.assertEquals(startingValue() + (ii / 2 - half) * 2 + 1, outputValues.get(ii)); @@ -117,7 +115,8 @@ private int startingValue() { // region defaultValue @SuppressWarnings("MismatchedReadAndWriteOfArray") - private static final int [] uninitializedValue = new int[1]; + private static final int[] uninitializedValue = new int[1]; + private int uninitializedValue() { return uninitializedValue[0]; } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestLongPermuteKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestLongPermuteKernel.java index 929009a6a37..fcbb7472876 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestLongPermuteKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestLongPermuteKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharPermuteKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharPermuteKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.permute; import io.deephaven.chunk.WritableLongChunk; @@ -34,7 +33,7 @@ public void testReverse() { LongPermuteKernel.permute(inputValues, destinations, outputValues); - long value = (long)(startingValue() + 9); + long value = (long) (startingValue() + 9); for (int ii = 0; ii < 10; ++ii) { TestCase.assertEquals(value, outputValues.get(ii)); value--; @@ -100,8 +99,7 @@ public void testSpread() { for (int ii = 0; ii < outputValues.size(); ++ii) { if (ii % 2 == 1) { TestCase.assertEquals(uninitializedValue(), outputValues.get(ii)); - } - else if (ii / 2 < half) { + } else if (ii / 2 < half) { TestCase.assertEquals(startingValue() + ii, outputValues.get(ii)); } else { TestCase.assertEquals(startingValue() + (ii / 2 - half) * 2 + 1, outputValues.get(ii)); @@ -117,7 +115,8 @@ private long startingValue() { // region defaultValue @SuppressWarnings("MismatchedReadAndWriteOfArray") - private static final long [] uninitializedValue = new long[1]; + private static final long[] uninitializedValue = new long[1]; + private long uninitializedValue() { return uninitializedValue[0]; } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestShortPermuteKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestShortPermuteKernel.java index 3c4227fb03f..d7448965f5e 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestShortPermuteKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/permute/TestShortPermuteKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharPermuteKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharPermuteKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.permute; import io.deephaven.chunk.WritableShortChunk; @@ -34,7 +33,7 @@ public void testReverse() { ShortPermuteKernel.permute(inputValues, destinations, outputValues); - short value = (short)(startingValue() + 9); + short value = (short) (startingValue() + 9); for (int ii = 0; ii < 10; ++ii) { TestCase.assertEquals(value, outputValues.get(ii)); value--; @@ -100,8 +99,7 @@ public void testSpread() { for (int ii = 0; ii < outputValues.size(); ++ii) { if (ii % 2 == 1) { TestCase.assertEquals(uninitializedValue(), outputValues.get(ii)); - } - else if (ii / 2 < half) { + } else if (ii / 2 < half) { TestCase.assertEquals(startingValue() + ii, outputValues.get(ii)); } else { TestCase.assertEquals(startingValue() + (ii / 2 - half) * 2 + 1, outputValues.get(ii)); @@ -117,7 +115,8 @@ private short startingValue() { // region defaultValue @SuppressWarnings("MismatchedReadAndWriteOfArray") - private static final short [] uninitializedValue = new short[1]; + private static final short[] uninitializedValue = new short[1]; + private short uninitializedValue() { return uninitializedValue[0]; } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestByteTimSortKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestByteTimSortKernel.java index 3dacbcf8ec3..576d8d6deb4 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestByteTimSortKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestByteTimSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit BaseTestCharTimSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit BaseTestCharTimSortKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestDoubleTimSortKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestDoubleTimSortKernel.java index 9b6e8e22ddc..838a3c147a6 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestDoubleTimSortKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestDoubleTimSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit BaseTestCharTimSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit BaseTestCharTimSortKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestFloatTimSortKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestFloatTimSortKernel.java index 793d0299c6d..1b2d79d557d 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestFloatTimSortKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestFloatTimSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit BaseTestCharTimSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit BaseTestCharTimSortKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestIntTimSortKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestIntTimSortKernel.java index 806fd6d35ee..d374dfc3787 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestIntTimSortKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestIntTimSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit BaseTestCharTimSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit BaseTestCharTimSortKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestLongTimSortKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestLongTimSortKernel.java index 191cbe88f39..651fd93da33 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestLongTimSortKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestLongTimSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit BaseTestCharTimSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit BaseTestCharTimSortKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestObjectTimSortKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestObjectTimSortKernel.java index 3cdd97ad1fd..85914964103 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestObjectTimSortKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestObjectTimSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit BaseTestCharTimSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit BaseTestCharTimSortKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import java.util.Objects; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestShortTimSortKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestShortTimSortKernel.java index 6cc36c84ec8..9efdb67d6eb 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestShortTimSortKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/BaseTestShortTimSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit BaseTestCharTimSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit BaseTestCharTimSortKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.attributes.Any; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/MergeSort.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/MergeSort.java index 4f5f4f126ce..0d4f9c158d0 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/MergeSort.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/MergeSort.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.engine.table.impl.ColumnComparatorFactory; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestByteTimSortKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestByteTimSortKernel.java index 08ef0b3e7af..bcaf9476870 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestByteTimSortKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestByteTimSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharTimSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharTimSortKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.test.types.ParallelTest; @@ -14,82 +13,95 @@ @Category(ParallelTest.class) public class TestByteTimSortKernel extends BaseTestByteTimSortKernel { - // I like this output, but for now am leaving these tests off, so we can focus on getting right answers and we can try + // I like this output, but for now am leaving these tests off, so we can focus on getting right answers and we can + // try // out JMH for running morally equivalent things. -// @Test -// public void byteRandomPerformanceTest() { -// performanceTest(TestByteTimSortKernel::generateByteRandom, ByteSortKernelStuff::new, ByteSortKernelStuff::run, getJavaComparator(), ByteMergeStuff::new, ByteMergeStuff::run); -// } -// -// @Test -// public void byteRunPerformanceTest() { -// performanceTest(TestByteTimSortKernel::generateByteRuns, ByteSortKernelStuff::new, ByteSortKernelStuff::run, getJavaComparator(), ByteMergeStuff::new, ByteMergeStuff::run); -// } -// -// @Test -// public void byteRunDescendingPerformanceTest() { -// performanceTest(TestByteTimSortKernel::generateDescendingByteRuns, ByteSortKernelStuff::new, ByteSortKernelStuff::run, getJavaComparator(), ByteMergeStuff::new, ByteMergeStuff::run); -// } -// -// @Test -// public void byteRunAscendingPerformanceTest() { -// performanceTest(TestByteTimSortKernel::generateAscendingByteRuns, ByteSortKernelStuff::new, ByteSortKernelStuff::run, getJavaComparator(), ByteMergeStuff::new, ByteMergeStuff::run); -// } -// + // @Test + // public void byteRandomPerformanceTest() { + // performanceTest(TestByteTimSortKernel::generateByteRandom, ByteSortKernelStuff::new, ByteSortKernelStuff::run, + // getJavaComparator(), ByteMergeStuff::new, ByteMergeStuff::run); + // } + // + // @Test + // public void byteRunPerformanceTest() { + // performanceTest(TestByteTimSortKernel::generateByteRuns, ByteSortKernelStuff::new, ByteSortKernelStuff::run, + // getJavaComparator(), ByteMergeStuff::new, ByteMergeStuff::run); + // } + // + // @Test + // public void byteRunDescendingPerformanceTest() { + // performanceTest(TestByteTimSortKernel::generateDescendingByteRuns, ByteSortKernelStuff::new, + // ByteSortKernelStuff::run, getJavaComparator(), ByteMergeStuff::new, ByteMergeStuff::run); + // } + // + // @Test + // public void byteRunAscendingPerformanceTest() { + // performanceTest(TestByteTimSortKernel::generateAscendingByteRuns, ByteSortKernelStuff::new, + // ByteSortKernelStuff::run, getJavaComparator(), ByteMergeStuff::new, ByteMergeStuff::run); + // } + // @Test public void byteRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestByteTimSortKernel::generateByteRandom, getJavaComparator(), ByteLongSortKernelStuff::new); + correctnessTest(size, TestByteTimSortKernel::generateByteRandom, getJavaComparator(), + ByteLongSortKernelStuff::new); } } @Test public void byteAscendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestByteTimSortKernel::generateAscendingByteRuns, getJavaComparator(), ByteSortKernelStuff::new); + correctnessTest(size, TestByteTimSortKernel::generateAscendingByteRuns, getJavaComparator(), + ByteSortKernelStuff::new); } } @Test public void byteDescendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestByteTimSortKernel::generateDescendingByteRuns, getJavaComparator(), ByteSortKernelStuff::new); + correctnessTest(size, TestByteTimSortKernel::generateDescendingByteRuns, getJavaComparator(), + ByteSortKernelStuff::new); } } @Test public void byteRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestByteTimSortKernel::generateByteRuns, getJavaComparator(), ByteSortKernelStuff::new); + correctnessTest(size, TestByteTimSortKernel::generateByteRuns, getJavaComparator(), + ByteSortKernelStuff::new); } } @Test public void byteLongRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestByteTimSortKernel::generateByteRandom, getJavaComparator(), ByteLongSortKernelStuff::new); + correctnessTest(size, TestByteTimSortKernel::generateByteRandom, getJavaComparator(), + ByteLongSortKernelStuff::new); } } @Test public void byteLongAscendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestByteTimSortKernel::generateAscendingByteRuns, getJavaComparator(), ByteLongSortKernelStuff::new); + correctnessTest(size, TestByteTimSortKernel::generateAscendingByteRuns, getJavaComparator(), + ByteLongSortKernelStuff::new); } } @Test public void byteLongDescendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestByteTimSortKernel::generateDescendingByteRuns, getJavaComparator(), ByteLongSortKernelStuff::new); + correctnessTest(size, TestByteTimSortKernel::generateDescendingByteRuns, getJavaComparator(), + ByteLongSortKernelStuff::new); } } @Test public void byteLongRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestByteTimSortKernel::generateByteRuns, getJavaComparator(), ByteLongSortKernelStuff::new); + correctnessTest(size, TestByteTimSortKernel::generateByteRuns, getJavaComparator(), + ByteLongSortKernelStuff::new); } } @@ -97,8 +109,9 @@ public void byteLongRunCorrectness() { public void byteRandomPartitionCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_PARTTITION_CHUNK_SIZE; size *= 2) { int partitions = 2; - while (partitions < (int)Math.sqrt(size)) { - partitionCorrectnessTest(size, size, partitions, TestByteTimSortKernel::generateByteRandom, getJavaComparator(), BytePartitionKernelStuff::new); + while (partitions < (int) Math.sqrt(size)) { + partitionCorrectnessTest(size, size, partitions, TestByteTimSortKernel::generateByteRandom, + getJavaComparator(), BytePartitionKernelStuff::new); if (size < 1000) { break; } @@ -111,7 +124,8 @@ public void byteRandomPartitionCorrectness() { @Test public void byteMultiRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - multiCorrectnessTest(size, TestByteTimSortKernel::generateMultiByteRandom, getJavaMultiComparator(), ByteMultiSortKernelStuff::new); + multiCorrectnessTest(size, TestByteTimSortKernel::generateMultiByteRandom, getJavaMultiComparator(), + ByteMultiSortKernelStuff::new); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestCharTimSortKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestCharTimSortKernel.java index f91ad5255f6..e837ec11497 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestCharTimSortKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestCharTimSortKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.test.types.ParallelTest; @@ -9,82 +9,95 @@ @Category(ParallelTest.class) public class TestCharTimSortKernel extends BaseTestCharTimSortKernel { - // I like this output, but for now am leaving these tests off, so we can focus on getting right answers and we can try + // I like this output, but for now am leaving these tests off, so we can focus on getting right answers and we can + // try // out JMH for running morally equivalent things. -// @Test -// public void charRandomPerformanceTest() { -// performanceTest(TestCharTimSortKernel::generateCharRandom, CharSortKernelStuff::new, CharSortKernelStuff::run, getJavaComparator(), CharMergeStuff::new, CharMergeStuff::run); -// } -// -// @Test -// public void charRunPerformanceTest() { -// performanceTest(TestCharTimSortKernel::generateCharRuns, CharSortKernelStuff::new, CharSortKernelStuff::run, getJavaComparator(), CharMergeStuff::new, CharMergeStuff::run); -// } -// -// @Test -// public void charRunDescendingPerformanceTest() { -// performanceTest(TestCharTimSortKernel::generateDescendingCharRuns, CharSortKernelStuff::new, CharSortKernelStuff::run, getJavaComparator(), CharMergeStuff::new, CharMergeStuff::run); -// } -// -// @Test -// public void charRunAscendingPerformanceTest() { -// performanceTest(TestCharTimSortKernel::generateAscendingCharRuns, CharSortKernelStuff::new, CharSortKernelStuff::run, getJavaComparator(), CharMergeStuff::new, CharMergeStuff::run); -// } -// + // @Test + // public void charRandomPerformanceTest() { + // performanceTest(TestCharTimSortKernel::generateCharRandom, CharSortKernelStuff::new, CharSortKernelStuff::run, + // getJavaComparator(), CharMergeStuff::new, CharMergeStuff::run); + // } + // + // @Test + // public void charRunPerformanceTest() { + // performanceTest(TestCharTimSortKernel::generateCharRuns, CharSortKernelStuff::new, CharSortKernelStuff::run, + // getJavaComparator(), CharMergeStuff::new, CharMergeStuff::run); + // } + // + // @Test + // public void charRunDescendingPerformanceTest() { + // performanceTest(TestCharTimSortKernel::generateDescendingCharRuns, CharSortKernelStuff::new, + // CharSortKernelStuff::run, getJavaComparator(), CharMergeStuff::new, CharMergeStuff::run); + // } + // + // @Test + // public void charRunAscendingPerformanceTest() { + // performanceTest(TestCharTimSortKernel::generateAscendingCharRuns, CharSortKernelStuff::new, + // CharSortKernelStuff::run, getJavaComparator(), CharMergeStuff::new, CharMergeStuff::run); + // } + // @Test public void charRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestCharTimSortKernel::generateCharRandom, getJavaComparator(), CharLongSortKernelStuff::new); + correctnessTest(size, TestCharTimSortKernel::generateCharRandom, getJavaComparator(), + CharLongSortKernelStuff::new); } } @Test public void charAscendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestCharTimSortKernel::generateAscendingCharRuns, getJavaComparator(), CharSortKernelStuff::new); + correctnessTest(size, TestCharTimSortKernel::generateAscendingCharRuns, getJavaComparator(), + CharSortKernelStuff::new); } } @Test public void charDescendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestCharTimSortKernel::generateDescendingCharRuns, getJavaComparator(), CharSortKernelStuff::new); + correctnessTest(size, TestCharTimSortKernel::generateDescendingCharRuns, getJavaComparator(), + CharSortKernelStuff::new); } } @Test public void charRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestCharTimSortKernel::generateCharRuns, getJavaComparator(), CharSortKernelStuff::new); + correctnessTest(size, TestCharTimSortKernel::generateCharRuns, getJavaComparator(), + CharSortKernelStuff::new); } } @Test public void charLongRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestCharTimSortKernel::generateCharRandom, getJavaComparator(), CharLongSortKernelStuff::new); + correctnessTest(size, TestCharTimSortKernel::generateCharRandom, getJavaComparator(), + CharLongSortKernelStuff::new); } } @Test public void charLongAscendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestCharTimSortKernel::generateAscendingCharRuns, getJavaComparator(), CharLongSortKernelStuff::new); + correctnessTest(size, TestCharTimSortKernel::generateAscendingCharRuns, getJavaComparator(), + CharLongSortKernelStuff::new); } } @Test public void charLongDescendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestCharTimSortKernel::generateDescendingCharRuns, getJavaComparator(), CharLongSortKernelStuff::new); + correctnessTest(size, TestCharTimSortKernel::generateDescendingCharRuns, getJavaComparator(), + CharLongSortKernelStuff::new); } } @Test public void charLongRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestCharTimSortKernel::generateCharRuns, getJavaComparator(), CharLongSortKernelStuff::new); + correctnessTest(size, TestCharTimSortKernel::generateCharRuns, getJavaComparator(), + CharLongSortKernelStuff::new); } } @@ -92,8 +105,9 @@ public void charLongRunCorrectness() { public void charRandomPartitionCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_PARTTITION_CHUNK_SIZE; size *= 2) { int partitions = 2; - while (partitions < (int)Math.sqrt(size)) { - partitionCorrectnessTest(size, size, partitions, TestCharTimSortKernel::generateCharRandom, getJavaComparator(), CharPartitionKernelStuff::new); + while (partitions < (int) Math.sqrt(size)) { + partitionCorrectnessTest(size, size, partitions, TestCharTimSortKernel::generateCharRandom, + getJavaComparator(), CharPartitionKernelStuff::new); if (size < 1000) { break; } @@ -106,7 +120,8 @@ public void charRandomPartitionCorrectness() { @Test public void charMultiRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - multiCorrectnessTest(size, TestCharTimSortKernel::generateMultiCharRandom, getJavaMultiComparator(), CharMultiSortKernelStuff::new); + multiCorrectnessTest(size, TestCharTimSortKernel::generateMultiCharRandom, getJavaMultiComparator(), + CharMultiSortKernelStuff::new); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestDoubleTimSortKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestDoubleTimSortKernel.java index bc7502e8078..5adf17d17aa 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestDoubleTimSortKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestDoubleTimSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharTimSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharTimSortKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.test.types.ParallelTest; @@ -14,82 +13,95 @@ @Category(ParallelTest.class) public class TestDoubleTimSortKernel extends BaseTestDoubleTimSortKernel { - // I like this output, but for now am leaving these tests off, so we can focus on getting right answers and we can try + // I like this output, but for now am leaving these tests off, so we can focus on getting right answers and we can + // try // out JMH for running morally equivalent things. -// @Test -// public void doubleRandomPerformanceTest() { -// performanceTest(TestDoubleTimSortKernel::generateDoubleRandom, DoubleSortKernelStuff::new, DoubleSortKernelStuff::run, getJavaComparator(), DoubleMergeStuff::new, DoubleMergeStuff::run); -// } -// -// @Test -// public void doubleRunPerformanceTest() { -// performanceTest(TestDoubleTimSortKernel::generateDoubleRuns, DoubleSortKernelStuff::new, DoubleSortKernelStuff::run, getJavaComparator(), DoubleMergeStuff::new, DoubleMergeStuff::run); -// } -// -// @Test -// public void doubleRunDescendingPerformanceTest() { -// performanceTest(TestDoubleTimSortKernel::generateDescendingDoubleRuns, DoubleSortKernelStuff::new, DoubleSortKernelStuff::run, getJavaComparator(), DoubleMergeStuff::new, DoubleMergeStuff::run); -// } -// -// @Test -// public void doubleRunAscendingPerformanceTest() { -// performanceTest(TestDoubleTimSortKernel::generateAscendingDoubleRuns, DoubleSortKernelStuff::new, DoubleSortKernelStuff::run, getJavaComparator(), DoubleMergeStuff::new, DoubleMergeStuff::run); -// } -// + // @Test + // public void doubleRandomPerformanceTest() { + // performanceTest(TestDoubleTimSortKernel::generateDoubleRandom, DoubleSortKernelStuff::new, DoubleSortKernelStuff::run, + // getJavaComparator(), DoubleMergeStuff::new, DoubleMergeStuff::run); + // } + // + // @Test + // public void doubleRunPerformanceTest() { + // performanceTest(TestDoubleTimSortKernel::generateDoubleRuns, DoubleSortKernelStuff::new, DoubleSortKernelStuff::run, + // getJavaComparator(), DoubleMergeStuff::new, DoubleMergeStuff::run); + // } + // + // @Test + // public void doubleRunDescendingPerformanceTest() { + // performanceTest(TestDoubleTimSortKernel::generateDescendingDoubleRuns, DoubleSortKernelStuff::new, + // DoubleSortKernelStuff::run, getJavaComparator(), DoubleMergeStuff::new, DoubleMergeStuff::run); + // } + // + // @Test + // public void doubleRunAscendingPerformanceTest() { + // performanceTest(TestDoubleTimSortKernel::generateAscendingDoubleRuns, DoubleSortKernelStuff::new, + // DoubleSortKernelStuff::run, getJavaComparator(), DoubleMergeStuff::new, DoubleMergeStuff::run); + // } + // @Test public void doubleRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestDoubleTimSortKernel::generateDoubleRandom, getJavaComparator(), DoubleLongSortKernelStuff::new); + correctnessTest(size, TestDoubleTimSortKernel::generateDoubleRandom, getJavaComparator(), + DoubleLongSortKernelStuff::new); } } @Test public void doubleAscendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestDoubleTimSortKernel::generateAscendingDoubleRuns, getJavaComparator(), DoubleSortKernelStuff::new); + correctnessTest(size, TestDoubleTimSortKernel::generateAscendingDoubleRuns, getJavaComparator(), + DoubleSortKernelStuff::new); } } @Test public void doubleDescendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestDoubleTimSortKernel::generateDescendingDoubleRuns, getJavaComparator(), DoubleSortKernelStuff::new); + correctnessTest(size, TestDoubleTimSortKernel::generateDescendingDoubleRuns, getJavaComparator(), + DoubleSortKernelStuff::new); } } @Test public void doubleRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestDoubleTimSortKernel::generateDoubleRuns, getJavaComparator(), DoubleSortKernelStuff::new); + correctnessTest(size, TestDoubleTimSortKernel::generateDoubleRuns, getJavaComparator(), + DoubleSortKernelStuff::new); } } @Test public void doubleLongRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestDoubleTimSortKernel::generateDoubleRandom, getJavaComparator(), DoubleLongSortKernelStuff::new); + correctnessTest(size, TestDoubleTimSortKernel::generateDoubleRandom, getJavaComparator(), + DoubleLongSortKernelStuff::new); } } @Test public void doubleLongAscendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestDoubleTimSortKernel::generateAscendingDoubleRuns, getJavaComparator(), DoubleLongSortKernelStuff::new); + correctnessTest(size, TestDoubleTimSortKernel::generateAscendingDoubleRuns, getJavaComparator(), + DoubleLongSortKernelStuff::new); } } @Test public void doubleLongDescendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestDoubleTimSortKernel::generateDescendingDoubleRuns, getJavaComparator(), DoubleLongSortKernelStuff::new); + correctnessTest(size, TestDoubleTimSortKernel::generateDescendingDoubleRuns, getJavaComparator(), + DoubleLongSortKernelStuff::new); } } @Test public void doubleLongRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestDoubleTimSortKernel::generateDoubleRuns, getJavaComparator(), DoubleLongSortKernelStuff::new); + correctnessTest(size, TestDoubleTimSortKernel::generateDoubleRuns, getJavaComparator(), + DoubleLongSortKernelStuff::new); } } @@ -97,8 +109,9 @@ public void doubleLongRunCorrectness() { public void doubleRandomPartitionCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_PARTTITION_CHUNK_SIZE; size *= 2) { int partitions = 2; - while (partitions < (int)Math.sqrt(size)) { - partitionCorrectnessTest(size, size, partitions, TestDoubleTimSortKernel::generateDoubleRandom, getJavaComparator(), DoublePartitionKernelStuff::new); + while (partitions < (int) Math.sqrt(size)) { + partitionCorrectnessTest(size, size, partitions, TestDoubleTimSortKernel::generateDoubleRandom, + getJavaComparator(), DoublePartitionKernelStuff::new); if (size < 1000) { break; } @@ -111,7 +124,8 @@ public void doubleRandomPartitionCorrectness() { @Test public void doubleMultiRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - multiCorrectnessTest(size, TestDoubleTimSortKernel::generateMultiDoubleRandom, getJavaMultiComparator(), DoubleMultiSortKernelStuff::new); + multiCorrectnessTest(size, TestDoubleTimSortKernel::generateMultiDoubleRandom, getJavaMultiComparator(), + DoubleMultiSortKernelStuff::new); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestFloatTimSortKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestFloatTimSortKernel.java index f41b0258746..d4599041656 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestFloatTimSortKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestFloatTimSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharTimSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharTimSortKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.test.types.ParallelTest; @@ -14,82 +13,95 @@ @Category(ParallelTest.class) public class TestFloatTimSortKernel extends BaseTestFloatTimSortKernel { - // I like this output, but for now am leaving these tests off, so we can focus on getting right answers and we can try + // I like this output, but for now am leaving these tests off, so we can focus on getting right answers and we can + // try // out JMH for running morally equivalent things. -// @Test -// public void floatRandomPerformanceTest() { -// performanceTest(TestFloatTimSortKernel::generateFloatRandom, FloatSortKernelStuff::new, FloatSortKernelStuff::run, getJavaComparator(), FloatMergeStuff::new, FloatMergeStuff::run); -// } -// -// @Test -// public void floatRunPerformanceTest() { -// performanceTest(TestFloatTimSortKernel::generateFloatRuns, FloatSortKernelStuff::new, FloatSortKernelStuff::run, getJavaComparator(), FloatMergeStuff::new, FloatMergeStuff::run); -// } -// -// @Test -// public void floatRunDescendingPerformanceTest() { -// performanceTest(TestFloatTimSortKernel::generateDescendingFloatRuns, FloatSortKernelStuff::new, FloatSortKernelStuff::run, getJavaComparator(), FloatMergeStuff::new, FloatMergeStuff::run); -// } -// -// @Test -// public void floatRunAscendingPerformanceTest() { -// performanceTest(TestFloatTimSortKernel::generateAscendingFloatRuns, FloatSortKernelStuff::new, FloatSortKernelStuff::run, getJavaComparator(), FloatMergeStuff::new, FloatMergeStuff::run); -// } -// + // @Test + // public void floatRandomPerformanceTest() { + // performanceTest(TestFloatTimSortKernel::generateFloatRandom, FloatSortKernelStuff::new, FloatSortKernelStuff::run, + // getJavaComparator(), FloatMergeStuff::new, FloatMergeStuff::run); + // } + // + // @Test + // public void floatRunPerformanceTest() { + // performanceTest(TestFloatTimSortKernel::generateFloatRuns, FloatSortKernelStuff::new, FloatSortKernelStuff::run, + // getJavaComparator(), FloatMergeStuff::new, FloatMergeStuff::run); + // } + // + // @Test + // public void floatRunDescendingPerformanceTest() { + // performanceTest(TestFloatTimSortKernel::generateDescendingFloatRuns, FloatSortKernelStuff::new, + // FloatSortKernelStuff::run, getJavaComparator(), FloatMergeStuff::new, FloatMergeStuff::run); + // } + // + // @Test + // public void floatRunAscendingPerformanceTest() { + // performanceTest(TestFloatTimSortKernel::generateAscendingFloatRuns, FloatSortKernelStuff::new, + // FloatSortKernelStuff::run, getJavaComparator(), FloatMergeStuff::new, FloatMergeStuff::run); + // } + // @Test public void floatRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestFloatTimSortKernel::generateFloatRandom, getJavaComparator(), FloatLongSortKernelStuff::new); + correctnessTest(size, TestFloatTimSortKernel::generateFloatRandom, getJavaComparator(), + FloatLongSortKernelStuff::new); } } @Test public void floatAscendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestFloatTimSortKernel::generateAscendingFloatRuns, getJavaComparator(), FloatSortKernelStuff::new); + correctnessTest(size, TestFloatTimSortKernel::generateAscendingFloatRuns, getJavaComparator(), + FloatSortKernelStuff::new); } } @Test public void floatDescendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestFloatTimSortKernel::generateDescendingFloatRuns, getJavaComparator(), FloatSortKernelStuff::new); + correctnessTest(size, TestFloatTimSortKernel::generateDescendingFloatRuns, getJavaComparator(), + FloatSortKernelStuff::new); } } @Test public void floatRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestFloatTimSortKernel::generateFloatRuns, getJavaComparator(), FloatSortKernelStuff::new); + correctnessTest(size, TestFloatTimSortKernel::generateFloatRuns, getJavaComparator(), + FloatSortKernelStuff::new); } } @Test public void floatLongRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestFloatTimSortKernel::generateFloatRandom, getJavaComparator(), FloatLongSortKernelStuff::new); + correctnessTest(size, TestFloatTimSortKernel::generateFloatRandom, getJavaComparator(), + FloatLongSortKernelStuff::new); } } @Test public void floatLongAscendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestFloatTimSortKernel::generateAscendingFloatRuns, getJavaComparator(), FloatLongSortKernelStuff::new); + correctnessTest(size, TestFloatTimSortKernel::generateAscendingFloatRuns, getJavaComparator(), + FloatLongSortKernelStuff::new); } } @Test public void floatLongDescendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestFloatTimSortKernel::generateDescendingFloatRuns, getJavaComparator(), FloatLongSortKernelStuff::new); + correctnessTest(size, TestFloatTimSortKernel::generateDescendingFloatRuns, getJavaComparator(), + FloatLongSortKernelStuff::new); } } @Test public void floatLongRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestFloatTimSortKernel::generateFloatRuns, getJavaComparator(), FloatLongSortKernelStuff::new); + correctnessTest(size, TestFloatTimSortKernel::generateFloatRuns, getJavaComparator(), + FloatLongSortKernelStuff::new); } } @@ -97,8 +109,9 @@ public void floatLongRunCorrectness() { public void floatRandomPartitionCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_PARTTITION_CHUNK_SIZE; size *= 2) { int partitions = 2; - while (partitions < (int)Math.sqrt(size)) { - partitionCorrectnessTest(size, size, partitions, TestFloatTimSortKernel::generateFloatRandom, getJavaComparator(), FloatPartitionKernelStuff::new); + while (partitions < (int) Math.sqrt(size)) { + partitionCorrectnessTest(size, size, partitions, TestFloatTimSortKernel::generateFloatRandom, + getJavaComparator(), FloatPartitionKernelStuff::new); if (size < 1000) { break; } @@ -111,7 +124,8 @@ public void floatRandomPartitionCorrectness() { @Test public void floatMultiRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - multiCorrectnessTest(size, TestFloatTimSortKernel::generateMultiFloatRandom, getJavaMultiComparator(), FloatMultiSortKernelStuff::new); + multiCorrectnessTest(size, TestFloatTimSortKernel::generateMultiFloatRandom, getJavaMultiComparator(), + FloatMultiSortKernelStuff::new); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestFpTimsortComparisons.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestFpTimsortComparisons.java index 3ac56ea361d..8a130263b96 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestFpTimsortComparisons.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestFpTimsortComparisons.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.util.QueryConstants; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestIntTimSortKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestIntTimSortKernel.java index 471af0122a6..8c60b1b3813 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestIntTimSortKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestIntTimSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharTimSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharTimSortKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.test.types.ParallelTest; @@ -14,82 +13,95 @@ @Category(ParallelTest.class) public class TestIntTimSortKernel extends BaseTestIntTimSortKernel { - // I like this output, but for now am leaving these tests off, so we can focus on getting right answers and we can try + // I like this output, but for now am leaving these tests off, so we can focus on getting right answers and we can + // try // out JMH for running morally equivalent things. -// @Test -// public void intRandomPerformanceTest() { -// performanceTest(TestIntTimSortKernel::generateIntRandom, IntSortKernelStuff::new, IntSortKernelStuff::run, getJavaComparator(), IntMergeStuff::new, IntMergeStuff::run); -// } -// -// @Test -// public void intRunPerformanceTest() { -// performanceTest(TestIntTimSortKernel::generateIntRuns, IntSortKernelStuff::new, IntSortKernelStuff::run, getJavaComparator(), IntMergeStuff::new, IntMergeStuff::run); -// } -// -// @Test -// public void intRunDescendingPerformanceTest() { -// performanceTest(TestIntTimSortKernel::generateDescendingIntRuns, IntSortKernelStuff::new, IntSortKernelStuff::run, getJavaComparator(), IntMergeStuff::new, IntMergeStuff::run); -// } -// -// @Test -// public void intRunAscendingPerformanceTest() { -// performanceTest(TestIntTimSortKernel::generateAscendingIntRuns, IntSortKernelStuff::new, IntSortKernelStuff::run, getJavaComparator(), IntMergeStuff::new, IntMergeStuff::run); -// } -// + // @Test + // public void intRandomPerformanceTest() { + // performanceTest(TestIntTimSortKernel::generateIntRandom, IntSortKernelStuff::new, IntSortKernelStuff::run, + // getJavaComparator(), IntMergeStuff::new, IntMergeStuff::run); + // } + // + // @Test + // public void intRunPerformanceTest() { + // performanceTest(TestIntTimSortKernel::generateIntRuns, IntSortKernelStuff::new, IntSortKernelStuff::run, + // getJavaComparator(), IntMergeStuff::new, IntMergeStuff::run); + // } + // + // @Test + // public void intRunDescendingPerformanceTest() { + // performanceTest(TestIntTimSortKernel::generateDescendingIntRuns, IntSortKernelStuff::new, + // IntSortKernelStuff::run, getJavaComparator(), IntMergeStuff::new, IntMergeStuff::run); + // } + // + // @Test + // public void intRunAscendingPerformanceTest() { + // performanceTest(TestIntTimSortKernel::generateAscendingIntRuns, IntSortKernelStuff::new, + // IntSortKernelStuff::run, getJavaComparator(), IntMergeStuff::new, IntMergeStuff::run); + // } + // @Test public void intRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestIntTimSortKernel::generateIntRandom, getJavaComparator(), IntLongSortKernelStuff::new); + correctnessTest(size, TestIntTimSortKernel::generateIntRandom, getJavaComparator(), + IntLongSortKernelStuff::new); } } @Test public void intAscendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestIntTimSortKernel::generateAscendingIntRuns, getJavaComparator(), IntSortKernelStuff::new); + correctnessTest(size, TestIntTimSortKernel::generateAscendingIntRuns, getJavaComparator(), + IntSortKernelStuff::new); } } @Test public void intDescendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestIntTimSortKernel::generateDescendingIntRuns, getJavaComparator(), IntSortKernelStuff::new); + correctnessTest(size, TestIntTimSortKernel::generateDescendingIntRuns, getJavaComparator(), + IntSortKernelStuff::new); } } @Test public void intRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestIntTimSortKernel::generateIntRuns, getJavaComparator(), IntSortKernelStuff::new); + correctnessTest(size, TestIntTimSortKernel::generateIntRuns, getJavaComparator(), + IntSortKernelStuff::new); } } @Test public void intLongRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestIntTimSortKernel::generateIntRandom, getJavaComparator(), IntLongSortKernelStuff::new); + correctnessTest(size, TestIntTimSortKernel::generateIntRandom, getJavaComparator(), + IntLongSortKernelStuff::new); } } @Test public void intLongAscendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestIntTimSortKernel::generateAscendingIntRuns, getJavaComparator(), IntLongSortKernelStuff::new); + correctnessTest(size, TestIntTimSortKernel::generateAscendingIntRuns, getJavaComparator(), + IntLongSortKernelStuff::new); } } @Test public void intLongDescendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestIntTimSortKernel::generateDescendingIntRuns, getJavaComparator(), IntLongSortKernelStuff::new); + correctnessTest(size, TestIntTimSortKernel::generateDescendingIntRuns, getJavaComparator(), + IntLongSortKernelStuff::new); } } @Test public void intLongRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestIntTimSortKernel::generateIntRuns, getJavaComparator(), IntLongSortKernelStuff::new); + correctnessTest(size, TestIntTimSortKernel::generateIntRuns, getJavaComparator(), + IntLongSortKernelStuff::new); } } @@ -97,8 +109,9 @@ public void intLongRunCorrectness() { public void intRandomPartitionCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_PARTTITION_CHUNK_SIZE; size *= 2) { int partitions = 2; - while (partitions < (int)Math.sqrt(size)) { - partitionCorrectnessTest(size, size, partitions, TestIntTimSortKernel::generateIntRandom, getJavaComparator(), IntPartitionKernelStuff::new); + while (partitions < (int) Math.sqrt(size)) { + partitionCorrectnessTest(size, size, partitions, TestIntTimSortKernel::generateIntRandom, + getJavaComparator(), IntPartitionKernelStuff::new); if (size < 1000) { break; } @@ -111,7 +124,8 @@ public void intRandomPartitionCorrectness() { @Test public void intMultiRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - multiCorrectnessTest(size, TestIntTimSortKernel::generateMultiIntRandom, getJavaMultiComparator(), IntMultiSortKernelStuff::new); + multiCorrectnessTest(size, TestIntTimSortKernel::generateMultiIntRandom, getJavaMultiComparator(), + IntMultiSortKernelStuff::new); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestLongTimSortKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestLongTimSortKernel.java index 57c9bdba5fe..584327d4a46 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestLongTimSortKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestLongTimSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharTimSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharTimSortKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.test.types.ParallelTest; @@ -14,82 +13,95 @@ @Category(ParallelTest.class) public class TestLongTimSortKernel extends BaseTestLongTimSortKernel { - // I like this output, but for now am leaving these tests off, so we can focus on getting right answers and we can try + // I like this output, but for now am leaving these tests off, so we can focus on getting right answers and we can + // try // out JMH for running morally equivalent things. -// @Test -// public void longRandomPerformanceTest() { -// performanceTest(TestLongTimSortKernel::generateLongRandom, LongSortKernelStuff::new, LongSortKernelStuff::run, getJavaComparator(), LongMergeStuff::new, LongMergeStuff::run); -// } -// -// @Test -// public void longRunPerformanceTest() { -// performanceTest(TestLongTimSortKernel::generateLongRuns, LongSortKernelStuff::new, LongSortKernelStuff::run, getJavaComparator(), LongMergeStuff::new, LongMergeStuff::run); -// } -// -// @Test -// public void longRunDescendingPerformanceTest() { -// performanceTest(TestLongTimSortKernel::generateDescendingLongRuns, LongSortKernelStuff::new, LongSortKernelStuff::run, getJavaComparator(), LongMergeStuff::new, LongMergeStuff::run); -// } -// -// @Test -// public void longRunAscendingPerformanceTest() { -// performanceTest(TestLongTimSortKernel::generateAscendingLongRuns, LongSortKernelStuff::new, LongSortKernelStuff::run, getJavaComparator(), LongMergeStuff::new, LongMergeStuff::run); -// } -// + // @Test + // public void longRandomPerformanceTest() { + // performanceTest(TestLongTimSortKernel::generateLongRandom, LongSortKernelStuff::new, LongSortKernelStuff::run, + // getJavaComparator(), LongMergeStuff::new, LongMergeStuff::run); + // } + // + // @Test + // public void longRunPerformanceTest() { + // performanceTest(TestLongTimSortKernel::generateLongRuns, LongSortKernelStuff::new, LongSortKernelStuff::run, + // getJavaComparator(), LongMergeStuff::new, LongMergeStuff::run); + // } + // + // @Test + // public void longRunDescendingPerformanceTest() { + // performanceTest(TestLongTimSortKernel::generateDescendingLongRuns, LongSortKernelStuff::new, + // LongSortKernelStuff::run, getJavaComparator(), LongMergeStuff::new, LongMergeStuff::run); + // } + // + // @Test + // public void longRunAscendingPerformanceTest() { + // performanceTest(TestLongTimSortKernel::generateAscendingLongRuns, LongSortKernelStuff::new, + // LongSortKernelStuff::run, getJavaComparator(), LongMergeStuff::new, LongMergeStuff::run); + // } + // @Test public void longRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestLongTimSortKernel::generateLongRandom, getJavaComparator(), LongLongSortKernelStuff::new); + correctnessTest(size, TestLongTimSortKernel::generateLongRandom, getJavaComparator(), + LongLongSortKernelStuff::new); } } @Test public void longAscendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestLongTimSortKernel::generateAscendingLongRuns, getJavaComparator(), LongSortKernelStuff::new); + correctnessTest(size, TestLongTimSortKernel::generateAscendingLongRuns, getJavaComparator(), + LongSortKernelStuff::new); } } @Test public void longDescendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestLongTimSortKernel::generateDescendingLongRuns, getJavaComparator(), LongSortKernelStuff::new); + correctnessTest(size, TestLongTimSortKernel::generateDescendingLongRuns, getJavaComparator(), + LongSortKernelStuff::new); } } @Test public void longRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestLongTimSortKernel::generateLongRuns, getJavaComparator(), LongSortKernelStuff::new); + correctnessTest(size, TestLongTimSortKernel::generateLongRuns, getJavaComparator(), + LongSortKernelStuff::new); } } @Test public void longLongRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestLongTimSortKernel::generateLongRandom, getJavaComparator(), LongLongSortKernelStuff::new); + correctnessTest(size, TestLongTimSortKernel::generateLongRandom, getJavaComparator(), + LongLongSortKernelStuff::new); } } @Test public void longLongAscendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestLongTimSortKernel::generateAscendingLongRuns, getJavaComparator(), LongLongSortKernelStuff::new); + correctnessTest(size, TestLongTimSortKernel::generateAscendingLongRuns, getJavaComparator(), + LongLongSortKernelStuff::new); } } @Test public void longLongDescendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestLongTimSortKernel::generateDescendingLongRuns, getJavaComparator(), LongLongSortKernelStuff::new); + correctnessTest(size, TestLongTimSortKernel::generateDescendingLongRuns, getJavaComparator(), + LongLongSortKernelStuff::new); } } @Test public void longLongRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestLongTimSortKernel::generateLongRuns, getJavaComparator(), LongLongSortKernelStuff::new); + correctnessTest(size, TestLongTimSortKernel::generateLongRuns, getJavaComparator(), + LongLongSortKernelStuff::new); } } @@ -97,8 +109,9 @@ public void longLongRunCorrectness() { public void longRandomPartitionCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_PARTTITION_CHUNK_SIZE; size *= 2) { int partitions = 2; - while (partitions < (int)Math.sqrt(size)) { - partitionCorrectnessTest(size, size, partitions, TestLongTimSortKernel::generateLongRandom, getJavaComparator(), LongPartitionKernelStuff::new); + while (partitions < (int) Math.sqrt(size)) { + partitionCorrectnessTest(size, size, partitions, TestLongTimSortKernel::generateLongRandom, + getJavaComparator(), LongPartitionKernelStuff::new); if (size < 1000) { break; } @@ -111,7 +124,8 @@ public void longRandomPartitionCorrectness() { @Test public void longMultiRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - multiCorrectnessTest(size, TestLongTimSortKernel::generateMultiLongRandom, getJavaMultiComparator(), LongMultiSortKernelStuff::new); + multiCorrectnessTest(size, TestLongTimSortKernel::generateMultiLongRandom, getJavaMultiComparator(), + LongMultiSortKernelStuff::new); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestObjectTimSortKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestObjectTimSortKernel.java index 58f87ed89d8..68c6c05aa42 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestObjectTimSortKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestObjectTimSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharTimSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharTimSortKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.test.types.ParallelTest; @@ -14,82 +13,95 @@ @Category(ParallelTest.class) public class TestObjectTimSortKernel extends BaseTestObjectTimSortKernel { - // I like this output, but for now am leaving these tests off, so we can focus on getting right answers and we can try + // I like this output, but for now am leaving these tests off, so we can focus on getting right answers and we can + // try // out JMH for running morally equivalent things. -// @Test -// public void ObjectRandomPerformanceTest() { -// performanceTest(TestObjectTimSortKernel::generateObjectRandom, ObjectSortKernelStuff::new, ObjectSortKernelStuff::run, getJavaComparator(), ObjectMergeStuff::new, ObjectMergeStuff::run); -// } -// -// @Test -// public void ObjectRunPerformanceTest() { -// performanceTest(TestObjectTimSortKernel::generateObjectRuns, ObjectSortKernelStuff::new, ObjectSortKernelStuff::run, getJavaComparator(), ObjectMergeStuff::new, ObjectMergeStuff::run); -// } -// -// @Test -// public void ObjectRunDescendingPerformanceTest() { -// performanceTest(TestObjectTimSortKernel::generateDescendingObjectRuns, ObjectSortKernelStuff::new, ObjectSortKernelStuff::run, getJavaComparator(), ObjectMergeStuff::new, ObjectMergeStuff::run); -// } -// -// @Test -// public void ObjectRunAscendingPerformanceTest() { -// performanceTest(TestObjectTimSortKernel::generateAscendingObjectRuns, ObjectSortKernelStuff::new, ObjectSortKernelStuff::run, getJavaComparator(), ObjectMergeStuff::new, ObjectMergeStuff::run); -// } -// + // @Test + // public void ObjectRandomPerformanceTest() { + // performanceTest(TestObjectTimSortKernel::generateObjectRandom, ObjectSortKernelStuff::new, ObjectSortKernelStuff::run, + // getJavaComparator(), ObjectMergeStuff::new, ObjectMergeStuff::run); + // } + // + // @Test + // public void ObjectRunPerformanceTest() { + // performanceTest(TestObjectTimSortKernel::generateObjectRuns, ObjectSortKernelStuff::new, ObjectSortKernelStuff::run, + // getJavaComparator(), ObjectMergeStuff::new, ObjectMergeStuff::run); + // } + // + // @Test + // public void ObjectRunDescendingPerformanceTest() { + // performanceTest(TestObjectTimSortKernel::generateDescendingObjectRuns, ObjectSortKernelStuff::new, + // ObjectSortKernelStuff::run, getJavaComparator(), ObjectMergeStuff::new, ObjectMergeStuff::run); + // } + // + // @Test + // public void ObjectRunAscendingPerformanceTest() { + // performanceTest(TestObjectTimSortKernel::generateAscendingObjectRuns, ObjectSortKernelStuff::new, + // ObjectSortKernelStuff::run, getJavaComparator(), ObjectMergeStuff::new, ObjectMergeStuff::run); + // } + // @Test public void ObjectRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestObjectTimSortKernel::generateObjectRandom, getJavaComparator(), ObjectLongSortKernelStuff::new); + correctnessTest(size, TestObjectTimSortKernel::generateObjectRandom, getJavaComparator(), + ObjectLongSortKernelStuff::new); } } @Test public void ObjectAscendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestObjectTimSortKernel::generateAscendingObjectRuns, getJavaComparator(), ObjectSortKernelStuff::new); + correctnessTest(size, TestObjectTimSortKernel::generateAscendingObjectRuns, getJavaComparator(), + ObjectSortKernelStuff::new); } } @Test public void ObjectDescendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestObjectTimSortKernel::generateDescendingObjectRuns, getJavaComparator(), ObjectSortKernelStuff::new); + correctnessTest(size, TestObjectTimSortKernel::generateDescendingObjectRuns, getJavaComparator(), + ObjectSortKernelStuff::new); } } @Test public void ObjectRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestObjectTimSortKernel::generateObjectRuns, getJavaComparator(), ObjectSortKernelStuff::new); + correctnessTest(size, TestObjectTimSortKernel::generateObjectRuns, getJavaComparator(), + ObjectSortKernelStuff::new); } } @Test public void ObjectLongRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestObjectTimSortKernel::generateObjectRandom, getJavaComparator(), ObjectLongSortKernelStuff::new); + correctnessTest(size, TestObjectTimSortKernel::generateObjectRandom, getJavaComparator(), + ObjectLongSortKernelStuff::new); } } @Test public void ObjectLongAscendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestObjectTimSortKernel::generateAscendingObjectRuns, getJavaComparator(), ObjectLongSortKernelStuff::new); + correctnessTest(size, TestObjectTimSortKernel::generateAscendingObjectRuns, getJavaComparator(), + ObjectLongSortKernelStuff::new); } } @Test public void ObjectLongDescendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestObjectTimSortKernel::generateDescendingObjectRuns, getJavaComparator(), ObjectLongSortKernelStuff::new); + correctnessTest(size, TestObjectTimSortKernel::generateDescendingObjectRuns, getJavaComparator(), + ObjectLongSortKernelStuff::new); } } @Test public void ObjectLongRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestObjectTimSortKernel::generateObjectRuns, getJavaComparator(), ObjectLongSortKernelStuff::new); + correctnessTest(size, TestObjectTimSortKernel::generateObjectRuns, getJavaComparator(), + ObjectLongSortKernelStuff::new); } } @@ -97,8 +109,9 @@ public void ObjectLongRunCorrectness() { public void ObjectRandomPartitionCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_PARTTITION_CHUNK_SIZE; size *= 2) { int partitions = 2; - while (partitions < (int)Math.sqrt(size)) { - partitionCorrectnessTest(size, size, partitions, TestObjectTimSortKernel::generateObjectRandom, getJavaComparator(), ObjectPartitionKernelStuff::new); + while (partitions < (int) Math.sqrt(size)) { + partitionCorrectnessTest(size, size, partitions, TestObjectTimSortKernel::generateObjectRandom, + getJavaComparator(), ObjectPartitionKernelStuff::new); if (size < 1000) { break; } @@ -111,7 +124,8 @@ public void ObjectRandomPartitionCorrectness() { @Test public void ObjectMultiRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - multiCorrectnessTest(size, TestObjectTimSortKernel::generateMultiObjectRandom, getJavaMultiComparator(), ObjectMultiSortKernelStuff::new); + multiCorrectnessTest(size, TestObjectTimSortKernel::generateMultiObjectRandom, getJavaMultiComparator(), + ObjectMultiSortKernelStuff::new); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestShortTimSortKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestShortTimSortKernel.java index 5fce0e0fd0b..1d47fa4b20e 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestShortTimSortKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestShortTimSortKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharTimSortKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharTimSortKernel and run "./gradlew replicateSortKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.test.types.ParallelTest; @@ -14,82 +13,95 @@ @Category(ParallelTest.class) public class TestShortTimSortKernel extends BaseTestShortTimSortKernel { - // I like this output, but for now am leaving these tests off, so we can focus on getting right answers and we can try + // I like this output, but for now am leaving these tests off, so we can focus on getting right answers and we can + // try // out JMH for running morally equivalent things. -// @Test -// public void shortRandomPerformanceTest() { -// performanceTest(TestShortTimSortKernel::generateShortRandom, ShortSortKernelStuff::new, ShortSortKernelStuff::run, getJavaComparator(), ShortMergeStuff::new, ShortMergeStuff::run); -// } -// -// @Test -// public void shortRunPerformanceTest() { -// performanceTest(TestShortTimSortKernel::generateShortRuns, ShortSortKernelStuff::new, ShortSortKernelStuff::run, getJavaComparator(), ShortMergeStuff::new, ShortMergeStuff::run); -// } -// -// @Test -// public void shortRunDescendingPerformanceTest() { -// performanceTest(TestShortTimSortKernel::generateDescendingShortRuns, ShortSortKernelStuff::new, ShortSortKernelStuff::run, getJavaComparator(), ShortMergeStuff::new, ShortMergeStuff::run); -// } -// -// @Test -// public void shortRunAscendingPerformanceTest() { -// performanceTest(TestShortTimSortKernel::generateAscendingShortRuns, ShortSortKernelStuff::new, ShortSortKernelStuff::run, getJavaComparator(), ShortMergeStuff::new, ShortMergeStuff::run); -// } -// + // @Test + // public void shortRandomPerformanceTest() { + // performanceTest(TestShortTimSortKernel::generateShortRandom, ShortSortKernelStuff::new, ShortSortKernelStuff::run, + // getJavaComparator(), ShortMergeStuff::new, ShortMergeStuff::run); + // } + // + // @Test + // public void shortRunPerformanceTest() { + // performanceTest(TestShortTimSortKernel::generateShortRuns, ShortSortKernelStuff::new, ShortSortKernelStuff::run, + // getJavaComparator(), ShortMergeStuff::new, ShortMergeStuff::run); + // } + // + // @Test + // public void shortRunDescendingPerformanceTest() { + // performanceTest(TestShortTimSortKernel::generateDescendingShortRuns, ShortSortKernelStuff::new, + // ShortSortKernelStuff::run, getJavaComparator(), ShortMergeStuff::new, ShortMergeStuff::run); + // } + // + // @Test + // public void shortRunAscendingPerformanceTest() { + // performanceTest(TestShortTimSortKernel::generateAscendingShortRuns, ShortSortKernelStuff::new, + // ShortSortKernelStuff::run, getJavaComparator(), ShortMergeStuff::new, ShortMergeStuff::run); + // } + // @Test public void shortRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestShortTimSortKernel::generateShortRandom, getJavaComparator(), ShortLongSortKernelStuff::new); + correctnessTest(size, TestShortTimSortKernel::generateShortRandom, getJavaComparator(), + ShortLongSortKernelStuff::new); } } @Test public void shortAscendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestShortTimSortKernel::generateAscendingShortRuns, getJavaComparator(), ShortSortKernelStuff::new); + correctnessTest(size, TestShortTimSortKernel::generateAscendingShortRuns, getJavaComparator(), + ShortSortKernelStuff::new); } } @Test public void shortDescendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestShortTimSortKernel::generateDescendingShortRuns, getJavaComparator(), ShortSortKernelStuff::new); + correctnessTest(size, TestShortTimSortKernel::generateDescendingShortRuns, getJavaComparator(), + ShortSortKernelStuff::new); } } @Test public void shortRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestShortTimSortKernel::generateShortRuns, getJavaComparator(), ShortSortKernelStuff::new); + correctnessTest(size, TestShortTimSortKernel::generateShortRuns, getJavaComparator(), + ShortSortKernelStuff::new); } } @Test public void shortLongRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestShortTimSortKernel::generateShortRandom, getJavaComparator(), ShortLongSortKernelStuff::new); + correctnessTest(size, TestShortTimSortKernel::generateShortRandom, getJavaComparator(), + ShortLongSortKernelStuff::new); } } @Test public void shortLongAscendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestShortTimSortKernel::generateAscendingShortRuns, getJavaComparator(), ShortLongSortKernelStuff::new); + correctnessTest(size, TestShortTimSortKernel::generateAscendingShortRuns, getJavaComparator(), + ShortLongSortKernelStuff::new); } } @Test public void shortLongDescendingRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestShortTimSortKernel::generateDescendingShortRuns, getJavaComparator(), ShortLongSortKernelStuff::new); + correctnessTest(size, TestShortTimSortKernel::generateDescendingShortRuns, getJavaComparator(), + ShortLongSortKernelStuff::new); } } @Test public void shortLongRunCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - correctnessTest(size, TestShortTimSortKernel::generateShortRuns, getJavaComparator(), ShortLongSortKernelStuff::new); + correctnessTest(size, TestShortTimSortKernel::generateShortRuns, getJavaComparator(), + ShortLongSortKernelStuff::new); } } @@ -97,8 +109,9 @@ public void shortLongRunCorrectness() { public void shortRandomPartitionCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_PARTTITION_CHUNK_SIZE; size *= 2) { int partitions = 2; - while (partitions < (int)Math.sqrt(size)) { - partitionCorrectnessTest(size, size, partitions, TestShortTimSortKernel::generateShortRandom, getJavaComparator(), ShortPartitionKernelStuff::new); + while (partitions < (int) Math.sqrt(size)) { + partitionCorrectnessTest(size, size, partitions, TestShortTimSortKernel::generateShortRandom, + getJavaComparator(), ShortPartitionKernelStuff::new); if (size < 1000) { break; } @@ -111,7 +124,8 @@ public void shortRandomPartitionCorrectness() { @Test public void shortMultiRandomCorrectness() { for (int size = INITIAL_CORRECTNESS_SIZE; size <= MAX_CHUNK_SIZE; size *= 2) { - multiCorrectnessTest(size, TestShortTimSortKernel::generateMultiShortRandom, getJavaMultiComparator(), ShortMultiSortKernelStuff::new); + multiCorrectnessTest(size, TestShortTimSortKernel::generateMultiShortRandom, getJavaMultiComparator(), + ShortMultiSortKernelStuff::new); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestTimSortKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestTimSortKernel.java index 32f62c63ce1..aaf5a65145b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestTimSortKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sort/timsort/TestTimSortKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sort.timsort; import io.deephaven.chunk.LongChunk; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractBooleanColumnSourceTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractBooleanColumnSourceTest.java index f3f400a2813..0ee4820e633 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractBooleanColumnSourceTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractBooleanColumnSourceTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AbstractCharacterColumnSourceTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AbstractCharacterColumnSourceTest and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.ObjectChunk; @@ -63,7 +62,7 @@ private void testFill(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableObjectChunk dest = WritableObjectChunk.makeWritableChunk(chunkSize)) { + final WritableObjectChunk dest = WritableObjectChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -86,10 +85,12 @@ private void testFill(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeFill(chunkSize, source, fillContext, dest, expectations, 0, expectations.length - 1, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, + usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, + usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 700, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 1024, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 250, 250, usePrev); @@ -122,17 +123,18 @@ private void testGet(Random random, int chunkSize) { assertEquals(emptyResult.size(), 0); // the asChunk is not needed here, but it's needed when replicated to Boolean - final ObjectChunk result = source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asObjectChunk(); + final ObjectChunk result = + source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asObjectChunk(); for (int ii = 0; ii < 1024; ++ii) { checkFromSource("null check: " + ii, NULL_BOOLEAN, result.get(ii)); } final int expectedBlockSize = 1024; - final byte [] expectations = new byte[getSourceSize()]; + final byte[] expectations = new byte[getSourceSize()]; // region arrayFill Arrays.fill(expectations, BooleanUtils.NULL_BOOLEAN_AS_BYTE); // endregion arrayFill - final byte [] randomBooleans = ArrayGenerator.randomBooleans(random, expectations.length / 2); + final byte[] randomBooleans = ArrayGenerator.randomBooleans(random, expectations.length / 2); for (int ii = 0; ii < expectations.length; ++ii) { final int block = ii / expectedBlockSize; if (block % 2 == 0) { @@ -143,7 +145,7 @@ private void testGet(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeGet(chunkSize, source, getContext, expectations, 0, expectations.length - 1, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 100, expectations.length - 100, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 200, expectations.length - 1124, usePrev); @@ -168,7 +170,7 @@ private RowSet generateIndex(Random random, int maxsize, int runLength) { int lastKey; if (random.nextBoolean()) { final int length = Math.min(random.nextInt(runLength) + 1, maxsize - nextKey); - lastKey = nextKey + length - 1; + lastKey = nextKey + length - 1; builder.appendRange(nextKey, lastKey); } else { builder.appendKey(lastKey = nextKey); @@ -191,9 +193,10 @@ private WritableLongChunk generateRandomKeys(Random random, int count, return result; } - private void checkRandomFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableObjectChunk dest, byte[] expectations, RowSet rowSet, boolean usePrev) { - for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore(); ) { + private void checkRandomFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableObjectChunk dest, byte[] expectations, RowSet rowSet, boolean usePrev) { + for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore();) { final RowSequence nextOk = rsIt.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -205,15 +208,16 @@ private void checkRandomFill(int chunkSize, WritableColumnSource source int ii = 0; for (final RowSet.Iterator indexIt = nextOk.asRowSet().iterator(); indexIt.hasNext(); ii++) { final long next = indexIt.nextLong(); - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int)next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } private void checkRandomFillUnordered(WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableObjectChunk dest, byte[] expectations, LongChunk keys, boolean usePrev) { - //noinspection unchecked - final FillUnordered fillUnordered = (FillUnordered)source; + WritableObjectChunk dest, byte[] expectations, LongChunk keys, boolean usePrev) { + // noinspection unchecked + final FillUnordered fillUnordered = (FillUnordered) source; if (usePrev) { fillUnordered.fillChunkUnordered(fillContext, dest, keys); } else { @@ -227,17 +231,19 @@ private void checkRandomFillUnordered(WritableColumnSource source, Colu checkFromValues("null vs. dest[" + ii + "]", BooleanUtils.NULL_BOOLEAN_AS_BYTE, dest.get(ii)); // endregion null unordered check } else { - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } - private void checkRangeFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableObjectChunk dest, byte[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableObjectChunk dest, byte[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -250,11 +256,12 @@ private void checkRangeFill(int chunkSize, WritableColumnSource source, } } - private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, byte[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, + byte[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); final ObjectChunk result; @@ -270,9 +277,11 @@ private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSo } } - private void checkRangeResults(byte[] expectations, int offset, RowSequence nextOk, ObjectChunk result) { + private void checkRangeResults(byte[] expectations, int offset, RowSequence nextOk, + ObjectChunk result) { for (int ii = 0; ii < nextOk.size(); ++ii) { - checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", expectations[ii + offset], result.get(ii)); + checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", + expectations[ii + offset], result.get(ii)); } } @@ -307,7 +316,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(0)) { + final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -325,7 +334,7 @@ private void testFillUnordered(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableObjectChunk dest = WritableObjectChunk.makeWritableChunk(chunkSize)) { + final WritableObjectChunk dest = WritableObjectChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -348,11 +357,12 @@ private void testFillUnordered(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { // lets make a few random indices for (int seed = 0; seed < 100; ++seed) { int count = random.nextInt(chunkSize); - try (final WritableLongChunk rowKeys = generateRandomKeys(random, count, expectations.length)) { + try (final WritableLongChunk rowKeys = + generateRandomKeys(random, count, expectations.length)) { checkRandomFillUnordered(source, fillContext, dest, expectations, rowKeys, usePrev); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractByteColumnSourceTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractByteColumnSourceTest.java index f3d62225f47..802986dd05d 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractByteColumnSourceTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractByteColumnSourceTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AbstractCharacterColumnSourceTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AbstractCharacterColumnSourceTest and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.*; @@ -57,7 +56,7 @@ private void testFill(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableByteChunk dest = WritableByteChunk.makeWritableChunk(chunkSize)) { + final WritableByteChunk dest = WritableByteChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -80,10 +79,12 @@ private void testFill(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeFill(chunkSize, source, fillContext, dest, expectations, 0, expectations.length - 1, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, + usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, + usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 700, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 1024, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 250, 250, usePrev); @@ -116,17 +117,18 @@ private void testGet(Random random, int chunkSize) { assertEquals(emptyResult.size(), 0); // the asChunk is not needed here, but it's needed when replicated to Boolean - final ByteChunk result = source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asByteChunk(); + final ByteChunk result = + source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asByteChunk(); for (int ii = 0; ii < 1024; ++ii) { checkFromSource("null check: " + ii, NULL_BYTE, result.get(ii)); } final int expectedBlockSize = 1024; - final byte [] expectations = new byte[getSourceSize()]; + final byte[] expectations = new byte[getSourceSize()]; // region arrayFill Arrays.fill(expectations, NULL_BYTE); // endregion arrayFill - final byte [] randomBytes = ArrayGenerator.randomBytes(random, expectations.length / 2); + final byte[] randomBytes = ArrayGenerator.randomBytes(random, expectations.length / 2); for (int ii = 0; ii < expectations.length; ++ii) { final int block = ii / expectedBlockSize; if (block % 2 == 0) { @@ -137,7 +139,7 @@ private void testGet(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeGet(chunkSize, source, getContext, expectations, 0, expectations.length - 1, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 100, expectations.length - 100, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 200, expectations.length - 1124, usePrev); @@ -162,7 +164,7 @@ private RowSet generateIndex(Random random, int maxsize, int runLength) { int lastKey; if (random.nextBoolean()) { final int length = Math.min(random.nextInt(runLength) + 1, maxsize - nextKey); - lastKey = nextKey + length - 1; + lastKey = nextKey + length - 1; builder.appendRange(nextKey, lastKey); } else { builder.appendKey(lastKey = nextKey); @@ -185,9 +187,10 @@ private WritableLongChunk generateRandomKeys(Random random, int count, return result; } - private void checkRandomFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableByteChunk dest, byte[] expectations, RowSet rowSet, boolean usePrev) { - for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore(); ) { + private void checkRandomFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableByteChunk dest, byte[] expectations, RowSet rowSet, boolean usePrev) { + for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore();) { final RowSequence nextOk = rsIt.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -199,15 +202,16 @@ private void checkRandomFill(int chunkSize, WritableColumnSource source, C int ii = 0; for (final RowSet.Iterator indexIt = nextOk.asRowSet().iterator(); indexIt.hasNext(); ii++) { final long next = indexIt.nextLong(); - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int)next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } private void checkRandomFillUnordered(WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableByteChunk dest, byte[] expectations, LongChunk keys, boolean usePrev) { - //noinspection unchecked - final FillUnordered fillUnordered = (FillUnordered)source; + WritableByteChunk dest, byte[] expectations, LongChunk keys, boolean usePrev) { + // noinspection unchecked + final FillUnordered fillUnordered = (FillUnordered) source; if (usePrev) { fillUnordered.fillChunkUnordered(fillContext, dest, keys); } else { @@ -221,17 +225,19 @@ private void checkRandomFillUnordered(WritableColumnSource source, ColumnS checkFromValues("null vs. dest[" + ii + "]", NULL_BYTE, dest.get(ii)); // endregion null unordered check } else { - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } - private void checkRangeFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableByteChunk dest, byte[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableByteChunk dest, byte[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -244,11 +250,12 @@ private void checkRangeFill(int chunkSize, WritableColumnSource source, Co } } - private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, byte[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, + byte[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); final ByteChunk result; @@ -269,9 +276,11 @@ private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSourc } } - private void checkRangeResults(byte[] expectations, int offset, RowSequence nextOk, ByteChunk result) { + private void checkRangeResults(byte[] expectations, int offset, RowSequence nextOk, + ByteChunk result) { for (int ii = 0; ii < nextOk.size(); ++ii) { - checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", expectations[ii + offset], result.get(ii)); + checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", + expectations[ii + offset], result.get(ii)); } } @@ -306,7 +315,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableByteChunk chunk = WritableByteChunk.makeWritableChunk(0)) { + final WritableByteChunk chunk = WritableByteChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -324,7 +333,7 @@ private void testFillUnordered(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableByteChunk dest = WritableByteChunk.makeWritableChunk(chunkSize)) { + final WritableByteChunk dest = WritableByteChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -347,11 +356,12 @@ private void testFillUnordered(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { // lets make a few random indices for (int seed = 0; seed < 100; ++seed) { int count = random.nextInt(chunkSize); - try (final WritableLongChunk rowKeys = generateRandomKeys(random, count, expectations.length)) { + try (final WritableLongChunk rowKeys = + generateRandomKeys(random, count, expectations.length)) { checkRandomFillUnordered(source, fillContext, dest, expectations, rowKeys, usePrev); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractCharacterColumnSourceTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractCharacterColumnSourceTest.java index ef23f6c739c..a4c5e1b7b49 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractCharacterColumnSourceTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractCharacterColumnSourceTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.*; @@ -52,7 +52,7 @@ private void testFill(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableCharChunk dest = WritableCharChunk.makeWritableChunk(chunkSize)) { + final WritableCharChunk dest = WritableCharChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -75,10 +75,12 @@ private void testFill(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeFill(chunkSize, source, fillContext, dest, expectations, 0, expectations.length - 1, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, + usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, + usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 700, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 1024, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 250, 250, usePrev); @@ -111,17 +113,18 @@ private void testGet(Random random, int chunkSize) { assertEquals(emptyResult.size(), 0); // the asChunk is not needed here, but it's needed when replicated to Boolean - final CharChunk result = source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asCharChunk(); + final CharChunk result = + source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asCharChunk(); for (int ii = 0; ii < 1024; ++ii) { checkFromSource("null check: " + ii, NULL_CHAR, result.get(ii)); } final int expectedBlockSize = 1024; - final char [] expectations = new char[getSourceSize()]; + final char[] expectations = new char[getSourceSize()]; // region arrayFill Arrays.fill(expectations, NULL_CHAR); // endregion arrayFill - final char [] randomChars = ArrayGenerator.randomChars(random, expectations.length / 2); + final char[] randomChars = ArrayGenerator.randomChars(random, expectations.length / 2); for (int ii = 0; ii < expectations.length; ++ii) { final int block = ii / expectedBlockSize; if (block % 2 == 0) { @@ -132,7 +135,7 @@ private void testGet(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeGet(chunkSize, source, getContext, expectations, 0, expectations.length - 1, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 100, expectations.length - 100, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 200, expectations.length - 1124, usePrev); @@ -157,7 +160,7 @@ private RowSet generateIndex(Random random, int maxsize, int runLength) { int lastKey; if (random.nextBoolean()) { final int length = Math.min(random.nextInt(runLength) + 1, maxsize - nextKey); - lastKey = nextKey + length - 1; + lastKey = nextKey + length - 1; builder.appendRange(nextKey, lastKey); } else { builder.appendKey(lastKey = nextKey); @@ -180,9 +183,10 @@ private WritableLongChunk generateRandomKeys(Random random, int count, return result; } - private void checkRandomFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableCharChunk dest, char[] expectations, RowSet rowSet, boolean usePrev) { - for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore(); ) { + private void checkRandomFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableCharChunk dest, char[] expectations, RowSet rowSet, boolean usePrev) { + for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore();) { final RowSequence nextOk = rsIt.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -194,15 +198,16 @@ private void checkRandomFill(int chunkSize, WritableColumnSource sour int ii = 0; for (final RowSet.Iterator indexIt = nextOk.asRowSet().iterator(); indexIt.hasNext(); ii++) { final long next = indexIt.nextLong(); - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int)next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } private void checkRandomFillUnordered(WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableCharChunk dest, char[] expectations, LongChunk keys, boolean usePrev) { - //noinspection unchecked - final FillUnordered fillUnordered = (FillUnordered)source; + WritableCharChunk dest, char[] expectations, LongChunk keys, boolean usePrev) { + // noinspection unchecked + final FillUnordered fillUnordered = (FillUnordered) source; if (usePrev) { fillUnordered.fillChunkUnordered(fillContext, dest, keys); } else { @@ -216,17 +221,19 @@ private void checkRandomFillUnordered(WritableColumnSource source, Co checkFromValues("null vs. dest[" + ii + "]", NULL_CHAR, dest.get(ii)); // endregion null unordered check } else { - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } - private void checkRangeFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableCharChunk dest, char[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableCharChunk dest, char[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -239,11 +246,12 @@ private void checkRangeFill(int chunkSize, WritableColumnSource sourc } } - private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, char[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, + char[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); final CharChunk result; @@ -264,9 +272,11 @@ private void checkRangeGet(int chunkSize, ColumnSource source, Column } } - private void checkRangeResults(char[] expectations, int offset, RowSequence nextOk, CharChunk result) { + private void checkRangeResults(char[] expectations, int offset, RowSequence nextOk, + CharChunk result) { for (int ii = 0; ii < nextOk.size(); ++ii) { - checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", expectations[ii + offset], result.get(ii)); + checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", + expectations[ii + offset], result.get(ii)); } } @@ -301,7 +311,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableCharChunk chunk = WritableCharChunk.makeWritableChunk(0)) { + final WritableCharChunk chunk = WritableCharChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -319,7 +329,7 @@ private void testFillUnordered(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableCharChunk dest = WritableCharChunk.makeWritableChunk(chunkSize)) { + final WritableCharChunk dest = WritableCharChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -342,11 +352,12 @@ private void testFillUnordered(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { // lets make a few random indices for (int seed = 0; seed < 100; ++seed) { int count = random.nextInt(chunkSize); - try (final WritableLongChunk rowKeys = generateRandomKeys(random, count, expectations.length)) { + try (final WritableLongChunk rowKeys = + generateRandomKeys(random, count, expectations.length)) { checkRandomFillUnordered(source, fillContext, dest, expectations, rowKeys, usePrev); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractDoubleColumnSourceTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractDoubleColumnSourceTest.java index 8554f1c35b9..c403dba53da 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractDoubleColumnSourceTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractDoubleColumnSourceTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AbstractCharacterColumnSourceTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AbstractCharacterColumnSourceTest and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.*; @@ -57,7 +56,7 @@ private void testFill(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableDoubleChunk dest = WritableDoubleChunk.makeWritableChunk(chunkSize)) { + final WritableDoubleChunk dest = WritableDoubleChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -80,10 +79,12 @@ private void testFill(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeFill(chunkSize, source, fillContext, dest, expectations, 0, expectations.length - 1, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, + usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, + usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 700, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 1024, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 250, 250, usePrev); @@ -116,17 +117,18 @@ private void testGet(Random random, int chunkSize) { assertEquals(emptyResult.size(), 0); // the asChunk is not needed here, but it's needed when replicated to Boolean - final DoubleChunk result = source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asDoubleChunk(); + final DoubleChunk result = + source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asDoubleChunk(); for (int ii = 0; ii < 1024; ++ii) { checkFromSource("null check: " + ii, NULL_DOUBLE, result.get(ii)); } final int expectedBlockSize = 1024; - final double [] expectations = new double[getSourceSize()]; + final double[] expectations = new double[getSourceSize()]; // region arrayFill Arrays.fill(expectations, NULL_DOUBLE); // endregion arrayFill - final double [] randomDoubles = ArrayGenerator.randomDoubles(random, expectations.length / 2); + final double[] randomDoubles = ArrayGenerator.randomDoubles(random, expectations.length / 2); for (int ii = 0; ii < expectations.length; ++ii) { final int block = ii / expectedBlockSize; if (block % 2 == 0) { @@ -137,7 +139,7 @@ private void testGet(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeGet(chunkSize, source, getContext, expectations, 0, expectations.length - 1, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 100, expectations.length - 100, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 200, expectations.length - 1124, usePrev); @@ -162,7 +164,7 @@ private RowSet generateIndex(Random random, int maxsize, int runLength) { int lastKey; if (random.nextBoolean()) { final int length = Math.min(random.nextInt(runLength) + 1, maxsize - nextKey); - lastKey = nextKey + length - 1; + lastKey = nextKey + length - 1; builder.appendRange(nextKey, lastKey); } else { builder.appendKey(lastKey = nextKey); @@ -185,9 +187,10 @@ private WritableLongChunk generateRandomKeys(Random random, int count, return result; } - private void checkRandomFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableDoubleChunk dest, double[] expectations, RowSet rowSet, boolean usePrev) { - for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore(); ) { + private void checkRandomFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableDoubleChunk dest, double[] expectations, RowSet rowSet, boolean usePrev) { + for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore();) { final RowSequence nextOk = rsIt.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -199,15 +202,16 @@ private void checkRandomFill(int chunkSize, WritableColumnSource source, int ii = 0; for (final RowSet.Iterator indexIt = nextOk.asRowSet().iterator(); indexIt.hasNext(); ii++) { final long next = indexIt.nextLong(); - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int)next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } private void checkRandomFillUnordered(WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableDoubleChunk dest, double[] expectations, LongChunk keys, boolean usePrev) { - //noinspection unchecked - final FillUnordered fillUnordered = (FillUnordered)source; + WritableDoubleChunk dest, double[] expectations, LongChunk keys, boolean usePrev) { + // noinspection unchecked + final FillUnordered fillUnordered = (FillUnordered) source; if (usePrev) { fillUnordered.fillChunkUnordered(fillContext, dest, keys); } else { @@ -221,17 +225,19 @@ private void checkRandomFillUnordered(WritableColumnSource source, Colum checkFromValues("null vs. dest[" + ii + "]", NULL_DOUBLE, dest.get(ii)); // endregion null unordered check } else { - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } - private void checkRangeFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableDoubleChunk dest, double[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableDoubleChunk dest, double[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -244,11 +250,12 @@ private void checkRangeFill(int chunkSize, WritableColumnSource source, } } - private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, double[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, + double[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); final DoubleChunk result; @@ -269,9 +276,11 @@ private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSou } } - private void checkRangeResults(double[] expectations, int offset, RowSequence nextOk, DoubleChunk result) { + private void checkRangeResults(double[] expectations, int offset, RowSequence nextOk, + DoubleChunk result) { for (int ii = 0; ii < nextOk.size(); ++ii) { - checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", expectations[ii + offset], result.get(ii)); + checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", + expectations[ii + offset], result.get(ii)); } } @@ -306,7 +315,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableDoubleChunk chunk = WritableDoubleChunk.makeWritableChunk(0)) { + final WritableDoubleChunk chunk = WritableDoubleChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -324,7 +333,7 @@ private void testFillUnordered(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableDoubleChunk dest = WritableDoubleChunk.makeWritableChunk(chunkSize)) { + final WritableDoubleChunk dest = WritableDoubleChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -347,11 +356,12 @@ private void testFillUnordered(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { // lets make a few random indices for (int seed = 0; seed < 100; ++seed) { int count = random.nextInt(chunkSize); - try (final WritableLongChunk rowKeys = generateRandomKeys(random, count, expectations.length)) { + try (final WritableLongChunk rowKeys = + generateRandomKeys(random, count, expectations.length)) { checkRandomFillUnordered(source, fillContext, dest, expectations, rowKeys, usePrev); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractFloatColumnSourceTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractFloatColumnSourceTest.java index d8b403ab32e..e8f56109936 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractFloatColumnSourceTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractFloatColumnSourceTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AbstractCharacterColumnSourceTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AbstractCharacterColumnSourceTest and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.*; @@ -57,7 +56,7 @@ private void testFill(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableFloatChunk dest = WritableFloatChunk.makeWritableChunk(chunkSize)) { + final WritableFloatChunk dest = WritableFloatChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -80,10 +79,12 @@ private void testFill(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeFill(chunkSize, source, fillContext, dest, expectations, 0, expectations.length - 1, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, + usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, + usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 700, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 1024, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 250, 250, usePrev); @@ -116,17 +117,18 @@ private void testGet(Random random, int chunkSize) { assertEquals(emptyResult.size(), 0); // the asChunk is not needed here, but it's needed when replicated to Boolean - final FloatChunk result = source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asFloatChunk(); + final FloatChunk result = + source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asFloatChunk(); for (int ii = 0; ii < 1024; ++ii) { checkFromSource("null check: " + ii, NULL_FLOAT, result.get(ii)); } final int expectedBlockSize = 1024; - final float [] expectations = new float[getSourceSize()]; + final float[] expectations = new float[getSourceSize()]; // region arrayFill Arrays.fill(expectations, NULL_FLOAT); // endregion arrayFill - final float [] randomFloats = ArrayGenerator.randomFloats(random, expectations.length / 2); + final float[] randomFloats = ArrayGenerator.randomFloats(random, expectations.length / 2); for (int ii = 0; ii < expectations.length; ++ii) { final int block = ii / expectedBlockSize; if (block % 2 == 0) { @@ -137,7 +139,7 @@ private void testGet(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeGet(chunkSize, source, getContext, expectations, 0, expectations.length - 1, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 100, expectations.length - 100, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 200, expectations.length - 1124, usePrev); @@ -162,7 +164,7 @@ private RowSet generateIndex(Random random, int maxsize, int runLength) { int lastKey; if (random.nextBoolean()) { final int length = Math.min(random.nextInt(runLength) + 1, maxsize - nextKey); - lastKey = nextKey + length - 1; + lastKey = nextKey + length - 1; builder.appendRange(nextKey, lastKey); } else { builder.appendKey(lastKey = nextKey); @@ -185,9 +187,10 @@ private WritableLongChunk generateRandomKeys(Random random, int count, return result; } - private void checkRandomFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableFloatChunk dest, float[] expectations, RowSet rowSet, boolean usePrev) { - for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore(); ) { + private void checkRandomFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableFloatChunk dest, float[] expectations, RowSet rowSet, boolean usePrev) { + for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore();) { final RowSequence nextOk = rsIt.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -199,15 +202,16 @@ private void checkRandomFill(int chunkSize, WritableColumnSource source, int ii = 0; for (final RowSet.Iterator indexIt = nextOk.asRowSet().iterator(); indexIt.hasNext(); ii++) { final long next = indexIt.nextLong(); - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int)next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } private void checkRandomFillUnordered(WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableFloatChunk dest, float[] expectations, LongChunk keys, boolean usePrev) { - //noinspection unchecked - final FillUnordered fillUnordered = (FillUnordered)source; + WritableFloatChunk dest, float[] expectations, LongChunk keys, boolean usePrev) { + // noinspection unchecked + final FillUnordered fillUnordered = (FillUnordered) source; if (usePrev) { fillUnordered.fillChunkUnordered(fillContext, dest, keys); } else { @@ -221,17 +225,19 @@ private void checkRandomFillUnordered(WritableColumnSource source, Column checkFromValues("null vs. dest[" + ii + "]", NULL_FLOAT, dest.get(ii)); // endregion null unordered check } else { - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } - private void checkRangeFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableFloatChunk dest, float[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableFloatChunk dest, float[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -244,11 +250,12 @@ private void checkRangeFill(int chunkSize, WritableColumnSource source, C } } - private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, float[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, + float[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); final FloatChunk result; @@ -269,9 +276,11 @@ private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSour } } - private void checkRangeResults(float[] expectations, int offset, RowSequence nextOk, FloatChunk result) { + private void checkRangeResults(float[] expectations, int offset, RowSequence nextOk, + FloatChunk result) { for (int ii = 0; ii < nextOk.size(); ++ii) { - checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", expectations[ii + offset], result.get(ii)); + checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", + expectations[ii + offset], result.get(ii)); } } @@ -306,7 +315,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableFloatChunk chunk = WritableFloatChunk.makeWritableChunk(0)) { + final WritableFloatChunk chunk = WritableFloatChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -324,7 +333,7 @@ private void testFillUnordered(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableFloatChunk dest = WritableFloatChunk.makeWritableChunk(chunkSize)) { + final WritableFloatChunk dest = WritableFloatChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -347,11 +356,12 @@ private void testFillUnordered(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { // lets make a few random indices for (int seed = 0; seed < 100; ++seed) { int count = random.nextInt(chunkSize); - try (final WritableLongChunk rowKeys = generateRandomKeys(random, count, expectations.length)) { + try (final WritableLongChunk rowKeys = + generateRandomKeys(random, count, expectations.length)) { checkRandomFillUnordered(source, fillContext, dest, expectations, rowKeys, usePrev); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractIntegerColumnSourceTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractIntegerColumnSourceTest.java index 8b9cb84987d..012b2199823 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractIntegerColumnSourceTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractIntegerColumnSourceTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AbstractCharacterColumnSourceTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AbstractCharacterColumnSourceTest and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.*; @@ -57,7 +56,7 @@ private void testFill(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableIntChunk dest = WritableIntChunk.makeWritableChunk(chunkSize)) { + final WritableIntChunk dest = WritableIntChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -80,10 +79,12 @@ private void testFill(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeFill(chunkSize, source, fillContext, dest, expectations, 0, expectations.length - 1, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, + usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, + usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 700, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 1024, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 250, 250, usePrev); @@ -116,17 +117,18 @@ private void testGet(Random random, int chunkSize) { assertEquals(emptyResult.size(), 0); // the asChunk is not needed here, but it's needed when replicated to Boolean - final IntChunk result = source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asIntChunk(); + final IntChunk result = + source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asIntChunk(); for (int ii = 0; ii < 1024; ++ii) { checkFromSource("null check: " + ii, NULL_INT, result.get(ii)); } final int expectedBlockSize = 1024; - final int [] expectations = new int[getSourceSize()]; + final int[] expectations = new int[getSourceSize()]; // region arrayFill Arrays.fill(expectations, NULL_INT); // endregion arrayFill - final int [] randomInts = ArrayGenerator.randomInts(random, expectations.length / 2); + final int[] randomInts = ArrayGenerator.randomInts(random, expectations.length / 2); for (int ii = 0; ii < expectations.length; ++ii) { final int block = ii / expectedBlockSize; if (block % 2 == 0) { @@ -137,7 +139,7 @@ private void testGet(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeGet(chunkSize, source, getContext, expectations, 0, expectations.length - 1, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 100, expectations.length - 100, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 200, expectations.length - 1124, usePrev); @@ -162,7 +164,7 @@ private RowSet generateIndex(Random random, int maxsize, int runLength) { int lastKey; if (random.nextBoolean()) { final int length = Math.min(random.nextInt(runLength) + 1, maxsize - nextKey); - lastKey = nextKey + length - 1; + lastKey = nextKey + length - 1; builder.appendRange(nextKey, lastKey); } else { builder.appendKey(lastKey = nextKey); @@ -185,9 +187,10 @@ private WritableLongChunk generateRandomKeys(Random random, int count, return result; } - private void checkRandomFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableIntChunk dest, int[] expectations, RowSet rowSet, boolean usePrev) { - for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore(); ) { + private void checkRandomFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableIntChunk dest, int[] expectations, RowSet rowSet, boolean usePrev) { + for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore();) { final RowSequence nextOk = rsIt.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -199,15 +202,16 @@ private void checkRandomFill(int chunkSize, WritableColumnSource source int ii = 0; for (final RowSet.Iterator indexIt = nextOk.asRowSet().iterator(); indexIt.hasNext(); ii++) { final long next = indexIt.nextLong(); - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int)next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } private void checkRandomFillUnordered(WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableIntChunk dest, int[] expectations, LongChunk keys, boolean usePrev) { - //noinspection unchecked - final FillUnordered fillUnordered = (FillUnordered)source; + WritableIntChunk dest, int[] expectations, LongChunk keys, boolean usePrev) { + // noinspection unchecked + final FillUnordered fillUnordered = (FillUnordered) source; if (usePrev) { fillUnordered.fillChunkUnordered(fillContext, dest, keys); } else { @@ -221,17 +225,19 @@ private void checkRandomFillUnordered(WritableColumnSource source, Colu checkFromValues("null vs. dest[" + ii + "]", NULL_INT, dest.get(ii)); // endregion null unordered check } else { - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } - private void checkRangeFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableIntChunk dest, int[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableIntChunk dest, int[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -244,11 +250,12 @@ private void checkRangeFill(int chunkSize, WritableColumnSource source, } } - private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, int[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, + int[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); final IntChunk result; @@ -269,9 +276,11 @@ private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSo } } - private void checkRangeResults(int[] expectations, int offset, RowSequence nextOk, IntChunk result) { + private void checkRangeResults(int[] expectations, int offset, RowSequence nextOk, + IntChunk result) { for (int ii = 0; ii < nextOk.size(); ++ii) { - checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", expectations[ii + offset], result.get(ii)); + checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", + expectations[ii + offset], result.get(ii)); } } @@ -306,7 +315,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableIntChunk chunk = WritableIntChunk.makeWritableChunk(0)) { + final WritableIntChunk chunk = WritableIntChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -324,7 +333,7 @@ private void testFillUnordered(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableIntChunk dest = WritableIntChunk.makeWritableChunk(chunkSize)) { + final WritableIntChunk dest = WritableIntChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -347,11 +356,12 @@ private void testFillUnordered(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { // lets make a few random indices for (int seed = 0; seed < 100; ++seed) { int count = random.nextInt(chunkSize); - try (final WritableLongChunk rowKeys = generateRandomKeys(random, count, expectations.length)) { + try (final WritableLongChunk rowKeys = + generateRandomKeys(random, count, expectations.length)) { checkRandomFillUnordered(source, fillContext, dest, expectations, rowKeys, usePrev); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractLongColumnSourceTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractLongColumnSourceTest.java index 64072184849..8c654fb44f9 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractLongColumnSourceTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractLongColumnSourceTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AbstractCharacterColumnSourceTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AbstractCharacterColumnSourceTest and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.*; @@ -57,7 +56,7 @@ private void testFill(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableLongChunk dest = WritableLongChunk.makeWritableChunk(chunkSize)) { + final WritableLongChunk dest = WritableLongChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -80,10 +79,12 @@ private void testFill(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeFill(chunkSize, source, fillContext, dest, expectations, 0, expectations.length - 1, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, + usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, + usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 700, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 1024, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 250, 250, usePrev); @@ -116,17 +117,18 @@ private void testGet(Random random, int chunkSize) { assertEquals(emptyResult.size(), 0); // the asChunk is not needed here, but it's needed when replicated to Boolean - final LongChunk result = source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asLongChunk(); + final LongChunk result = + source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asLongChunk(); for (int ii = 0; ii < 1024; ++ii) { checkFromSource("null check: " + ii, NULL_LONG, result.get(ii)); } final int expectedBlockSize = 1024; - final long [] expectations = new long[getSourceSize()]; + final long[] expectations = new long[getSourceSize()]; // region arrayFill Arrays.fill(expectations, NULL_LONG); // endregion arrayFill - final long [] randomLongs = ArrayGenerator.randomLongs(random, expectations.length / 2); + final long[] randomLongs = ArrayGenerator.randomLongs(random, expectations.length / 2); for (int ii = 0; ii < expectations.length; ++ii) { final int block = ii / expectedBlockSize; if (block % 2 == 0) { @@ -137,7 +139,7 @@ private void testGet(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeGet(chunkSize, source, getContext, expectations, 0, expectations.length - 1, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 100, expectations.length - 100, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 200, expectations.length - 1124, usePrev); @@ -162,7 +164,7 @@ private RowSet generateIndex(Random random, int maxsize, int runLength) { int lastKey; if (random.nextBoolean()) { final int length = Math.min(random.nextInt(runLength) + 1, maxsize - nextKey); - lastKey = nextKey + length - 1; + lastKey = nextKey + length - 1; builder.appendRange(nextKey, lastKey); } else { builder.appendKey(lastKey = nextKey); @@ -185,9 +187,10 @@ private WritableLongChunk generateRandomKeys(Random random, int count, return result; } - private void checkRandomFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableLongChunk dest, long[] expectations, RowSet rowSet, boolean usePrev) { - for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore(); ) { + private void checkRandomFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableLongChunk dest, long[] expectations, RowSet rowSet, boolean usePrev) { + for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore();) { final RowSequence nextOk = rsIt.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -199,15 +202,16 @@ private void checkRandomFill(int chunkSize, WritableColumnSource source, C int ii = 0; for (final RowSet.Iterator indexIt = nextOk.asRowSet().iterator(); indexIt.hasNext(); ii++) { final long next = indexIt.nextLong(); - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int)next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } private void checkRandomFillUnordered(WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableLongChunk dest, long[] expectations, LongChunk keys, boolean usePrev) { - //noinspection unchecked - final FillUnordered fillUnordered = (FillUnordered)source; + WritableLongChunk dest, long[] expectations, LongChunk keys, boolean usePrev) { + // noinspection unchecked + final FillUnordered fillUnordered = (FillUnordered) source; if (usePrev) { fillUnordered.fillChunkUnordered(fillContext, dest, keys); } else { @@ -221,17 +225,19 @@ private void checkRandomFillUnordered(WritableColumnSource source, ColumnS checkFromValues("null vs. dest[" + ii + "]", NULL_LONG, dest.get(ii)); // endregion null unordered check } else { - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } - private void checkRangeFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableLongChunk dest, long[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableLongChunk dest, long[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -244,11 +250,12 @@ private void checkRangeFill(int chunkSize, WritableColumnSource source, Co } } - private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, long[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, + long[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); final LongChunk result; @@ -269,9 +276,11 @@ private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSourc } } - private void checkRangeResults(long[] expectations, int offset, RowSequence nextOk, LongChunk result) { + private void checkRangeResults(long[] expectations, int offset, RowSequence nextOk, + LongChunk result) { for (int ii = 0; ii < nextOk.size(); ++ii) { - checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", expectations[ii + offset], result.get(ii)); + checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", + expectations[ii + offset], result.get(ii)); } } @@ -306,7 +315,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableLongChunk chunk = WritableLongChunk.makeWritableChunk(0)) { + final WritableLongChunk chunk = WritableLongChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -324,7 +333,7 @@ private void testFillUnordered(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableLongChunk dest = WritableLongChunk.makeWritableChunk(chunkSize)) { + final WritableLongChunk dest = WritableLongChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -347,11 +356,12 @@ private void testFillUnordered(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { // lets make a few random indices for (int seed = 0; seed < 100; ++seed) { int count = random.nextInt(chunkSize); - try (final WritableLongChunk rowKeys = generateRandomKeys(random, count, expectations.length)) { + try (final WritableLongChunk rowKeys = + generateRandomKeys(random, count, expectations.length)) { checkRandomFillUnordered(source, fillContext, dest, expectations, rowKeys, usePrev); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractObjectColumnSourceTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractObjectColumnSourceTest.java index ccad521206d..1d999681a7e 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractObjectColumnSourceTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractObjectColumnSourceTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AbstractCharacterColumnSourceTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AbstractCharacterColumnSourceTest and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.*; @@ -56,7 +55,7 @@ private void testFill(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableObjectChunk dest = WritableObjectChunk.makeWritableChunk(chunkSize)) { + final WritableObjectChunk dest = WritableObjectChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -79,10 +78,12 @@ private void testFill(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeFill(chunkSize, source, fillContext, dest, expectations, 0, expectations.length - 1, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, + usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, + usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 700, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 1024, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 250, 250, usePrev); @@ -115,17 +116,18 @@ private void testGet(Random random, int chunkSize) { assertEquals(emptyResult.size(), 0); // the asChunk is not needed here, but it's needed when replicated to Boolean - final ObjectChunk result = source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asObjectChunk(); + final ObjectChunk result = + source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asObjectChunk(); for (int ii = 0; ii < 1024; ++ii) { checkFromSource("null check: " + ii, null, result.get(ii)); } final int expectedBlockSize = 1024; - final Object [] expectations = new Object[getSourceSize()]; + final Object[] expectations = new Object[getSourceSize()]; // region arrayFill Arrays.fill(expectations, null); // endregion arrayFill - final Object [] randomObjects = ArrayGenerator.randomObjects(random, expectations.length / 2); + final Object[] randomObjects = ArrayGenerator.randomObjects(random, expectations.length / 2); for (int ii = 0; ii < expectations.length; ++ii) { final int block = ii / expectedBlockSize; if (block % 2 == 0) { @@ -136,7 +138,7 @@ private void testGet(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeGet(chunkSize, source, getContext, expectations, 0, expectations.length - 1, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 100, expectations.length - 100, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 200, expectations.length - 1124, usePrev); @@ -161,7 +163,7 @@ private RowSet generateIndex(Random random, int maxsize, int runLength) { int lastKey; if (random.nextBoolean()) { final int length = Math.min(random.nextInt(runLength) + 1, maxsize - nextKey); - lastKey = nextKey + length - 1; + lastKey = nextKey + length - 1; builder.appendRange(nextKey, lastKey); } else { builder.appendKey(lastKey = nextKey); @@ -184,9 +186,10 @@ private WritableLongChunk generateRandomKeys(Random random, int count, return result; } - private void checkRandomFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableObjectChunk dest, Object[] expectations, RowSet rowSet, boolean usePrev) { - for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore(); ) { + private void checkRandomFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableObjectChunk dest, Object[] expectations, RowSet rowSet, boolean usePrev) { + for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore();) { final RowSequence nextOk = rsIt.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -198,15 +201,16 @@ private void checkRandomFill(int chunkSize, WritableColumnSource source, int ii = 0; for (final RowSet.Iterator indexIt = nextOk.asRowSet().iterator(); indexIt.hasNext(); ii++) { final long next = indexIt.nextLong(); - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int)next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } private void checkRandomFillUnordered(WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableObjectChunk dest, Object[] expectations, LongChunk keys, boolean usePrev) { - //noinspection unchecked - final FillUnordered fillUnordered = (FillUnordered)source; + WritableObjectChunk dest, Object[] expectations, LongChunk keys, boolean usePrev) { + // noinspection unchecked + final FillUnordered fillUnordered = (FillUnordered) source; if (usePrev) { fillUnordered.fillChunkUnordered(fillContext, dest, keys); } else { @@ -220,17 +224,19 @@ private void checkRandomFillUnordered(WritableColumnSource source, Colum checkFromValues("null vs. dest[" + ii + "]", null, dest.get(ii)); // endregion null unordered check } else { - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } - private void checkRangeFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableObjectChunk dest, Object[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableObjectChunk dest, Object[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -243,11 +249,12 @@ private void checkRangeFill(int chunkSize, WritableColumnSource source, } } - private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, Object[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, + Object[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); final ObjectChunk result; @@ -268,9 +275,11 @@ private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSou } } - private void checkRangeResults(Object[] expectations, int offset, RowSequence nextOk, ObjectChunk result) { + private void checkRangeResults(Object[] expectations, int offset, RowSequence nextOk, + ObjectChunk result) { for (int ii = 0; ii < nextOk.size(); ++ii) { - checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", expectations[ii + offset], result.get(ii)); + checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", + expectations[ii + offset], result.get(ii)); } } @@ -305,7 +314,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(0)) { + final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -323,7 +332,7 @@ private void testFillUnordered(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableObjectChunk dest = WritableObjectChunk.makeWritableChunk(chunkSize)) { + final WritableObjectChunk dest = WritableObjectChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -346,11 +355,12 @@ private void testFillUnordered(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { // lets make a few random indices for (int seed = 0; seed < 100; ++seed) { int count = random.nextInt(chunkSize); - try (final WritableLongChunk rowKeys = generateRandomKeys(random, count, expectations.length)) { + try (final WritableLongChunk rowKeys = + generateRandomKeys(random, count, expectations.length)) { checkRandomFillUnordered(source, fillContext, dest, expectations, rowKeys, usePrev); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractShortColumnSourceTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractShortColumnSourceTest.java index 8bb23e48da7..683e1d0b5af 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractShortColumnSourceTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/AbstractShortColumnSourceTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AbstractCharacterColumnSourceTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AbstractCharacterColumnSourceTest and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.*; @@ -57,7 +56,7 @@ private void testFill(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableShortChunk dest = WritableShortChunk.makeWritableChunk(chunkSize)) { + final WritableShortChunk dest = WritableShortChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -80,10 +79,12 @@ private void testFill(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeFill(chunkSize, source, fillContext, dest, expectations, 0, expectations.length - 1, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, usePrev); - checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, expectations.length - 100, + usePrev); + checkRangeFill(chunkSize, source, fillContext, dest, expectations, 200, expectations.length - 1124, + usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 700, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 100, 1024, usePrev); checkRangeFill(chunkSize, source, fillContext, dest, expectations, 250, 250, usePrev); @@ -116,17 +117,18 @@ private void testGet(Random random, int chunkSize) { assertEquals(emptyResult.size(), 0); // the asChunk is not needed here, but it's needed when replicated to Boolean - final ShortChunk result = source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asShortChunk(); + final ShortChunk result = + source.getChunk(getContext, RowSetFactory.fromRange(0, 1023)).asShortChunk(); for (int ii = 0; ii < 1024; ++ii) { checkFromSource("null check: " + ii, NULL_SHORT, result.get(ii)); } final int expectedBlockSize = 1024; - final short [] expectations = new short[getSourceSize()]; + final short[] expectations = new short[getSourceSize()]; // region arrayFill Arrays.fill(expectations, NULL_SHORT); // endregion arrayFill - final short [] randomShorts = ArrayGenerator.randomShorts(random, expectations.length / 2); + final short[] randomShorts = ArrayGenerator.randomShorts(random, expectations.length / 2); for (int ii = 0; ii < expectations.length; ++ii) { final int block = ii / expectedBlockSize; if (block % 2 == 0) { @@ -137,7 +139,7 @@ private void testGet(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { checkRangeGet(chunkSize, source, getContext, expectations, 0, expectations.length - 1, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 100, expectations.length - 100, usePrev); checkRangeGet(chunkSize, source, getContext, expectations, 200, expectations.length - 1124, usePrev); @@ -162,7 +164,7 @@ private RowSet generateIndex(Random random, int maxsize, int runLength) { int lastKey; if (random.nextBoolean()) { final int length = Math.min(random.nextInt(runLength) + 1, maxsize - nextKey); - lastKey = nextKey + length - 1; + lastKey = nextKey + length - 1; builder.appendRange(nextKey, lastKey); } else { builder.appendKey(lastKey = nextKey); @@ -185,9 +187,10 @@ private WritableLongChunk generateRandomKeys(Random random, int count, return result; } - private void checkRandomFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableShortChunk dest, short[] expectations, RowSet rowSet, boolean usePrev) { - for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore(); ) { + private void checkRandomFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableShortChunk dest, short[] expectations, RowSet rowSet, boolean usePrev) { + for (final RowSequence.Iterator rsIt = rowSet.getRowSequenceIterator(); rsIt.hasMore();) { final RowSequence nextOk = rsIt.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -199,15 +202,16 @@ private void checkRandomFill(int chunkSize, WritableColumnSource source, int ii = 0; for (final RowSet.Iterator indexIt = nextOk.asRowSet().iterator(); indexIt.hasNext(); ii++) { final long next = indexIt.nextLong(); - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int)next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } private void checkRandomFillUnordered(WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableShortChunk dest, short[] expectations, LongChunk keys, boolean usePrev) { - //noinspection unchecked - final FillUnordered fillUnordered = (FillUnordered)source; + WritableShortChunk dest, short[] expectations, LongChunk keys, boolean usePrev) { + // noinspection unchecked + final FillUnordered fillUnordered = (FillUnordered) source; if (usePrev) { fillUnordered.fillChunkUnordered(fillContext, dest, keys); } else { @@ -221,17 +225,19 @@ private void checkRandomFillUnordered(WritableColumnSource source, Column checkFromValues("null vs. dest[" + ii + "]", NULL_SHORT, dest.get(ii)); // endregion null unordered check } else { - checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], dest.get(ii)); + checkFromValues("expectations[" + next + "] vs. dest[" + ii + "]", expectations[(int) next], + dest.get(ii)); } } } - private void checkRangeFill(int chunkSize, WritableColumnSource source, ColumnSource.FillContext fillContext, - WritableShortChunk dest, short[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeFill(int chunkSize, WritableColumnSource source, + ColumnSource.FillContext fillContext, + WritableShortChunk dest, short[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); if (usePrev) { @@ -244,11 +250,12 @@ private void checkRangeFill(int chunkSize, WritableColumnSource source, C } } - private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, short[] expectations, int firstKey, int lastKey, boolean usePrev) { + private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSource.GetContext getContext, + short[] expectations, int firstKey, int lastKey, boolean usePrev) { int offset; final RowSet rowSet = RowSetFactory.fromRange(firstKey, lastKey); offset = firstKey; - for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore(); ) { + for (final RowSequence.Iterator it = rowSet.getRowSequenceIterator(); it.hasMore();) { final RowSequence nextOk = it.getNextRowSequenceWithLength(chunkSize); final ShortChunk result; @@ -269,9 +276,11 @@ private void checkRangeGet(int chunkSize, ColumnSource source, ColumnSour } } - private void checkRangeResults(short[] expectations, int offset, RowSequence nextOk, ShortChunk result) { + private void checkRangeResults(short[] expectations, int offset, RowSequence nextOk, + ShortChunk result) { for (int ii = 0; ii < nextOk.size(); ++ii) { - checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", expectations[ii + offset], result.get(ii)); + checkFromValues("expectations[" + offset + " + " + ii + " = " + (ii + offset) + "] vs. dest[" + ii + "]", + expectations[ii + offset], result.get(ii)); } } @@ -306,7 +315,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableShortChunk chunk = WritableShortChunk.makeWritableChunk(0)) { + final WritableShortChunk chunk = WritableShortChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -324,7 +333,7 @@ private void testFillUnordered(Random random, int chunkSize) { final WritableColumnSource source = makeTestSource(); try (final ColumnSource.FillContext fillContext = source.makeFillContext(chunkSize); - final WritableShortChunk dest = WritableShortChunk.makeWritableChunk(chunkSize)) { + final WritableShortChunk dest = WritableShortChunk.makeWritableChunk(chunkSize)) { source.fillChunk(fillContext, dest, RowSetFactory.fromRange(0, 1023)); for (int ii = 0; ii < 1024; ++ii) { @@ -347,11 +356,12 @@ private void testFillUnordered(Random random, int chunkSize) { } // before we have the previous tracking enabled, prev should just fall through to get - for (boolean usePrev : new boolean[]{false, true}) { + for (boolean usePrev : new boolean[] {false, true}) { // lets make a few random indices for (int seed = 0; seed < 100; ++seed) { int count = random.nextInt(chunkSize); - try (final WritableLongChunk rowKeys = generateRandomKeys(random, count, expectations.length)) { + try (final WritableLongChunk rowKeys = + generateRandomKeys(random, count, expectations.length)) { checkRandomFillUnordered(source, fillContext, dest, expectations, rowKeys, usePrev); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/ArrayBackedColumnSourceTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/ArrayBackedColumnSourceTest.java index fa84bad6588..8415b3f7ab1 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/ArrayBackedColumnSourceTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/ArrayBackedColumnSourceTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.table.WritableColumnSource; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestBooleanArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestBooleanArraySource.java index 6e2336f4e0e..b940022451d 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestBooleanArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestBooleanArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.ObjectChunk; @@ -84,8 +83,8 @@ private void testGetChunkGeneric(byte[] values, byte[] newValues, int chunkSize, private void validateValues(int chunkSize, byte[] values, RowSet rowSet, BooleanArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -112,8 +111,8 @@ private void validateValues(int chunkSize, byte[] values, RowSet rowSet, Boolean private void validatePrevValues(int chunkSize, byte[] values, RowSet rowSet, BooleanArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -138,17 +137,28 @@ public void testGetChunk() { testGetChunkGeneric(new byte[0], new byte[0], 1, RowSetFactory.fromKeys()); testGetChunkGeneric(new byte[0], new byte[0], 16, RowSetFactory.fromKeys()); - testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(0)); - testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4)); - testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 512), ArrayGenerator.randomBooleans(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 512), ArrayGenerator.randomBooleans(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, + RowSetFactory.fromKeys(0)); + testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, + RowSetFactory.fromKeys(4)); + testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 512), ArrayGenerator.randomBooleans(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testGetChunkGeneric(ArrayGenerator.randomBooleans(random, 512), ArrayGenerator.randomBooleans(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 32; sourceSize < 4096; sourceSize *= 4) { for (int v = -4; v < 5; v++) { @@ -156,7 +166,7 @@ public void testGetChunk() { } } - //References to block test + // References to block test } // region lazy @@ -173,8 +183,8 @@ private void testGetChunkGenericLazy(byte[] values, int chunkSize, RowSet rowSet formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -201,13 +211,14 @@ public void testGetChunkLazy() { testGetChunkGenericLazy(ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testGetChunkGenericLazy(ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4)); testGetChunkGenericLazy(ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGenericLazy(ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testGetChunkGenericLazy(ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testGetChunkGenericLazy(ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomBooleans(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomBooleans(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomBooleans(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomBooleans(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGenericLazy(ArrayGenerator.randomBooleans(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGenericLazy(ArrayGenerator.randomBooleans(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v += 2) { @@ -231,7 +242,8 @@ private void testIndexSizeVariationsLazy(Random random, int sourceSize, byte[] v } private void testParameterChunkAndIndexLazy(Random random, int sourceSize, byte[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testGetChunkGenericLazy(values, chunkSize, rowSet); testGetChunkGenericLazy(values, chunkSize + 1, rowSet); @@ -248,14 +260,17 @@ private void testForGivenSourceSize(Random random, int sourceSize) { } } - private void testIndexSizeVariations(Random random, int sourceSize, byte[] values, byte[] newvalues, int indexSize) { + private void testIndexSizeVariations(Random random, int sourceSize, byte[] values, byte[] newvalues, + int indexSize) { testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize - 1); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize + 1); } - private void testParameterChunkAndIndex(Random random, int sourceSize, byte[] values, byte[] newvalues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterChunkAndIndex(Random random, int sourceSize, byte[] values, byte[] newvalues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testGetChunkGeneric(values, newvalues, chunkSize, rowSet); testGetChunkGeneric(values, newvalues, chunkSize + 1, rowSet); @@ -285,9 +300,9 @@ private void testFillChunkGeneric(byte[] values, byte[] newValues, int chunkSize // region validate with fill private void validateValuesWithFill(int chunkSize, byte[] values, RowSet rowSet, BooleanArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -307,9 +322,9 @@ private void validateValuesWithFill(int chunkSize, byte[] values, RowSet rowSet, private void validatePrevValuesWithFill(int chunkSize, byte[] values, RowSet rowSet, BooleanArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -334,21 +349,34 @@ public void testFillChunk() { testFillChunkGeneric(new byte[0], new byte[0], 1, RowSetFactory.fromKeys()); testFillChunkGeneric(new byte[0], new byte[0], 16, RowSetFactory.fromKeys()); - testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(0)); - testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4)); - testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 512), ArrayGenerator.randomBooleans(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 512), ArrayGenerator.randomBooleans(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, + RowSetFactory.fromKeys(0)); + testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, + RowSetFactory.fromKeys(4)); + testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 16), ArrayGenerator.randomBooleans(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 512), ArrayGenerator.randomBooleans(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 512), ArrayGenerator.randomBooleans(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); // Test the fill with null behavior when requesting keys outside of source. - testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 512), ArrayGenerator.randomBooleans(random, 4096), 4096, RowSetFactory.fromRange(4096, 8192)); - testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 512), ArrayGenerator.randomBooleans(random, 4096), 4096, RowSetFactory.flat(4096)); + testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 512), ArrayGenerator.randomBooleans(random, 4096), 4096, + RowSetFactory.fromRange(4096, 8192)); + testFillChunkGeneric(ArrayGenerator.randomBooleans(random, 512), ArrayGenerator.randomBooleans(random, 4096), 4096, + RowSetFactory.flat(4096)); for (int sourceSize = 32; sourceSize < 8192; sourceSize *= 4) { for (int v = -4; v < 5; v += 2) { @@ -365,14 +393,17 @@ private void testSetForGivenSourceSize(Random random, int sourceSize) { } } - private void testFillChunkIndexSizeVariations(Random random, int sourceSize, byte[] values, byte[] newValues, int indexSize) { + private void testFillChunkIndexSizeVariations(Random random, int sourceSize, byte[] values, byte[] newValues, + int indexSize) { testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize - 1); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize + 1); } - private void testParameterFillChunkAndIndex(Random random, int sourceSize, byte[] values, byte[] newValues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterFillChunkAndIndex(Random random, int sourceSize, byte[] values, byte[] newValues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testFillChunkGeneric(values, newValues, chunkSize, rowSet); testFillChunkGeneric(values, newValues, chunkSize + 1, rowSet); @@ -394,9 +425,9 @@ private void testFillChunkLazyGeneric(byte[] values, int chunkSize, RowSet rowSe formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -425,13 +456,15 @@ public void testFillChunkLazy() { testFillChunkLazyGeneric(ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testFillChunkLazyGeneric(ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4)); testFillChunkLazyGeneric(ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkLazyGeneric(ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testFillChunkLazyGeneric(ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testFillChunkLazyGeneric(ArrayGenerator.randomBooleans(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testFillChunkLazyGeneric(ArrayGenerator.randomBooleans(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomBooleans(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomBooleans(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkLazyGeneric(ArrayGenerator.randomBooleans(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkLazyGeneric(ArrayGenerator.randomBooleans(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkLazyGeneric(ArrayGenerator.randomBooleans(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkLazyGeneric(ArrayGenerator.randomBooleans(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v++) { @@ -454,7 +487,8 @@ private void testFillChunkIndexSizeVariationsLazy(Random random, int sourceSize, } private void testParameterFillChunkAndIndexLazy(Random random, int sourceSize, byte[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testFillChunkLazyGeneric(values, chunkSize, rowSet); testFillChunkLazyGeneric(values, chunkSize + 1, rowSet); @@ -506,12 +540,12 @@ public void confirmAliasingForbidden() { source.set(ii, data[ii]); } // super hack - final byte[] peekedBlock = (byte[])source.getBlock(0); + final byte[] peekedBlock = (byte[]) source.getBlock(0); try (RowSet srcKeys = RowSetFactory.fromRange(rangeStart, rangeEnd); - RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); - ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); - ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { + RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); + ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); + ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { Chunk chunk = source.getChunk(srcContext, srcKeys); if (chunk.isAlias(peekedBlock)) { // If the ArraySource gives out aliases of its blocks, then it should throw when we try to @@ -535,7 +569,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(0)) { + final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -556,12 +590,13 @@ public void testFillUnorderedWithNulls() { source.set(ii, data[ii]); } - final long [] keys = LongStream.concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); + final long[] keys = LongStream + .concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); Shuffle.shuffleArray(rng, keys); try (final ChunkSource.FillContext ctx = source.makeFillContext(keys.length); - final WritableObjectChunk dest = WritableObjectChunk.makeWritableChunk(keys.length); - final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { + final WritableObjectChunk dest = WritableObjectChunk.makeWritableChunk(keys.length); + final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { rlc.resetFromTypedArray(keys, 0, keys.length); source.fillChunkUnordered(ctx, dest, rlc); assertEquals(keys.length, dest.size()); @@ -569,7 +604,7 @@ public void testFillUnorderedWithNulls() { if (keys[ii] == RowSequence.NULL_ROW_KEY) { assertEquals(NULL_BOOLEAN, dest.get(ii)); } else { - checkFromValues(data[(int)keys[ii]], dest.get(ii)); + checkFromValues(data[(int) keys[ii]], dest.get(ii)); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestBooleanImmutableArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestBooleanImmutableArraySource.java index 9be77b186d2..530d7a3d1a5 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestBooleanImmutableArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestBooleanImmutableArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableObjectChunk; @@ -17,13 +17,14 @@ WritableColumnSource makeTestSource() { final int capacity = getSourceSize(); final ImmutableByteArraySource immutableBooleanArraySource = new ImmutableByteArraySource(); immutableBooleanArraySource.ensureCapacity(capacity); - final WritableByteAsBooleanColumnSource byteAsBooleanColumnSource = new WritableByteAsBooleanColumnSource(immutableBooleanArraySource); + final WritableByteAsBooleanColumnSource byteAsBooleanColumnSource = + new WritableByteAsBooleanColumnSource(immutableBooleanArraySource); try (final ChunkSink.FillFromContext ffc = byteAsBooleanColumnSource.makeFillFromContext(capacity); - final WritableObjectChunk nullChunk = WritableObjectChunk.makeWritableChunk(capacity)) { + final WritableObjectChunk nullChunk = WritableObjectChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); byteAsBooleanColumnSource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return byteAsBooleanColumnSource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestBooleanSparseArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestBooleanSparseArraySource.java index cae4057f4ec..18174facc55 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestBooleanSparseArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestBooleanSparseArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterSparseArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterSparseArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.ObjectChunk; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestByteArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestByteArraySource.java index afb3842f7a7..0344a8bd6c9 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestByteArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestByteArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.context.ExecutionContext; @@ -79,8 +78,8 @@ private void testGetChunkGeneric(byte[] values, byte[] newValues, int chunkSize, private void validateValues(int chunkSize, byte[] values, RowSet rowSet, ByteArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -99,7 +98,8 @@ private void validateValues(int chunkSize, byte[] values, RowSet rowSet, ByteArr } // region samecheck final LongChunk ranges = okChunk.asRowKeyRangesChunk(); - if (ranges.size() > 2 || ranges.get(0) / ByteArraySource.BLOCK_SIZE != (ranges.get(1) / ByteArraySource.BLOCK_SIZE)) { + if (ranges.size() > 2 || ranges.get(0) + / ByteArraySource.BLOCK_SIZE != (ranges.get(1) / ByteArraySource.BLOCK_SIZE)) { assertTrue(DefaultGetContext.isMyWritableChunk(context, chunk)); } else { @@ -114,8 +114,8 @@ private void validateValues(int chunkSize, byte[] values, RowSet rowSet, ByteArr private void validatePrevValues(int chunkSize, byte[] values, RowSet rowSet, ByteArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -140,17 +140,28 @@ public void testGetChunk() { testGetChunkGeneric(new byte[0], new byte[0], 1, RowSetFactory.fromKeys()); testGetChunkGeneric(new byte[0], new byte[0], 16, RowSetFactory.fromKeys()); - testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(0)); - testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4)); - testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomBytes(random, 512), ArrayGenerator.randomBytes(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGeneric(ArrayGenerator.randomBytes(random, 512), ArrayGenerator.randomBytes(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, + RowSetFactory.fromKeys(0)); + testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, + RowSetFactory.fromKeys(4)); + testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomBytes(random, 512), ArrayGenerator.randomBytes(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testGetChunkGeneric(ArrayGenerator.randomBytes(random, 512), ArrayGenerator.randomBytes(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 32; sourceSize < 4096; sourceSize *= 4) { for (int v = -4; v < 5; v++) { @@ -158,7 +169,7 @@ public void testGetChunk() { } } - //References to block test + // References to block test } // region lazy @@ -175,8 +186,8 @@ private void testGetChunkGenericLazy(byte[] values, int chunkSize, RowSet rowSet formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -203,13 +214,14 @@ public void testGetChunkLazy() { testGetChunkGenericLazy(ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testGetChunkGenericLazy(ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4)); testGetChunkGenericLazy(ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGenericLazy(ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testGetChunkGenericLazy(ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testGetChunkGenericLazy(ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomBytes(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomBytes(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomBytes(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomBytes(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGenericLazy(ArrayGenerator.randomBytes(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGenericLazy(ArrayGenerator.randomBytes(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v += 2) { @@ -233,7 +245,8 @@ private void testIndexSizeVariationsLazy(Random random, int sourceSize, byte[] v } private void testParameterChunkAndIndexLazy(Random random, int sourceSize, byte[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testGetChunkGenericLazy(values, chunkSize, rowSet); testGetChunkGenericLazy(values, chunkSize + 1, rowSet); @@ -250,14 +263,17 @@ private void testForGivenSourceSize(Random random, int sourceSize) { } } - private void testIndexSizeVariations(Random random, int sourceSize, byte[] values, byte[] newvalues, int indexSize) { + private void testIndexSizeVariations(Random random, int sourceSize, byte[] values, byte[] newvalues, + int indexSize) { testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize - 1); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize + 1); } - private void testParameterChunkAndIndex(Random random, int sourceSize, byte[] values, byte[] newvalues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterChunkAndIndex(Random random, int sourceSize, byte[] values, byte[] newvalues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testGetChunkGeneric(values, newvalues, chunkSize, rowSet); testGetChunkGeneric(values, newvalues, chunkSize + 1, rowSet); @@ -287,9 +303,9 @@ private void testFillChunkGeneric(byte[] values, byte[] newValues, int chunkSize // region validate with fill private void validateValuesWithFill(int chunkSize, byte[] values, RowSet rowSet, ByteArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableByteChunk chunk = WritableByteChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableByteChunk chunk = WritableByteChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -309,9 +325,9 @@ private void validateValuesWithFill(int chunkSize, byte[] values, RowSet rowSet, private void validatePrevValuesWithFill(int chunkSize, byte[] values, RowSet rowSet, ByteArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableByteChunk chunk = WritableByteChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableByteChunk chunk = WritableByteChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -336,21 +352,34 @@ public void testFillChunk() { testFillChunkGeneric(new byte[0], new byte[0], 1, RowSetFactory.fromKeys()); testFillChunkGeneric(new byte[0], new byte[0], 16, RowSetFactory.fromKeys()); - testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(0)); - testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4)); - testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomBytes(random, 512), ArrayGenerator.randomBytes(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkGeneric(ArrayGenerator.randomBytes(random, 512), ArrayGenerator.randomBytes(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, + RowSetFactory.fromKeys(0)); + testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, + RowSetFactory.fromKeys(4)); + testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomBytes(random, 16), ArrayGenerator.randomBytes(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomBytes(random, 512), ArrayGenerator.randomBytes(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkGeneric(ArrayGenerator.randomBytes(random, 512), ArrayGenerator.randomBytes(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); // Test the fill with null behavior when requesting keys outside of source. - testFillChunkGeneric(ArrayGenerator.randomBytes(random, 512), ArrayGenerator.randomBytes(random, 4096), 4096, RowSetFactory.fromRange(4096, 8192)); - testFillChunkGeneric(ArrayGenerator.randomBytes(random, 512), ArrayGenerator.randomBytes(random, 4096), 4096, RowSetFactory.flat(4096)); + testFillChunkGeneric(ArrayGenerator.randomBytes(random, 512), ArrayGenerator.randomBytes(random, 4096), 4096, + RowSetFactory.fromRange(4096, 8192)); + testFillChunkGeneric(ArrayGenerator.randomBytes(random, 512), ArrayGenerator.randomBytes(random, 4096), 4096, + RowSetFactory.flat(4096)); for (int sourceSize = 32; sourceSize < 8192; sourceSize *= 4) { for (int v = -4; v < 5; v += 2) { @@ -367,14 +396,17 @@ private void testSetForGivenSourceSize(Random random, int sourceSize) { } } - private void testFillChunkIndexSizeVariations(Random random, int sourceSize, byte[] values, byte[] newValues, int indexSize) { + private void testFillChunkIndexSizeVariations(Random random, int sourceSize, byte[] values, byte[] newValues, + int indexSize) { testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize - 1); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize + 1); } - private void testParameterFillChunkAndIndex(Random random, int sourceSize, byte[] values, byte[] newValues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterFillChunkAndIndex(Random random, int sourceSize, byte[] values, byte[] newValues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testFillChunkGeneric(values, newValues, chunkSize, rowSet); testFillChunkGeneric(values, newValues, chunkSize + 1, rowSet); @@ -396,9 +428,9 @@ private void testFillChunkLazyGeneric(byte[] values, int chunkSize, RowSet rowSe formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableByteChunk chunk = WritableByteChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableByteChunk chunk = WritableByteChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -427,13 +459,15 @@ public void testFillChunkLazy() { testFillChunkLazyGeneric(ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testFillChunkLazyGeneric(ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4)); testFillChunkLazyGeneric(ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkLazyGeneric(ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testFillChunkLazyGeneric(ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testFillChunkLazyGeneric(ArrayGenerator.randomBytes(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testFillChunkLazyGeneric(ArrayGenerator.randomBytes(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomBytes(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomBytes(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkLazyGeneric(ArrayGenerator.randomBytes(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkLazyGeneric(ArrayGenerator.randomBytes(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkLazyGeneric(ArrayGenerator.randomBytes(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkLazyGeneric(ArrayGenerator.randomBytes(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v++) { @@ -456,7 +490,8 @@ private void testFillChunkIndexSizeVariationsLazy(Random random, int sourceSize, } private void testParameterFillChunkAndIndexLazy(Random random, int sourceSize, byte[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testFillChunkLazyGeneric(values, chunkSize, rowSet); testFillChunkLazyGeneric(values, chunkSize + 1, rowSet); @@ -508,12 +543,12 @@ public void confirmAliasingForbidden() { source.set(ii, data[ii]); } // super hack - final byte[] peekedBlock = (byte[])source.getBlock(0); + final byte[] peekedBlock = (byte[]) source.getBlock(0); try (RowSet srcKeys = RowSetFactory.fromRange(rangeStart, rangeEnd); - RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); - ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); - ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { + RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); + ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); + ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { Chunk chunk = source.getChunk(srcContext, srcKeys); if (chunk.isAlias(peekedBlock)) { // If the ArraySource gives out aliases of its blocks, then it should throw when we try to @@ -537,7 +572,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableByteChunk chunk = WritableByteChunk.makeWritableChunk(0)) { + final WritableByteChunk chunk = WritableByteChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -558,12 +593,13 @@ public void testFillUnorderedWithNulls() { source.set(ii, data[ii]); } - final long [] keys = LongStream.concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); + final long[] keys = LongStream + .concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); Shuffle.shuffleArray(rng, keys); try (final ChunkSource.FillContext ctx = source.makeFillContext(keys.length); - final WritableByteChunk dest = WritableByteChunk.makeWritableChunk(keys.length); - final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { + final WritableByteChunk dest = WritableByteChunk.makeWritableChunk(keys.length); + final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { rlc.resetFromTypedArray(keys, 0, keys.length); source.fillChunkUnordered(ctx, dest, rlc); assertEquals(keys.length, dest.size()); @@ -571,7 +607,7 @@ public void testFillUnorderedWithNulls() { if (keys[ii] == RowSequence.NULL_ROW_KEY) { assertEquals(NULL_BYTE, dest.get(ii)); } else { - checkFromValues(data[(int)keys[ii]], dest.get(ii)); + checkFromValues(data[(int) keys[ii]], dest.get(ii)); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestByteImmutable2DArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestByteImmutable2DArraySource.java index c6358a40b08..ce1ae360b58 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestByteImmutable2DArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestByteImmutable2DArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterImmutable2DArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterImmutable2DArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableByteChunk; @@ -27,10 +26,10 @@ Immutable2DByteArraySource makeTestSource() { final Immutable2DByteArraySource flatByteArraySource = new Immutable2DByteArraySource(12); flatByteArraySource.ensureCapacity(capacity); try (final ChunkSink.FillFromContext ffc = flatByteArraySource.makeFillFromContext(capacity); - final WritableByteChunk nullChunk = WritableByteChunk.makeWritableChunk(capacity)) { + final WritableByteChunk nullChunk = WritableByteChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); flatByteArraySource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return flatByteArraySource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestByteImmutableArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestByteImmutableArraySource.java index 01acfc6ba37..a4318dc828c 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestByteImmutableArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestByteImmutableArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterImmutableArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterImmutableArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableByteChunk; @@ -22,10 +21,10 @@ ImmutableByteArraySource makeTestSource() { final ImmutableByteArraySource immutableByteArraySource = new ImmutableByteArraySource(); immutableByteArraySource.ensureCapacity(capacity); try (final ChunkSink.FillFromContext ffc = immutableByteArraySource.makeFillFromContext(capacity); - final WritableByteChunk nullChunk = WritableByteChunk.makeWritableChunk(capacity)) { + final WritableByteChunk nullChunk = WritableByteChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); immutableByteArraySource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return immutableByteArraySource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestByteSparseArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestByteSparseArraySource.java index 7b321589348..f9f722dce59 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestByteSparseArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestByteSparseArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterSparseArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterSparseArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.ArrayGenerator; @@ -67,4 +66,4 @@ public void confirmAliasingForbidden() { } } } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestCharacterArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestCharacterArraySource.java index 2822fe9588f..3efa4a0edb7 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestCharacterArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestCharacterArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.context.ExecutionContext; @@ -74,8 +74,8 @@ private void testGetChunkGeneric(char[] values, char[] newValues, int chunkSize, private void validateValues(int chunkSize, char[] values, RowSet rowSet, CharacterArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -94,7 +94,8 @@ private void validateValues(int chunkSize, char[] values, RowSet rowSet, Charact } // region samecheck final LongChunk ranges = okChunk.asRowKeyRangesChunk(); - if (ranges.size() > 2 || ranges.get(0) / CharacterArraySource.BLOCK_SIZE != (ranges.get(1) / CharacterArraySource.BLOCK_SIZE)) { + if (ranges.size() > 2 || ranges.get(0) + / CharacterArraySource.BLOCK_SIZE != (ranges.get(1) / CharacterArraySource.BLOCK_SIZE)) { assertTrue(DefaultGetContext.isMyWritableChunk(context, chunk)); } else { @@ -109,8 +110,8 @@ private void validateValues(int chunkSize, char[] values, RowSet rowSet, Charact private void validatePrevValues(int chunkSize, char[] values, RowSet rowSet, CharacterArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -135,17 +136,28 @@ public void testGetChunk() { testGetChunkGeneric(new char[0], new char[0], 1, RowSetFactory.fromKeys()); testGetChunkGeneric(new char[0], new char[0], 16, RowSetFactory.fromKeys()); - testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(0)); - testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4)); - testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomChars(random, 512), ArrayGenerator.randomChars(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGeneric(ArrayGenerator.randomChars(random, 512), ArrayGenerator.randomChars(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, + RowSetFactory.fromKeys(0)); + testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, + RowSetFactory.fromKeys(4)); + testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomChars(random, 512), ArrayGenerator.randomChars(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testGetChunkGeneric(ArrayGenerator.randomChars(random, 512), ArrayGenerator.randomChars(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 32; sourceSize < 4096; sourceSize *= 4) { for (int v = -4; v < 5; v++) { @@ -153,7 +165,7 @@ public void testGetChunk() { } } - //References to block test + // References to block test } // region lazy @@ -170,8 +182,8 @@ private void testGetChunkGenericLazy(char[] values, int chunkSize, RowSet rowSet formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -198,13 +210,14 @@ public void testGetChunkLazy() { testGetChunkGenericLazy(ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testGetChunkGenericLazy(ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4)); testGetChunkGenericLazy(ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGenericLazy(ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testGetChunkGenericLazy(ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testGetChunkGenericLazy(ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomChars(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomChars(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomChars(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomChars(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGenericLazy(ArrayGenerator.randomChars(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGenericLazy(ArrayGenerator.randomChars(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v += 2) { @@ -228,7 +241,8 @@ private void testIndexSizeVariationsLazy(Random random, int sourceSize, char[] v } private void testParameterChunkAndIndexLazy(Random random, int sourceSize, char[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testGetChunkGenericLazy(values, chunkSize, rowSet); testGetChunkGenericLazy(values, chunkSize + 1, rowSet); @@ -245,14 +259,17 @@ private void testForGivenSourceSize(Random random, int sourceSize) { } } - private void testIndexSizeVariations(Random random, int sourceSize, char[] values, char[] newvalues, int indexSize) { + private void testIndexSizeVariations(Random random, int sourceSize, char[] values, char[] newvalues, + int indexSize) { testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize - 1); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize + 1); } - private void testParameterChunkAndIndex(Random random, int sourceSize, char[] values, char[] newvalues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterChunkAndIndex(Random random, int sourceSize, char[] values, char[] newvalues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testGetChunkGeneric(values, newvalues, chunkSize, rowSet); testGetChunkGeneric(values, newvalues, chunkSize + 1, rowSet); @@ -282,9 +299,9 @@ private void testFillChunkGeneric(char[] values, char[] newValues, int chunkSize // region validate with fill private void validateValuesWithFill(int chunkSize, char[] values, RowSet rowSet, CharacterArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableCharChunk chunk = WritableCharChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableCharChunk chunk = WritableCharChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -304,9 +321,9 @@ private void validateValuesWithFill(int chunkSize, char[] values, RowSet rowSet, private void validatePrevValuesWithFill(int chunkSize, char[] values, RowSet rowSet, CharacterArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableCharChunk chunk = WritableCharChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableCharChunk chunk = WritableCharChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -331,21 +348,34 @@ public void testFillChunk() { testFillChunkGeneric(new char[0], new char[0], 1, RowSetFactory.fromKeys()); testFillChunkGeneric(new char[0], new char[0], 16, RowSetFactory.fromKeys()); - testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(0)); - testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4)); - testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomChars(random, 512), ArrayGenerator.randomChars(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkGeneric(ArrayGenerator.randomChars(random, 512), ArrayGenerator.randomChars(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, + RowSetFactory.fromKeys(0)); + testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, + RowSetFactory.fromKeys(4)); + testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomChars(random, 16), ArrayGenerator.randomChars(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomChars(random, 512), ArrayGenerator.randomChars(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkGeneric(ArrayGenerator.randomChars(random, 512), ArrayGenerator.randomChars(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); // Test the fill with null behavior when requesting keys outside of source. - testFillChunkGeneric(ArrayGenerator.randomChars(random, 512), ArrayGenerator.randomChars(random, 4096), 4096, RowSetFactory.fromRange(4096, 8192)); - testFillChunkGeneric(ArrayGenerator.randomChars(random, 512), ArrayGenerator.randomChars(random, 4096), 4096, RowSetFactory.flat(4096)); + testFillChunkGeneric(ArrayGenerator.randomChars(random, 512), ArrayGenerator.randomChars(random, 4096), 4096, + RowSetFactory.fromRange(4096, 8192)); + testFillChunkGeneric(ArrayGenerator.randomChars(random, 512), ArrayGenerator.randomChars(random, 4096), 4096, + RowSetFactory.flat(4096)); for (int sourceSize = 32; sourceSize < 8192; sourceSize *= 4) { for (int v = -4; v < 5; v += 2) { @@ -362,14 +392,17 @@ private void testSetForGivenSourceSize(Random random, int sourceSize) { } } - private void testFillChunkIndexSizeVariations(Random random, int sourceSize, char[] values, char[] newValues, int indexSize) { + private void testFillChunkIndexSizeVariations(Random random, int sourceSize, char[] values, char[] newValues, + int indexSize) { testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize - 1); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize + 1); } - private void testParameterFillChunkAndIndex(Random random, int sourceSize, char[] values, char[] newValues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterFillChunkAndIndex(Random random, int sourceSize, char[] values, char[] newValues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testFillChunkGeneric(values, newValues, chunkSize, rowSet); testFillChunkGeneric(values, newValues, chunkSize + 1, rowSet); @@ -391,9 +424,9 @@ private void testFillChunkLazyGeneric(char[] values, int chunkSize, RowSet rowSe formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableCharChunk chunk = WritableCharChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableCharChunk chunk = WritableCharChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -422,13 +455,15 @@ public void testFillChunkLazy() { testFillChunkLazyGeneric(ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testFillChunkLazyGeneric(ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4)); testFillChunkLazyGeneric(ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkLazyGeneric(ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testFillChunkLazyGeneric(ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testFillChunkLazyGeneric(ArrayGenerator.randomChars(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testFillChunkLazyGeneric(ArrayGenerator.randomChars(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomChars(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomChars(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkLazyGeneric(ArrayGenerator.randomChars(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkLazyGeneric(ArrayGenerator.randomChars(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkLazyGeneric(ArrayGenerator.randomChars(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkLazyGeneric(ArrayGenerator.randomChars(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v++) { @@ -451,7 +486,8 @@ private void testFillChunkIndexSizeVariationsLazy(Random random, int sourceSize, } private void testParameterFillChunkAndIndexLazy(Random random, int sourceSize, char[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testFillChunkLazyGeneric(values, chunkSize, rowSet); testFillChunkLazyGeneric(values, chunkSize + 1, rowSet); @@ -503,12 +539,12 @@ public void confirmAliasingForbidden() { source.set(ii, data[ii]); } // super hack - final char[] peekedBlock = (char[])source.getBlock(0); + final char[] peekedBlock = (char[]) source.getBlock(0); try (RowSet srcKeys = RowSetFactory.fromRange(rangeStart, rangeEnd); - RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); - ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); - ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { + RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); + ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); + ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { Chunk chunk = source.getChunk(srcContext, srcKeys); if (chunk.isAlias(peekedBlock)) { // If the ArraySource gives out aliases of its blocks, then it should throw when we try to @@ -532,7 +568,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableCharChunk chunk = WritableCharChunk.makeWritableChunk(0)) { + final WritableCharChunk chunk = WritableCharChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -553,12 +589,13 @@ public void testFillUnorderedWithNulls() { source.set(ii, data[ii]); } - final long [] keys = LongStream.concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); + final long[] keys = LongStream + .concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); Shuffle.shuffleArray(rng, keys); try (final ChunkSource.FillContext ctx = source.makeFillContext(keys.length); - final WritableCharChunk dest = WritableCharChunk.makeWritableChunk(keys.length); - final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { + final WritableCharChunk dest = WritableCharChunk.makeWritableChunk(keys.length); + final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { rlc.resetFromTypedArray(keys, 0, keys.length); source.fillChunkUnordered(ctx, dest, rlc); assertEquals(keys.length, dest.size()); @@ -566,7 +603,7 @@ public void testFillUnorderedWithNulls() { if (keys[ii] == RowSequence.NULL_ROW_KEY) { assertEquals(NULL_CHAR, dest.get(ii)); } else { - checkFromValues(data[(int)keys[ii]], dest.get(ii)); + checkFromValues(data[(int) keys[ii]], dest.get(ii)); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestCharacterImmutable2DArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestCharacterImmutable2DArraySource.java index fcd4cce9966..5e4cb19cc89 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestCharacterImmutable2DArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestCharacterImmutable2DArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableCharChunk; @@ -22,10 +22,10 @@ Immutable2DCharArraySource makeTestSource() { final Immutable2DCharArraySource flatCharArraySource = new Immutable2DCharArraySource(12); flatCharArraySource.ensureCapacity(capacity); try (final ChunkSink.FillFromContext ffc = flatCharArraySource.makeFillFromContext(capacity); - final WritableCharChunk nullChunk = WritableCharChunk.makeWritableChunk(capacity)) { + final WritableCharChunk nullChunk = WritableCharChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); flatCharArraySource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return flatCharArraySource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestCharacterImmutableArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestCharacterImmutableArraySource.java index d8da6ea7223..ee3e1a150da 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestCharacterImmutableArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestCharacterImmutableArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableCharChunk; @@ -17,10 +17,10 @@ ImmutableCharArraySource makeTestSource() { final ImmutableCharArraySource immutableCharArraySource = new ImmutableCharArraySource(); immutableCharArraySource.ensureCapacity(capacity); try (final ChunkSink.FillFromContext ffc = immutableCharArraySource.makeFillFromContext(capacity); - final WritableCharChunk nullChunk = WritableCharChunk.makeWritableChunk(capacity)) { + final WritableCharChunk nullChunk = WritableCharChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); immutableCharArraySource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return immutableCharArraySource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestCharacterSparseArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestCharacterSparseArraySource.java index 99fdbc927eb..bd889af139b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestCharacterSparseArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestCharacterSparseArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.ArrayGenerator; @@ -62,4 +62,4 @@ public void confirmAliasingForbidden() { } } } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestDoubleArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestDoubleArraySource.java index ad1b8d60cb2..9880a93a9a6 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestDoubleArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestDoubleArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.context.ExecutionContext; @@ -79,8 +78,8 @@ private void testGetChunkGeneric(double[] values, double[] newValues, int chunkS private void validateValues(int chunkSize, double[] values, RowSet rowSet, DoubleArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -99,7 +98,8 @@ private void validateValues(int chunkSize, double[] values, RowSet rowSet, Doubl } // region samecheck final LongChunk ranges = okChunk.asRowKeyRangesChunk(); - if (ranges.size() > 2 || ranges.get(0) / DoubleArraySource.BLOCK_SIZE != (ranges.get(1) / DoubleArraySource.BLOCK_SIZE)) { + if (ranges.size() > 2 || ranges.get(0) + / DoubleArraySource.BLOCK_SIZE != (ranges.get(1) / DoubleArraySource.BLOCK_SIZE)) { assertTrue(DefaultGetContext.isMyWritableChunk(context, chunk)); } else { @@ -114,8 +114,8 @@ private void validateValues(int chunkSize, double[] values, RowSet rowSet, Doubl private void validatePrevValues(int chunkSize, double[] values, RowSet rowSet, DoubleArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -140,17 +140,28 @@ public void testGetChunk() { testGetChunkGeneric(new double[0], new double[0], 1, RowSetFactory.fromKeys()); testGetChunkGeneric(new double[0], new double[0], 16, RowSetFactory.fromKeys()); - testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(0)); - testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4)); - testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 512), ArrayGenerator.randomDoubles(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 512), ArrayGenerator.randomDoubles(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, + RowSetFactory.fromKeys(0)); + testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, + RowSetFactory.fromKeys(4)); + testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 512), ArrayGenerator.randomDoubles(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testGetChunkGeneric(ArrayGenerator.randomDoubles(random, 512), ArrayGenerator.randomDoubles(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 32; sourceSize < 4096; sourceSize *= 4) { for (int v = -4; v < 5; v++) { @@ -158,7 +169,7 @@ public void testGetChunk() { } } - //References to block test + // References to block test } // region lazy @@ -175,8 +186,8 @@ private void testGetChunkGenericLazy(double[] values, int chunkSize, RowSet rowS formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -203,13 +214,14 @@ public void testGetChunkLazy() { testGetChunkGenericLazy(ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testGetChunkGenericLazy(ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4)); testGetChunkGenericLazy(ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGenericLazy(ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testGetChunkGenericLazy(ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testGetChunkGenericLazy(ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomDoubles(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomDoubles(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomDoubles(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomDoubles(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGenericLazy(ArrayGenerator.randomDoubles(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGenericLazy(ArrayGenerator.randomDoubles(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v += 2) { @@ -233,7 +245,8 @@ private void testIndexSizeVariationsLazy(Random random, int sourceSize, double[] } private void testParameterChunkAndIndexLazy(Random random, int sourceSize, double[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testGetChunkGenericLazy(values, chunkSize, rowSet); testGetChunkGenericLazy(values, chunkSize + 1, rowSet); @@ -250,14 +263,17 @@ private void testForGivenSourceSize(Random random, int sourceSize) { } } - private void testIndexSizeVariations(Random random, int sourceSize, double[] values, double[] newvalues, int indexSize) { + private void testIndexSizeVariations(Random random, int sourceSize, double[] values, double[] newvalues, + int indexSize) { testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize - 1); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize + 1); } - private void testParameterChunkAndIndex(Random random, int sourceSize, double[] values, double[] newvalues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterChunkAndIndex(Random random, int sourceSize, double[] values, double[] newvalues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testGetChunkGeneric(values, newvalues, chunkSize, rowSet); testGetChunkGeneric(values, newvalues, chunkSize + 1, rowSet); @@ -287,9 +303,9 @@ private void testFillChunkGeneric(double[] values, double[] newValues, int chunk // region validate with fill private void validateValuesWithFill(int chunkSize, double[] values, RowSet rowSet, DoubleArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableDoubleChunk chunk = WritableDoubleChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableDoubleChunk chunk = WritableDoubleChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -309,9 +325,9 @@ private void validateValuesWithFill(int chunkSize, double[] values, RowSet rowSe private void validatePrevValuesWithFill(int chunkSize, double[] values, RowSet rowSet, DoubleArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableDoubleChunk chunk = WritableDoubleChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableDoubleChunk chunk = WritableDoubleChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -336,21 +352,34 @@ public void testFillChunk() { testFillChunkGeneric(new double[0], new double[0], 1, RowSetFactory.fromKeys()); testFillChunkGeneric(new double[0], new double[0], 16, RowSetFactory.fromKeys()); - testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(0)); - testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4)); - testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 512), ArrayGenerator.randomDoubles(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 512), ArrayGenerator.randomDoubles(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, + RowSetFactory.fromKeys(0)); + testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, + RowSetFactory.fromKeys(4)); + testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 16), ArrayGenerator.randomDoubles(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 512), ArrayGenerator.randomDoubles(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 512), ArrayGenerator.randomDoubles(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); // Test the fill with null behavior when requesting keys outside of source. - testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 512), ArrayGenerator.randomDoubles(random, 4096), 4096, RowSetFactory.fromRange(4096, 8192)); - testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 512), ArrayGenerator.randomDoubles(random, 4096), 4096, RowSetFactory.flat(4096)); + testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 512), ArrayGenerator.randomDoubles(random, 4096), 4096, + RowSetFactory.fromRange(4096, 8192)); + testFillChunkGeneric(ArrayGenerator.randomDoubles(random, 512), ArrayGenerator.randomDoubles(random, 4096), 4096, + RowSetFactory.flat(4096)); for (int sourceSize = 32; sourceSize < 8192; sourceSize *= 4) { for (int v = -4; v < 5; v += 2) { @@ -367,14 +396,17 @@ private void testSetForGivenSourceSize(Random random, int sourceSize) { } } - private void testFillChunkIndexSizeVariations(Random random, int sourceSize, double[] values, double[] newValues, int indexSize) { + private void testFillChunkIndexSizeVariations(Random random, int sourceSize, double[] values, double[] newValues, + int indexSize) { testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize - 1); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize + 1); } - private void testParameterFillChunkAndIndex(Random random, int sourceSize, double[] values, double[] newValues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterFillChunkAndIndex(Random random, int sourceSize, double[] values, double[] newValues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testFillChunkGeneric(values, newValues, chunkSize, rowSet); testFillChunkGeneric(values, newValues, chunkSize + 1, rowSet); @@ -396,9 +428,9 @@ private void testFillChunkLazyGeneric(double[] values, int chunkSize, RowSet row formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableDoubleChunk chunk = WritableDoubleChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableDoubleChunk chunk = WritableDoubleChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -427,13 +459,15 @@ public void testFillChunkLazy() { testFillChunkLazyGeneric(ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testFillChunkLazyGeneric(ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4)); testFillChunkLazyGeneric(ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkLazyGeneric(ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testFillChunkLazyGeneric(ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testFillChunkLazyGeneric(ArrayGenerator.randomDoubles(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testFillChunkLazyGeneric(ArrayGenerator.randomDoubles(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomDoubles(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomDoubles(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkLazyGeneric(ArrayGenerator.randomDoubles(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkLazyGeneric(ArrayGenerator.randomDoubles(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkLazyGeneric(ArrayGenerator.randomDoubles(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkLazyGeneric(ArrayGenerator.randomDoubles(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v++) { @@ -456,7 +490,8 @@ private void testFillChunkIndexSizeVariationsLazy(Random random, int sourceSize, } private void testParameterFillChunkAndIndexLazy(Random random, int sourceSize, double[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testFillChunkLazyGeneric(values, chunkSize, rowSet); testFillChunkLazyGeneric(values, chunkSize + 1, rowSet); @@ -508,12 +543,12 @@ public void confirmAliasingForbidden() { source.set(ii, data[ii]); } // super hack - final double[] peekedBlock = (double[])source.getBlock(0); + final double[] peekedBlock = (double[]) source.getBlock(0); try (RowSet srcKeys = RowSetFactory.fromRange(rangeStart, rangeEnd); - RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); - ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); - ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { + RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); + ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); + ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { Chunk chunk = source.getChunk(srcContext, srcKeys); if (chunk.isAlias(peekedBlock)) { // If the ArraySource gives out aliases of its blocks, then it should throw when we try to @@ -537,7 +572,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableDoubleChunk chunk = WritableDoubleChunk.makeWritableChunk(0)) { + final WritableDoubleChunk chunk = WritableDoubleChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -558,12 +593,13 @@ public void testFillUnorderedWithNulls() { source.set(ii, data[ii]); } - final long [] keys = LongStream.concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); + final long[] keys = LongStream + .concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); Shuffle.shuffleArray(rng, keys); try (final ChunkSource.FillContext ctx = source.makeFillContext(keys.length); - final WritableDoubleChunk dest = WritableDoubleChunk.makeWritableChunk(keys.length); - final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { + final WritableDoubleChunk dest = WritableDoubleChunk.makeWritableChunk(keys.length); + final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { rlc.resetFromTypedArray(keys, 0, keys.length); source.fillChunkUnordered(ctx, dest, rlc); assertEquals(keys.length, dest.size()); @@ -571,7 +607,7 @@ public void testFillUnorderedWithNulls() { if (keys[ii] == RowSequence.NULL_ROW_KEY) { assertEquals(NULL_DOUBLE, dest.get(ii)); } else { - checkFromValues(data[(int)keys[ii]], dest.get(ii)); + checkFromValues(data[(int) keys[ii]], dest.get(ii)); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestDoubleImmutable2DArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestDoubleImmutable2DArraySource.java index 3f35eeba503..12d5995e257 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestDoubleImmutable2DArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestDoubleImmutable2DArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterImmutable2DArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterImmutable2DArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableDoubleChunk; @@ -27,10 +26,10 @@ Immutable2DDoubleArraySource makeTestSource() { final Immutable2DDoubleArraySource flatDoubleArraySource = new Immutable2DDoubleArraySource(12); flatDoubleArraySource.ensureCapacity(capacity); try (final ChunkSink.FillFromContext ffc = flatDoubleArraySource.makeFillFromContext(capacity); - final WritableDoubleChunk nullChunk = WritableDoubleChunk.makeWritableChunk(capacity)) { + final WritableDoubleChunk nullChunk = WritableDoubleChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); flatDoubleArraySource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return flatDoubleArraySource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestDoubleImmutableArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestDoubleImmutableArraySource.java index a55a40e5f73..6fc409d2332 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestDoubleImmutableArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestDoubleImmutableArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterImmutableArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterImmutableArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableDoubleChunk; @@ -22,10 +21,10 @@ ImmutableDoubleArraySource makeTestSource() { final ImmutableDoubleArraySource immutableDoubleArraySource = new ImmutableDoubleArraySource(); immutableDoubleArraySource.ensureCapacity(capacity); try (final ChunkSink.FillFromContext ffc = immutableDoubleArraySource.makeFillFromContext(capacity); - final WritableDoubleChunk nullChunk = WritableDoubleChunk.makeWritableChunk(capacity)) { + final WritableDoubleChunk nullChunk = WritableDoubleChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); immutableDoubleArraySource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return immutableDoubleArraySource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestDoubleSparseArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestDoubleSparseArraySource.java index d5b9543b661..a961b27cbcb 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestDoubleSparseArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestDoubleSparseArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterSparseArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterSparseArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.ArrayGenerator; @@ -67,4 +66,4 @@ public void confirmAliasingForbidden() { } } } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestFloatArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestFloatArraySource.java index ee3eca370e3..f61d0a1f998 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestFloatArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestFloatArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.context.ExecutionContext; @@ -79,8 +78,8 @@ private void testGetChunkGeneric(float[] values, float[] newValues, int chunkSiz private void validateValues(int chunkSize, float[] values, RowSet rowSet, FloatArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -99,7 +98,8 @@ private void validateValues(int chunkSize, float[] values, RowSet rowSet, FloatA } // region samecheck final LongChunk ranges = okChunk.asRowKeyRangesChunk(); - if (ranges.size() > 2 || ranges.get(0) / FloatArraySource.BLOCK_SIZE != (ranges.get(1) / FloatArraySource.BLOCK_SIZE)) { + if (ranges.size() > 2 || ranges.get(0) + / FloatArraySource.BLOCK_SIZE != (ranges.get(1) / FloatArraySource.BLOCK_SIZE)) { assertTrue(DefaultGetContext.isMyWritableChunk(context, chunk)); } else { @@ -114,8 +114,8 @@ private void validateValues(int chunkSize, float[] values, RowSet rowSet, FloatA private void validatePrevValues(int chunkSize, float[] values, RowSet rowSet, FloatArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -140,17 +140,28 @@ public void testGetChunk() { testGetChunkGeneric(new float[0], new float[0], 1, RowSetFactory.fromKeys()); testGetChunkGeneric(new float[0], new float[0], 16, RowSetFactory.fromKeys()); - testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(0)); - testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4)); - testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomFloats(random, 512), ArrayGenerator.randomFloats(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGeneric(ArrayGenerator.randomFloats(random, 512), ArrayGenerator.randomFloats(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, + RowSetFactory.fromKeys(0)); + testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, + RowSetFactory.fromKeys(4)); + testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomFloats(random, 512), ArrayGenerator.randomFloats(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testGetChunkGeneric(ArrayGenerator.randomFloats(random, 512), ArrayGenerator.randomFloats(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 32; sourceSize < 4096; sourceSize *= 4) { for (int v = -4; v < 5; v++) { @@ -158,7 +169,7 @@ public void testGetChunk() { } } - //References to block test + // References to block test } // region lazy @@ -175,8 +186,8 @@ private void testGetChunkGenericLazy(float[] values, int chunkSize, RowSet rowSe formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -203,13 +214,14 @@ public void testGetChunkLazy() { testGetChunkGenericLazy(ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testGetChunkGenericLazy(ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4)); testGetChunkGenericLazy(ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGenericLazy(ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testGetChunkGenericLazy(ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testGetChunkGenericLazy(ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomFloats(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomFloats(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomFloats(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomFloats(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGenericLazy(ArrayGenerator.randomFloats(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGenericLazy(ArrayGenerator.randomFloats(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v += 2) { @@ -233,7 +245,8 @@ private void testIndexSizeVariationsLazy(Random random, int sourceSize, float[] } private void testParameterChunkAndIndexLazy(Random random, int sourceSize, float[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testGetChunkGenericLazy(values, chunkSize, rowSet); testGetChunkGenericLazy(values, chunkSize + 1, rowSet); @@ -250,14 +263,17 @@ private void testForGivenSourceSize(Random random, int sourceSize) { } } - private void testIndexSizeVariations(Random random, int sourceSize, float[] values, float[] newvalues, int indexSize) { + private void testIndexSizeVariations(Random random, int sourceSize, float[] values, float[] newvalues, + int indexSize) { testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize - 1); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize + 1); } - private void testParameterChunkAndIndex(Random random, int sourceSize, float[] values, float[] newvalues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterChunkAndIndex(Random random, int sourceSize, float[] values, float[] newvalues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testGetChunkGeneric(values, newvalues, chunkSize, rowSet); testGetChunkGeneric(values, newvalues, chunkSize + 1, rowSet); @@ -287,9 +303,9 @@ private void testFillChunkGeneric(float[] values, float[] newValues, int chunkSi // region validate with fill private void validateValuesWithFill(int chunkSize, float[] values, RowSet rowSet, FloatArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableFloatChunk chunk = WritableFloatChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableFloatChunk chunk = WritableFloatChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -309,9 +325,9 @@ private void validateValuesWithFill(int chunkSize, float[] values, RowSet rowSet private void validatePrevValuesWithFill(int chunkSize, float[] values, RowSet rowSet, FloatArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableFloatChunk chunk = WritableFloatChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableFloatChunk chunk = WritableFloatChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -336,21 +352,34 @@ public void testFillChunk() { testFillChunkGeneric(new float[0], new float[0], 1, RowSetFactory.fromKeys()); testFillChunkGeneric(new float[0], new float[0], 16, RowSetFactory.fromKeys()); - testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(0)); - testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4)); - testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomFloats(random, 512), ArrayGenerator.randomFloats(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkGeneric(ArrayGenerator.randomFloats(random, 512), ArrayGenerator.randomFloats(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, + RowSetFactory.fromKeys(0)); + testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, + RowSetFactory.fromKeys(4)); + testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomFloats(random, 16), ArrayGenerator.randomFloats(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomFloats(random, 512), ArrayGenerator.randomFloats(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkGeneric(ArrayGenerator.randomFloats(random, 512), ArrayGenerator.randomFloats(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); // Test the fill with null behavior when requesting keys outside of source. - testFillChunkGeneric(ArrayGenerator.randomFloats(random, 512), ArrayGenerator.randomFloats(random, 4096), 4096, RowSetFactory.fromRange(4096, 8192)); - testFillChunkGeneric(ArrayGenerator.randomFloats(random, 512), ArrayGenerator.randomFloats(random, 4096), 4096, RowSetFactory.flat(4096)); + testFillChunkGeneric(ArrayGenerator.randomFloats(random, 512), ArrayGenerator.randomFloats(random, 4096), 4096, + RowSetFactory.fromRange(4096, 8192)); + testFillChunkGeneric(ArrayGenerator.randomFloats(random, 512), ArrayGenerator.randomFloats(random, 4096), 4096, + RowSetFactory.flat(4096)); for (int sourceSize = 32; sourceSize < 8192; sourceSize *= 4) { for (int v = -4; v < 5; v += 2) { @@ -367,14 +396,17 @@ private void testSetForGivenSourceSize(Random random, int sourceSize) { } } - private void testFillChunkIndexSizeVariations(Random random, int sourceSize, float[] values, float[] newValues, int indexSize) { + private void testFillChunkIndexSizeVariations(Random random, int sourceSize, float[] values, float[] newValues, + int indexSize) { testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize - 1); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize + 1); } - private void testParameterFillChunkAndIndex(Random random, int sourceSize, float[] values, float[] newValues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterFillChunkAndIndex(Random random, int sourceSize, float[] values, float[] newValues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testFillChunkGeneric(values, newValues, chunkSize, rowSet); testFillChunkGeneric(values, newValues, chunkSize + 1, rowSet); @@ -396,9 +428,9 @@ private void testFillChunkLazyGeneric(float[] values, int chunkSize, RowSet rowS formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableFloatChunk chunk = WritableFloatChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableFloatChunk chunk = WritableFloatChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -427,13 +459,15 @@ public void testFillChunkLazy() { testFillChunkLazyGeneric(ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testFillChunkLazyGeneric(ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4)); testFillChunkLazyGeneric(ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkLazyGeneric(ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testFillChunkLazyGeneric(ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testFillChunkLazyGeneric(ArrayGenerator.randomFloats(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testFillChunkLazyGeneric(ArrayGenerator.randomFloats(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomFloats(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomFloats(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkLazyGeneric(ArrayGenerator.randomFloats(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkLazyGeneric(ArrayGenerator.randomFloats(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkLazyGeneric(ArrayGenerator.randomFloats(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkLazyGeneric(ArrayGenerator.randomFloats(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v++) { @@ -456,7 +490,8 @@ private void testFillChunkIndexSizeVariationsLazy(Random random, int sourceSize, } private void testParameterFillChunkAndIndexLazy(Random random, int sourceSize, float[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testFillChunkLazyGeneric(values, chunkSize, rowSet); testFillChunkLazyGeneric(values, chunkSize + 1, rowSet); @@ -508,12 +543,12 @@ public void confirmAliasingForbidden() { source.set(ii, data[ii]); } // super hack - final float[] peekedBlock = (float[])source.getBlock(0); + final float[] peekedBlock = (float[]) source.getBlock(0); try (RowSet srcKeys = RowSetFactory.fromRange(rangeStart, rangeEnd); - RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); - ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); - ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { + RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); + ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); + ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { Chunk chunk = source.getChunk(srcContext, srcKeys); if (chunk.isAlias(peekedBlock)) { // If the ArraySource gives out aliases of its blocks, then it should throw when we try to @@ -537,7 +572,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableFloatChunk chunk = WritableFloatChunk.makeWritableChunk(0)) { + final WritableFloatChunk chunk = WritableFloatChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -558,12 +593,13 @@ public void testFillUnorderedWithNulls() { source.set(ii, data[ii]); } - final long [] keys = LongStream.concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); + final long[] keys = LongStream + .concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); Shuffle.shuffleArray(rng, keys); try (final ChunkSource.FillContext ctx = source.makeFillContext(keys.length); - final WritableFloatChunk dest = WritableFloatChunk.makeWritableChunk(keys.length); - final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { + final WritableFloatChunk dest = WritableFloatChunk.makeWritableChunk(keys.length); + final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { rlc.resetFromTypedArray(keys, 0, keys.length); source.fillChunkUnordered(ctx, dest, rlc); assertEquals(keys.length, dest.size()); @@ -571,7 +607,7 @@ public void testFillUnorderedWithNulls() { if (keys[ii] == RowSequence.NULL_ROW_KEY) { assertEquals(NULL_FLOAT, dest.get(ii)); } else { - checkFromValues(data[(int)keys[ii]], dest.get(ii)); + checkFromValues(data[(int) keys[ii]], dest.get(ii)); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestFloatImmutable2DArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestFloatImmutable2DArraySource.java index e210362502f..2cc252f30c4 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestFloatImmutable2DArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestFloatImmutable2DArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterImmutable2DArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterImmutable2DArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableFloatChunk; @@ -27,10 +26,10 @@ Immutable2DFloatArraySource makeTestSource() { final Immutable2DFloatArraySource flatFloatArraySource = new Immutable2DFloatArraySource(12); flatFloatArraySource.ensureCapacity(capacity); try (final ChunkSink.FillFromContext ffc = flatFloatArraySource.makeFillFromContext(capacity); - final WritableFloatChunk nullChunk = WritableFloatChunk.makeWritableChunk(capacity)) { + final WritableFloatChunk nullChunk = WritableFloatChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); flatFloatArraySource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return flatFloatArraySource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestFloatImmutableArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestFloatImmutableArraySource.java index 413047ee5ef..bb5bb956153 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestFloatImmutableArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestFloatImmutableArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterImmutableArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterImmutableArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableFloatChunk; @@ -22,10 +21,10 @@ ImmutableFloatArraySource makeTestSource() { final ImmutableFloatArraySource immutableFloatArraySource = new ImmutableFloatArraySource(); immutableFloatArraySource.ensureCapacity(capacity); try (final ChunkSink.FillFromContext ffc = immutableFloatArraySource.makeFillFromContext(capacity); - final WritableFloatChunk nullChunk = WritableFloatChunk.makeWritableChunk(capacity)) { + final WritableFloatChunk nullChunk = WritableFloatChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); immutableFloatArraySource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return immutableFloatArraySource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestFloatSparseArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestFloatSparseArraySource.java index f5b1bbb9c3c..493fc60d79a 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestFloatSparseArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestFloatSparseArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterSparseArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterSparseArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.ArrayGenerator; @@ -67,4 +66,4 @@ public void confirmAliasingForbidden() { } } } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestIntegerArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestIntegerArraySource.java index a456ae2b67c..ffb48197f52 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestIntegerArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestIntegerArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.context.ExecutionContext; @@ -79,8 +78,8 @@ private void testGetChunkGeneric(int[] values, int[] newValues, int chunkSize, R private void validateValues(int chunkSize, int[] values, RowSet rowSet, IntegerArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -99,7 +98,8 @@ private void validateValues(int chunkSize, int[] values, RowSet rowSet, IntegerA } // region samecheck final LongChunk ranges = okChunk.asRowKeyRangesChunk(); - if (ranges.size() > 2 || ranges.get(0) / IntegerArraySource.BLOCK_SIZE != (ranges.get(1) / IntegerArraySource.BLOCK_SIZE)) { + if (ranges.size() > 2 || ranges.get(0) + / IntegerArraySource.BLOCK_SIZE != (ranges.get(1) / IntegerArraySource.BLOCK_SIZE)) { assertTrue(DefaultGetContext.isMyWritableChunk(context, chunk)); } else { @@ -114,8 +114,8 @@ private void validateValues(int chunkSize, int[] values, RowSet rowSet, IntegerA private void validatePrevValues(int chunkSize, int[] values, RowSet rowSet, IntegerArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -140,17 +140,28 @@ public void testGetChunk() { testGetChunkGeneric(new int[0], new int[0], 1, RowSetFactory.fromKeys()); testGetChunkGeneric(new int[0], new int[0], 16, RowSetFactory.fromKeys()); - testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(0)); - testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4)); - testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomInts(random, 512), ArrayGenerator.randomInts(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGeneric(ArrayGenerator.randomInts(random, 512), ArrayGenerator.randomInts(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, + RowSetFactory.fromKeys(0)); + testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, + RowSetFactory.fromKeys(4)); + testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomInts(random, 512), ArrayGenerator.randomInts(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testGetChunkGeneric(ArrayGenerator.randomInts(random, 512), ArrayGenerator.randomInts(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 32; sourceSize < 4096; sourceSize *= 4) { for (int v = -4; v < 5; v++) { @@ -158,7 +169,7 @@ public void testGetChunk() { } } - //References to block test + // References to block test } // region lazy @@ -175,8 +186,8 @@ private void testGetChunkGenericLazy(int[] values, int chunkSize, RowSet rowSet) formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -203,13 +214,14 @@ public void testGetChunkLazy() { testGetChunkGenericLazy(ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testGetChunkGenericLazy(ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4)); testGetChunkGenericLazy(ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGenericLazy(ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testGetChunkGenericLazy(ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testGetChunkGenericLazy(ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomInts(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomInts(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomInts(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomInts(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGenericLazy(ArrayGenerator.randomInts(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGenericLazy(ArrayGenerator.randomInts(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v += 2) { @@ -233,7 +245,8 @@ private void testIndexSizeVariationsLazy(Random random, int sourceSize, int[] va } private void testParameterChunkAndIndexLazy(Random random, int sourceSize, int[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testGetChunkGenericLazy(values, chunkSize, rowSet); testGetChunkGenericLazy(values, chunkSize + 1, rowSet); @@ -250,14 +263,17 @@ private void testForGivenSourceSize(Random random, int sourceSize) { } } - private void testIndexSizeVariations(Random random, int sourceSize, int[] values, int[] newvalues, int indexSize) { + private void testIndexSizeVariations(Random random, int sourceSize, int[] values, int[] newvalues, + int indexSize) { testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize - 1); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize + 1); } - private void testParameterChunkAndIndex(Random random, int sourceSize, int[] values, int[] newvalues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterChunkAndIndex(Random random, int sourceSize, int[] values, int[] newvalues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testGetChunkGeneric(values, newvalues, chunkSize, rowSet); testGetChunkGeneric(values, newvalues, chunkSize + 1, rowSet); @@ -287,9 +303,9 @@ private void testFillChunkGeneric(int[] values, int[] newValues, int chunkSize, // region validate with fill private void validateValuesWithFill(int chunkSize, int[] values, RowSet rowSet, IntegerArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableIntChunk chunk = WritableIntChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableIntChunk chunk = WritableIntChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -309,9 +325,9 @@ private void validateValuesWithFill(int chunkSize, int[] values, RowSet rowSet, private void validatePrevValuesWithFill(int chunkSize, int[] values, RowSet rowSet, IntegerArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableIntChunk chunk = WritableIntChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableIntChunk chunk = WritableIntChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -336,21 +352,34 @@ public void testFillChunk() { testFillChunkGeneric(new int[0], new int[0], 1, RowSetFactory.fromKeys()); testFillChunkGeneric(new int[0], new int[0], 16, RowSetFactory.fromKeys()); - testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(0)); - testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4)); - testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomInts(random, 512), ArrayGenerator.randomInts(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkGeneric(ArrayGenerator.randomInts(random, 512), ArrayGenerator.randomInts(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, + RowSetFactory.fromKeys(0)); + testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, + RowSetFactory.fromKeys(4)); + testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomInts(random, 16), ArrayGenerator.randomInts(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomInts(random, 512), ArrayGenerator.randomInts(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkGeneric(ArrayGenerator.randomInts(random, 512), ArrayGenerator.randomInts(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); // Test the fill with null behavior when requesting keys outside of source. - testFillChunkGeneric(ArrayGenerator.randomInts(random, 512), ArrayGenerator.randomInts(random, 4096), 4096, RowSetFactory.fromRange(4096, 8192)); - testFillChunkGeneric(ArrayGenerator.randomInts(random, 512), ArrayGenerator.randomInts(random, 4096), 4096, RowSetFactory.flat(4096)); + testFillChunkGeneric(ArrayGenerator.randomInts(random, 512), ArrayGenerator.randomInts(random, 4096), 4096, + RowSetFactory.fromRange(4096, 8192)); + testFillChunkGeneric(ArrayGenerator.randomInts(random, 512), ArrayGenerator.randomInts(random, 4096), 4096, + RowSetFactory.flat(4096)); for (int sourceSize = 32; sourceSize < 8192; sourceSize *= 4) { for (int v = -4; v < 5; v += 2) { @@ -367,14 +396,17 @@ private void testSetForGivenSourceSize(Random random, int sourceSize) { } } - private void testFillChunkIndexSizeVariations(Random random, int sourceSize, int[] values, int[] newValues, int indexSize) { + private void testFillChunkIndexSizeVariations(Random random, int sourceSize, int[] values, int[] newValues, + int indexSize) { testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize - 1); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize + 1); } - private void testParameterFillChunkAndIndex(Random random, int sourceSize, int[] values, int[] newValues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterFillChunkAndIndex(Random random, int sourceSize, int[] values, int[] newValues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testFillChunkGeneric(values, newValues, chunkSize, rowSet); testFillChunkGeneric(values, newValues, chunkSize + 1, rowSet); @@ -396,9 +428,9 @@ private void testFillChunkLazyGeneric(int[] values, int chunkSize, RowSet rowSet formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableIntChunk chunk = WritableIntChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableIntChunk chunk = WritableIntChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -427,13 +459,15 @@ public void testFillChunkLazy() { testFillChunkLazyGeneric(ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testFillChunkLazyGeneric(ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4)); testFillChunkLazyGeneric(ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkLazyGeneric(ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testFillChunkLazyGeneric(ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testFillChunkLazyGeneric(ArrayGenerator.randomInts(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testFillChunkLazyGeneric(ArrayGenerator.randomInts(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomInts(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomInts(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkLazyGeneric(ArrayGenerator.randomInts(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkLazyGeneric(ArrayGenerator.randomInts(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkLazyGeneric(ArrayGenerator.randomInts(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkLazyGeneric(ArrayGenerator.randomInts(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v++) { @@ -456,7 +490,8 @@ private void testFillChunkIndexSizeVariationsLazy(Random random, int sourceSize, } private void testParameterFillChunkAndIndexLazy(Random random, int sourceSize, int[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testFillChunkLazyGeneric(values, chunkSize, rowSet); testFillChunkLazyGeneric(values, chunkSize + 1, rowSet); @@ -508,12 +543,12 @@ public void confirmAliasingForbidden() { source.set(ii, data[ii]); } // super hack - final int[] peekedBlock = (int[])source.getBlock(0); + final int[] peekedBlock = (int[]) source.getBlock(0); try (RowSet srcKeys = RowSetFactory.fromRange(rangeStart, rangeEnd); - RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); - ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); - ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { + RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); + ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); + ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { Chunk chunk = source.getChunk(srcContext, srcKeys); if (chunk.isAlias(peekedBlock)) { // If the ArraySource gives out aliases of its blocks, then it should throw when we try to @@ -537,7 +572,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableIntChunk chunk = WritableIntChunk.makeWritableChunk(0)) { + final WritableIntChunk chunk = WritableIntChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -558,12 +593,13 @@ public void testFillUnorderedWithNulls() { source.set(ii, data[ii]); } - final long [] keys = LongStream.concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); + final long[] keys = LongStream + .concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); Shuffle.shuffleArray(rng, keys); try (final ChunkSource.FillContext ctx = source.makeFillContext(keys.length); - final WritableIntChunk dest = WritableIntChunk.makeWritableChunk(keys.length); - final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { + final WritableIntChunk dest = WritableIntChunk.makeWritableChunk(keys.length); + final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { rlc.resetFromTypedArray(keys, 0, keys.length); source.fillChunkUnordered(ctx, dest, rlc); assertEquals(keys.length, dest.size()); @@ -571,7 +607,7 @@ public void testFillUnorderedWithNulls() { if (keys[ii] == RowSequence.NULL_ROW_KEY) { assertEquals(NULL_INT, dest.get(ii)); } else { - checkFromValues(data[(int)keys[ii]], dest.get(ii)); + checkFromValues(data[(int) keys[ii]], dest.get(ii)); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestIntegerImmutable2DArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestIntegerImmutable2DArraySource.java index ed09faa6519..c3b156457a3 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestIntegerImmutable2DArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestIntegerImmutable2DArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterImmutable2DArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterImmutable2DArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableIntChunk; @@ -27,10 +26,10 @@ Immutable2DIntArraySource makeTestSource() { final Immutable2DIntArraySource flatIntArraySource = new Immutable2DIntArraySource(12); flatIntArraySource.ensureCapacity(capacity); try (final ChunkSink.FillFromContext ffc = flatIntArraySource.makeFillFromContext(capacity); - final WritableIntChunk nullChunk = WritableIntChunk.makeWritableChunk(capacity)) { + final WritableIntChunk nullChunk = WritableIntChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); flatIntArraySource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return flatIntArraySource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestIntegerImmutableArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestIntegerImmutableArraySource.java index 5915dd623a5..7456139f12e 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestIntegerImmutableArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestIntegerImmutableArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterImmutableArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterImmutableArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableIntChunk; @@ -22,10 +21,10 @@ ImmutableIntArraySource makeTestSource() { final ImmutableIntArraySource immutableIntArraySource = new ImmutableIntArraySource(); immutableIntArraySource.ensureCapacity(capacity); try (final ChunkSink.FillFromContext ffc = immutableIntArraySource.makeFillFromContext(capacity); - final WritableIntChunk nullChunk = WritableIntChunk.makeWritableChunk(capacity)) { + final WritableIntChunk nullChunk = WritableIntChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); immutableIntArraySource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return immutableIntArraySource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestIntegerSparseArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestIntegerSparseArraySource.java index 77530fb6169..2b126fdc1ea 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestIntegerSparseArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestIntegerSparseArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterSparseArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterSparseArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.ArrayGenerator; @@ -67,4 +66,4 @@ public void confirmAliasingForbidden() { } } } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestLongArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestLongArraySource.java index 97862c0d82f..9b5a38fd3d4 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestLongArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestLongArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.context.ExecutionContext; @@ -79,8 +78,8 @@ private void testGetChunkGeneric(long[] values, long[] newValues, int chunkSize, private void validateValues(int chunkSize, long[] values, RowSet rowSet, LongArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -99,7 +98,8 @@ private void validateValues(int chunkSize, long[] values, RowSet rowSet, LongArr } // region samecheck final LongChunk ranges = okChunk.asRowKeyRangesChunk(); - if (ranges.size() > 2 || ranges.get(0) / LongArraySource.BLOCK_SIZE != (ranges.get(1) / LongArraySource.BLOCK_SIZE)) { + if (ranges.size() > 2 || ranges.get(0) + / LongArraySource.BLOCK_SIZE != (ranges.get(1) / LongArraySource.BLOCK_SIZE)) { assertTrue(DefaultGetContext.isMyWritableChunk(context, chunk)); } else { @@ -114,8 +114,8 @@ private void validateValues(int chunkSize, long[] values, RowSet rowSet, LongArr private void validatePrevValues(int chunkSize, long[] values, RowSet rowSet, LongArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -140,17 +140,28 @@ public void testGetChunk() { testGetChunkGeneric(new long[0], new long[0], 1, RowSetFactory.fromKeys()); testGetChunkGeneric(new long[0], new long[0], 16, RowSetFactory.fromKeys()); - testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(0)); - testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4)); - testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomLongs(random, 512), ArrayGenerator.randomLongs(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGeneric(ArrayGenerator.randomLongs(random, 512), ArrayGenerator.randomLongs(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, + RowSetFactory.fromKeys(0)); + testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, + RowSetFactory.fromKeys(4)); + testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomLongs(random, 512), ArrayGenerator.randomLongs(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testGetChunkGeneric(ArrayGenerator.randomLongs(random, 512), ArrayGenerator.randomLongs(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 32; sourceSize < 4096; sourceSize *= 4) { for (int v = -4; v < 5; v++) { @@ -158,7 +169,7 @@ public void testGetChunk() { } } - //References to block test + // References to block test } // region lazy @@ -175,8 +186,8 @@ private void testGetChunkGenericLazy(long[] values, int chunkSize, RowSet rowSet formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -203,13 +214,14 @@ public void testGetChunkLazy() { testGetChunkGenericLazy(ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testGetChunkGenericLazy(ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4)); testGetChunkGenericLazy(ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGenericLazy(ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testGetChunkGenericLazy(ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testGetChunkGenericLazy(ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomLongs(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomLongs(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomLongs(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomLongs(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGenericLazy(ArrayGenerator.randomLongs(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGenericLazy(ArrayGenerator.randomLongs(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v += 2) { @@ -233,7 +245,8 @@ private void testIndexSizeVariationsLazy(Random random, int sourceSize, long[] v } private void testParameterChunkAndIndexLazy(Random random, int sourceSize, long[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testGetChunkGenericLazy(values, chunkSize, rowSet); testGetChunkGenericLazy(values, chunkSize + 1, rowSet); @@ -250,14 +263,17 @@ private void testForGivenSourceSize(Random random, int sourceSize) { } } - private void testIndexSizeVariations(Random random, int sourceSize, long[] values, long[] newvalues, int indexSize) { + private void testIndexSizeVariations(Random random, int sourceSize, long[] values, long[] newvalues, + int indexSize) { testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize - 1); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize + 1); } - private void testParameterChunkAndIndex(Random random, int sourceSize, long[] values, long[] newvalues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterChunkAndIndex(Random random, int sourceSize, long[] values, long[] newvalues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testGetChunkGeneric(values, newvalues, chunkSize, rowSet); testGetChunkGeneric(values, newvalues, chunkSize + 1, rowSet); @@ -287,9 +303,9 @@ private void testFillChunkGeneric(long[] values, long[] newValues, int chunkSize // region validate with fill private void validateValuesWithFill(int chunkSize, long[] values, RowSet rowSet, LongArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableLongChunk chunk = WritableLongChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableLongChunk chunk = WritableLongChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -309,9 +325,9 @@ private void validateValuesWithFill(int chunkSize, long[] values, RowSet rowSet, private void validatePrevValuesWithFill(int chunkSize, long[] values, RowSet rowSet, LongArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableLongChunk chunk = WritableLongChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableLongChunk chunk = WritableLongChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -336,21 +352,34 @@ public void testFillChunk() { testFillChunkGeneric(new long[0], new long[0], 1, RowSetFactory.fromKeys()); testFillChunkGeneric(new long[0], new long[0], 16, RowSetFactory.fromKeys()); - testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(0)); - testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4)); - testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomLongs(random, 512), ArrayGenerator.randomLongs(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkGeneric(ArrayGenerator.randomLongs(random, 512), ArrayGenerator.randomLongs(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, + RowSetFactory.fromKeys(0)); + testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, + RowSetFactory.fromKeys(4)); + testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomLongs(random, 16), ArrayGenerator.randomLongs(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomLongs(random, 512), ArrayGenerator.randomLongs(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkGeneric(ArrayGenerator.randomLongs(random, 512), ArrayGenerator.randomLongs(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); // Test the fill with null behavior when requesting keys outside of source. - testFillChunkGeneric(ArrayGenerator.randomLongs(random, 512), ArrayGenerator.randomLongs(random, 4096), 4096, RowSetFactory.fromRange(4096, 8192)); - testFillChunkGeneric(ArrayGenerator.randomLongs(random, 512), ArrayGenerator.randomLongs(random, 4096), 4096, RowSetFactory.flat(4096)); + testFillChunkGeneric(ArrayGenerator.randomLongs(random, 512), ArrayGenerator.randomLongs(random, 4096), 4096, + RowSetFactory.fromRange(4096, 8192)); + testFillChunkGeneric(ArrayGenerator.randomLongs(random, 512), ArrayGenerator.randomLongs(random, 4096), 4096, + RowSetFactory.flat(4096)); for (int sourceSize = 32; sourceSize < 8192; sourceSize *= 4) { for (int v = -4; v < 5; v += 2) { @@ -367,14 +396,17 @@ private void testSetForGivenSourceSize(Random random, int sourceSize) { } } - private void testFillChunkIndexSizeVariations(Random random, int sourceSize, long[] values, long[] newValues, int indexSize) { + private void testFillChunkIndexSizeVariations(Random random, int sourceSize, long[] values, long[] newValues, + int indexSize) { testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize - 1); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize + 1); } - private void testParameterFillChunkAndIndex(Random random, int sourceSize, long[] values, long[] newValues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterFillChunkAndIndex(Random random, int sourceSize, long[] values, long[] newValues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testFillChunkGeneric(values, newValues, chunkSize, rowSet); testFillChunkGeneric(values, newValues, chunkSize + 1, rowSet); @@ -396,9 +428,9 @@ private void testFillChunkLazyGeneric(long[] values, int chunkSize, RowSet rowSe formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableLongChunk chunk = WritableLongChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableLongChunk chunk = WritableLongChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -427,13 +459,15 @@ public void testFillChunkLazy() { testFillChunkLazyGeneric(ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testFillChunkLazyGeneric(ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4)); testFillChunkLazyGeneric(ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkLazyGeneric(ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testFillChunkLazyGeneric(ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testFillChunkLazyGeneric(ArrayGenerator.randomLongs(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testFillChunkLazyGeneric(ArrayGenerator.randomLongs(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomLongs(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomLongs(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkLazyGeneric(ArrayGenerator.randomLongs(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkLazyGeneric(ArrayGenerator.randomLongs(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkLazyGeneric(ArrayGenerator.randomLongs(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkLazyGeneric(ArrayGenerator.randomLongs(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v++) { @@ -456,7 +490,8 @@ private void testFillChunkIndexSizeVariationsLazy(Random random, int sourceSize, } private void testParameterFillChunkAndIndexLazy(Random random, int sourceSize, long[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testFillChunkLazyGeneric(values, chunkSize, rowSet); testFillChunkLazyGeneric(values, chunkSize + 1, rowSet); @@ -508,12 +543,12 @@ public void confirmAliasingForbidden() { source.set(ii, data[ii]); } // super hack - final long[] peekedBlock = (long[])source.getBlock(0); + final long[] peekedBlock = (long[]) source.getBlock(0); try (RowSet srcKeys = RowSetFactory.fromRange(rangeStart, rangeEnd); - RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); - ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); - ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { + RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); + ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); + ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { Chunk chunk = source.getChunk(srcContext, srcKeys); if (chunk.isAlias(peekedBlock)) { // If the ArraySource gives out aliases of its blocks, then it should throw when we try to @@ -537,7 +572,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableLongChunk chunk = WritableLongChunk.makeWritableChunk(0)) { + final WritableLongChunk chunk = WritableLongChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -558,12 +593,13 @@ public void testFillUnorderedWithNulls() { source.set(ii, data[ii]); } - final long [] keys = LongStream.concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); + final long[] keys = LongStream + .concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); Shuffle.shuffleArray(rng, keys); try (final ChunkSource.FillContext ctx = source.makeFillContext(keys.length); - final WritableLongChunk dest = WritableLongChunk.makeWritableChunk(keys.length); - final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { + final WritableLongChunk dest = WritableLongChunk.makeWritableChunk(keys.length); + final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { rlc.resetFromTypedArray(keys, 0, keys.length); source.fillChunkUnordered(ctx, dest, rlc); assertEquals(keys.length, dest.size()); @@ -571,7 +607,7 @@ public void testFillUnorderedWithNulls() { if (keys[ii] == RowSequence.NULL_ROW_KEY) { assertEquals(NULL_LONG, dest.get(ii)); } else { - checkFromValues(data[(int)keys[ii]], dest.get(ii)); + checkFromValues(data[(int) keys[ii]], dest.get(ii)); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestLongImmutable2DArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestLongImmutable2DArraySource.java index 7b2176c6564..08b9305c53a 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestLongImmutable2DArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestLongImmutable2DArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterImmutable2DArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterImmutable2DArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableLongChunk; @@ -27,10 +26,10 @@ Immutable2DLongArraySource makeTestSource() { final Immutable2DLongArraySource flatLongArraySource = new Immutable2DLongArraySource(12); flatLongArraySource.ensureCapacity(capacity); try (final ChunkSink.FillFromContext ffc = flatLongArraySource.makeFillFromContext(capacity); - final WritableLongChunk nullChunk = WritableLongChunk.makeWritableChunk(capacity)) { + final WritableLongChunk nullChunk = WritableLongChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); flatLongArraySource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return flatLongArraySource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestLongImmutableArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestLongImmutableArraySource.java index 8fe78f1f742..70f76ebce1b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestLongImmutableArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestLongImmutableArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterImmutableArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterImmutableArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableLongChunk; @@ -22,10 +21,10 @@ ImmutableLongArraySource makeTestSource() { final ImmutableLongArraySource immutableLongArraySource = new ImmutableLongArraySource(); immutableLongArraySource.ensureCapacity(capacity); try (final ChunkSink.FillFromContext ffc = immutableLongArraySource.makeFillFromContext(capacity); - final WritableLongChunk nullChunk = WritableLongChunk.makeWritableChunk(capacity)) { + final WritableLongChunk nullChunk = WritableLongChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); immutableLongArraySource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return immutableLongArraySource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestLongSparseArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestLongSparseArraySource.java index 6faa2c4c40d..1d2a6eea6dc 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestLongSparseArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestLongSparseArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterSparseArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterSparseArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.ArrayGenerator; @@ -67,4 +66,4 @@ public void confirmAliasingForbidden() { } } } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestObjectArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestObjectArraySource.java index 92afc9513bc..aadd1563d96 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestObjectArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestObjectArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.context.ExecutionContext; @@ -78,8 +77,8 @@ private void testGetChunkGeneric(Object[] values, Object[] newValues, int chunkS private void validateValues(int chunkSize, Object[] values, RowSet rowSet, ObjectArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -98,7 +97,8 @@ private void validateValues(int chunkSize, Object[] values, RowSet rowSet, Objec } // region samecheck final LongChunk ranges = okChunk.asRowKeyRangesChunk(); - if (ranges.size() > 2 || ranges.get(0) / ObjectArraySource.BLOCK_SIZE != (ranges.get(1) / ObjectArraySource.BLOCK_SIZE)) { + if (ranges.size() > 2 || ranges.get(0) + / ObjectArraySource.BLOCK_SIZE != (ranges.get(1) / ObjectArraySource.BLOCK_SIZE)) { assertTrue(DefaultGetContext.isMyWritableChunk(context, chunk)); } else { @@ -113,8 +113,8 @@ private void validateValues(int chunkSize, Object[] values, RowSet rowSet, Objec private void validatePrevValues(int chunkSize, Object[] values, RowSet rowSet, ObjectArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -139,17 +139,28 @@ public void testGetChunk() { testGetChunkGeneric(new Object[0], new Object[0], 1, RowSetFactory.fromKeys()); testGetChunkGeneric(new Object[0], new Object[0], 16, RowSetFactory.fromKeys()); - testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(0)); - testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4)); - testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomObjects(random, 512), ArrayGenerator.randomObjects(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGeneric(ArrayGenerator.randomObjects(random, 512), ArrayGenerator.randomObjects(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, + RowSetFactory.fromKeys(0)); + testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, + RowSetFactory.fromKeys(4)); + testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomObjects(random, 512), ArrayGenerator.randomObjects(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testGetChunkGeneric(ArrayGenerator.randomObjects(random, 512), ArrayGenerator.randomObjects(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 32; sourceSize < 4096; sourceSize *= 4) { for (int v = -4; v < 5; v++) { @@ -157,7 +168,7 @@ public void testGetChunk() { } } - //References to block test + // References to block test } // region lazy @@ -174,8 +185,8 @@ private void testGetChunkGenericLazy(Object[] values, int chunkSize, RowSet rowS formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -202,13 +213,14 @@ public void testGetChunkLazy() { testGetChunkGenericLazy(ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testGetChunkGenericLazy(ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4)); testGetChunkGenericLazy(ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGenericLazy(ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testGetChunkGenericLazy(ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testGetChunkGenericLazy(ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomObjects(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomObjects(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomObjects(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomObjects(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGenericLazy(ArrayGenerator.randomObjects(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGenericLazy(ArrayGenerator.randomObjects(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v += 2) { @@ -232,7 +244,8 @@ private void testIndexSizeVariationsLazy(Random random, int sourceSize, Object[] } private void testParameterChunkAndIndexLazy(Random random, int sourceSize, Object[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testGetChunkGenericLazy(values, chunkSize, rowSet); testGetChunkGenericLazy(values, chunkSize + 1, rowSet); @@ -249,14 +262,17 @@ private void testForGivenSourceSize(Random random, int sourceSize) { } } - private void testIndexSizeVariations(Random random, int sourceSize, Object[] values, Object[] newvalues, int indexSize) { + private void testIndexSizeVariations(Random random, int sourceSize, Object[] values, Object[] newvalues, + int indexSize) { testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize - 1); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize + 1); } - private void testParameterChunkAndIndex(Random random, int sourceSize, Object[] values, Object[] newvalues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterChunkAndIndex(Random random, int sourceSize, Object[] values, Object[] newvalues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testGetChunkGeneric(values, newvalues, chunkSize, rowSet); testGetChunkGeneric(values, newvalues, chunkSize + 1, rowSet); @@ -286,9 +302,9 @@ private void testFillChunkGeneric(Object[] values, Object[] newValues, int chunk // region validate with fill private void validateValuesWithFill(int chunkSize, Object[] values, RowSet rowSet, ObjectArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -308,9 +324,9 @@ private void validateValuesWithFill(int chunkSize, Object[] values, RowSet rowSe private void validatePrevValuesWithFill(int chunkSize, Object[] values, RowSet rowSet, ObjectArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -335,21 +351,34 @@ public void testFillChunk() { testFillChunkGeneric(new Object[0], new Object[0], 1, RowSetFactory.fromKeys()); testFillChunkGeneric(new Object[0], new Object[0], 16, RowSetFactory.fromKeys()); - testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(0)); - testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4)); - testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomObjects(random, 512), ArrayGenerator.randomObjects(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkGeneric(ArrayGenerator.randomObjects(random, 512), ArrayGenerator.randomObjects(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, + RowSetFactory.fromKeys(0)); + testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, + RowSetFactory.fromKeys(4)); + testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomObjects(random, 16), ArrayGenerator.randomObjects(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomObjects(random, 512), ArrayGenerator.randomObjects(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkGeneric(ArrayGenerator.randomObjects(random, 512), ArrayGenerator.randomObjects(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); // Test the fill with null behavior when requesting keys outside of source. - testFillChunkGeneric(ArrayGenerator.randomObjects(random, 512), ArrayGenerator.randomObjects(random, 4096), 4096, RowSetFactory.fromRange(4096, 8192)); - testFillChunkGeneric(ArrayGenerator.randomObjects(random, 512), ArrayGenerator.randomObjects(random, 4096), 4096, RowSetFactory.flat(4096)); + testFillChunkGeneric(ArrayGenerator.randomObjects(random, 512), ArrayGenerator.randomObjects(random, 4096), 4096, + RowSetFactory.fromRange(4096, 8192)); + testFillChunkGeneric(ArrayGenerator.randomObjects(random, 512), ArrayGenerator.randomObjects(random, 4096), 4096, + RowSetFactory.flat(4096)); for (int sourceSize = 32; sourceSize < 8192; sourceSize *= 4) { for (int v = -4; v < 5; v += 2) { @@ -366,14 +395,17 @@ private void testSetForGivenSourceSize(Random random, int sourceSize) { } } - private void testFillChunkIndexSizeVariations(Random random, int sourceSize, Object[] values, Object[] newValues, int indexSize) { + private void testFillChunkIndexSizeVariations(Random random, int sourceSize, Object[] values, Object[] newValues, + int indexSize) { testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize - 1); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize + 1); } - private void testParameterFillChunkAndIndex(Random random, int sourceSize, Object[] values, Object[] newValues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterFillChunkAndIndex(Random random, int sourceSize, Object[] values, Object[] newValues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testFillChunkGeneric(values, newValues, chunkSize, rowSet); testFillChunkGeneric(values, newValues, chunkSize + 1, rowSet); @@ -395,9 +427,9 @@ private void testFillChunkLazyGeneric(Object[] values, int chunkSize, RowSet row formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -426,13 +458,15 @@ public void testFillChunkLazy() { testFillChunkLazyGeneric(ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testFillChunkLazyGeneric(ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4)); testFillChunkLazyGeneric(ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkLazyGeneric(ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testFillChunkLazyGeneric(ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testFillChunkLazyGeneric(ArrayGenerator.randomObjects(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testFillChunkLazyGeneric(ArrayGenerator.randomObjects(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomObjects(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomObjects(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkLazyGeneric(ArrayGenerator.randomObjects(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkLazyGeneric(ArrayGenerator.randomObjects(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkLazyGeneric(ArrayGenerator.randomObjects(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkLazyGeneric(ArrayGenerator.randomObjects(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v++) { @@ -455,7 +489,8 @@ private void testFillChunkIndexSizeVariationsLazy(Random random, int sourceSize, } private void testParameterFillChunkAndIndexLazy(Random random, int sourceSize, Object[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testFillChunkLazyGeneric(values, chunkSize, rowSet); testFillChunkLazyGeneric(values, chunkSize + 1, rowSet); @@ -507,12 +542,12 @@ public void confirmAliasingForbidden() { source.set(ii, data[ii]); } // super hack - final Object[] peekedBlock = (Object[])source.getBlock(0); + final Object[] peekedBlock = (Object[]) source.getBlock(0); try (RowSet srcKeys = RowSetFactory.fromRange(rangeStart, rangeEnd); - RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); - ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); - ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { + RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); + ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); + ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { Chunk chunk = source.getChunk(srcContext, srcKeys); if (chunk.isAlias(peekedBlock)) { // If the ArraySource gives out aliases of its blocks, then it should throw when we try to @@ -536,7 +571,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(0)) { + final WritableObjectChunk chunk = WritableObjectChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -557,12 +592,13 @@ public void testFillUnorderedWithNulls() { source.set(ii, data[ii]); } - final long [] keys = LongStream.concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); + final long[] keys = LongStream + .concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); Shuffle.shuffleArray(rng, keys); try (final ChunkSource.FillContext ctx = source.makeFillContext(keys.length); - final WritableObjectChunk dest = WritableObjectChunk.makeWritableChunk(keys.length); - final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { + final WritableObjectChunk dest = WritableObjectChunk.makeWritableChunk(keys.length); + final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { rlc.resetFromTypedArray(keys, 0, keys.length); source.fillChunkUnordered(ctx, dest, rlc); assertEquals(keys.length, dest.size()); @@ -570,7 +606,7 @@ public void testFillUnorderedWithNulls() { if (keys[ii] == RowSequence.NULL_ROW_KEY) { assertEquals(null, dest.get(ii)); } else { - checkFromValues(data[(int)keys[ii]], dest.get(ii)); + checkFromValues(data[(int) keys[ii]], dest.get(ii)); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestObjectImmutable2DArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestObjectImmutable2DArraySource.java index 9989b7da773..4ddbfdd68c7 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestObjectImmutable2DArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestObjectImmutable2DArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableObjectChunk; @@ -20,13 +20,14 @@ int getSourceSize() { @Override Immutable2DObjectArraySource makeTestSource() { final int capacity = getSourceSize(); - final Immutable2DObjectArraySource immutable2DObjectArraySource = new Immutable2DObjectArraySource<>(String.class, null, 12); + final Immutable2DObjectArraySource immutable2DObjectArraySource = + new Immutable2DObjectArraySource<>(String.class, null, 12); immutable2DObjectArraySource.ensureCapacity(capacity); try (final ChunkSink.FillFromContext ffc = immutable2DObjectArraySource.makeFillFromContext(capacity); - final WritableObjectChunk nullChunk = WritableObjectChunk.makeWritableChunk(capacity)) { + final WritableObjectChunk nullChunk = WritableObjectChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); immutable2DObjectArraySource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return immutable2DObjectArraySource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestObjectImmutableArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestObjectImmutableArraySource.java index 9f01f564e1f..4220f3ebb14 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestObjectImmutableArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestObjectImmutableArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableObjectChunk; @@ -20,13 +20,14 @@ int getSourceSize() { @Override ImmutableObjectArraySource makeTestSource() { final int capacity = getSourceSize(); - final ImmutableObjectArraySource immutableObjectArraySource = new ImmutableObjectArraySource<>(String.class, null); + final ImmutableObjectArraySource immutableObjectArraySource = + new ImmutableObjectArraySource<>(String.class, null); immutableObjectArraySource.ensureCapacity(capacity); try (final ChunkSink.FillFromContext ffc = immutableObjectArraySource.makeFillFromContext(capacity); - final WritableObjectChunk nullChunk = WritableObjectChunk.makeWritableChunk(capacity)) { + final WritableObjectChunk nullChunk = WritableObjectChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); immutableObjectArraySource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return immutableObjectArraySource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestObjectSparseArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestObjectSparseArraySource.java index f2440489cd3..ec6f88e27cc 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestObjectSparseArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestObjectSparseArraySource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import org.jetbrains.annotations.NotNull; @@ -11,4 +11,4 @@ public class TestObjectSparseArraySource extends AbstractObjectColumnSourceTest ObjectSparseArraySource makeTestSource() { return new ObjectSparseArraySource(String.class); } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestRowKeyColumnSource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestRowKeyColumnSource.java index 12eb064e901..29e7babc25b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestRowKeyColumnSource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestRowKeyColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestRowPositionColumnSource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestRowPositionColumnSource.java index 0f9874daf2c..f9910223b99 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestRowPositionColumnSource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestRowPositionColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestShortArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestShortArraySource.java index 1511c5d91ff..719c88691a8 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestShortArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestShortArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.engine.context.ExecutionContext; @@ -79,8 +78,8 @@ private void testGetChunkGeneric(short[] values, short[] newValues, int chunkSiz private void validateValues(int chunkSize, short[] values, RowSet rowSet, ShortArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -99,7 +98,8 @@ private void validateValues(int chunkSize, short[] values, RowSet rowSet, ShortA } // region samecheck final LongChunk ranges = okChunk.asRowKeyRangesChunk(); - if (ranges.size() > 2 || ranges.get(0) / ShortArraySource.BLOCK_SIZE != (ranges.get(1) / ShortArraySource.BLOCK_SIZE)) { + if (ranges.size() > 2 || ranges.get(0) + / ShortArraySource.BLOCK_SIZE != (ranges.get(1) / ShortArraySource.BLOCK_SIZE)) { assertTrue(DefaultGetContext.isMyWritableChunk(context, chunk)); } else { @@ -114,8 +114,8 @@ private void validateValues(int chunkSize, short[] values, RowSet rowSet, ShortA private void validatePrevValues(int chunkSize, short[] values, RowSet rowSet, ShortArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -140,17 +140,28 @@ public void testGetChunk() { testGetChunkGeneric(new short[0], new short[0], 1, RowSetFactory.fromKeys()); testGetChunkGeneric(new short[0], new short[0], 16, RowSetFactory.fromKeys()); - testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(0)); - testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4)); - testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testGetChunkGeneric(ArrayGenerator.randomShorts(random, 512), ArrayGenerator.randomShorts(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGeneric(ArrayGenerator.randomShorts(random, 512), ArrayGenerator.randomShorts(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, + RowSetFactory.fromKeys(0)); + testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, + RowSetFactory.fromKeys(4)); + testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testGetChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testGetChunkGeneric(ArrayGenerator.randomShorts(random, 512), ArrayGenerator.randomShorts(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testGetChunkGeneric(ArrayGenerator.randomShorts(random, 512), ArrayGenerator.randomShorts(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 32; sourceSize < 4096; sourceSize *= 4) { for (int v = -4; v < 5; v++) { @@ -158,7 +169,7 @@ public void testGetChunk() { } } - //References to block test + // References to block test } // region lazy @@ -175,8 +186,8 @@ private void testGetChunkGenericLazy(short[] values, int chunkSize, RowSet rowSe formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ChunkSource.GetContext context = source.makeGetContext(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -203,13 +214,14 @@ public void testGetChunkLazy() { testGetChunkGenericLazy(ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testGetChunkGenericLazy(ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4)); testGetChunkGenericLazy(ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testGetChunkGenericLazy(ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testGetChunkGenericLazy(ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testGetChunkGenericLazy(ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomShorts(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomShorts(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testGetChunkGenericLazy(ArrayGenerator.randomShorts(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testGetChunkGenericLazy(ArrayGenerator.randomShorts(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testGetChunkGenericLazy(ArrayGenerator.randomShorts(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testGetChunkGenericLazy(ArrayGenerator.randomShorts(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v += 2) { @@ -233,7 +245,8 @@ private void testIndexSizeVariationsLazy(Random random, int sourceSize, short[] } private void testParameterChunkAndIndexLazy(Random random, int sourceSize, short[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testGetChunkGenericLazy(values, chunkSize, rowSet); testGetChunkGenericLazy(values, chunkSize + 1, rowSet); @@ -250,14 +263,17 @@ private void testForGivenSourceSize(Random random, int sourceSize) { } } - private void testIndexSizeVariations(Random random, int sourceSize, short[] values, short[] newvalues, int indexSize) { + private void testIndexSizeVariations(Random random, int sourceSize, short[] values, short[] newvalues, + int indexSize) { testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize - 1); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize); testParameterChunkAndIndex(random, sourceSize, values, newvalues, indexSize + 1); } - private void testParameterChunkAndIndex(Random random, int sourceSize, short[] values, short[] newvalues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterChunkAndIndex(Random random, int sourceSize, short[] values, short[] newvalues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testGetChunkGeneric(values, newvalues, chunkSize, rowSet); testGetChunkGeneric(values, newvalues, chunkSize + 1, rowSet); @@ -287,9 +303,9 @@ private void testFillChunkGeneric(short[] values, short[] newValues, int chunkSi // region validate with fill private void validateValuesWithFill(int chunkSize, short[] values, RowSet rowSet, ShortArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableShortChunk chunk = WritableShortChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableShortChunk chunk = WritableShortChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -309,9 +325,9 @@ private void validateValuesWithFill(int chunkSize, short[] values, RowSet rowSet private void validatePrevValuesWithFill(int chunkSize, short[] values, RowSet rowSet, ShortArraySource source) { try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableShortChunk chunk = WritableShortChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableShortChunk chunk = WritableShortChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -336,21 +352,34 @@ public void testFillChunk() { testFillChunkGeneric(new short[0], new short[0], 1, RowSetFactory.fromKeys()); testFillChunkGeneric(new short[0], new short[0], 16, RowSetFactory.fromKeys()); - testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(0)); - testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(0, 1)); - testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4)); - testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4, 6)); - testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); - testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkGeneric(ArrayGenerator.randomShorts(random, 512), ArrayGenerator.randomShorts(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkGeneric(ArrayGenerator.randomShorts(random, 512), ArrayGenerator.randomShorts(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, + RowSetFactory.fromKeys(0)); + testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, + RowSetFactory.fromKeys(0, 1)); + testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, + RowSetFactory.fromKeys(4)); + testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6)); + testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, + RowSetFactory.fromKeys(4, 6)); + testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 1, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 3, + RowSetFactory.fromKeys(5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 4, + RowSetFactory.fromKeys(4, 5, 6, 7)); + testFillChunkGeneric(ArrayGenerator.randomShorts(random, 16), ArrayGenerator.randomShorts(random, 16), 5, + RowSetFactory.fromKeys(4, 5, 6, 7, 8)); + testFillChunkGeneric(ArrayGenerator.randomShorts(random, 512), ArrayGenerator.randomShorts(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkGeneric(ArrayGenerator.randomShorts(random, 512), ArrayGenerator.randomShorts(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); // Test the fill with null behavior when requesting keys outside of source. - testFillChunkGeneric(ArrayGenerator.randomShorts(random, 512), ArrayGenerator.randomShorts(random, 4096), 4096, RowSetFactory.fromRange(4096, 8192)); - testFillChunkGeneric(ArrayGenerator.randomShorts(random, 512), ArrayGenerator.randomShorts(random, 4096), 4096, RowSetFactory.flat(4096)); + testFillChunkGeneric(ArrayGenerator.randomShorts(random, 512), ArrayGenerator.randomShorts(random, 4096), 4096, + RowSetFactory.fromRange(4096, 8192)); + testFillChunkGeneric(ArrayGenerator.randomShorts(random, 512), ArrayGenerator.randomShorts(random, 4096), 4096, + RowSetFactory.flat(4096)); for (int sourceSize = 32; sourceSize < 8192; sourceSize *= 4) { for (int v = -4; v < 5; v += 2) { @@ -367,14 +396,17 @@ private void testSetForGivenSourceSize(Random random, int sourceSize) { } } - private void testFillChunkIndexSizeVariations(Random random, int sourceSize, short[] values, short[] newValues, int indexSize) { + private void testFillChunkIndexSizeVariations(Random random, int sourceSize, short[] values, short[] newValues, + int indexSize) { testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize - 1); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize); testParameterFillChunkAndIndex(random, sourceSize, values, newValues, indexSize + 1); } - private void testParameterFillChunkAndIndex(Random random, int sourceSize, short[] values, short[] newValues, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + private void testParameterFillChunkAndIndex(Random random, int sourceSize, short[] values, short[] newValues, + int indexSize) { + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 2) { testFillChunkGeneric(values, newValues, chunkSize, rowSet); testFillChunkGeneric(values, newValues, chunkSize + 1, rowSet); @@ -396,9 +428,9 @@ private void testFillChunkLazyGeneric(short[] values, int chunkSize, RowSet rowS formulaColumn.initInputs(fullRange, oneAndOnly); final ColumnSource source = formulaColumn.getDataView(); try (final RowSequence.Iterator rsIterator = rowSet.getRowSequenceIterator(); - final RowSet.Iterator it = rowSet.iterator(); - final ColumnSource.FillContext context = source.makeFillContext(chunkSize); - final WritableShortChunk chunk = WritableShortChunk.makeWritableChunk(chunkSize)) { + final RowSet.Iterator it = rowSet.iterator(); + final ColumnSource.FillContext context = source.makeFillContext(chunkSize); + final WritableShortChunk chunk = WritableShortChunk.makeWritableChunk(chunkSize)) { long pos = 0; while (it.hasNext()) { assertTrue(rsIterator.hasMore()); @@ -427,13 +459,15 @@ public void testFillChunkLazy() { testFillChunkLazyGeneric(ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(0, 1)); testFillChunkLazyGeneric(ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4)); testFillChunkLazyGeneric(ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6)); - testFillChunkLazyGeneric(ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4, 6)); + testFillChunkLazyGeneric(ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4, 6)); testFillChunkLazyGeneric(ArrayGenerator.randomShorts(random, 16), 1, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); testFillChunkLazyGeneric(ArrayGenerator.randomShorts(random, 16), 3, RowSetFactory.fromKeys(5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomShorts(random, 16), 4, RowSetFactory.fromKeys(4, 5, 6, 7)); testFillChunkLazyGeneric(ArrayGenerator.randomShorts(random, 16), 5, RowSetFactory.fromKeys(4, 5, 6, 7, 8)); - testFillChunkLazyGeneric(ArrayGenerator.randomShorts(random, 512), 4, RowSetFactory.fromKeys(254, 255, 256, 257)); - testFillChunkLazyGeneric(ArrayGenerator.randomShorts(random, 512), 5, RowSetFactory.fromKeys(254, 255, 256, 257, 258)); + testFillChunkLazyGeneric(ArrayGenerator.randomShorts(random, 512), 4, + RowSetFactory.fromKeys(254, 255, 256, 257)); + testFillChunkLazyGeneric(ArrayGenerator.randomShorts(random, 512), 5, + RowSetFactory.fromKeys(254, 255, 256, 257, 258)); for (int sourceSize = 512; sourceSize < 4096; sourceSize *= 4) { for (int v = -2; v < 3; v++) { @@ -456,7 +490,8 @@ private void testFillChunkIndexSizeVariationsLazy(Random random, int sourceSize, } private void testParameterFillChunkAndIndexLazy(Random random, int sourceSize, short[] values, int indexSize) { - final RowSet rowSet = RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); + final RowSet rowSet = + RowSetFactory.fromKeys(indexDataGenerator(random, indexSize, .1, sourceSize / indexSize, sourceSize)); for (int chunkSize = 2; chunkSize < sourceSize; chunkSize *= 4) { testFillChunkLazyGeneric(values, chunkSize, rowSet); testFillChunkLazyGeneric(values, chunkSize + 1, rowSet); @@ -508,12 +543,12 @@ public void confirmAliasingForbidden() { source.set(ii, data[ii]); } // super hack - final short[] peekedBlock = (short[])source.getBlock(0); + final short[] peekedBlock = (short[]) source.getBlock(0); try (RowSet srcKeys = RowSetFactory.fromRange(rangeStart, rangeEnd); - RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); - ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); - ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { + RowSet destKeys = RowSetFactory.fromRange(rangeStart + 1, rangeEnd + 1); + ChunkSource.GetContext srcContext = source.makeGetContext(arraySize); + ChunkSink.FillFromContext destContext = source.makeFillFromContext(arraySize)) { Chunk chunk = source.getChunk(srcContext, srcKeys); if (chunk.isAlias(peekedBlock)) { // If the ArraySource gives out aliases of its blocks, then it should throw when we try to @@ -537,7 +572,7 @@ public void testFillEmptyChunkWithPrev() { src.startTrackingPrevValues(); ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); try (final RowSet keys = RowSetFactory.empty(); - final WritableShortChunk chunk = WritableShortChunk.makeWritableChunk(0)) { + final WritableShortChunk chunk = WritableShortChunk.makeWritableChunk(0)) { // Fill from an empty chunk src.fillFromChunkByKeys(keys, chunk); } @@ -558,12 +593,13 @@ public void testFillUnorderedWithNulls() { source.set(ii, data[ii]); } - final long [] keys = LongStream.concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); + final long[] keys = LongStream + .concat(LongStream.of(RowSequence.NULL_ROW_KEY), LongStream.range(0, data.length - 1)).toArray(); Shuffle.shuffleArray(rng, keys); try (final ChunkSource.FillContext ctx = source.makeFillContext(keys.length); - final WritableShortChunk dest = WritableShortChunk.makeWritableChunk(keys.length); - final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { + final WritableShortChunk dest = WritableShortChunk.makeWritableChunk(keys.length); + final ResettableLongChunk rlc = ResettableLongChunk.makeResettableChunk()) { rlc.resetFromTypedArray(keys, 0, keys.length); source.fillChunkUnordered(ctx, dest, rlc); assertEquals(keys.length, dest.size()); @@ -571,7 +607,7 @@ public void testFillUnorderedWithNulls() { if (keys[ii] == RowSequence.NULL_ROW_KEY) { assertEquals(NULL_SHORT, dest.get(ii)); } else { - checkFromValues(data[(int)keys[ii]], dest.get(ii)); + checkFromValues(data[(int) keys[ii]], dest.get(ii)); } } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestShortImmutable2DArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestShortImmutable2DArraySource.java index 24bca001a3b..cfd14dd1508 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestShortImmutable2DArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestShortImmutable2DArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterImmutable2DArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterImmutable2DArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableShortChunk; @@ -27,10 +26,10 @@ Immutable2DShortArraySource makeTestSource() { final Immutable2DShortArraySource flatShortArraySource = new Immutable2DShortArraySource(12); flatShortArraySource.ensureCapacity(capacity); try (final ChunkSink.FillFromContext ffc = flatShortArraySource.makeFillFromContext(capacity); - final WritableShortChunk nullChunk = WritableShortChunk.makeWritableChunk(capacity)) { + final WritableShortChunk nullChunk = WritableShortChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); flatShortArraySource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return flatShortArraySource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestShortImmutableArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestShortImmutableArraySource.java index 6f2de2856b6..3215250a21f 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestShortImmutableArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestShortImmutableArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterImmutableArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterImmutableArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.WritableShortChunk; @@ -22,10 +21,10 @@ ImmutableShortArraySource makeTestSource() { final ImmutableShortArraySource immutableShortArraySource = new ImmutableShortArraySource(); immutableShortArraySource.ensureCapacity(capacity); try (final ChunkSink.FillFromContext ffc = immutableShortArraySource.makeFillFromContext(capacity); - final WritableShortChunk nullChunk = WritableShortChunk.makeWritableChunk(capacity)) { + final WritableShortChunk nullChunk = WritableShortChunk.makeWritableChunk(capacity)) { nullChunk.fillWithNullValue(0, capacity); immutableShortArraySource.fillFromChunk(ffc, nullChunk, RowSetFactory.flat(capacity)); } return immutableShortArraySource; } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestShortSparseArraySource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestShortSparseArraySource.java index 36f7295962e..af21c258c78 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestShortSparseArraySource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/TestShortSparseArraySource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterSparseArraySource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterSparseArraySource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources; import io.deephaven.chunk.ArrayGenerator; @@ -67,4 +66,4 @@ public void confirmAliasingForbidden() { } } } -} \ No newline at end of file +} diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/TestChunkColumnSource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/TestChunkColumnSource.java index 074ff3cecf3..ba966f019bc 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/TestChunkColumnSource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/chunkcolumnsource/TestChunkColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.chunkcolumnsource; import gnu.trove.list.array.TLongArrayList; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestBooleanDeltaAwareColumnSource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestBooleanDeltaAwareColumnSource.java index 375fa1b3a5b..129659d0517 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestBooleanDeltaAwareColumnSource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestBooleanDeltaAwareColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterDeltaAwareColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterDeltaAwareColumnSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.deltaaware; import io.deephaven.chunk.ObjectChunk; @@ -45,7 +44,7 @@ public class TestBooleanDeltaAwareColumnSource { @Before public void setUp() { - source = new DeltaAwareColumnSource<>(boolean.class); + source = new DeltaAwareColumnSource<>(boolean.class); } @After @@ -106,16 +105,14 @@ public void simple2() { } /** - * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what - * we expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, - * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that - * the subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we - * get what we expect. - * Pictorially, the situation looks like this (best viewed with a monospace font). - * baseline: BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB - * query1: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - * query2: ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ - * delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD + * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what we + * expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, + * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that the + * subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we get + * what we expect. Pictorially, the situation looks like this (best viewed with a monospace font). baseline: + * BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB query1: + * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ query2: + * ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD */ @Test public void overlapping() { @@ -128,7 +125,7 @@ public void overlapping() { ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); source.ensureCapacity(length); for (long ii = 0; ii < length; ++ii) { - final byte value = valuesPhase1[(int)ii]; + final byte value = valuesPhase1[(int) ii]; source.set(ii, value); expectedPrev.put(ii, value); expectedCurrent.put(ii, value); @@ -148,12 +145,12 @@ public void overlapping() { // Now start the second cycle so we have different current and prev values. ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); for (long ii = 20; ii < 40; ++ii) { - final byte value = valuesPhase2[(int)ii]; + final byte value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } for (long ii = 60; ii < 80; ++ii) { - final byte value = valuesPhase2[(int)ii]; + final byte value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } @@ -164,7 +161,7 @@ public void overlapping() { } private static void checkUsingGet(DeltaAwareColumnSource source, Map expectedCurrent, - Map expectedPrev, int begin, int end) { + Map expectedPrev, int begin, int end) { // Check the whole thing by using individual get calls: current and prev. // current... for (long ii = begin; ii < end; ++ii) { @@ -181,7 +178,7 @@ private static void checkUsingGet(DeltaAwareColumnSource source, Map dacs, Map expectedCurrent, - Map expectedPrev, long[] ranges) { + Map expectedPrev, long[] ranges) { final RowSet rowSet = rangesToIndex(ranges); assertEquals(rowSet.size() % 2, 0); @@ -210,7 +207,7 @@ private static void checkUsingChunk(DeltaAwareColumnSource dacs, Map values, Map expected, RowSet keys) { int sliceOffset = 0; - for (final RowSet.Iterator it = keys.iterator(); it.hasNext(); ) { + for (final RowSet.Iterator it = keys.iterator(); it.hasNext();) { final long key = it.nextLong(); final byte expectedValue = expected.get(key); final byte actualValue = io.deephaven.util.BooleanUtils.booleanAsByte(values.get(sliceOffset++)); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestByteDeltaAwareColumnSource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestByteDeltaAwareColumnSource.java index 62ddc3fb657..7c870411742 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestByteDeltaAwareColumnSource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestByteDeltaAwareColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterDeltaAwareColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterDeltaAwareColumnSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.deltaaware; import io.deephaven.engine.context.ExecutionContext; @@ -41,7 +40,7 @@ public class TestByteDeltaAwareColumnSource { @Before public void setUp() { - source = new DeltaAwareColumnSource<>(byte.class); + source = new DeltaAwareColumnSource<>(byte.class); } @After @@ -102,16 +101,14 @@ public void simple2() { } /** - * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what - * we expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, - * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that - * the subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we - * get what we expect. - * Pictorially, the situation looks like this (best viewed with a monospace font). - * baseline: BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB - * query1: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - * query2: ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ - * delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD + * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what we + * expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, + * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that the + * subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we get + * what we expect. Pictorially, the situation looks like this (best viewed with a monospace font). baseline: + * BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB query1: + * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ query2: + * ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD */ @Test public void overlapping() { @@ -124,7 +121,7 @@ public void overlapping() { ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); source.ensureCapacity(length); for (long ii = 0; ii < length; ++ii) { - final byte value = valuesPhase1[(int)ii]; + final byte value = valuesPhase1[(int) ii]; source.set(ii, value); expectedPrev.put(ii, value); expectedCurrent.put(ii, value); @@ -144,12 +141,12 @@ public void overlapping() { // Now start the second cycle so we have different current and prev values. ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); for (long ii = 20; ii < 40; ++ii) { - final byte value = valuesPhase2[(int)ii]; + final byte value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } for (long ii = 60; ii < 80; ++ii) { - final byte value = valuesPhase2[(int)ii]; + final byte value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } @@ -160,7 +157,7 @@ public void overlapping() { } private static void checkUsingGet(DeltaAwareColumnSource source, Map expectedCurrent, - Map expectedPrev, int begin, int end) { + Map expectedPrev, int begin, int end) { // Check the whole thing by using individual get calls: current and prev. // current... for (long ii = begin; ii < end; ++ii) { @@ -177,7 +174,7 @@ private static void checkUsingGet(DeltaAwareColumnSource source, Map dacs, Map expectedCurrent, - Map expectedPrev, long[] ranges) { + Map expectedPrev, long[] ranges) { final RowSet rowSet = rangesToIndex(ranges); assertEquals(rowSet.size() % 2, 0); @@ -206,7 +203,7 @@ private static void checkUsingChunk(DeltaAwareColumnSource dacs, Map values, Map expected, RowSet keys) { int sliceOffset = 0; - for (final RowSet.Iterator it = keys.iterator(); it.hasNext(); ) { + for (final RowSet.Iterator it = keys.iterator(); it.hasNext();) { final long key = it.nextLong(); final byte expectedValue = expected.get(key); final byte actualValue = values.get(sliceOffset++); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestCharacterDeltaAwareColumnSource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestCharacterDeltaAwareColumnSource.java index 2445c289097..047009e3c71 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestCharacterDeltaAwareColumnSource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestCharacterDeltaAwareColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.deltaaware; import io.deephaven.engine.context.ExecutionContext; @@ -36,7 +36,7 @@ public class TestCharacterDeltaAwareColumnSource { @Before public void setUp() { - source = new DeltaAwareColumnSource<>(char.class); + source = new DeltaAwareColumnSource<>(char.class); } @After @@ -97,16 +97,14 @@ public void simple2() { } /** - * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what - * we expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, - * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that - * the subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we - * get what we expect. - * Pictorially, the situation looks like this (best viewed with a monospace font). - * baseline: BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB - * query1: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - * query2: ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ - * delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD + * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what we + * expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, + * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that the + * subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we get + * what we expect. Pictorially, the situation looks like this (best viewed with a monospace font). baseline: + * BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB query1: + * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ query2: + * ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD */ @Test public void overlapping() { @@ -119,7 +117,7 @@ public void overlapping() { ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); source.ensureCapacity(length); for (long ii = 0; ii < length; ++ii) { - final char value = valuesPhase1[(int)ii]; + final char value = valuesPhase1[(int) ii]; source.set(ii, value); expectedPrev.put(ii, value); expectedCurrent.put(ii, value); @@ -139,12 +137,12 @@ public void overlapping() { // Now start the second cycle so we have different current and prev values. ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); for (long ii = 20; ii < 40; ++ii) { - final char value = valuesPhase2[(int)ii]; + final char value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } for (long ii = 60; ii < 80; ++ii) { - final char value = valuesPhase2[(int)ii]; + final char value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } @@ -155,7 +153,7 @@ public void overlapping() { } private static void checkUsingGet(DeltaAwareColumnSource source, Map expectedCurrent, - Map expectedPrev, int begin, int end) { + Map expectedPrev, int begin, int end) { // Check the whole thing by using individual get calls: current and prev. // current... for (long ii = begin; ii < end; ++ii) { @@ -172,7 +170,7 @@ private static void checkUsingGet(DeltaAwareColumnSource source, Map< } private static void checkUsingChunk(DeltaAwareColumnSource dacs, Map expectedCurrent, - Map expectedPrev, long[] ranges) { + Map expectedPrev, long[] ranges) { final RowSet rowSet = rangesToIndex(ranges); assertEquals(rowSet.size() % 2, 0); @@ -201,7 +199,7 @@ private static void checkUsingChunk(DeltaAwareColumnSource dacs, Map< private static void checkChunk(CharChunk values, Map expected, RowSet keys) { int sliceOffset = 0; - for (final RowSet.Iterator it = keys.iterator(); it.hasNext(); ) { + for (final RowSet.Iterator it = keys.iterator(); it.hasNext();) { final long key = it.nextLong(); final char expectedValue = expected.get(key); final char actualValue = values.get(sliceOffset++); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestDoubleDeltaAwareColumnSource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestDoubleDeltaAwareColumnSource.java index 44058319612..25cfcb10d37 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestDoubleDeltaAwareColumnSource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestDoubleDeltaAwareColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterDeltaAwareColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterDeltaAwareColumnSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.deltaaware; import io.deephaven.engine.context.ExecutionContext; @@ -41,7 +40,7 @@ public class TestDoubleDeltaAwareColumnSource { @Before public void setUp() { - source = new DeltaAwareColumnSource<>(double.class); + source = new DeltaAwareColumnSource<>(double.class); } @After @@ -102,16 +101,14 @@ public void simple2() { } /** - * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what - * we expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, - * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that - * the subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we - * get what we expect. - * Pictorially, the situation looks like this (best viewed with a monospace font). - * baseline: BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB - * query1: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - * query2: ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ - * delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD + * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what we + * expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, + * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that the + * subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we get + * what we expect. Pictorially, the situation looks like this (best viewed with a monospace font). baseline: + * BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB query1: + * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ query2: + * ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD */ @Test public void overlapping() { @@ -124,7 +121,7 @@ public void overlapping() { ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); source.ensureCapacity(length); for (long ii = 0; ii < length; ++ii) { - final double value = valuesPhase1[(int)ii]; + final double value = valuesPhase1[(int) ii]; source.set(ii, value); expectedPrev.put(ii, value); expectedCurrent.put(ii, value); @@ -144,12 +141,12 @@ public void overlapping() { // Now start the second cycle so we have different current and prev values. ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); for (long ii = 20; ii < 40; ++ii) { - final double value = valuesPhase2[(int)ii]; + final double value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } for (long ii = 60; ii < 80; ++ii) { - final double value = valuesPhase2[(int)ii]; + final double value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } @@ -160,7 +157,7 @@ public void overlapping() { } private static void checkUsingGet(DeltaAwareColumnSource source, Map expectedCurrent, - Map expectedPrev, int begin, int end) { + Map expectedPrev, int begin, int end) { // Check the whole thing by using individual get calls: current and prev. // current... for (long ii = begin; ii < end; ++ii) { @@ -177,7 +174,7 @@ private static void checkUsingGet(DeltaAwareColumnSource source, Map dacs, Map expectedCurrent, - Map expectedPrev, long[] ranges) { + Map expectedPrev, long[] ranges) { final RowSet rowSet = rangesToIndex(ranges); assertEquals(rowSet.size() % 2, 0); @@ -206,7 +203,7 @@ private static void checkUsingChunk(DeltaAwareColumnSource dacs, Map values, Map expected, RowSet keys) { int sliceOffset = 0; - for (final RowSet.Iterator it = keys.iterator(); it.hasNext(); ) { + for (final RowSet.Iterator it = keys.iterator(); it.hasNext();) { final long key = it.nextLong(); final double expectedValue = expected.get(key); final double actualValue = values.get(sliceOffset++); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestFloatDeltaAwareColumnSource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestFloatDeltaAwareColumnSource.java index 46acb7240a5..41f749dab9e 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestFloatDeltaAwareColumnSource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestFloatDeltaAwareColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterDeltaAwareColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterDeltaAwareColumnSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.deltaaware; import io.deephaven.engine.context.ExecutionContext; @@ -41,7 +40,7 @@ public class TestFloatDeltaAwareColumnSource { @Before public void setUp() { - source = new DeltaAwareColumnSource<>(float.class); + source = new DeltaAwareColumnSource<>(float.class); } @After @@ -102,16 +101,14 @@ public void simple2() { } /** - * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what - * we expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, - * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that - * the subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we - * get what we expect. - * Pictorially, the situation looks like this (best viewed with a monospace font). - * baseline: BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB - * query1: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - * query2: ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ - * delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD + * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what we + * expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, + * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that the + * subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we get + * what we expect. Pictorially, the situation looks like this (best viewed with a monospace font). baseline: + * BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB query1: + * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ query2: + * ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD */ @Test public void overlapping() { @@ -124,7 +121,7 @@ public void overlapping() { ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); source.ensureCapacity(length); for (long ii = 0; ii < length; ++ii) { - final float value = valuesPhase1[(int)ii]; + final float value = valuesPhase1[(int) ii]; source.set(ii, value); expectedPrev.put(ii, value); expectedCurrent.put(ii, value); @@ -144,12 +141,12 @@ public void overlapping() { // Now start the second cycle so we have different current and prev values. ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); for (long ii = 20; ii < 40; ++ii) { - final float value = valuesPhase2[(int)ii]; + final float value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } for (long ii = 60; ii < 80; ++ii) { - final float value = valuesPhase2[(int)ii]; + final float value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } @@ -160,7 +157,7 @@ public void overlapping() { } private static void checkUsingGet(DeltaAwareColumnSource source, Map expectedCurrent, - Map expectedPrev, int begin, int end) { + Map expectedPrev, int begin, int end) { // Check the whole thing by using individual get calls: current and prev. // current... for (long ii = begin; ii < end; ++ii) { @@ -177,7 +174,7 @@ private static void checkUsingGet(DeltaAwareColumnSource source, Map dacs, Map expectedCurrent, - Map expectedPrev, long[] ranges) { + Map expectedPrev, long[] ranges) { final RowSet rowSet = rangesToIndex(ranges); assertEquals(rowSet.size() % 2, 0); @@ -206,7 +203,7 @@ private static void checkUsingChunk(DeltaAwareColumnSource dacs, Map values, Map expected, RowSet keys) { int sliceOffset = 0; - for (final RowSet.Iterator it = keys.iterator(); it.hasNext(); ) { + for (final RowSet.Iterator it = keys.iterator(); it.hasNext();) { final long key = it.nextLong(); final float expectedValue = expected.get(key); final float actualValue = values.get(sliceOffset++); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestIntegerDeltaAwareColumnSource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestIntegerDeltaAwareColumnSource.java index 049e1a6b382..df49442042b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestIntegerDeltaAwareColumnSource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestIntegerDeltaAwareColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterDeltaAwareColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterDeltaAwareColumnSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.deltaaware; import io.deephaven.engine.context.ExecutionContext; @@ -41,7 +40,7 @@ public class TestIntegerDeltaAwareColumnSource { @Before public void setUp() { - source = new DeltaAwareColumnSource<>(int.class); + source = new DeltaAwareColumnSource<>(int.class); } @After @@ -102,16 +101,14 @@ public void simple2() { } /** - * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what - * we expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, - * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that - * the subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we - * get what we expect. - * Pictorially, the situation looks like this (best viewed with a monospace font). - * baseline: BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB - * query1: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - * query2: ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ - * delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD + * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what we + * expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, + * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that the + * subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we get + * what we expect. Pictorially, the situation looks like this (best viewed with a monospace font). baseline: + * BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB query1: + * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ query2: + * ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD */ @Test public void overlapping() { @@ -124,7 +121,7 @@ public void overlapping() { ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); source.ensureCapacity(length); for (long ii = 0; ii < length; ++ii) { - final int value = valuesPhase1[(int)ii]; + final int value = valuesPhase1[(int) ii]; source.set(ii, value); expectedPrev.put(ii, value); expectedCurrent.put(ii, value); @@ -144,12 +141,12 @@ public void overlapping() { // Now start the second cycle so we have different current and prev values. ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); for (long ii = 20; ii < 40; ++ii) { - final int value = valuesPhase2[(int)ii]; + final int value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } for (long ii = 60; ii < 80; ++ii) { - final int value = valuesPhase2[(int)ii]; + final int value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } @@ -160,7 +157,7 @@ public void overlapping() { } private static void checkUsingGet(DeltaAwareColumnSource source, Map expectedCurrent, - Map expectedPrev, int begin, int end) { + Map expectedPrev, int begin, int end) { // Check the whole thing by using individual get calls: current and prev. // current... for (long ii = begin; ii < end; ++ii) { @@ -177,7 +174,7 @@ private static void checkUsingGet(DeltaAwareColumnSource source, Map dacs, Map expectedCurrent, - Map expectedPrev, long[] ranges) { + Map expectedPrev, long[] ranges) { final RowSet rowSet = rangesToIndex(ranges); assertEquals(rowSet.size() % 2, 0); @@ -206,7 +203,7 @@ private static void checkUsingChunk(DeltaAwareColumnSource dacs, Map values, Map expected, RowSet keys) { int sliceOffset = 0; - for (final RowSet.Iterator it = keys.iterator(); it.hasNext(); ) { + for (final RowSet.Iterator it = keys.iterator(); it.hasNext();) { final long key = it.nextLong(); final int expectedValue = expected.get(key); final int actualValue = values.get(sliceOffset++); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestLongDeltaAwareColumnSource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestLongDeltaAwareColumnSource.java index e211e1b61c3..1d893ec9a35 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestLongDeltaAwareColumnSource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestLongDeltaAwareColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterDeltaAwareColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterDeltaAwareColumnSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.deltaaware; import io.deephaven.engine.context.ExecutionContext; @@ -41,7 +40,7 @@ public class TestLongDeltaAwareColumnSource { @Before public void setUp() { - source = new DeltaAwareColumnSource<>(long.class); + source = new DeltaAwareColumnSource<>(long.class); } @After @@ -102,16 +101,14 @@ public void simple2() { } /** - * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what - * we expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, - * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that - * the subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we - * get what we expect. - * Pictorially, the situation looks like this (best viewed with a monospace font). - * baseline: BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB - * query1: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - * query2: ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ - * delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD + * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what we + * expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, + * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that the + * subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we get + * what we expect. Pictorially, the situation looks like this (best viewed with a monospace font). baseline: + * BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB query1: + * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ query2: + * ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD */ @Test public void overlapping() { @@ -124,7 +121,7 @@ public void overlapping() { ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); source.ensureCapacity(length); for (long ii = 0; ii < length; ++ii) { - final long value = valuesPhase1[(int)ii]; + final long value = valuesPhase1[(int) ii]; source.set(ii, value); expectedPrev.put(ii, value); expectedCurrent.put(ii, value); @@ -144,12 +141,12 @@ public void overlapping() { // Now start the second cycle so we have different current and prev values. ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); for (long ii = 20; ii < 40; ++ii) { - final long value = valuesPhase2[(int)ii]; + final long value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } for (long ii = 60; ii < 80; ++ii) { - final long value = valuesPhase2[(int)ii]; + final long value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } @@ -160,7 +157,7 @@ public void overlapping() { } private static void checkUsingGet(DeltaAwareColumnSource source, Map expectedCurrent, - Map expectedPrev, int begin, int end) { + Map expectedPrev, int begin, int end) { // Check the whole thing by using individual get calls: current and prev. // current... for (long ii = begin; ii < end; ++ii) { @@ -177,7 +174,7 @@ private static void checkUsingGet(DeltaAwareColumnSource source, Map dacs, Map expectedCurrent, - Map expectedPrev, long[] ranges) { + Map expectedPrev, long[] ranges) { final RowSet rowSet = rangesToIndex(ranges); assertEquals(rowSet.size() % 2, 0); @@ -206,7 +203,7 @@ private static void checkUsingChunk(DeltaAwareColumnSource dacs, Map values, Map expected, RowSet keys) { int sliceOffset = 0; - for (final RowSet.Iterator it = keys.iterator(); it.hasNext(); ) { + for (final RowSet.Iterator it = keys.iterator(); it.hasNext();) { final long key = it.nextLong(); final long expectedValue = expected.get(key); final long actualValue = values.get(sliceOffset++); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestObjectDeltaAwareColumnSource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestObjectDeltaAwareColumnSource.java index f4f162f2f3d..55e792c2263 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestObjectDeltaAwareColumnSource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestObjectDeltaAwareColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterDeltaAwareColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterDeltaAwareColumnSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.deltaaware; import io.deephaven.engine.context.ExecutionContext; @@ -40,7 +39,7 @@ public class TestObjectDeltaAwareColumnSource { @Before public void setUp() { - source = new DeltaAwareColumnSource<>(Object.class); + source = new DeltaAwareColumnSource<>(Object.class); } @After @@ -101,16 +100,14 @@ public void simple2() { } /** - * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what - * we expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, - * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that - * the subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we - * get what we expect. - * Pictorially, the situation looks like this (best viewed with a monospace font). - * baseline: BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB - * query1: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - * query2: ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ - * delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD + * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what we + * expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, + * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that the + * subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we get + * what we expect. Pictorially, the situation looks like this (best viewed with a monospace font). baseline: + * BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB query1: + * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ query2: + * ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD */ @Test public void overlapping() { @@ -123,7 +120,7 @@ public void overlapping() { ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); source.ensureCapacity(length); for (long ii = 0; ii < length; ++ii) { - final Object value = valuesPhase1[(int)ii]; + final Object value = valuesPhase1[(int) ii]; source.set(ii, value); expectedPrev.put(ii, value); expectedCurrent.put(ii, value); @@ -143,12 +140,12 @@ public void overlapping() { // Now start the second cycle so we have different current and prev values. ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); for (long ii = 20; ii < 40; ++ii) { - final Object value = valuesPhase2[(int)ii]; + final Object value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } for (long ii = 60; ii < 80; ++ii) { - final Object value = valuesPhase2[(int)ii]; + final Object value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } @@ -159,7 +156,7 @@ public void overlapping() { } private static void checkUsingGet(DeltaAwareColumnSource source, Map expectedCurrent, - Map expectedPrev, int begin, int end) { + Map expectedPrev, int begin, int end) { // Check the whole thing by using individual get calls: current and prev. // current... for (long ii = begin; ii < end; ++ii) { @@ -176,7 +173,7 @@ private static void checkUsingGet(DeltaAwareColumnSource source, Map dacs, Map expectedCurrent, - Map expectedPrev, long[] ranges) { + Map expectedPrev, long[] ranges) { final RowSet rowSet = rangesToIndex(ranges); assertEquals(rowSet.size() % 2, 0); @@ -205,7 +202,7 @@ private static void checkUsingChunk(DeltaAwareColumnSource dacs, Map values, Map expected, RowSet keys) { int sliceOffset = 0; - for (final RowSet.Iterator it = keys.iterator(); it.hasNext(); ) { + for (final RowSet.Iterator it = keys.iterator(); it.hasNext();) { final long key = it.nextLong(); final Object expectedValue = expected.get(key); final Object actualValue = values.get(sliceOffset++); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestShortDeltaAwareColumnSource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestShortDeltaAwareColumnSource.java index e8947a9aa19..b2fad9c0c83 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestShortDeltaAwareColumnSource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/deltaaware/TestShortDeltaAwareColumnSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharacterDeltaAwareColumnSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharacterDeltaAwareColumnSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.deltaaware; import io.deephaven.engine.context.ExecutionContext; @@ -41,7 +40,7 @@ public class TestShortDeltaAwareColumnSource { @Before public void setUp() { - source = new DeltaAwareColumnSource<>(short.class); + source = new DeltaAwareColumnSource<>(short.class); } @After @@ -102,16 +101,14 @@ public void simple2() { } /** - * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what - * we expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, - * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that - * the subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we - * get what we expect. - * Pictorially, the situation looks like this (best viewed with a monospace font). - * baseline: BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB - * query1: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - * query2: ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ - * delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD + * We make a structure that looks like this. Then we query the whole thing with one range and see if we get what we + * expect. Then we query with three subranges and again see if we get what we expect. Then in a second generation, + * we write some new values, which creates a baseline/delta situation. We do those same queries again (note that the + * subranges have been carefully chosen to span baseline and delta, so they're challenging) and again see if we get + * what we expect. Pictorially, the situation looks like this (best viewed with a monospace font). baseline: + * BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB query1: + * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ query2: + * ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ delta: DDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDD */ @Test public void overlapping() { @@ -124,7 +121,7 @@ public void overlapping() { ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); source.ensureCapacity(length); for (long ii = 0; ii < length; ++ii) { - final short value = valuesPhase1[(int)ii]; + final short value = valuesPhase1[(int) ii]; source.set(ii, value); expectedPrev.put(ii, value); expectedCurrent.put(ii, value); @@ -144,12 +141,12 @@ public void overlapping() { // Now start the second cycle so we have different current and prev values. ExecutionContext.getContext().getUpdateGraph().cast().startCycleForUnitTests(); for (long ii = 20; ii < 40; ++ii) { - final short value = valuesPhase2[(int)ii]; + final short value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } for (long ii = 60; ii < 80; ++ii) { - final short value = valuesPhase2[(int)ii]; + final short value = valuesPhase2[(int) ii]; source.set(ii, value); expectedCurrent.put(ii, value); } @@ -160,7 +157,7 @@ public void overlapping() { } private static void checkUsingGet(DeltaAwareColumnSource source, Map expectedCurrent, - Map expectedPrev, int begin, int end) { + Map expectedPrev, int begin, int end) { // Check the whole thing by using individual get calls: current and prev. // current... for (long ii = begin; ii < end; ++ii) { @@ -177,7 +174,7 @@ private static void checkUsingGet(DeltaAwareColumnSource source, Map dacs, Map expectedCurrent, - Map expectedPrev, long[] ranges) { + Map expectedPrev, long[] ranges) { final RowSet rowSet = rangesToIndex(ranges); assertEquals(rowSet.size() % 2, 0); @@ -206,7 +203,7 @@ private static void checkUsingChunk(DeltaAwareColumnSource dacs, Map values, Map expected, RowSet keys) { int sliceOffset = 0; - for (final RowSet.Iterator it = keys.iterator(); it.hasNext(); ) { + for (final RowSet.Iterator it = keys.iterator(); it.hasNext();) { final long key = it.nextLong(); final short expectedValue = expected.get(key); final short actualValue = values.get(sliceOffset++); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestChunkedRegionedOperations.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestChunkedRegionedOperations.java index 6cd375e659e..644740f8d3b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestChunkedRegionedOperations.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestChunkedRegionedOperations.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.base.FileUtils; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestObjectVectorUngroup.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestObjectVectorUngroup.java index fdc8a742ae6..a3bdb5ecd76 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestObjectVectorUngroup.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestObjectVectorUngroup.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.base.FileUtils; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceBoolean.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceBoolean.java index 250ea22c08a..e53c531eb7d 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceBoolean.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceBoolean.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; @@ -13,7 +13,8 @@ * Test class for {@link RegionedColumnSourceBoolean}. */ @SuppressWarnings({"JUnit4AnnotatedMethodInJUnit3TestCase"}) -public class TestRegionedColumnSourceBoolean extends TstRegionedColumnSourceReferencing> { +public class TestRegionedColumnSourceBoolean + extends TstRegionedColumnSourceReferencing> { private ColumnSource SUT_AS_BYTE; @@ -22,28 +23,32 @@ public TestRegionedColumnSourceBoolean() { } private void assertLookup(final long elementIndex, - final int expectedRegionIndex, - final Boolean output, - final boolean prev, - final boolean boxed) { + final int expectedRegionIndex, + final Boolean output, + final boolean prev, + final boolean boxed) { assertLookup(elementIndex, expectedRegionIndex, output, prev, boxed, false); } private void assertLookup(final long elementIndex, - final int expectedRegionIndex, - final Boolean output, - final boolean prev, - final boolean boxed, - final boolean reinterpreted) { - checking(new Expectations() {{ - oneOf(cr[expectedRegionIndex]).getByte(elementIndex); - will(returnValue(BooleanUtils.booleanAsByte(output))); - }}); + final int expectedRegionIndex, + final Boolean output, + final boolean prev, + final boolean boxed, + final boolean reinterpreted) { + checking(new Expectations() { + { + oneOf(cr[expectedRegionIndex]).getByte(elementIndex); + will(returnValue(BooleanUtils.booleanAsByte(output))); + } + }); if (reinterpreted) { if (boxed) { - assertEquals(TypeUtils.box(BooleanUtils.booleanAsByte(output)), prev ? SUT_AS_BYTE.getPrev(elementIndex) : SUT_AS_BYTE.get(elementIndex)); + assertEquals(TypeUtils.box(BooleanUtils.booleanAsByte(output)), + prev ? SUT_AS_BYTE.getPrev(elementIndex) : SUT_AS_BYTE.get(elementIndex)); } else { - assertEquals(BooleanUtils.booleanAsByte(output), prev ? SUT_AS_BYTE.getPrevByte(elementIndex) : SUT_AS_BYTE.getByte(elementIndex)); + assertEquals(BooleanUtils.booleanAsByte(output), + prev ? SUT_AS_BYTE.getPrevByte(elementIndex) : SUT_AS_BYTE.getByte(elementIndex)); } } else { if (boxed) { diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceByte.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceByte.java index de7f044b431..759a44e6c37 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceByte.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceByte.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestRegionedColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestRegionedColumnSourceChar and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; @@ -16,8 +15,8 @@ * Test class for {@link RegionedColumnSourceByte}. */ @SuppressWarnings("JUnit4AnnotatedMethodInJUnit3TestCase") -public class TestRegionedColumnSourceByte extends TstRegionedColumnSourcePrimitive< - Byte, Values, ColumnRegionByte, ColumnRegionByte> { +public class TestRegionedColumnSourceByte extends + TstRegionedColumnSourcePrimitive, ColumnRegionByte> { public TestRegionedColumnSourceByte() { super(ColumnRegionByte.class); @@ -25,14 +24,16 @@ public TestRegionedColumnSourceByte() { @SuppressWarnings("AutoBoxing") private void assertLookup(final long elementIndex, - final int expectedRegionIndex, - final byte output, - final boolean prev, - final boolean boxed) { - checking(new Expectations() {{ - oneOf(cr[expectedRegionIndex]).getByte(elementIndex); - will(returnValue(output)); - }}); + final int expectedRegionIndex, + final byte output, + final boolean prev, + final boolean boxed) { + checking(new Expectations() { + { + oneOf(cr[expectedRegionIndex]).getByte(elementIndex); + will(returnValue(output)); + } + }); if (boxed) { assertEquals(output == NULL_BYTE ? null : output, prev ? SUT.getPrev(elementIndex) : SUT.get(elementIndex)); } else { diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceChar.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceChar.java index 2785427dfde..86e49210b98 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceChar.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceChar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; @@ -11,8 +11,8 @@ * Test class for {@link RegionedColumnSourceChar}. */ @SuppressWarnings("JUnit4AnnotatedMethodInJUnit3TestCase") -public class TestRegionedColumnSourceChar extends TstRegionedColumnSourcePrimitive< - Character, Values, ColumnRegionChar, ColumnRegionChar> { +public class TestRegionedColumnSourceChar extends + TstRegionedColumnSourcePrimitive, ColumnRegionChar> { public TestRegionedColumnSourceChar() { super(ColumnRegionChar.class); @@ -20,14 +20,16 @@ public TestRegionedColumnSourceChar() { @SuppressWarnings("AutoBoxing") private void assertLookup(final long elementIndex, - final int expectedRegionIndex, - final char output, - final boolean prev, - final boolean boxed) { - checking(new Expectations() {{ - oneOf(cr[expectedRegionIndex]).getChar(elementIndex); - will(returnValue(output)); - }}); + final int expectedRegionIndex, + final char output, + final boolean prev, + final boolean boxed) { + checking(new Expectations() { + { + oneOf(cr[expectedRegionIndex]).getChar(elementIndex); + will(returnValue(output)); + } + }); if (boxed) { assertEquals(output == NULL_CHAR ? null : output, prev ? SUT.getPrev(elementIndex) : SUT.get(elementIndex)); } else { diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceDouble.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceDouble.java index c5b882a92dc..cd9f42ee99f 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceDouble.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceDouble.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestRegionedColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestRegionedColumnSourceChar and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; @@ -16,8 +15,8 @@ * Test class for {@link RegionedColumnSourceDouble}. */ @SuppressWarnings("JUnit4AnnotatedMethodInJUnit3TestCase") -public class TestRegionedColumnSourceDouble extends TstRegionedColumnSourcePrimitive< - Double, Values, ColumnRegionDouble, ColumnRegionDouble> { +public class TestRegionedColumnSourceDouble extends + TstRegionedColumnSourcePrimitive, ColumnRegionDouble> { public TestRegionedColumnSourceDouble() { super(ColumnRegionDouble.class); @@ -25,14 +24,16 @@ public TestRegionedColumnSourceDouble() { @SuppressWarnings("AutoBoxing") private void assertLookup(final long elementIndex, - final int expectedRegionIndex, - final double output, - final boolean prev, - final boolean boxed) { - checking(new Expectations() {{ - oneOf(cr[expectedRegionIndex]).getDouble(elementIndex); - will(returnValue(output)); - }}); + final int expectedRegionIndex, + final double output, + final boolean prev, + final boolean boxed) { + checking(new Expectations() { + { + oneOf(cr[expectedRegionIndex]).getDouble(elementIndex); + will(returnValue(output)); + } + }); if (boxed) { assertEquals(output == NULL_DOUBLE ? null : output, prev ? SUT.getPrev(elementIndex) : SUT.get(elementIndex)); } else { diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceFloat.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceFloat.java index 5f4431b0c4b..e20cafdd868 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceFloat.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceFloat.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestRegionedColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestRegionedColumnSourceChar and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; @@ -16,8 +15,8 @@ * Test class for {@link RegionedColumnSourceFloat}. */ @SuppressWarnings("JUnit4AnnotatedMethodInJUnit3TestCase") -public class TestRegionedColumnSourceFloat extends TstRegionedColumnSourcePrimitive< - Float, Values, ColumnRegionFloat, ColumnRegionFloat> { +public class TestRegionedColumnSourceFloat extends + TstRegionedColumnSourcePrimitive, ColumnRegionFloat> { public TestRegionedColumnSourceFloat() { super(ColumnRegionFloat.class); @@ -25,14 +24,16 @@ public TestRegionedColumnSourceFloat() { @SuppressWarnings("AutoBoxing") private void assertLookup(final long elementIndex, - final int expectedRegionIndex, - final float output, - final boolean prev, - final boolean boxed) { - checking(new Expectations() {{ - oneOf(cr[expectedRegionIndex]).getFloat(elementIndex); - will(returnValue(output)); - }}); + final int expectedRegionIndex, + final float output, + final boolean prev, + final boolean boxed) { + checking(new Expectations() { + { + oneOf(cr[expectedRegionIndex]).getFloat(elementIndex); + will(returnValue(output)); + } + }); if (boxed) { assertEquals(output == NULL_FLOAT ? null : output, prev ? SUT.getPrev(elementIndex) : SUT.get(elementIndex)); } else { diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceInstant.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceInstant.java index 37e9e3dc516..db0b9ad8206 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceInstant.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceInstant.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceInt.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceInt.java index 2791e6ad8e0..a4375388ef9 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceInt.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceInt.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestRegionedColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestRegionedColumnSourceChar and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; @@ -16,8 +15,8 @@ * Test class for {@link RegionedColumnSourceInt}. */ @SuppressWarnings("JUnit4AnnotatedMethodInJUnit3TestCase") -public class TestRegionedColumnSourceInt extends TstRegionedColumnSourcePrimitive< - Integer, Values, ColumnRegionInt, ColumnRegionInt> { +public class TestRegionedColumnSourceInt extends + TstRegionedColumnSourcePrimitive, ColumnRegionInt> { public TestRegionedColumnSourceInt() { super(ColumnRegionInt.class); @@ -25,14 +24,16 @@ public TestRegionedColumnSourceInt() { @SuppressWarnings("AutoBoxing") private void assertLookup(final long elementIndex, - final int expectedRegionIndex, - final int output, - final boolean prev, - final boolean boxed) { - checking(new Expectations() {{ - oneOf(cr[expectedRegionIndex]).getInt(elementIndex); - will(returnValue(output)); - }}); + final int expectedRegionIndex, + final int output, + final boolean prev, + final boolean boxed) { + checking(new Expectations() { + { + oneOf(cr[expectedRegionIndex]).getInt(elementIndex); + will(returnValue(output)); + } + }); if (boxed) { assertEquals(output == NULL_INT ? null : output, prev ? SUT.getPrev(elementIndex) : SUT.get(elementIndex)); } else { diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceLong.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceLong.java index f91469dbb50..c92b021ba76 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceLong.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceLong.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestRegionedColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestRegionedColumnSourceChar and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; @@ -16,8 +15,8 @@ * Test class for {@link RegionedColumnSourceLong}. */ @SuppressWarnings("JUnit4AnnotatedMethodInJUnit3TestCase") -public class TestRegionedColumnSourceLong extends TstRegionedColumnSourcePrimitive< - Long, Values, ColumnRegionLong, ColumnRegionLong> { +public class TestRegionedColumnSourceLong extends + TstRegionedColumnSourcePrimitive, ColumnRegionLong> { public TestRegionedColumnSourceLong() { super(ColumnRegionLong.class); @@ -25,14 +24,16 @@ public TestRegionedColumnSourceLong() { @SuppressWarnings("AutoBoxing") private void assertLookup(final long elementIndex, - final int expectedRegionIndex, - final long output, - final boolean prev, - final boolean boxed) { - checking(new Expectations() {{ - oneOf(cr[expectedRegionIndex]).getLong(elementIndex); - will(returnValue(output)); - }}); + final int expectedRegionIndex, + final long output, + final boolean prev, + final boolean boxed) { + checking(new Expectations() { + { + oneOf(cr[expectedRegionIndex]).getLong(elementIndex); + will(returnValue(output)); + } + }); if (boxed) { assertEquals(output == NULL_LONG ? null : output, prev ? SUT.getPrev(elementIndex) : SUT.get(elementIndex)); } else { diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceManager.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceManager.java index 1ad647f0532..5e83c445ad1 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceManager.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.base.verify.AssertionFailure; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceObjectFixed.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceObjectFixed.java index c78dbd928b9..9918ed8d92a 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceObjectFixed.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceObjectFixed.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.base.string.EncodingInfo; @@ -60,10 +60,12 @@ public int expectedObjectWidth() { private static final Value[] REUSABLE_VALUES; static { final MutableLong length = new MutableLong(0); - //noinspection unchecked + // noinspection unchecked REUSABLE_VALUES = Stream.of("1234", "0000", "abcd", "ABCD", "love", "hate", "nine", "nein", "wxyz", "WXYZ").map( - s -> { length.add(s.length()); return new Value<>(s, objectToBytes(s), length.longValue()); } - ).toArray(Value[]::new); + s -> { + length.add(s.length()); + return new Value<>(s, objectToBytes(s), length.longValue()); + }).toArray(Value[]::new); } public TestRegionedColumnSourceObjectFixed() { @@ -80,12 +82,12 @@ public void setUp() throws Exception { private static byte[] objectToBytes(String inObject) { try { ByteArrayOutputStream byteOutStream = new ByteArrayOutputStream(); - for(int ci = 0; ci < inObject.length(); ++ci) { - byteOutStream.write((byte)inObject.charAt(ci)); + for (int ci = 0; ci < inObject.length(); ++ci) { + byteOutStream.write((byte) inObject.charAt(ci)); } byteOutStream.flush(); return byteOutStream.toByteArray(); - } catch(IOException e) { + } catch (IOException e) { throw new RuntimeException(e); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceObjectSimple.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceObjectSimple.java index 09bf60d49a8..a1df1ebc6fa 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceObjectSimple.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceObjectSimple.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import junit.framework.TestCase; @@ -15,22 +15,24 @@ */ public class TestRegionedColumnSourceObjectSimple extends TstRegionedColumnSourceObject { - private static final String REALLY_LONG = IntStream.range(0, 1000).mapToObj(Integer::toString).collect(Collectors.joining()); + private static final String REALLY_LONG = + IntStream.range(0, 1000).mapToObj(Integer::toString).collect(Collectors.joining()); private static final Value[] REUSABLE_VALUES; static { long length = 0L; - //noinspection unchecked,UnusedAssignment - REUSABLE_VALUES = new Value[]{ + // noinspection unchecked,UnusedAssignment + REUSABLE_VALUES = new Value[] { new Value("one", objectToBytes("one"), length += "one".length()), - new Value("", new byte[]{ '\0' }, length += 1), + new Value("", new byte[] {'\0'}, length += 1), new Value("three", objectToBytes("three"), length += "three".length()), new Value("scooby doo", objectToBytes("scooby doo"), length += "scooby doo".length()), new Value("five", objectToBytes("five"), length += "five".length()), new Value("hello", objectToBytes("hello"), length += "hello".length()), new Value("world", objectToBytes("world"), length += "world".length()), new Value("nineteen", objectToBytes("nineteen"), length += "nineteen".length()), - new Value("one million dollars", objectToBytes("one million dollars"), length += "one million dollars".length()), + new Value("one million dollars", objectToBytes("one million dollars"), + length += "one million dollars".length()), new Value(REALLY_LONG, objectToBytes(REALLY_LONG), length += REALLY_LONG.length()) }; } @@ -42,7 +44,7 @@ public TestRegionedColumnSourceObjectSimple() { @Override public void setUp() throws Exception { super.setUp(); - //noinspection unchecked + // noinspection unchecked SUT = new RegionedColumnSourceObject.AsValues<>(String.class); TestCase.assertEquals(String.class, SUT.getType()); } @@ -50,12 +52,12 @@ public void setUp() throws Exception { private static byte[] objectToBytes(String inObject) { try { ByteArrayOutputStream byteOutStream = new ByteArrayOutputStream(); - for(int ci = 0; ci < inObject.length(); ++ci) { - byteOutStream.write((byte)inObject.charAt(ci)); + for (int ci = 0; ci < inObject.length(); ++ci) { + byteOutStream.write((byte) inObject.charAt(ci)); } byteOutStream.flush(); return byteOutStream.toByteArray(); - } catch(IOException e) { + } catch (IOException e) { throw new RuntimeException(e); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceObjectVariable.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceObjectVariable.java index 5c4980efa3f..85419ae4574 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceObjectVariable.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceObjectVariable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.base.string.EncodingInfo; @@ -57,10 +57,13 @@ public int expectedObjectWidth() { private static final Value[] REUSABLE_VALUES; static { final MutableLong length = new MutableLong(0); - //noinspection unchecked - REUSABLE_VALUES = Stream.of("12345", "000", "abcdefg", "ABC", "love", "hate", "nineteen", "ninety", "tuvwxyz", "Z").map( - s -> { length.add(s.length()); return new Value<>(s, objectToBytes(s), length.longValue()); } - ).toArray(Value[]::new); + // noinspection unchecked + REUSABLE_VALUES = + Stream.of("12345", "000", "abcdefg", "ABC", "love", "hate", "nineteen", "ninety", "tuvwxyz", "Z").map( + s -> { + length.add(s.length()); + return new Value<>(s, objectToBytes(s), length.longValue()); + }).toArray(Value[]::new); } public TestRegionedColumnSourceObjectVariable() { @@ -77,12 +80,12 @@ public void setUp() throws Exception { private static byte[] objectToBytes(String inObject) { try { ByteArrayOutputStream byteOutStream = new ByteArrayOutputStream(); - for(int ci = 0; ci < inObject.length(); ++ci) { - byteOutStream.write((byte)inObject.charAt(ci)); + for (int ci = 0; ci < inObject.length(); ++ci) { + byteOutStream.write((byte) inObject.charAt(ci)); } byteOutStream.flush(); return byteOutStream.toByteArray(); - } catch(IOException e) { + } catch (IOException e) { throw new RuntimeException(e); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceShort.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceShort.java index fbe68b57015..87959cf8461 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceShort.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TestRegionedColumnSourceShort.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestRegionedColumnSourceChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestRegionedColumnSourceChar and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; @@ -16,8 +15,8 @@ * Test class for {@link RegionedColumnSourceShort}. */ @SuppressWarnings("JUnit4AnnotatedMethodInJUnit3TestCase") -public class TestRegionedColumnSourceShort extends TstRegionedColumnSourcePrimitive< - Short, Values, ColumnRegionShort, ColumnRegionShort> { +public class TestRegionedColumnSourceShort extends + TstRegionedColumnSourcePrimitive, ColumnRegionShort> { public TestRegionedColumnSourceShort() { super(ColumnRegionShort.class); @@ -25,14 +24,16 @@ public TestRegionedColumnSourceShort() { @SuppressWarnings("AutoBoxing") private void assertLookup(final long elementIndex, - final int expectedRegionIndex, - final short output, - final boolean prev, - final boolean boxed) { - checking(new Expectations() {{ - oneOf(cr[expectedRegionIndex]).getShort(elementIndex); - will(returnValue(output)); - }}); + final int expectedRegionIndex, + final short output, + final boolean prev, + final boolean boxed) { + checking(new Expectations() { + { + oneOf(cr[expectedRegionIndex]).getShort(elementIndex); + will(returnValue(output)); + } + }); if (boxed) { assertEquals(output == NULL_SHORT ? null : output, prev ? SUT.getPrev(elementIndex) : SUT.get(elementIndex)); } else { diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionByte.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionByte.java index 9e4c4344414..3cd020ae0a5 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionByte.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionByte.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; @@ -48,13 +48,13 @@ public byte[] getBytes(long firstElementIndex, @NotNull byte[] destination, int } @Override - public void fillChunkAppend(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunkAppend(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { WritableByteChunk charDestination = destination.asWritableByteChunk(); int size = destination.size(); int length = (int) rowSequence.size(); - rowSequence.forAllRowKeys(key -> - { + rowSequence.forAllRowKeys(key -> { for (int i = 0; i < length; ++i) { charDestination.set(size + i, (byte) key); } @@ -84,11 +84,11 @@ public void testGet() { public void testGetBytes() { byte[] result = new byte[1024]; SUT.getBytes(0, result, 0, result.length); - for(byte b : result) { + for (byte b : result) { TestCase.assertEquals(QueryConstants.NULL_BYTE, b); } SUT.getBytes(Integer.MAX_VALUE, result, 100, result.length - 200); - for(byte b : result) { + for (byte b : result) { TestCase.assertEquals(QueryConstants.NULL_BYTE, b); } } @@ -99,12 +99,14 @@ public static class TestDeferred extends TstColumnRegionPrimative.Deferred(Long.MAX_VALUE, regionSupplier); } @@ -117,9 +119,9 @@ public void testGet() { } public void testGetBytes() { - assertArrayEquals(new byte[]{(byte) 0, (byte) 1, (byte) 2}, SUT.getBytes(0, new byte[3], 0, 3)); + assertArrayEquals(new byte[] {(byte) 0, (byte) 1, (byte) 2}, SUT.getBytes(0, new byte[3], 0, 3)); assertIsSatisfied(); - assertArrayEquals(new byte[]{(byte) 5, (byte) 6, (byte) 7}, SUT.getBytes(5, new byte[3], 0, 3)); + assertArrayEquals(new byte[] {(byte) 5, (byte) 6, (byte) 7}, SUT.getBytes(5, new byte[3], 0, 3)); assertIsSatisfied(); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionChar.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionChar.java index a0e2cd9784a..5b28d4129e0 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionChar.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionChar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; @@ -39,13 +39,13 @@ public char getChar(long elementIndex) { } @Override - public void fillChunkAppend(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunkAppend(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { WritableCharChunk charDestination = destination.asWritableCharChunk(); int size = destination.size(); int length = (int) rowSequence.size(); - rowSequence.forAllRowKeys(key -> - { + rowSequence.forAllRowKeys(key -> { for (int i = 0; i < length; ++i) { charDestination.set(size + i, (char) key); } @@ -78,12 +78,14 @@ public static class TestDeferred extends TstColumnRegionPrimative.Deferred(Long.MAX_VALUE, regionSupplier); } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionDouble.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionDouble.java index 5ab8dc37aa6..503c369cdf0 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionDouble.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionDouble.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TstColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TstColumnRegionChar and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; @@ -44,13 +43,13 @@ public double getDouble(long elementIndex) { } @Override - public void fillChunkAppend(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunkAppend(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { WritableDoubleChunk doubleDestination = destination.asWritableDoubleChunk(); int size = destination.size(); int length = (int) rowSequence.size(); - rowSequence.forAllRowKeys(key -> - { + rowSequence.forAllRowKeys(key -> { for (int i = 0; i < length; ++i) { doubleDestination.set(size + i, (double) key); } @@ -83,12 +82,14 @@ public static class TestDeferred extends TstColumnRegionPrimative.Deferred(Long.MAX_VALUE, regionSupplier); } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionFloat.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionFloat.java index 799630bc19a..a7aca91de1b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionFloat.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionFloat.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TstColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TstColumnRegionChar and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; @@ -44,13 +43,13 @@ public float getFloat(long elementIndex) { } @Override - public void fillChunkAppend(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunkAppend(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { WritableFloatChunk floatDestination = destination.asWritableFloatChunk(); int size = destination.size(); int length = (int) rowSequence.size(); - rowSequence.forAllRowKeys(key -> - { + rowSequence.forAllRowKeys(key -> { for (int i = 0; i < length; ++i) { floatDestination.set(size + i, (float) key); } @@ -83,12 +82,14 @@ public static class TestDeferred extends TstColumnRegionPrimative.Deferred(Long.MAX_VALUE, regionSupplier); } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionInt.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionInt.java index 8fc8d76ef30..34b1dc00bce 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionInt.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionInt.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TstColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TstColumnRegionChar and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; @@ -44,13 +43,13 @@ public int getInt(long elementIndex) { } @Override - public void fillChunkAppend(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunkAppend(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { WritableIntChunk intDestination = destination.asWritableIntChunk(); int size = destination.size(); int length = (int) rowSequence.size(); - rowSequence.forAllRowKeys(key -> - { + rowSequence.forAllRowKeys(key -> { for (int i = 0; i < length; ++i) { intDestination.set(size + i, (int) key); } @@ -83,12 +82,14 @@ public static class TestDeferred extends TstColumnRegionPrimative.Deferred(Long.MAX_VALUE, regionSupplier); } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionLong.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionLong.java index 92728fda34d..5c7fb96f3b2 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionLong.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionLong.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TstColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TstColumnRegionChar and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; @@ -44,13 +43,13 @@ public long getLong(long elementIndex) { } @Override - public void fillChunkAppend(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunkAppend(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { WritableLongChunk longDestination = destination.asWritableLongChunk(); int size = destination.size(); int length = (int) rowSequence.size(); - rowSequence.forAllRowKeys(key -> - { + rowSequence.forAllRowKeys(key -> { for (int i = 0; i < length; ++i) { longDestination.set(size + i, (long) key); } @@ -83,12 +82,14 @@ public static class TestDeferred extends TstColumnRegionPrimative.Deferred(Long.MAX_VALUE, regionSupplier); } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionPrimative.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionPrimative.java index fb4b55d385d..35a04188ca7 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionPrimative.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionPrimative.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionShort.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionShort.java index 4f0e90e3b05..70f7453ea63 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionShort.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstColumnRegionShort.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TstColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TstColumnRegionChar and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; @@ -44,13 +43,13 @@ public short getShort(long elementIndex) { } @Override - public void fillChunkAppend(@NotNull FillContext context, @NotNull WritableChunk destination, @NotNull RowSequence rowSequence) { + public void fillChunkAppend(@NotNull FillContext context, @NotNull WritableChunk destination, + @NotNull RowSequence rowSequence) { WritableShortChunk shortDestination = destination.asWritableShortChunk(); int size = destination.size(); int length = (int) rowSequence.size(); - rowSequence.forAllRowKeys(key -> - { + rowSequence.forAllRowKeys(key -> { for (int i = 0; i < length; ++i) { shortDestination.set(size + i, (short) key); } @@ -83,12 +82,14 @@ public static class TestDeferred extends TstColumnRegionPrimative.Deferred(Long.MAX_VALUE, regionSupplier); } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstRegionedColumnSourceObject.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstRegionedColumnSourceObject.java index 55a04f0aa67..1146af42c73 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstRegionedColumnSourceObject.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstRegionedColumnSourceObject.java @@ -1,17 +1,17 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; import org.junit.Test; /** -* Base class for tests of {@link RegionedColumnSourceObject} implementations. -*/ + * Base class for tests of {@link RegionedColumnSourceObject} implementations. + */ @SuppressWarnings({"JUnit4AnnotatedMethodInJUnit3TestCase"}) -public abstract class TstRegionedColumnSourceObject extends TstRegionedColumnSourcePrimitive, ColumnRegionObject> { +public abstract class TstRegionedColumnSourceObject extends + TstRegionedColumnSourcePrimitive, ColumnRegionObject> { TstRegionedColumnSourceObject(Value[] values) { super(ColumnRegionObject.class); @@ -35,17 +35,19 @@ static class Value { private static final Value NULL_VALUE = new Value<>(null, new byte[0], 0L); private void assertLookup(final long elementIndex, - final int expectedRegionIndex, - final Value output, - final boolean prev) { - checking(new Expectations() {{ - atMost(1).of(cr[expectedRegionIndex]).getObject(with(elementIndex)); - will(returnValue(output.decoded)); - if (elementIndex != 0) { - atMost(1).of(cr[expectedRegionIndex]).getObject(with(elementIndex - 1)); + final int expectedRegionIndex, + final Value output, + final boolean prev) { + checking(new Expectations() { + { + atMost(1).of(cr[expectedRegionIndex]).getObject(with(elementIndex)); will(returnValue(output.decoded)); + if (elementIndex != 0) { + atMost(1).of(cr[expectedRegionIndex]).getObject(with(elementIndex - 1)); + will(returnValue(output.decoded)); + } } - }}); + }); assertEquals(output.decoded, prev ? SUT.getPrev(elementIndex) : SUT.get(elementIndex)); assertIsSatisfied(); } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstRegionedColumnSourcePrimitive.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstRegionedColumnSourcePrimitive.java index fcc5ee682a5..39142645b1f 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstRegionedColumnSourcePrimitive.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstRegionedColumnSourcePrimitive.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.base.testing.BaseCachedJMockTestCase; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstRegionedColumnSourceReferencing.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstRegionedColumnSourceReferencing.java index 4e10b22e592..a2fd2b778a8 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstRegionedColumnSourceReferencing.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/TstRegionedColumnSourceReferencing.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ByteRegionBinarySearchKernelTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ByteRegionBinarySearchKernelTest.java index e87d5ac7ecd..72dcbd0f338 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ByteRegionBinarySearchKernelTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ByteRegionBinarySearchKernelTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRegionBinarySearchKernelTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRegionBinarySearchKernelTest and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned.kernel; import io.deephaven.api.ColumnName; @@ -35,7 +34,7 @@ @Category(ParallelTest.class) public class ByteRegionBinarySearchKernelTest { - private static final int[] SIZES = { 10, 100, 1000000 }; + private static final int[] SIZES = {10, 100, 1000000}; private static final int MAX_FAILED_LOOKUPS = 1000; private static final int NUM_NEGATIVE_LOOKUPS = 100; @@ -67,8 +66,7 @@ private void randomizedTestRunner( region, startRow, endRow, sortColumn, - new Byte[] { value } - )) { + new Byte[] {value})) { if (startRow <= ii && ii <= endRow) { Assert.assertTrue("Expected to find " + value + " at index " + ii, valuesFound.containsRange(ii, ii)); @@ -96,8 +94,7 @@ private void randomizedTestRunner( region, startRow, endRow, sortColumn, - new Byte[] { value } - )) { + new Byte[] {value})) { Assert.assertTrue(valuesFound.isEmpty()); } } @@ -119,6 +116,7 @@ public void testRandomizedDataFullRange() { randomizedTestRunner(size, 0, i -> 0, i -> size); } } + @Test public void testRowIsAboveRange() { for (int size : SIZES) { @@ -174,6 +172,7 @@ public void testInvertedRandomizedDataFullRange() { invertedRandomizedTestRunner(size, 0, i -> 0, i -> size); } } + @Test public void testInvertedRowIsAboveRange() { for (int size : SIZES) { @@ -224,22 +223,24 @@ public void testInvertedRowIsRange() { } private static final int PAGE_SIZE = 1 << 16; + private static ColumnRegionByte makeColumnRegionByte(@NotNull final List values) { return new AppendOnlyFixedSizePageRegionByte<>( RegionedColumnSource.ROW_KEY_TO_SUB_REGION_ROW_INDEX_MASK, PAGE_SIZE, new AppendOnlyRegionAccessor<>() { - @Override - public void readChunkPage(long firstRowPosition, int minimumSize, @NotNull WritableChunk destination) { - int finalSize = (int) Math.min(minimumSize, values.size() - firstRowPosition); - destination.setSize(finalSize); - for (int ii = 0; ii < finalSize; ++ii) { - destination.asWritableByteChunk().set(ii, values.get((int) firstRowPosition + ii)); - } - } - - @Override - public long size() { - return values.size(); - } - }); + @Override + public void readChunkPage(long firstRowPosition, int minimumSize, + @NotNull WritableChunk destination) { + int finalSize = (int) Math.min(minimumSize, values.size() - firstRowPosition); + destination.setSize(finalSize); + for (int ii = 0; ii < finalSize; ++ii) { + destination.asWritableByteChunk().set(ii, values.get((int) firstRowPosition + ii)); + } + } + + @Override + public long size() { + return values.size(); + } + }); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/CharRegionBinarySearchKernelTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/CharRegionBinarySearchKernelTest.java index 27d7d8777b3..169261c27b9 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/CharRegionBinarySearchKernelTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/CharRegionBinarySearchKernelTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.regioned.kernel; import io.deephaven.api.ColumnName; @@ -30,7 +30,7 @@ @Category(ParallelTest.class) public class CharRegionBinarySearchKernelTest { - private static final int[] SIZES = { 10, 100, 1000000 }; + private static final int[] SIZES = {10, 100, 1000000}; private static final int MAX_FAILED_LOOKUPS = 1000; private static final int NUM_NEGATIVE_LOOKUPS = 100; @@ -62,8 +62,7 @@ private void randomizedTestRunner( region, startRow, endRow, sortColumn, - new Character[] { value } - )) { + new Character[] {value})) { if (startRow <= ii && ii <= endRow) { Assert.assertTrue("Expected to find " + value + " at index " + ii, valuesFound.containsRange(ii, ii)); @@ -91,8 +90,7 @@ private void randomizedTestRunner( region, startRow, endRow, sortColumn, - new Character[] { value } - )) { + new Character[] {value})) { Assert.assertTrue(valuesFound.isEmpty()); } } @@ -114,6 +112,7 @@ public void testRandomizedDataFullRange() { randomizedTestRunner(size, 0, i -> 0, i -> size); } } + @Test public void testRowIsAboveRange() { for (int size : SIZES) { @@ -169,6 +168,7 @@ public void testInvertedRandomizedDataFullRange() { invertedRandomizedTestRunner(size, 0, i -> 0, i -> size); } } + @Test public void testInvertedRowIsAboveRange() { for (int size : SIZES) { @@ -219,22 +219,24 @@ public void testInvertedRowIsRange() { } private static final int PAGE_SIZE = 1 << 16; + private static ColumnRegionChar makeColumnRegionChar(@NotNull final List values) { return new AppendOnlyFixedSizePageRegionChar<>( RegionedColumnSource.ROW_KEY_TO_SUB_REGION_ROW_INDEX_MASK, PAGE_SIZE, new AppendOnlyRegionAccessor<>() { - @Override - public void readChunkPage(long firstRowPosition, int minimumSize, @NotNull WritableChunk destination) { - int finalSize = (int) Math.min(minimumSize, values.size() - firstRowPosition); - destination.setSize(finalSize); - for (int ii = 0; ii < finalSize; ++ii) { - destination.asWritableCharChunk().set(ii, values.get((int) firstRowPosition + ii)); - } - } - - @Override - public long size() { - return values.size(); - } - }); + @Override + public void readChunkPage(long firstRowPosition, int minimumSize, + @NotNull WritableChunk destination) { + int finalSize = (int) Math.min(minimumSize, values.size() - firstRowPosition); + destination.setSize(finalSize); + for (int ii = 0; ii < finalSize; ++ii) { + destination.asWritableCharChunk().set(ii, values.get((int) firstRowPosition + ii)); + } + } + + @Override + public long size() { + return values.size(); + } + }); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/DoubleRegionBinarySearchKernelTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/DoubleRegionBinarySearchKernelTest.java index b39b60d7e88..8bbb77be6be 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/DoubleRegionBinarySearchKernelTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/DoubleRegionBinarySearchKernelTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRegionBinarySearchKernelTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRegionBinarySearchKernelTest and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned.kernel; import io.deephaven.api.ColumnName; @@ -35,7 +34,7 @@ @Category(ParallelTest.class) public class DoubleRegionBinarySearchKernelTest { - private static final int[] SIZES = { 10, 100, 1000000 }; + private static final int[] SIZES = {10, 100, 1000000}; private static final int MAX_FAILED_LOOKUPS = 1000; private static final int NUM_NEGATIVE_LOOKUPS = 100; @@ -67,8 +66,7 @@ private void randomizedTestRunner( region, startRow, endRow, sortColumn, - new Double[] { value } - )) { + new Double[] {value})) { if (startRow <= ii && ii <= endRow) { Assert.assertTrue("Expected to find " + value + " at index " + ii, valuesFound.containsRange(ii, ii)); @@ -96,8 +94,7 @@ private void randomizedTestRunner( region, startRow, endRow, sortColumn, - new Double[] { value } - )) { + new Double[] {value})) { Assert.assertTrue(valuesFound.isEmpty()); } } @@ -119,6 +116,7 @@ public void testRandomizedDataFullRange() { randomizedTestRunner(size, 0, i -> 0, i -> size); } } + @Test public void testRowIsAboveRange() { for (int size : SIZES) { @@ -174,6 +172,7 @@ public void testInvertedRandomizedDataFullRange() { invertedRandomizedTestRunner(size, 0, i -> 0, i -> size); } } + @Test public void testInvertedRowIsAboveRange() { for (int size : SIZES) { @@ -224,22 +223,24 @@ public void testInvertedRowIsRange() { } private static final int PAGE_SIZE = 1 << 16; + private static ColumnRegionDouble makeColumnRegionDouble(@NotNull final List values) { return new AppendOnlyFixedSizePageRegionDouble<>( RegionedColumnSource.ROW_KEY_TO_SUB_REGION_ROW_INDEX_MASK, PAGE_SIZE, new AppendOnlyRegionAccessor<>() { - @Override - public void readChunkPage(long firstRowPosition, int minimumSize, @NotNull WritableChunk destination) { - int finalSize = (int) Math.min(minimumSize, values.size() - firstRowPosition); - destination.setSize(finalSize); - for (int ii = 0; ii < finalSize; ++ii) { - destination.asWritableDoubleChunk().set(ii, values.get((int) firstRowPosition + ii)); - } - } - - @Override - public long size() { - return values.size(); - } - }); + @Override + public void readChunkPage(long firstRowPosition, int minimumSize, + @NotNull WritableChunk destination) { + int finalSize = (int) Math.min(minimumSize, values.size() - firstRowPosition); + destination.setSize(finalSize); + for (int ii = 0; ii < finalSize; ++ii) { + destination.asWritableDoubleChunk().set(ii, values.get((int) firstRowPosition + ii)); + } + } + + @Override + public long size() { + return values.size(); + } + }); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/FloatRegionBinarySearchKernelTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/FloatRegionBinarySearchKernelTest.java index 446a53c7dac..3ea9c12e6fa 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/FloatRegionBinarySearchKernelTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/FloatRegionBinarySearchKernelTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRegionBinarySearchKernelTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRegionBinarySearchKernelTest and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned.kernel; import io.deephaven.api.ColumnName; @@ -35,7 +34,7 @@ @Category(ParallelTest.class) public class FloatRegionBinarySearchKernelTest { - private static final int[] SIZES = { 10, 100, 1000000 }; + private static final int[] SIZES = {10, 100, 1000000}; private static final int MAX_FAILED_LOOKUPS = 1000; private static final int NUM_NEGATIVE_LOOKUPS = 100; @@ -67,8 +66,7 @@ private void randomizedTestRunner( region, startRow, endRow, sortColumn, - new Float[] { value } - )) { + new Float[] {value})) { if (startRow <= ii && ii <= endRow) { Assert.assertTrue("Expected to find " + value + " at index " + ii, valuesFound.containsRange(ii, ii)); @@ -96,8 +94,7 @@ private void randomizedTestRunner( region, startRow, endRow, sortColumn, - new Float[] { value } - )) { + new Float[] {value})) { Assert.assertTrue(valuesFound.isEmpty()); } } @@ -119,6 +116,7 @@ public void testRandomizedDataFullRange() { randomizedTestRunner(size, 0, i -> 0, i -> size); } } + @Test public void testRowIsAboveRange() { for (int size : SIZES) { @@ -174,6 +172,7 @@ public void testInvertedRandomizedDataFullRange() { invertedRandomizedTestRunner(size, 0, i -> 0, i -> size); } } + @Test public void testInvertedRowIsAboveRange() { for (int size : SIZES) { @@ -224,22 +223,24 @@ public void testInvertedRowIsRange() { } private static final int PAGE_SIZE = 1 << 16; + private static ColumnRegionFloat makeColumnRegionFloat(@NotNull final List values) { return new AppendOnlyFixedSizePageRegionFloat<>( RegionedColumnSource.ROW_KEY_TO_SUB_REGION_ROW_INDEX_MASK, PAGE_SIZE, new AppendOnlyRegionAccessor<>() { - @Override - public void readChunkPage(long firstRowPosition, int minimumSize, @NotNull WritableChunk destination) { - int finalSize = (int) Math.min(minimumSize, values.size() - firstRowPosition); - destination.setSize(finalSize); - for (int ii = 0; ii < finalSize; ++ii) { - destination.asWritableFloatChunk().set(ii, values.get((int) firstRowPosition + ii)); - } - } - - @Override - public long size() { - return values.size(); - } - }); + @Override + public void readChunkPage(long firstRowPosition, int minimumSize, + @NotNull WritableChunk destination) { + int finalSize = (int) Math.min(minimumSize, values.size() - firstRowPosition); + destination.setSize(finalSize); + for (int ii = 0; ii < finalSize; ++ii) { + destination.asWritableFloatChunk().set(ii, values.get((int) firstRowPosition + ii)); + } + } + + @Override + public long size() { + return values.size(); + } + }); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/IntRegionBinarySearchKernelTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/IntRegionBinarySearchKernelTest.java index 2b40a9c9f89..f51e98dbc1b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/IntRegionBinarySearchKernelTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/IntRegionBinarySearchKernelTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRegionBinarySearchKernelTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRegionBinarySearchKernelTest and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned.kernel; import io.deephaven.api.ColumnName; @@ -35,7 +34,7 @@ @Category(ParallelTest.class) public class IntRegionBinarySearchKernelTest { - private static final int[] SIZES = { 10, 100, 1000000 }; + private static final int[] SIZES = {10, 100, 1000000}; private static final int MAX_FAILED_LOOKUPS = 1000; private static final int NUM_NEGATIVE_LOOKUPS = 100; @@ -67,8 +66,7 @@ private void randomizedTestRunner( region, startRow, endRow, sortColumn, - new Integer[] { value } - )) { + new Integer[] {value})) { if (startRow <= ii && ii <= endRow) { Assert.assertTrue("Expected to find " + value + " at index " + ii, valuesFound.containsRange(ii, ii)); @@ -96,8 +94,7 @@ private void randomizedTestRunner( region, startRow, endRow, sortColumn, - new Integer[] { value } - )) { + new Integer[] {value})) { Assert.assertTrue(valuesFound.isEmpty()); } } @@ -119,6 +116,7 @@ public void testRandomizedDataFullRange() { randomizedTestRunner(size, 0, i -> 0, i -> size); } } + @Test public void testRowIsAboveRange() { for (int size : SIZES) { @@ -174,6 +172,7 @@ public void testInvertedRandomizedDataFullRange() { invertedRandomizedTestRunner(size, 0, i -> 0, i -> size); } } + @Test public void testInvertedRowIsAboveRange() { for (int size : SIZES) { @@ -224,22 +223,24 @@ public void testInvertedRowIsRange() { } private static final int PAGE_SIZE = 1 << 16; + private static ColumnRegionInt makeColumnRegionInt(@NotNull final List values) { return new AppendOnlyFixedSizePageRegionInt<>( RegionedColumnSource.ROW_KEY_TO_SUB_REGION_ROW_INDEX_MASK, PAGE_SIZE, new AppendOnlyRegionAccessor<>() { - @Override - public void readChunkPage(long firstRowPosition, int minimumSize, @NotNull WritableChunk destination) { - int finalSize = (int) Math.min(minimumSize, values.size() - firstRowPosition); - destination.setSize(finalSize); - for (int ii = 0; ii < finalSize; ++ii) { - destination.asWritableIntChunk().set(ii, values.get((int) firstRowPosition + ii)); - } - } - - @Override - public long size() { - return values.size(); - } - }); + @Override + public void readChunkPage(long firstRowPosition, int minimumSize, + @NotNull WritableChunk destination) { + int finalSize = (int) Math.min(minimumSize, values.size() - firstRowPosition); + destination.setSize(finalSize); + for (int ii = 0; ii < finalSize; ++ii) { + destination.asWritableIntChunk().set(ii, values.get((int) firstRowPosition + ii)); + } + } + + @Override + public long size() { + return values.size(); + } + }); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/LongRegionBinarySearchKernelTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/LongRegionBinarySearchKernelTest.java index 12dcaac307a..e664c6980e0 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/LongRegionBinarySearchKernelTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/LongRegionBinarySearchKernelTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRegionBinarySearchKernelTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRegionBinarySearchKernelTest and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned.kernel; import io.deephaven.api.ColumnName; @@ -35,7 +34,7 @@ @Category(ParallelTest.class) public class LongRegionBinarySearchKernelTest { - private static final int[] SIZES = { 10, 100, 1000000 }; + private static final int[] SIZES = {10, 100, 1000000}; private static final int MAX_FAILED_LOOKUPS = 1000; private static final int NUM_NEGATIVE_LOOKUPS = 100; @@ -67,8 +66,7 @@ private void randomizedTestRunner( region, startRow, endRow, sortColumn, - new Long[] { value } - )) { + new Long[] {value})) { if (startRow <= ii && ii <= endRow) { Assert.assertTrue("Expected to find " + value + " at index " + ii, valuesFound.containsRange(ii, ii)); @@ -96,8 +94,7 @@ private void randomizedTestRunner( region, startRow, endRow, sortColumn, - new Long[] { value } - )) { + new Long[] {value})) { Assert.assertTrue(valuesFound.isEmpty()); } } @@ -119,6 +116,7 @@ public void testRandomizedDataFullRange() { randomizedTestRunner(size, 0, i -> 0, i -> size); } } + @Test public void testRowIsAboveRange() { for (int size : SIZES) { @@ -174,6 +172,7 @@ public void testInvertedRandomizedDataFullRange() { invertedRandomizedTestRunner(size, 0, i -> 0, i -> size); } } + @Test public void testInvertedRowIsAboveRange() { for (int size : SIZES) { @@ -224,22 +223,24 @@ public void testInvertedRowIsRange() { } private static final int PAGE_SIZE = 1 << 16; + private static ColumnRegionLong makeColumnRegionLong(@NotNull final List values) { return new AppendOnlyFixedSizePageRegionLong<>( RegionedColumnSource.ROW_KEY_TO_SUB_REGION_ROW_INDEX_MASK, PAGE_SIZE, new AppendOnlyRegionAccessor<>() { - @Override - public void readChunkPage(long firstRowPosition, int minimumSize, @NotNull WritableChunk destination) { - int finalSize = (int) Math.min(minimumSize, values.size() - firstRowPosition); - destination.setSize(finalSize); - for (int ii = 0; ii < finalSize; ++ii) { - destination.asWritableLongChunk().set(ii, values.get((int) firstRowPosition + ii)); - } - } - - @Override - public long size() { - return values.size(); - } - }); + @Override + public void readChunkPage(long firstRowPosition, int minimumSize, + @NotNull WritableChunk destination) { + int finalSize = (int) Math.min(minimumSize, values.size() - firstRowPosition); + destination.setSize(finalSize); + for (int ii = 0; ii < finalSize; ++ii) { + destination.asWritableLongChunk().set(ii, values.get((int) firstRowPosition + ii)); + } + } + + @Override + public long size() { + return values.size(); + } + }); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ShortRegionBinarySearchKernelTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ShortRegionBinarySearchKernelTest.java index c54e715d24a..90c3ff1c0c6 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ShortRegionBinarySearchKernelTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/regioned/kernel/ShortRegionBinarySearchKernelTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharRegionBinarySearchKernelTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharRegionBinarySearchKernelTest and run "./gradlew replicateRegionAndRegionedSourceTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.sources.regioned.kernel; import io.deephaven.api.ColumnName; @@ -35,7 +34,7 @@ @Category(ParallelTest.class) public class ShortRegionBinarySearchKernelTest { - private static final int[] SIZES = { 10, 100, 1000000 }; + private static final int[] SIZES = {10, 100, 1000000}; private static final int MAX_FAILED_LOOKUPS = 1000; private static final int NUM_NEGATIVE_LOOKUPS = 100; @@ -67,8 +66,7 @@ private void randomizedTestRunner( region, startRow, endRow, sortColumn, - new Short[] { value } - )) { + new Short[] {value})) { if (startRow <= ii && ii <= endRow) { Assert.assertTrue("Expected to find " + value + " at index " + ii, valuesFound.containsRange(ii, ii)); @@ -96,8 +94,7 @@ private void randomizedTestRunner( region, startRow, endRow, sortColumn, - new Short[] { value } - )) { + new Short[] {value})) { Assert.assertTrue(valuesFound.isEmpty()); } } @@ -119,6 +116,7 @@ public void testRandomizedDataFullRange() { randomizedTestRunner(size, 0, i -> 0, i -> size); } } + @Test public void testRowIsAboveRange() { for (int size : SIZES) { @@ -174,6 +172,7 @@ public void testInvertedRandomizedDataFullRange() { invertedRandomizedTestRunner(size, 0, i -> 0, i -> size); } } + @Test public void testInvertedRowIsAboveRange() { for (int size : SIZES) { @@ -224,22 +223,24 @@ public void testInvertedRowIsRange() { } private static final int PAGE_SIZE = 1 << 16; + private static ColumnRegionShort makeColumnRegionShort(@NotNull final List values) { return new AppendOnlyFixedSizePageRegionShort<>( RegionedColumnSource.ROW_KEY_TO_SUB_REGION_ROW_INDEX_MASK, PAGE_SIZE, new AppendOnlyRegionAccessor<>() { - @Override - public void readChunkPage(long firstRowPosition, int minimumSize, @NotNull WritableChunk destination) { - int finalSize = (int) Math.min(minimumSize, values.size() - firstRowPosition); - destination.setSize(finalSize); - for (int ii = 0; ii < finalSize; ++ii) { - destination.asWritableShortChunk().set(ii, values.get((int) firstRowPosition + ii)); - } - } - - @Override - public long size() { - return values.size(); - } - }); + @Override + public void readChunkPage(long firstRowPosition, int minimumSize, + @NotNull WritableChunk destination) { + int finalSize = (int) Math.min(minimumSize, values.size() - firstRowPosition); + destination.setSize(finalSize); + for (int ii = 0; ii < finalSize; ++ii) { + destination.asWritableShortChunk().set(ii, values.get((int) firstRowPosition + ii)); + } + } + + @Override + public long size() { + return values.size(); + } + }); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/ring/DoubleRingChunkSourceTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/ring/DoubleRingChunkSourceTest.java index a16712343f7..d37072a1c32 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/ring/DoubleRingChunkSourceTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/ring/DoubleRingChunkSourceTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.ring; import io.deephaven.engine.rowset.RowSetFactory; @@ -16,7 +16,7 @@ public class DoubleRingChunkSourceTest extends RingChunkSourceTestBase { DATA = new DoubleArraySource(); DATA.ensureCapacity(1024); for (int i = 0; i < 1024; ++i) { - DATA.set(i, (double)i); + DATA.set(i, (double) i); } } @@ -54,7 +54,7 @@ public void checkValues(DoubleRingChunkSource source, long expectedFirst, int ex checkRange(source, expectedFirst, expectedSize); for (long i = 0; i < expectedSize; ++i) { final long key = expectedFirst + i; - assertThat(source.getDouble(key)).isEqualTo((double)key); + assertThat(source.getDouble(key)).isEqualTo((double) key); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/ring/RingChunkSourceTestBase.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/ring/RingChunkSourceTestBase.java index cd06080f279..d48b340c2f9 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/ring/RingChunkSourceTestBase.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/ring/RingChunkSourceTestBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.ring; import static org.assertj.core.api.Assertions.assertThat; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/ring/RingTableToolsTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/ring/RingTableToolsTest.java index bfe738a1419..f4cc5d2f329 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/ring/RingTableToolsTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/sources/ring/RingTableToolsTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.sources.ring; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/SsaTestHelpers.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/SsaTestHelpers.java index 7b76776bbf6..caa60fa589a 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/SsaTestHelpers.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/SsaTestHelpers.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssa; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestByteSegmentedSortedArray.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestByteSegmentedSortedArray.java index 2847b2c879f..a8cae58226d 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestByteSegmentedSortedArray.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestByteSegmentedSortedArray.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArrayTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.AssertionFailure; @@ -77,10 +76,10 @@ public void testShifts() { final int[] tableSizes; if (SHORT_TESTS) { nSeeds = 5; - tableSizes = new int[]{ 100, 1_000 }; + tableSizes = new int[] {100, 1_000}; } else { nSeeds = 20; - tableSizes = new int[]{ 10, 100, 1_000, 10_000 }; + tableSizes = new int[] {10, 100, 1_000, 10_000}; } for (int seed = 0; seed < nSeeds; ++seed) { for (final int tableSize : tableSizes) { @@ -94,7 +93,7 @@ public void testShifts() { private void testShifts(@NotNull final SsaTestHelpers.TestDescriptor desc) { final Random random = new Random(desc.seed()); final ColumnInfo[] columnInfo; - final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[]{"Value"}, + final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[] {"Value"}, SsaTestHelpers.getGeneratorForByte())); final Table asByte = SsaTestHelpers.prepareTestTableForByte(table); @@ -106,93 +105,112 @@ private void testShifts(@NotNull final SsaTestHelpers.TestDescriptor desc) { checkSsaInitial(asByte, ssa, valueSource, desc); try (final SafeCloseable ignored = LivenessScopeStack.open(new LivenessScope(true), true)) { - final TableUpdateListener asByteListener = new InstrumentedTableUpdateListenerAdapter(asByte, false) { - @Override - public void onUpdate(TableUpdate upstream) { - try (final ColumnSource.GetContext checkContext = valueSource.makeGetContext(asByte.getRowSet().intSizePrev()); - final RowSet relevantIndices = asByte.getRowSet().copyPrev()) { - checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asByteChunk(), relevantIndices.asRowKeyChunk(), desc); - } - - final int size = Math.max(upstream.modified().intSize() + Math.max(upstream.added().intSize(), upstream.removed().intSize()), (int) upstream.shifted().getEffectiveSize()); - try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(size); - final RowSet takeout = upstream.removed().union(upstream.getModifiedPreShift())) { - ssa.validate(); - - if (takeout.isNonempty()) { - final ByteChunk valuesToRemove = valueSource.getPrevChunk(getContext, takeout).asByteChunk(); - ssa.remove(valuesToRemove, takeout.asRowKeyChunk()); - } - - ssa.validate(); + final TableUpdateListener asByteListener = + new InstrumentedTableUpdateListenerAdapter(asByte, false) { + @Override + public void onUpdate(TableUpdate upstream) { + try (final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(asByte.getRowSet().intSizePrev()); + final RowSet relevantIndices = asByte.getRowSet().copyPrev()) { + checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asByteChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - try (final RowSet prevRowSet = asByte.getRowSet().copyPrev(); - final ColumnSource.GetContext checkContext = valueSource.makeGetContext(prevRowSet.intSize()); - final RowSet relevantIndices = prevRowSet.minus(takeout)) { - checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asByteChunk(), relevantIndices.asRowKeyChunk(), desc); - } + final int size = Math.max( + upstream.modified().intSize() + + Math.max(upstream.added().intSize(), upstream.removed().intSize()), + (int) upstream.shifted().getEffectiveSize()); + try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(size); + final RowSet takeout = upstream.removed().union(upstream.getModifiedPreShift())) { + ssa.validate(); + + if (takeout.isNonempty()) { + final ByteChunk valuesToRemove = + valueSource.getPrevChunk(getContext, takeout).asByteChunk(); + ssa.remove(valuesToRemove, takeout.asRowKeyChunk()); + } - if (upstream.shifted().nonempty()) { - final RowSetShiftData.Iterator sit = upstream.shifted().applyIterator(); - while (sit.hasNext()) { - sit.next(); - try (final RowSet prevRowSet = table.getRowSet().copyPrev(); - final RowSet subRowSet = prevRowSet.subSetByKeyRange(sit.beginRange(), sit.endRange()); - final RowSet withoutMods = subRowSet.minus(upstream.getModifiedPreShift()); - final RowSet rowSetToShift = withoutMods.minus(upstream.removed())) { - if (rowSetToShift.isEmpty()) { - continue; - } + ssa.validate(); - final ByteChunk shiftValues = valueSource.getPrevChunk(getContext, rowSetToShift).asByteChunk(); + try (final RowSet prevRowSet = asByte.getRowSet().copyPrev(); + final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(prevRowSet.intSize()); + final RowSet relevantIndices = prevRowSet.minus(takeout)) { + checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asByteChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - if (sit.polarityReversed()) { - ssa.applyShiftReverse(shiftValues, rowSetToShift.asRowKeyChunk(), sit.shiftDelta()); - } else { - ssa.applyShift(shiftValues, rowSetToShift.asRowKeyChunk(), sit.shiftDelta()); + if (upstream.shifted().nonempty()) { + final RowSetShiftData.Iterator sit = upstream.shifted().applyIterator(); + while (sit.hasNext()) { + sit.next(); + try (final RowSet prevRowSet = table.getRowSet().copyPrev(); + final RowSet subRowSet = + prevRowSet.subSetByKeyRange(sit.beginRange(), sit.endRange()); + final RowSet withoutMods = + subRowSet.minus(upstream.getModifiedPreShift()); + final RowSet rowSetToShift = withoutMods.minus(upstream.removed())) { + if (rowSetToShift.isEmpty()) { + continue; + } + + final ByteChunk shiftValues = + valueSource.getPrevChunk(getContext, rowSetToShift).asByteChunk(); + + if (sit.polarityReversed()) { + ssa.applyShiftReverse(shiftValues, rowSetToShift.asRowKeyChunk(), + sit.shiftDelta()); + } else { + ssa.applyShift(shiftValues, rowSetToShift.asRowKeyChunk(), + sit.shiftDelta()); + } + } } } - } - } - ssa.validate(); + ssa.validate(); - try (final RowSet putin = upstream.added().union(upstream.modified())) { + try (final RowSet putin = upstream.added().union(upstream.modified())) { - try (final ColumnSource.GetContext checkContext = valueSource.makeGetContext(asByte.intSize()); - final RowSet relevantIndices = asByte.getRowSet().minus(putin)) { - checkSsa(ssa, valueSource.getChunk(checkContext, relevantIndices).asByteChunk(), relevantIndices.asRowKeyChunk(), desc); - } + try (final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(asByte.intSize()); + final RowSet relevantIndices = asByte.getRowSet().minus(putin)) { + checkSsa(ssa, valueSource.getChunk(checkContext, relevantIndices).asByteChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - if (putin.isNonempty()) { - final ByteChunk valuesToInsert = valueSource.getChunk(getContext, putin).asByteChunk(); - ssa.insert(valuesToInsert, putin.asRowKeyChunk()); + if (putin.isNonempty()) { + final ByteChunk valuesToInsert = + valueSource.getChunk(getContext, putin).asByteChunk(); + ssa.insert(valuesToInsert, putin.asRowKeyChunk()); + } + } + + ssa.validate(); } } - - ssa.validate(); - } - } - }; + }; asByte.addUpdateListener(asByteListener); final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast(); while (desc.advance(50)) { - updateGraph.runWithinUnitTestCycle(() -> - GenerateTableUpdates.generateShiftAwareTableUpdates(GenerateTableUpdates.DEFAULT_PROFILE, desc.tableSize(), random, table, columnInfo)); + updateGraph.runWithinUnitTestCycle(() -> GenerateTableUpdates.generateShiftAwareTableUpdates( + GenerateTableUpdates.DEFAULT_PROFILE, desc.tableSize(), random, table, columnInfo)); try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asByte.intSize()); final RowSet asByteRowSetCopy = asByte.getRowSet().copy()) { - checkSsa(ssa, valueSource.getChunk(getContext, asByteRowSetCopy).asByteChunk(), asByteRowSetCopy.asRowKeyChunk(), desc); + checkSsa(ssa, valueSource.getChunk(getContext, asByteRowSetCopy).asByteChunk(), + asByteRowSetCopy.asRowKeyChunk(), desc); } } } } - private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, boolean allowAddition, boolean allowRemoval) { + private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, boolean allowAddition, + boolean allowRemoval) { final Random random = new Random(desc.seed()); final ColumnInfo[] columnInfo; - final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[]{"Value"}, + final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[] {"Value"}, SsaTestHelpers.getGeneratorForByte())); final Table asByte = SsaTestHelpers.prepareTestTableForByte(table); @@ -204,33 +222,39 @@ private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, bool checkSsaInitial(asByte, ssa, valueSource, desc); try (final SafeCloseable ignored = LivenessScopeStack.open(new LivenessScope(true), true)) { - final ShiftObliviousListener asByteListener = new ShiftObliviousInstrumentedListenerAdapter(asByte, false) { - @Override - public void onUpdate(RowSet added, RowSet removed, RowSet modified) { - try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(Math.max(added.intSize(), removed.intSize()))) { - if (removed.isNonempty()) { - final ByteChunk valuesToRemove = valueSource.getPrevChunk(getContext, removed).asByteChunk(); - ssa.remove(valuesToRemove, removed.asRowKeyChunk()); - } - if (added.isNonempty()) { - ssa.insert(valueSource.getChunk(getContext, added).asByteChunk(), added.asRowKeyChunk()); + final ShiftObliviousListener asByteListener = + new ShiftObliviousInstrumentedListenerAdapter(asByte, false) { + @Override + public void onUpdate(RowSet added, RowSet removed, RowSet modified) { + try (final ColumnSource.GetContext getContext = + valueSource.makeGetContext(Math.max(added.intSize(), removed.intSize()))) { + if (removed.isNonempty()) { + final ByteChunk valuesToRemove = + valueSource.getPrevChunk(getContext, removed).asByteChunk(); + ssa.remove(valuesToRemove, removed.asRowKeyChunk()); + } + if (added.isNonempty()) { + ssa.insert(valueSource.getChunk(getContext, added).asByteChunk(), + added.asRowKeyChunk()); + } + } } - } - } - }; + }; asByte.addUpdateListener(asByteListener); final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast(); while (desc.advance(50)) { updateGraph.runWithinUnitTestCycle(() -> { - final RowSet[] notify = GenerateTableUpdates.computeTableUpdates(desc.tableSize(), random, table, columnInfo, allowAddition, allowRemoval, false); + final RowSet[] notify = GenerateTableUpdates.computeTableUpdates(desc.tableSize(), random, table, + columnInfo, allowAddition, allowRemoval, false); assertTrue(notify[2].isEmpty()); table.notifyListeners(notify[0], notify[1], notify[2]); }); try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asByte.intSize()); - final RowSet asByteRowSetCopy = asByte.getRowSet().copy()) { - checkSsa(ssa, valueSource.getChunk(getContext, asByteRowSetCopy).asByteChunk(), asByteRowSetCopy.asRowKeyChunk(), desc); + final RowSet asByteRowSetCopy = asByte.getRowSet().copy()) { + checkSsa(ssa, valueSource.getChunk(getContext, asByteRowSetCopy).asByteChunk(), + asByteRowSetCopy.asRowKeyChunk(), desc); } if (!allowAddition && table.size() == 0) { @@ -240,10 +264,12 @@ public void onUpdate(RowSet added, RowSet removed, RowSet modified) { } } - private void checkSsaInitial(Table asByte, ByteSegmentedSortedArray ssa, ColumnSource valueSource, @NotNull final SsaTestHelpers.TestDescriptor desc) { + private void checkSsaInitial(Table asByte, ByteSegmentedSortedArray ssa, ColumnSource valueSource, + @NotNull final SsaTestHelpers.TestDescriptor desc) { try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asByte.intSize()); - final RowSet asByteRowSetCopy = asByte.getRowSet().copy()) { - final ByteChunk valueChunk = valueSource.getChunk(getContext, asByteRowSetCopy).asByteChunk(); + final RowSet asByteRowSetCopy = asByte.getRowSet().copy()) { + final ByteChunk valueChunk = + valueSource.getChunk(getContext, asByteRowSetCopy).asByteChunk(); final LongChunk tableIndexChunk = asByteRowSetCopy.asRowKeyChunk(); ssa.insert(valueChunk, tableIndexChunk); @@ -252,7 +278,8 @@ private void checkSsaInitial(Table asByte, ByteSegmentedSortedArray ssa, ColumnS } } - private void checkSsa(ByteSegmentedSortedArray ssa, ByteChunk valueChunk, LongChunk tableIndexChunk, @NotNull final SsaTestHelpers.TestDescriptor desc) { + private void checkSsa(ByteSegmentedSortedArray ssa, ByteChunk valueChunk, + LongChunk tableIndexChunk, @NotNull final SsaTestHelpers.TestDescriptor desc) { try { ssa.validate(); ByteSsaChecker.checkSsa(ssa, valueChunk, tableIndexChunk); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestCharSegmentedSortedArray.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestCharSegmentedSortedArray.java index 7a525e0bb47..7aee1514577 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestCharSegmentedSortedArray.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestCharSegmentedSortedArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.AssertionFailure; @@ -72,10 +72,10 @@ public void testShifts() { final int[] tableSizes; if (SHORT_TESTS) { nSeeds = 5; - tableSizes = new int[]{ 100, 1_000 }; + tableSizes = new int[] {100, 1_000}; } else { nSeeds = 20; - tableSizes = new int[]{ 10, 100, 1_000, 10_000 }; + tableSizes = new int[] {10, 100, 1_000, 10_000}; } for (int seed = 0; seed < nSeeds; ++seed) { for (final int tableSize : tableSizes) { @@ -89,7 +89,7 @@ public void testShifts() { private void testShifts(@NotNull final SsaTestHelpers.TestDescriptor desc) { final Random random = new Random(desc.seed()); final ColumnInfo[] columnInfo; - final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[]{"Value"}, + final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[] {"Value"}, SsaTestHelpers.getGeneratorForChar())); final Table asCharacter = SsaTestHelpers.prepareTestTableForChar(table); @@ -101,93 +101,112 @@ private void testShifts(@NotNull final SsaTestHelpers.TestDescriptor desc) { checkSsaInitial(asCharacter, ssa, valueSource, desc); try (final SafeCloseable ignored = LivenessScopeStack.open(new LivenessScope(true), true)) { - final TableUpdateListener asCharacterListener = new InstrumentedTableUpdateListenerAdapter(asCharacter, false) { - @Override - public void onUpdate(TableUpdate upstream) { - try (final ColumnSource.GetContext checkContext = valueSource.makeGetContext(asCharacter.getRowSet().intSizePrev()); - final RowSet relevantIndices = asCharacter.getRowSet().copyPrev()) { - checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asCharChunk(), relevantIndices.asRowKeyChunk(), desc); - } - - final int size = Math.max(upstream.modified().intSize() + Math.max(upstream.added().intSize(), upstream.removed().intSize()), (int) upstream.shifted().getEffectiveSize()); - try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(size); - final RowSet takeout = upstream.removed().union(upstream.getModifiedPreShift())) { - ssa.validate(); - - if (takeout.isNonempty()) { - final CharChunk valuesToRemove = valueSource.getPrevChunk(getContext, takeout).asCharChunk(); - ssa.remove(valuesToRemove, takeout.asRowKeyChunk()); - } - - ssa.validate(); + final TableUpdateListener asCharacterListener = + new InstrumentedTableUpdateListenerAdapter(asCharacter, false) { + @Override + public void onUpdate(TableUpdate upstream) { + try (final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(asCharacter.getRowSet().intSizePrev()); + final RowSet relevantIndices = asCharacter.getRowSet().copyPrev()) { + checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asCharChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - try (final RowSet prevRowSet = asCharacter.getRowSet().copyPrev(); - final ColumnSource.GetContext checkContext = valueSource.makeGetContext(prevRowSet.intSize()); - final RowSet relevantIndices = prevRowSet.minus(takeout)) { - checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asCharChunk(), relevantIndices.asRowKeyChunk(), desc); - } + final int size = Math.max( + upstream.modified().intSize() + + Math.max(upstream.added().intSize(), upstream.removed().intSize()), + (int) upstream.shifted().getEffectiveSize()); + try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(size); + final RowSet takeout = upstream.removed().union(upstream.getModifiedPreShift())) { + ssa.validate(); + + if (takeout.isNonempty()) { + final CharChunk valuesToRemove = + valueSource.getPrevChunk(getContext, takeout).asCharChunk(); + ssa.remove(valuesToRemove, takeout.asRowKeyChunk()); + } - if (upstream.shifted().nonempty()) { - final RowSetShiftData.Iterator sit = upstream.shifted().applyIterator(); - while (sit.hasNext()) { - sit.next(); - try (final RowSet prevRowSet = table.getRowSet().copyPrev(); - final RowSet subRowSet = prevRowSet.subSetByKeyRange(sit.beginRange(), sit.endRange()); - final RowSet withoutMods = subRowSet.minus(upstream.getModifiedPreShift()); - final RowSet rowSetToShift = withoutMods.minus(upstream.removed())) { - if (rowSetToShift.isEmpty()) { - continue; - } + ssa.validate(); - final CharChunk shiftValues = valueSource.getPrevChunk(getContext, rowSetToShift).asCharChunk(); + try (final RowSet prevRowSet = asCharacter.getRowSet().copyPrev(); + final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(prevRowSet.intSize()); + final RowSet relevantIndices = prevRowSet.minus(takeout)) { + checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asCharChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - if (sit.polarityReversed()) { - ssa.applyShiftReverse(shiftValues, rowSetToShift.asRowKeyChunk(), sit.shiftDelta()); - } else { - ssa.applyShift(shiftValues, rowSetToShift.asRowKeyChunk(), sit.shiftDelta()); + if (upstream.shifted().nonempty()) { + final RowSetShiftData.Iterator sit = upstream.shifted().applyIterator(); + while (sit.hasNext()) { + sit.next(); + try (final RowSet prevRowSet = table.getRowSet().copyPrev(); + final RowSet subRowSet = + prevRowSet.subSetByKeyRange(sit.beginRange(), sit.endRange()); + final RowSet withoutMods = + subRowSet.minus(upstream.getModifiedPreShift()); + final RowSet rowSetToShift = withoutMods.minus(upstream.removed())) { + if (rowSetToShift.isEmpty()) { + continue; + } + + final CharChunk shiftValues = + valueSource.getPrevChunk(getContext, rowSetToShift).asCharChunk(); + + if (sit.polarityReversed()) { + ssa.applyShiftReverse(shiftValues, rowSetToShift.asRowKeyChunk(), + sit.shiftDelta()); + } else { + ssa.applyShift(shiftValues, rowSetToShift.asRowKeyChunk(), + sit.shiftDelta()); + } + } } } - } - } - ssa.validate(); + ssa.validate(); - try (final RowSet putin = upstream.added().union(upstream.modified())) { + try (final RowSet putin = upstream.added().union(upstream.modified())) { - try (final ColumnSource.GetContext checkContext = valueSource.makeGetContext(asCharacter.intSize()); - final RowSet relevantIndices = asCharacter.getRowSet().minus(putin)) { - checkSsa(ssa, valueSource.getChunk(checkContext, relevantIndices).asCharChunk(), relevantIndices.asRowKeyChunk(), desc); - } + try (final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(asCharacter.intSize()); + final RowSet relevantIndices = asCharacter.getRowSet().minus(putin)) { + checkSsa(ssa, valueSource.getChunk(checkContext, relevantIndices).asCharChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - if (putin.isNonempty()) { - final CharChunk valuesToInsert = valueSource.getChunk(getContext, putin).asCharChunk(); - ssa.insert(valuesToInsert, putin.asRowKeyChunk()); + if (putin.isNonempty()) { + final CharChunk valuesToInsert = + valueSource.getChunk(getContext, putin).asCharChunk(); + ssa.insert(valuesToInsert, putin.asRowKeyChunk()); + } + } + + ssa.validate(); } } - - ssa.validate(); - } - } - }; + }; asCharacter.addUpdateListener(asCharacterListener); final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast(); while (desc.advance(50)) { - updateGraph.runWithinUnitTestCycle(() -> - GenerateTableUpdates.generateShiftAwareTableUpdates(GenerateTableUpdates.DEFAULT_PROFILE, desc.tableSize(), random, table, columnInfo)); + updateGraph.runWithinUnitTestCycle(() -> GenerateTableUpdates.generateShiftAwareTableUpdates( + GenerateTableUpdates.DEFAULT_PROFILE, desc.tableSize(), random, table, columnInfo)); try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asCharacter.intSize()); final RowSet asCharRowSetCopy = asCharacter.getRowSet().copy()) { - checkSsa(ssa, valueSource.getChunk(getContext, asCharRowSetCopy).asCharChunk(), asCharRowSetCopy.asRowKeyChunk(), desc); + checkSsa(ssa, valueSource.getChunk(getContext, asCharRowSetCopy).asCharChunk(), + asCharRowSetCopy.asRowKeyChunk(), desc); } } } } - private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, boolean allowAddition, boolean allowRemoval) { + private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, boolean allowAddition, + boolean allowRemoval) { final Random random = new Random(desc.seed()); final ColumnInfo[] columnInfo; - final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[]{"Value"}, + final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[] {"Value"}, SsaTestHelpers.getGeneratorForChar())); final Table asCharacter = SsaTestHelpers.prepareTestTableForChar(table); @@ -199,33 +218,39 @@ private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, bool checkSsaInitial(asCharacter, ssa, valueSource, desc); try (final SafeCloseable ignored = LivenessScopeStack.open(new LivenessScope(true), true)) { - final ShiftObliviousListener asCharacterListener = new ShiftObliviousInstrumentedListenerAdapter(asCharacter, false) { - @Override - public void onUpdate(RowSet added, RowSet removed, RowSet modified) { - try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(Math.max(added.intSize(), removed.intSize()))) { - if (removed.isNonempty()) { - final CharChunk valuesToRemove = valueSource.getPrevChunk(getContext, removed).asCharChunk(); - ssa.remove(valuesToRemove, removed.asRowKeyChunk()); - } - if (added.isNonempty()) { - ssa.insert(valueSource.getChunk(getContext, added).asCharChunk(), added.asRowKeyChunk()); + final ShiftObliviousListener asCharacterListener = + new ShiftObliviousInstrumentedListenerAdapter(asCharacter, false) { + @Override + public void onUpdate(RowSet added, RowSet removed, RowSet modified) { + try (final ColumnSource.GetContext getContext = + valueSource.makeGetContext(Math.max(added.intSize(), removed.intSize()))) { + if (removed.isNonempty()) { + final CharChunk valuesToRemove = + valueSource.getPrevChunk(getContext, removed).asCharChunk(); + ssa.remove(valuesToRemove, removed.asRowKeyChunk()); + } + if (added.isNonempty()) { + ssa.insert(valueSource.getChunk(getContext, added).asCharChunk(), + added.asRowKeyChunk()); + } + } } - } - } - }; + }; asCharacter.addUpdateListener(asCharacterListener); final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast(); while (desc.advance(50)) { updateGraph.runWithinUnitTestCycle(() -> { - final RowSet[] notify = GenerateTableUpdates.computeTableUpdates(desc.tableSize(), random, table, columnInfo, allowAddition, allowRemoval, false); + final RowSet[] notify = GenerateTableUpdates.computeTableUpdates(desc.tableSize(), random, table, + columnInfo, allowAddition, allowRemoval, false); assertTrue(notify[2].isEmpty()); table.notifyListeners(notify[0], notify[1], notify[2]); }); try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asCharacter.intSize()); - final RowSet asCharRowSetCopy = asCharacter.getRowSet().copy()) { - checkSsa(ssa, valueSource.getChunk(getContext, asCharRowSetCopy).asCharChunk(), asCharRowSetCopy.asRowKeyChunk(), desc); + final RowSet asCharRowSetCopy = asCharacter.getRowSet().copy()) { + checkSsa(ssa, valueSource.getChunk(getContext, asCharRowSetCopy).asCharChunk(), + asCharRowSetCopy.asRowKeyChunk(), desc); } if (!allowAddition && table.size() == 0) { @@ -235,10 +260,12 @@ public void onUpdate(RowSet added, RowSet removed, RowSet modified) { } } - private void checkSsaInitial(Table asCharacter, CharSegmentedSortedArray ssa, ColumnSource valueSource, @NotNull final SsaTestHelpers.TestDescriptor desc) { + private void checkSsaInitial(Table asCharacter, CharSegmentedSortedArray ssa, ColumnSource valueSource, + @NotNull final SsaTestHelpers.TestDescriptor desc) { try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asCharacter.intSize()); - final RowSet asCharRowSetCopy = asCharacter.getRowSet().copy()) { - final CharChunk valueChunk = valueSource.getChunk(getContext, asCharRowSetCopy).asCharChunk(); + final RowSet asCharRowSetCopy = asCharacter.getRowSet().copy()) { + final CharChunk valueChunk = + valueSource.getChunk(getContext, asCharRowSetCopy).asCharChunk(); final LongChunk tableIndexChunk = asCharRowSetCopy.asRowKeyChunk(); ssa.insert(valueChunk, tableIndexChunk); @@ -247,7 +274,8 @@ private void checkSsaInitial(Table asCharacter, CharSegmentedSortedArray ssa, Co } } - private void checkSsa(CharSegmentedSortedArray ssa, CharChunk valueChunk, LongChunk tableIndexChunk, @NotNull final SsaTestHelpers.TestDescriptor desc) { + private void checkSsa(CharSegmentedSortedArray ssa, CharChunk valueChunk, + LongChunk tableIndexChunk, @NotNull final SsaTestHelpers.TestDescriptor desc) { try { ssa.validate(); CharSsaChecker.checkSsa(ssa, valueChunk, tableIndexChunk); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestDoubleSegmentedSortedArray.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestDoubleSegmentedSortedArray.java index c287db715e1..aa9904c69e1 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestDoubleSegmentedSortedArray.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestDoubleSegmentedSortedArray.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArrayTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.AssertionFailure; @@ -77,10 +76,10 @@ public void testShifts() { final int[] tableSizes; if (SHORT_TESTS) { nSeeds = 5; - tableSizes = new int[]{ 100, 1_000 }; + tableSizes = new int[] {100, 1_000}; } else { nSeeds = 20; - tableSizes = new int[]{ 10, 100, 1_000, 10_000 }; + tableSizes = new int[] {10, 100, 1_000, 10_000}; } for (int seed = 0; seed < nSeeds; ++seed) { for (final int tableSize : tableSizes) { @@ -94,7 +93,7 @@ public void testShifts() { private void testShifts(@NotNull final SsaTestHelpers.TestDescriptor desc) { final Random random = new Random(desc.seed()); final ColumnInfo[] columnInfo; - final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[]{"Value"}, + final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[] {"Value"}, SsaTestHelpers.getGeneratorForDouble())); final Table asDouble = SsaTestHelpers.prepareTestTableForDouble(table); @@ -106,93 +105,112 @@ private void testShifts(@NotNull final SsaTestHelpers.TestDescriptor desc) { checkSsaInitial(asDouble, ssa, valueSource, desc); try (final SafeCloseable ignored = LivenessScopeStack.open(new LivenessScope(true), true)) { - final TableUpdateListener asDoubleListener = new InstrumentedTableUpdateListenerAdapter(asDouble, false) { - @Override - public void onUpdate(TableUpdate upstream) { - try (final ColumnSource.GetContext checkContext = valueSource.makeGetContext(asDouble.getRowSet().intSizePrev()); - final RowSet relevantIndices = asDouble.getRowSet().copyPrev()) { - checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asDoubleChunk(), relevantIndices.asRowKeyChunk(), desc); - } - - final int size = Math.max(upstream.modified().intSize() + Math.max(upstream.added().intSize(), upstream.removed().intSize()), (int) upstream.shifted().getEffectiveSize()); - try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(size); - final RowSet takeout = upstream.removed().union(upstream.getModifiedPreShift())) { - ssa.validate(); - - if (takeout.isNonempty()) { - final DoubleChunk valuesToRemove = valueSource.getPrevChunk(getContext, takeout).asDoubleChunk(); - ssa.remove(valuesToRemove, takeout.asRowKeyChunk()); - } - - ssa.validate(); + final TableUpdateListener asDoubleListener = + new InstrumentedTableUpdateListenerAdapter(asDouble, false) { + @Override + public void onUpdate(TableUpdate upstream) { + try (final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(asDouble.getRowSet().intSizePrev()); + final RowSet relevantIndices = asDouble.getRowSet().copyPrev()) { + checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asDoubleChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - try (final RowSet prevRowSet = asDouble.getRowSet().copyPrev(); - final ColumnSource.GetContext checkContext = valueSource.makeGetContext(prevRowSet.intSize()); - final RowSet relevantIndices = prevRowSet.minus(takeout)) { - checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asDoubleChunk(), relevantIndices.asRowKeyChunk(), desc); - } + final int size = Math.max( + upstream.modified().intSize() + + Math.max(upstream.added().intSize(), upstream.removed().intSize()), + (int) upstream.shifted().getEffectiveSize()); + try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(size); + final RowSet takeout = upstream.removed().union(upstream.getModifiedPreShift())) { + ssa.validate(); + + if (takeout.isNonempty()) { + final DoubleChunk valuesToRemove = + valueSource.getPrevChunk(getContext, takeout).asDoubleChunk(); + ssa.remove(valuesToRemove, takeout.asRowKeyChunk()); + } - if (upstream.shifted().nonempty()) { - final RowSetShiftData.Iterator sit = upstream.shifted().applyIterator(); - while (sit.hasNext()) { - sit.next(); - try (final RowSet prevRowSet = table.getRowSet().copyPrev(); - final RowSet subRowSet = prevRowSet.subSetByKeyRange(sit.beginRange(), sit.endRange()); - final RowSet withoutMods = subRowSet.minus(upstream.getModifiedPreShift()); - final RowSet rowSetToShift = withoutMods.minus(upstream.removed())) { - if (rowSetToShift.isEmpty()) { - continue; - } + ssa.validate(); - final DoubleChunk shiftValues = valueSource.getPrevChunk(getContext, rowSetToShift).asDoubleChunk(); + try (final RowSet prevRowSet = asDouble.getRowSet().copyPrev(); + final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(prevRowSet.intSize()); + final RowSet relevantIndices = prevRowSet.minus(takeout)) { + checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asDoubleChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - if (sit.polarityReversed()) { - ssa.applyShiftReverse(shiftValues, rowSetToShift.asRowKeyChunk(), sit.shiftDelta()); - } else { - ssa.applyShift(shiftValues, rowSetToShift.asRowKeyChunk(), sit.shiftDelta()); + if (upstream.shifted().nonempty()) { + final RowSetShiftData.Iterator sit = upstream.shifted().applyIterator(); + while (sit.hasNext()) { + sit.next(); + try (final RowSet prevRowSet = table.getRowSet().copyPrev(); + final RowSet subRowSet = + prevRowSet.subSetByKeyRange(sit.beginRange(), sit.endRange()); + final RowSet withoutMods = + subRowSet.minus(upstream.getModifiedPreShift()); + final RowSet rowSetToShift = withoutMods.minus(upstream.removed())) { + if (rowSetToShift.isEmpty()) { + continue; + } + + final DoubleChunk shiftValues = + valueSource.getPrevChunk(getContext, rowSetToShift).asDoubleChunk(); + + if (sit.polarityReversed()) { + ssa.applyShiftReverse(shiftValues, rowSetToShift.asRowKeyChunk(), + sit.shiftDelta()); + } else { + ssa.applyShift(shiftValues, rowSetToShift.asRowKeyChunk(), + sit.shiftDelta()); + } + } } } - } - } - ssa.validate(); + ssa.validate(); - try (final RowSet putin = upstream.added().union(upstream.modified())) { + try (final RowSet putin = upstream.added().union(upstream.modified())) { - try (final ColumnSource.GetContext checkContext = valueSource.makeGetContext(asDouble.intSize()); - final RowSet relevantIndices = asDouble.getRowSet().minus(putin)) { - checkSsa(ssa, valueSource.getChunk(checkContext, relevantIndices).asDoubleChunk(), relevantIndices.asRowKeyChunk(), desc); - } + try (final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(asDouble.intSize()); + final RowSet relevantIndices = asDouble.getRowSet().minus(putin)) { + checkSsa(ssa, valueSource.getChunk(checkContext, relevantIndices).asDoubleChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - if (putin.isNonempty()) { - final DoubleChunk valuesToInsert = valueSource.getChunk(getContext, putin).asDoubleChunk(); - ssa.insert(valuesToInsert, putin.asRowKeyChunk()); + if (putin.isNonempty()) { + final DoubleChunk valuesToInsert = + valueSource.getChunk(getContext, putin).asDoubleChunk(); + ssa.insert(valuesToInsert, putin.asRowKeyChunk()); + } + } + + ssa.validate(); } } - - ssa.validate(); - } - } - }; + }; asDouble.addUpdateListener(asDoubleListener); final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast(); while (desc.advance(50)) { - updateGraph.runWithinUnitTestCycle(() -> - GenerateTableUpdates.generateShiftAwareTableUpdates(GenerateTableUpdates.DEFAULT_PROFILE, desc.tableSize(), random, table, columnInfo)); + updateGraph.runWithinUnitTestCycle(() -> GenerateTableUpdates.generateShiftAwareTableUpdates( + GenerateTableUpdates.DEFAULT_PROFILE, desc.tableSize(), random, table, columnInfo)); try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asDouble.intSize()); final RowSet asDoubleRowSetCopy = asDouble.getRowSet().copy()) { - checkSsa(ssa, valueSource.getChunk(getContext, asDoubleRowSetCopy).asDoubleChunk(), asDoubleRowSetCopy.asRowKeyChunk(), desc); + checkSsa(ssa, valueSource.getChunk(getContext, asDoubleRowSetCopy).asDoubleChunk(), + asDoubleRowSetCopy.asRowKeyChunk(), desc); } } } } - private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, boolean allowAddition, boolean allowRemoval) { + private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, boolean allowAddition, + boolean allowRemoval) { final Random random = new Random(desc.seed()); final ColumnInfo[] columnInfo; - final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[]{"Value"}, + final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[] {"Value"}, SsaTestHelpers.getGeneratorForDouble())); final Table asDouble = SsaTestHelpers.prepareTestTableForDouble(table); @@ -204,33 +222,39 @@ private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, bool checkSsaInitial(asDouble, ssa, valueSource, desc); try (final SafeCloseable ignored = LivenessScopeStack.open(new LivenessScope(true), true)) { - final ShiftObliviousListener asDoubleListener = new ShiftObliviousInstrumentedListenerAdapter(asDouble, false) { - @Override - public void onUpdate(RowSet added, RowSet removed, RowSet modified) { - try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(Math.max(added.intSize(), removed.intSize()))) { - if (removed.isNonempty()) { - final DoubleChunk valuesToRemove = valueSource.getPrevChunk(getContext, removed).asDoubleChunk(); - ssa.remove(valuesToRemove, removed.asRowKeyChunk()); - } - if (added.isNonempty()) { - ssa.insert(valueSource.getChunk(getContext, added).asDoubleChunk(), added.asRowKeyChunk()); + final ShiftObliviousListener asDoubleListener = + new ShiftObliviousInstrumentedListenerAdapter(asDouble, false) { + @Override + public void onUpdate(RowSet added, RowSet removed, RowSet modified) { + try (final ColumnSource.GetContext getContext = + valueSource.makeGetContext(Math.max(added.intSize(), removed.intSize()))) { + if (removed.isNonempty()) { + final DoubleChunk valuesToRemove = + valueSource.getPrevChunk(getContext, removed).asDoubleChunk(); + ssa.remove(valuesToRemove, removed.asRowKeyChunk()); + } + if (added.isNonempty()) { + ssa.insert(valueSource.getChunk(getContext, added).asDoubleChunk(), + added.asRowKeyChunk()); + } + } } - } - } - }; + }; asDouble.addUpdateListener(asDoubleListener); final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast(); while (desc.advance(50)) { updateGraph.runWithinUnitTestCycle(() -> { - final RowSet[] notify = GenerateTableUpdates.computeTableUpdates(desc.tableSize(), random, table, columnInfo, allowAddition, allowRemoval, false); + final RowSet[] notify = GenerateTableUpdates.computeTableUpdates(desc.tableSize(), random, table, + columnInfo, allowAddition, allowRemoval, false); assertTrue(notify[2].isEmpty()); table.notifyListeners(notify[0], notify[1], notify[2]); }); try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asDouble.intSize()); - final RowSet asDoubleRowSetCopy = asDouble.getRowSet().copy()) { - checkSsa(ssa, valueSource.getChunk(getContext, asDoubleRowSetCopy).asDoubleChunk(), asDoubleRowSetCopy.asRowKeyChunk(), desc); + final RowSet asDoubleRowSetCopy = asDouble.getRowSet().copy()) { + checkSsa(ssa, valueSource.getChunk(getContext, asDoubleRowSetCopy).asDoubleChunk(), + asDoubleRowSetCopy.asRowKeyChunk(), desc); } if (!allowAddition && table.size() == 0) { @@ -240,10 +264,12 @@ public void onUpdate(RowSet added, RowSet removed, RowSet modified) { } } - private void checkSsaInitial(Table asDouble, DoubleSegmentedSortedArray ssa, ColumnSource valueSource, @NotNull final SsaTestHelpers.TestDescriptor desc) { + private void checkSsaInitial(Table asDouble, DoubleSegmentedSortedArray ssa, ColumnSource valueSource, + @NotNull final SsaTestHelpers.TestDescriptor desc) { try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asDouble.intSize()); - final RowSet asDoubleRowSetCopy = asDouble.getRowSet().copy()) { - final DoubleChunk valueChunk = valueSource.getChunk(getContext, asDoubleRowSetCopy).asDoubleChunk(); + final RowSet asDoubleRowSetCopy = asDouble.getRowSet().copy()) { + final DoubleChunk valueChunk = + valueSource.getChunk(getContext, asDoubleRowSetCopy).asDoubleChunk(); final LongChunk tableIndexChunk = asDoubleRowSetCopy.asRowKeyChunk(); ssa.insert(valueChunk, tableIndexChunk); @@ -252,7 +278,8 @@ private void checkSsaInitial(Table asDouble, DoubleSegmentedSortedArray ssa, Col } } - private void checkSsa(DoubleSegmentedSortedArray ssa, DoubleChunk valueChunk, LongChunk tableIndexChunk, @NotNull final SsaTestHelpers.TestDescriptor desc) { + private void checkSsa(DoubleSegmentedSortedArray ssa, DoubleChunk valueChunk, + LongChunk tableIndexChunk, @NotNull final SsaTestHelpers.TestDescriptor desc) { try { ssa.validate(); DoubleSsaChecker.checkSsa(ssa, valueChunk, tableIndexChunk); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestFloatSegmentedSortedArray.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestFloatSegmentedSortedArray.java index 01c6559d57e..703a9cd633e 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestFloatSegmentedSortedArray.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestFloatSegmentedSortedArray.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArrayTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.AssertionFailure; @@ -77,10 +76,10 @@ public void testShifts() { final int[] tableSizes; if (SHORT_TESTS) { nSeeds = 5; - tableSizes = new int[]{ 100, 1_000 }; + tableSizes = new int[] {100, 1_000}; } else { nSeeds = 20; - tableSizes = new int[]{ 10, 100, 1_000, 10_000 }; + tableSizes = new int[] {10, 100, 1_000, 10_000}; } for (int seed = 0; seed < nSeeds; ++seed) { for (final int tableSize : tableSizes) { @@ -94,7 +93,7 @@ public void testShifts() { private void testShifts(@NotNull final SsaTestHelpers.TestDescriptor desc) { final Random random = new Random(desc.seed()); final ColumnInfo[] columnInfo; - final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[]{"Value"}, + final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[] {"Value"}, SsaTestHelpers.getGeneratorForFloat())); final Table asFloat = SsaTestHelpers.prepareTestTableForFloat(table); @@ -106,93 +105,112 @@ private void testShifts(@NotNull final SsaTestHelpers.TestDescriptor desc) { checkSsaInitial(asFloat, ssa, valueSource, desc); try (final SafeCloseable ignored = LivenessScopeStack.open(new LivenessScope(true), true)) { - final TableUpdateListener asFloatListener = new InstrumentedTableUpdateListenerAdapter(asFloat, false) { - @Override - public void onUpdate(TableUpdate upstream) { - try (final ColumnSource.GetContext checkContext = valueSource.makeGetContext(asFloat.getRowSet().intSizePrev()); - final RowSet relevantIndices = asFloat.getRowSet().copyPrev()) { - checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asFloatChunk(), relevantIndices.asRowKeyChunk(), desc); - } - - final int size = Math.max(upstream.modified().intSize() + Math.max(upstream.added().intSize(), upstream.removed().intSize()), (int) upstream.shifted().getEffectiveSize()); - try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(size); - final RowSet takeout = upstream.removed().union(upstream.getModifiedPreShift())) { - ssa.validate(); - - if (takeout.isNonempty()) { - final FloatChunk valuesToRemove = valueSource.getPrevChunk(getContext, takeout).asFloatChunk(); - ssa.remove(valuesToRemove, takeout.asRowKeyChunk()); - } - - ssa.validate(); + final TableUpdateListener asFloatListener = + new InstrumentedTableUpdateListenerAdapter(asFloat, false) { + @Override + public void onUpdate(TableUpdate upstream) { + try (final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(asFloat.getRowSet().intSizePrev()); + final RowSet relevantIndices = asFloat.getRowSet().copyPrev()) { + checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asFloatChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - try (final RowSet prevRowSet = asFloat.getRowSet().copyPrev(); - final ColumnSource.GetContext checkContext = valueSource.makeGetContext(prevRowSet.intSize()); - final RowSet relevantIndices = prevRowSet.minus(takeout)) { - checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asFloatChunk(), relevantIndices.asRowKeyChunk(), desc); - } + final int size = Math.max( + upstream.modified().intSize() + + Math.max(upstream.added().intSize(), upstream.removed().intSize()), + (int) upstream.shifted().getEffectiveSize()); + try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(size); + final RowSet takeout = upstream.removed().union(upstream.getModifiedPreShift())) { + ssa.validate(); + + if (takeout.isNonempty()) { + final FloatChunk valuesToRemove = + valueSource.getPrevChunk(getContext, takeout).asFloatChunk(); + ssa.remove(valuesToRemove, takeout.asRowKeyChunk()); + } - if (upstream.shifted().nonempty()) { - final RowSetShiftData.Iterator sit = upstream.shifted().applyIterator(); - while (sit.hasNext()) { - sit.next(); - try (final RowSet prevRowSet = table.getRowSet().copyPrev(); - final RowSet subRowSet = prevRowSet.subSetByKeyRange(sit.beginRange(), sit.endRange()); - final RowSet withoutMods = subRowSet.minus(upstream.getModifiedPreShift()); - final RowSet rowSetToShift = withoutMods.minus(upstream.removed())) { - if (rowSetToShift.isEmpty()) { - continue; - } + ssa.validate(); - final FloatChunk shiftValues = valueSource.getPrevChunk(getContext, rowSetToShift).asFloatChunk(); + try (final RowSet prevRowSet = asFloat.getRowSet().copyPrev(); + final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(prevRowSet.intSize()); + final RowSet relevantIndices = prevRowSet.minus(takeout)) { + checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asFloatChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - if (sit.polarityReversed()) { - ssa.applyShiftReverse(shiftValues, rowSetToShift.asRowKeyChunk(), sit.shiftDelta()); - } else { - ssa.applyShift(shiftValues, rowSetToShift.asRowKeyChunk(), sit.shiftDelta()); + if (upstream.shifted().nonempty()) { + final RowSetShiftData.Iterator sit = upstream.shifted().applyIterator(); + while (sit.hasNext()) { + sit.next(); + try (final RowSet prevRowSet = table.getRowSet().copyPrev(); + final RowSet subRowSet = + prevRowSet.subSetByKeyRange(sit.beginRange(), sit.endRange()); + final RowSet withoutMods = + subRowSet.minus(upstream.getModifiedPreShift()); + final RowSet rowSetToShift = withoutMods.minus(upstream.removed())) { + if (rowSetToShift.isEmpty()) { + continue; + } + + final FloatChunk shiftValues = + valueSource.getPrevChunk(getContext, rowSetToShift).asFloatChunk(); + + if (sit.polarityReversed()) { + ssa.applyShiftReverse(shiftValues, rowSetToShift.asRowKeyChunk(), + sit.shiftDelta()); + } else { + ssa.applyShift(shiftValues, rowSetToShift.asRowKeyChunk(), + sit.shiftDelta()); + } + } } } - } - } - ssa.validate(); + ssa.validate(); - try (final RowSet putin = upstream.added().union(upstream.modified())) { + try (final RowSet putin = upstream.added().union(upstream.modified())) { - try (final ColumnSource.GetContext checkContext = valueSource.makeGetContext(asFloat.intSize()); - final RowSet relevantIndices = asFloat.getRowSet().minus(putin)) { - checkSsa(ssa, valueSource.getChunk(checkContext, relevantIndices).asFloatChunk(), relevantIndices.asRowKeyChunk(), desc); - } + try (final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(asFloat.intSize()); + final RowSet relevantIndices = asFloat.getRowSet().minus(putin)) { + checkSsa(ssa, valueSource.getChunk(checkContext, relevantIndices).asFloatChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - if (putin.isNonempty()) { - final FloatChunk valuesToInsert = valueSource.getChunk(getContext, putin).asFloatChunk(); - ssa.insert(valuesToInsert, putin.asRowKeyChunk()); + if (putin.isNonempty()) { + final FloatChunk valuesToInsert = + valueSource.getChunk(getContext, putin).asFloatChunk(); + ssa.insert(valuesToInsert, putin.asRowKeyChunk()); + } + } + + ssa.validate(); } } - - ssa.validate(); - } - } - }; + }; asFloat.addUpdateListener(asFloatListener); final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast(); while (desc.advance(50)) { - updateGraph.runWithinUnitTestCycle(() -> - GenerateTableUpdates.generateShiftAwareTableUpdates(GenerateTableUpdates.DEFAULT_PROFILE, desc.tableSize(), random, table, columnInfo)); + updateGraph.runWithinUnitTestCycle(() -> GenerateTableUpdates.generateShiftAwareTableUpdates( + GenerateTableUpdates.DEFAULT_PROFILE, desc.tableSize(), random, table, columnInfo)); try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asFloat.intSize()); final RowSet asFloatRowSetCopy = asFloat.getRowSet().copy()) { - checkSsa(ssa, valueSource.getChunk(getContext, asFloatRowSetCopy).asFloatChunk(), asFloatRowSetCopy.asRowKeyChunk(), desc); + checkSsa(ssa, valueSource.getChunk(getContext, asFloatRowSetCopy).asFloatChunk(), + asFloatRowSetCopy.asRowKeyChunk(), desc); } } } } - private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, boolean allowAddition, boolean allowRemoval) { + private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, boolean allowAddition, + boolean allowRemoval) { final Random random = new Random(desc.seed()); final ColumnInfo[] columnInfo; - final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[]{"Value"}, + final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[] {"Value"}, SsaTestHelpers.getGeneratorForFloat())); final Table asFloat = SsaTestHelpers.prepareTestTableForFloat(table); @@ -204,33 +222,39 @@ private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, bool checkSsaInitial(asFloat, ssa, valueSource, desc); try (final SafeCloseable ignored = LivenessScopeStack.open(new LivenessScope(true), true)) { - final ShiftObliviousListener asFloatListener = new ShiftObliviousInstrumentedListenerAdapter(asFloat, false) { - @Override - public void onUpdate(RowSet added, RowSet removed, RowSet modified) { - try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(Math.max(added.intSize(), removed.intSize()))) { - if (removed.isNonempty()) { - final FloatChunk valuesToRemove = valueSource.getPrevChunk(getContext, removed).asFloatChunk(); - ssa.remove(valuesToRemove, removed.asRowKeyChunk()); - } - if (added.isNonempty()) { - ssa.insert(valueSource.getChunk(getContext, added).asFloatChunk(), added.asRowKeyChunk()); + final ShiftObliviousListener asFloatListener = + new ShiftObliviousInstrumentedListenerAdapter(asFloat, false) { + @Override + public void onUpdate(RowSet added, RowSet removed, RowSet modified) { + try (final ColumnSource.GetContext getContext = + valueSource.makeGetContext(Math.max(added.intSize(), removed.intSize()))) { + if (removed.isNonempty()) { + final FloatChunk valuesToRemove = + valueSource.getPrevChunk(getContext, removed).asFloatChunk(); + ssa.remove(valuesToRemove, removed.asRowKeyChunk()); + } + if (added.isNonempty()) { + ssa.insert(valueSource.getChunk(getContext, added).asFloatChunk(), + added.asRowKeyChunk()); + } + } } - } - } - }; + }; asFloat.addUpdateListener(asFloatListener); final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast(); while (desc.advance(50)) { updateGraph.runWithinUnitTestCycle(() -> { - final RowSet[] notify = GenerateTableUpdates.computeTableUpdates(desc.tableSize(), random, table, columnInfo, allowAddition, allowRemoval, false); + final RowSet[] notify = GenerateTableUpdates.computeTableUpdates(desc.tableSize(), random, table, + columnInfo, allowAddition, allowRemoval, false); assertTrue(notify[2].isEmpty()); table.notifyListeners(notify[0], notify[1], notify[2]); }); try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asFloat.intSize()); - final RowSet asFloatRowSetCopy = asFloat.getRowSet().copy()) { - checkSsa(ssa, valueSource.getChunk(getContext, asFloatRowSetCopy).asFloatChunk(), asFloatRowSetCopy.asRowKeyChunk(), desc); + final RowSet asFloatRowSetCopy = asFloat.getRowSet().copy()) { + checkSsa(ssa, valueSource.getChunk(getContext, asFloatRowSetCopy).asFloatChunk(), + asFloatRowSetCopy.asRowKeyChunk(), desc); } if (!allowAddition && table.size() == 0) { @@ -240,10 +264,12 @@ public void onUpdate(RowSet added, RowSet removed, RowSet modified) { } } - private void checkSsaInitial(Table asFloat, FloatSegmentedSortedArray ssa, ColumnSource valueSource, @NotNull final SsaTestHelpers.TestDescriptor desc) { + private void checkSsaInitial(Table asFloat, FloatSegmentedSortedArray ssa, ColumnSource valueSource, + @NotNull final SsaTestHelpers.TestDescriptor desc) { try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asFloat.intSize()); - final RowSet asFloatRowSetCopy = asFloat.getRowSet().copy()) { - final FloatChunk valueChunk = valueSource.getChunk(getContext, asFloatRowSetCopy).asFloatChunk(); + final RowSet asFloatRowSetCopy = asFloat.getRowSet().copy()) { + final FloatChunk valueChunk = + valueSource.getChunk(getContext, asFloatRowSetCopy).asFloatChunk(); final LongChunk tableIndexChunk = asFloatRowSetCopy.asRowKeyChunk(); ssa.insert(valueChunk, tableIndexChunk); @@ -252,7 +278,8 @@ private void checkSsaInitial(Table asFloat, FloatSegmentedSortedArray ssa, Colum } } - private void checkSsa(FloatSegmentedSortedArray ssa, FloatChunk valueChunk, LongChunk tableIndexChunk, @NotNull final SsaTestHelpers.TestDescriptor desc) { + private void checkSsa(FloatSegmentedSortedArray ssa, FloatChunk valueChunk, + LongChunk tableIndexChunk, @NotNull final SsaTestHelpers.TestDescriptor desc) { try { ssa.validate(); FloatSsaChecker.checkSsa(ssa, valueChunk, tableIndexChunk); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestIntSegmentedSortedArray.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestIntSegmentedSortedArray.java index 4ff482a17cd..c78e95816f7 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestIntSegmentedSortedArray.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestIntSegmentedSortedArray.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArrayTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.AssertionFailure; @@ -77,10 +76,10 @@ public void testShifts() { final int[] tableSizes; if (SHORT_TESTS) { nSeeds = 5; - tableSizes = new int[]{ 100, 1_000 }; + tableSizes = new int[] {100, 1_000}; } else { nSeeds = 20; - tableSizes = new int[]{ 10, 100, 1_000, 10_000 }; + tableSizes = new int[] {10, 100, 1_000, 10_000}; } for (int seed = 0; seed < nSeeds; ++seed) { for (final int tableSize : tableSizes) { @@ -94,7 +93,7 @@ public void testShifts() { private void testShifts(@NotNull final SsaTestHelpers.TestDescriptor desc) { final Random random = new Random(desc.seed()); final ColumnInfo[] columnInfo; - final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[]{"Value"}, + final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[] {"Value"}, SsaTestHelpers.getGeneratorForInt())); final Table asInteger = SsaTestHelpers.prepareTestTableForInt(table); @@ -106,93 +105,112 @@ private void testShifts(@NotNull final SsaTestHelpers.TestDescriptor desc) { checkSsaInitial(asInteger, ssa, valueSource, desc); try (final SafeCloseable ignored = LivenessScopeStack.open(new LivenessScope(true), true)) { - final TableUpdateListener asIntegerListener = new InstrumentedTableUpdateListenerAdapter(asInteger, false) { - @Override - public void onUpdate(TableUpdate upstream) { - try (final ColumnSource.GetContext checkContext = valueSource.makeGetContext(asInteger.getRowSet().intSizePrev()); - final RowSet relevantIndices = asInteger.getRowSet().copyPrev()) { - checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asIntChunk(), relevantIndices.asRowKeyChunk(), desc); - } - - final int size = Math.max(upstream.modified().intSize() + Math.max(upstream.added().intSize(), upstream.removed().intSize()), (int) upstream.shifted().getEffectiveSize()); - try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(size); - final RowSet takeout = upstream.removed().union(upstream.getModifiedPreShift())) { - ssa.validate(); - - if (takeout.isNonempty()) { - final IntChunk valuesToRemove = valueSource.getPrevChunk(getContext, takeout).asIntChunk(); - ssa.remove(valuesToRemove, takeout.asRowKeyChunk()); - } - - ssa.validate(); + final TableUpdateListener asIntegerListener = + new InstrumentedTableUpdateListenerAdapter(asInteger, false) { + @Override + public void onUpdate(TableUpdate upstream) { + try (final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(asInteger.getRowSet().intSizePrev()); + final RowSet relevantIndices = asInteger.getRowSet().copyPrev()) { + checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asIntChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - try (final RowSet prevRowSet = asInteger.getRowSet().copyPrev(); - final ColumnSource.GetContext checkContext = valueSource.makeGetContext(prevRowSet.intSize()); - final RowSet relevantIndices = prevRowSet.minus(takeout)) { - checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asIntChunk(), relevantIndices.asRowKeyChunk(), desc); - } + final int size = Math.max( + upstream.modified().intSize() + + Math.max(upstream.added().intSize(), upstream.removed().intSize()), + (int) upstream.shifted().getEffectiveSize()); + try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(size); + final RowSet takeout = upstream.removed().union(upstream.getModifiedPreShift())) { + ssa.validate(); + + if (takeout.isNonempty()) { + final IntChunk valuesToRemove = + valueSource.getPrevChunk(getContext, takeout).asIntChunk(); + ssa.remove(valuesToRemove, takeout.asRowKeyChunk()); + } - if (upstream.shifted().nonempty()) { - final RowSetShiftData.Iterator sit = upstream.shifted().applyIterator(); - while (sit.hasNext()) { - sit.next(); - try (final RowSet prevRowSet = table.getRowSet().copyPrev(); - final RowSet subRowSet = prevRowSet.subSetByKeyRange(sit.beginRange(), sit.endRange()); - final RowSet withoutMods = subRowSet.minus(upstream.getModifiedPreShift()); - final RowSet rowSetToShift = withoutMods.minus(upstream.removed())) { - if (rowSetToShift.isEmpty()) { - continue; - } + ssa.validate(); - final IntChunk shiftValues = valueSource.getPrevChunk(getContext, rowSetToShift).asIntChunk(); + try (final RowSet prevRowSet = asInteger.getRowSet().copyPrev(); + final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(prevRowSet.intSize()); + final RowSet relevantIndices = prevRowSet.minus(takeout)) { + checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asIntChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - if (sit.polarityReversed()) { - ssa.applyShiftReverse(shiftValues, rowSetToShift.asRowKeyChunk(), sit.shiftDelta()); - } else { - ssa.applyShift(shiftValues, rowSetToShift.asRowKeyChunk(), sit.shiftDelta()); + if (upstream.shifted().nonempty()) { + final RowSetShiftData.Iterator sit = upstream.shifted().applyIterator(); + while (sit.hasNext()) { + sit.next(); + try (final RowSet prevRowSet = table.getRowSet().copyPrev(); + final RowSet subRowSet = + prevRowSet.subSetByKeyRange(sit.beginRange(), sit.endRange()); + final RowSet withoutMods = + subRowSet.minus(upstream.getModifiedPreShift()); + final RowSet rowSetToShift = withoutMods.minus(upstream.removed())) { + if (rowSetToShift.isEmpty()) { + continue; + } + + final IntChunk shiftValues = + valueSource.getPrevChunk(getContext, rowSetToShift).asIntChunk(); + + if (sit.polarityReversed()) { + ssa.applyShiftReverse(shiftValues, rowSetToShift.asRowKeyChunk(), + sit.shiftDelta()); + } else { + ssa.applyShift(shiftValues, rowSetToShift.asRowKeyChunk(), + sit.shiftDelta()); + } + } } } - } - } - ssa.validate(); + ssa.validate(); - try (final RowSet putin = upstream.added().union(upstream.modified())) { + try (final RowSet putin = upstream.added().union(upstream.modified())) { - try (final ColumnSource.GetContext checkContext = valueSource.makeGetContext(asInteger.intSize()); - final RowSet relevantIndices = asInteger.getRowSet().minus(putin)) { - checkSsa(ssa, valueSource.getChunk(checkContext, relevantIndices).asIntChunk(), relevantIndices.asRowKeyChunk(), desc); - } + try (final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(asInteger.intSize()); + final RowSet relevantIndices = asInteger.getRowSet().minus(putin)) { + checkSsa(ssa, valueSource.getChunk(checkContext, relevantIndices).asIntChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - if (putin.isNonempty()) { - final IntChunk valuesToInsert = valueSource.getChunk(getContext, putin).asIntChunk(); - ssa.insert(valuesToInsert, putin.asRowKeyChunk()); + if (putin.isNonempty()) { + final IntChunk valuesToInsert = + valueSource.getChunk(getContext, putin).asIntChunk(); + ssa.insert(valuesToInsert, putin.asRowKeyChunk()); + } + } + + ssa.validate(); } } - - ssa.validate(); - } - } - }; + }; asInteger.addUpdateListener(asIntegerListener); final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast(); while (desc.advance(50)) { - updateGraph.runWithinUnitTestCycle(() -> - GenerateTableUpdates.generateShiftAwareTableUpdates(GenerateTableUpdates.DEFAULT_PROFILE, desc.tableSize(), random, table, columnInfo)); + updateGraph.runWithinUnitTestCycle(() -> GenerateTableUpdates.generateShiftAwareTableUpdates( + GenerateTableUpdates.DEFAULT_PROFILE, desc.tableSize(), random, table, columnInfo)); try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asInteger.intSize()); final RowSet asIntRowSetCopy = asInteger.getRowSet().copy()) { - checkSsa(ssa, valueSource.getChunk(getContext, asIntRowSetCopy).asIntChunk(), asIntRowSetCopy.asRowKeyChunk(), desc); + checkSsa(ssa, valueSource.getChunk(getContext, asIntRowSetCopy).asIntChunk(), + asIntRowSetCopy.asRowKeyChunk(), desc); } } } } - private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, boolean allowAddition, boolean allowRemoval) { + private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, boolean allowAddition, + boolean allowRemoval) { final Random random = new Random(desc.seed()); final ColumnInfo[] columnInfo; - final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[]{"Value"}, + final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[] {"Value"}, SsaTestHelpers.getGeneratorForInt())); final Table asInteger = SsaTestHelpers.prepareTestTableForInt(table); @@ -204,33 +222,39 @@ private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, bool checkSsaInitial(asInteger, ssa, valueSource, desc); try (final SafeCloseable ignored = LivenessScopeStack.open(new LivenessScope(true), true)) { - final ShiftObliviousListener asIntegerListener = new ShiftObliviousInstrumentedListenerAdapter(asInteger, false) { - @Override - public void onUpdate(RowSet added, RowSet removed, RowSet modified) { - try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(Math.max(added.intSize(), removed.intSize()))) { - if (removed.isNonempty()) { - final IntChunk valuesToRemove = valueSource.getPrevChunk(getContext, removed).asIntChunk(); - ssa.remove(valuesToRemove, removed.asRowKeyChunk()); - } - if (added.isNonempty()) { - ssa.insert(valueSource.getChunk(getContext, added).asIntChunk(), added.asRowKeyChunk()); + final ShiftObliviousListener asIntegerListener = + new ShiftObliviousInstrumentedListenerAdapter(asInteger, false) { + @Override + public void onUpdate(RowSet added, RowSet removed, RowSet modified) { + try (final ColumnSource.GetContext getContext = + valueSource.makeGetContext(Math.max(added.intSize(), removed.intSize()))) { + if (removed.isNonempty()) { + final IntChunk valuesToRemove = + valueSource.getPrevChunk(getContext, removed).asIntChunk(); + ssa.remove(valuesToRemove, removed.asRowKeyChunk()); + } + if (added.isNonempty()) { + ssa.insert(valueSource.getChunk(getContext, added).asIntChunk(), + added.asRowKeyChunk()); + } + } } - } - } - }; + }; asInteger.addUpdateListener(asIntegerListener); final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast(); while (desc.advance(50)) { updateGraph.runWithinUnitTestCycle(() -> { - final RowSet[] notify = GenerateTableUpdates.computeTableUpdates(desc.tableSize(), random, table, columnInfo, allowAddition, allowRemoval, false); + final RowSet[] notify = GenerateTableUpdates.computeTableUpdates(desc.tableSize(), random, table, + columnInfo, allowAddition, allowRemoval, false); assertTrue(notify[2].isEmpty()); table.notifyListeners(notify[0], notify[1], notify[2]); }); try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asInteger.intSize()); - final RowSet asIntRowSetCopy = asInteger.getRowSet().copy()) { - checkSsa(ssa, valueSource.getChunk(getContext, asIntRowSetCopy).asIntChunk(), asIntRowSetCopy.asRowKeyChunk(), desc); + final RowSet asIntRowSetCopy = asInteger.getRowSet().copy()) { + checkSsa(ssa, valueSource.getChunk(getContext, asIntRowSetCopy).asIntChunk(), + asIntRowSetCopy.asRowKeyChunk(), desc); } if (!allowAddition && table.size() == 0) { @@ -240,10 +264,12 @@ public void onUpdate(RowSet added, RowSet removed, RowSet modified) { } } - private void checkSsaInitial(Table asInteger, IntSegmentedSortedArray ssa, ColumnSource valueSource, @NotNull final SsaTestHelpers.TestDescriptor desc) { + private void checkSsaInitial(Table asInteger, IntSegmentedSortedArray ssa, ColumnSource valueSource, + @NotNull final SsaTestHelpers.TestDescriptor desc) { try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asInteger.intSize()); - final RowSet asIntRowSetCopy = asInteger.getRowSet().copy()) { - final IntChunk valueChunk = valueSource.getChunk(getContext, asIntRowSetCopy).asIntChunk(); + final RowSet asIntRowSetCopy = asInteger.getRowSet().copy()) { + final IntChunk valueChunk = + valueSource.getChunk(getContext, asIntRowSetCopy).asIntChunk(); final LongChunk tableIndexChunk = asIntRowSetCopy.asRowKeyChunk(); ssa.insert(valueChunk, tableIndexChunk); @@ -252,7 +278,8 @@ private void checkSsaInitial(Table asInteger, IntSegmentedSortedArray ssa, Colum } } - private void checkSsa(IntSegmentedSortedArray ssa, IntChunk valueChunk, LongChunk tableIndexChunk, @NotNull final SsaTestHelpers.TestDescriptor desc) { + private void checkSsa(IntSegmentedSortedArray ssa, IntChunk valueChunk, + LongChunk tableIndexChunk, @NotNull final SsaTestHelpers.TestDescriptor desc) { try { ssa.validate(); IntSsaChecker.checkSsa(ssa, valueChunk, tableIndexChunk); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestLongSegmentedSortedArray.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestLongSegmentedSortedArray.java index 9cc3fb81a95..5c5eb619bd4 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestLongSegmentedSortedArray.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestLongSegmentedSortedArray.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArrayTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.AssertionFailure; @@ -77,10 +76,10 @@ public void testShifts() { final int[] tableSizes; if (SHORT_TESTS) { nSeeds = 5; - tableSizes = new int[]{ 100, 1_000 }; + tableSizes = new int[] {100, 1_000}; } else { nSeeds = 20; - tableSizes = new int[]{ 10, 100, 1_000, 10_000 }; + tableSizes = new int[] {10, 100, 1_000, 10_000}; } for (int seed = 0; seed < nSeeds; ++seed) { for (final int tableSize : tableSizes) { @@ -94,7 +93,7 @@ public void testShifts() { private void testShifts(@NotNull final SsaTestHelpers.TestDescriptor desc) { final Random random = new Random(desc.seed()); final ColumnInfo[] columnInfo; - final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[]{"Value"}, + final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[] {"Value"}, SsaTestHelpers.getGeneratorForLong())); final Table asLong = SsaTestHelpers.prepareTestTableForLong(table); @@ -106,93 +105,112 @@ private void testShifts(@NotNull final SsaTestHelpers.TestDescriptor desc) { checkSsaInitial(asLong, ssa, valueSource, desc); try (final SafeCloseable ignored = LivenessScopeStack.open(new LivenessScope(true), true)) { - final TableUpdateListener asLongListener = new InstrumentedTableUpdateListenerAdapter(asLong, false) { - @Override - public void onUpdate(TableUpdate upstream) { - try (final ColumnSource.GetContext checkContext = valueSource.makeGetContext(asLong.getRowSet().intSizePrev()); - final RowSet relevantIndices = asLong.getRowSet().copyPrev()) { - checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asLongChunk(), relevantIndices.asRowKeyChunk(), desc); - } - - final int size = Math.max(upstream.modified().intSize() + Math.max(upstream.added().intSize(), upstream.removed().intSize()), (int) upstream.shifted().getEffectiveSize()); - try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(size); - final RowSet takeout = upstream.removed().union(upstream.getModifiedPreShift())) { - ssa.validate(); - - if (takeout.isNonempty()) { - final LongChunk valuesToRemove = valueSource.getPrevChunk(getContext, takeout).asLongChunk(); - ssa.remove(valuesToRemove, takeout.asRowKeyChunk()); - } - - ssa.validate(); + final TableUpdateListener asLongListener = + new InstrumentedTableUpdateListenerAdapter(asLong, false) { + @Override + public void onUpdate(TableUpdate upstream) { + try (final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(asLong.getRowSet().intSizePrev()); + final RowSet relevantIndices = asLong.getRowSet().copyPrev()) { + checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asLongChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - try (final RowSet prevRowSet = asLong.getRowSet().copyPrev(); - final ColumnSource.GetContext checkContext = valueSource.makeGetContext(prevRowSet.intSize()); - final RowSet relevantIndices = prevRowSet.minus(takeout)) { - checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asLongChunk(), relevantIndices.asRowKeyChunk(), desc); - } + final int size = Math.max( + upstream.modified().intSize() + + Math.max(upstream.added().intSize(), upstream.removed().intSize()), + (int) upstream.shifted().getEffectiveSize()); + try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(size); + final RowSet takeout = upstream.removed().union(upstream.getModifiedPreShift())) { + ssa.validate(); + + if (takeout.isNonempty()) { + final LongChunk valuesToRemove = + valueSource.getPrevChunk(getContext, takeout).asLongChunk(); + ssa.remove(valuesToRemove, takeout.asRowKeyChunk()); + } - if (upstream.shifted().nonempty()) { - final RowSetShiftData.Iterator sit = upstream.shifted().applyIterator(); - while (sit.hasNext()) { - sit.next(); - try (final RowSet prevRowSet = table.getRowSet().copyPrev(); - final RowSet subRowSet = prevRowSet.subSetByKeyRange(sit.beginRange(), sit.endRange()); - final RowSet withoutMods = subRowSet.minus(upstream.getModifiedPreShift()); - final RowSet rowSetToShift = withoutMods.minus(upstream.removed())) { - if (rowSetToShift.isEmpty()) { - continue; - } + ssa.validate(); - final LongChunk shiftValues = valueSource.getPrevChunk(getContext, rowSetToShift).asLongChunk(); + try (final RowSet prevRowSet = asLong.getRowSet().copyPrev(); + final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(prevRowSet.intSize()); + final RowSet relevantIndices = prevRowSet.minus(takeout)) { + checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asLongChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - if (sit.polarityReversed()) { - ssa.applyShiftReverse(shiftValues, rowSetToShift.asRowKeyChunk(), sit.shiftDelta()); - } else { - ssa.applyShift(shiftValues, rowSetToShift.asRowKeyChunk(), sit.shiftDelta()); + if (upstream.shifted().nonempty()) { + final RowSetShiftData.Iterator sit = upstream.shifted().applyIterator(); + while (sit.hasNext()) { + sit.next(); + try (final RowSet prevRowSet = table.getRowSet().copyPrev(); + final RowSet subRowSet = + prevRowSet.subSetByKeyRange(sit.beginRange(), sit.endRange()); + final RowSet withoutMods = + subRowSet.minus(upstream.getModifiedPreShift()); + final RowSet rowSetToShift = withoutMods.minus(upstream.removed())) { + if (rowSetToShift.isEmpty()) { + continue; + } + + final LongChunk shiftValues = + valueSource.getPrevChunk(getContext, rowSetToShift).asLongChunk(); + + if (sit.polarityReversed()) { + ssa.applyShiftReverse(shiftValues, rowSetToShift.asRowKeyChunk(), + sit.shiftDelta()); + } else { + ssa.applyShift(shiftValues, rowSetToShift.asRowKeyChunk(), + sit.shiftDelta()); + } + } } } - } - } - ssa.validate(); + ssa.validate(); - try (final RowSet putin = upstream.added().union(upstream.modified())) { + try (final RowSet putin = upstream.added().union(upstream.modified())) { - try (final ColumnSource.GetContext checkContext = valueSource.makeGetContext(asLong.intSize()); - final RowSet relevantIndices = asLong.getRowSet().minus(putin)) { - checkSsa(ssa, valueSource.getChunk(checkContext, relevantIndices).asLongChunk(), relevantIndices.asRowKeyChunk(), desc); - } + try (final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(asLong.intSize()); + final RowSet relevantIndices = asLong.getRowSet().minus(putin)) { + checkSsa(ssa, valueSource.getChunk(checkContext, relevantIndices).asLongChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - if (putin.isNonempty()) { - final LongChunk valuesToInsert = valueSource.getChunk(getContext, putin).asLongChunk(); - ssa.insert(valuesToInsert, putin.asRowKeyChunk()); + if (putin.isNonempty()) { + final LongChunk valuesToInsert = + valueSource.getChunk(getContext, putin).asLongChunk(); + ssa.insert(valuesToInsert, putin.asRowKeyChunk()); + } + } + + ssa.validate(); } } - - ssa.validate(); - } - } - }; + }; asLong.addUpdateListener(asLongListener); final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast(); while (desc.advance(50)) { - updateGraph.runWithinUnitTestCycle(() -> - GenerateTableUpdates.generateShiftAwareTableUpdates(GenerateTableUpdates.DEFAULT_PROFILE, desc.tableSize(), random, table, columnInfo)); + updateGraph.runWithinUnitTestCycle(() -> GenerateTableUpdates.generateShiftAwareTableUpdates( + GenerateTableUpdates.DEFAULT_PROFILE, desc.tableSize(), random, table, columnInfo)); try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asLong.intSize()); final RowSet asLongRowSetCopy = asLong.getRowSet().copy()) { - checkSsa(ssa, valueSource.getChunk(getContext, asLongRowSetCopy).asLongChunk(), asLongRowSetCopy.asRowKeyChunk(), desc); + checkSsa(ssa, valueSource.getChunk(getContext, asLongRowSetCopy).asLongChunk(), + asLongRowSetCopy.asRowKeyChunk(), desc); } } } } - private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, boolean allowAddition, boolean allowRemoval) { + private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, boolean allowAddition, + boolean allowRemoval) { final Random random = new Random(desc.seed()); final ColumnInfo[] columnInfo; - final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[]{"Value"}, + final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[] {"Value"}, SsaTestHelpers.getGeneratorForLong())); final Table asLong = SsaTestHelpers.prepareTestTableForLong(table); @@ -204,33 +222,39 @@ private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, bool checkSsaInitial(asLong, ssa, valueSource, desc); try (final SafeCloseable ignored = LivenessScopeStack.open(new LivenessScope(true), true)) { - final ShiftObliviousListener asLongListener = new ShiftObliviousInstrumentedListenerAdapter(asLong, false) { - @Override - public void onUpdate(RowSet added, RowSet removed, RowSet modified) { - try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(Math.max(added.intSize(), removed.intSize()))) { - if (removed.isNonempty()) { - final LongChunk valuesToRemove = valueSource.getPrevChunk(getContext, removed).asLongChunk(); - ssa.remove(valuesToRemove, removed.asRowKeyChunk()); - } - if (added.isNonempty()) { - ssa.insert(valueSource.getChunk(getContext, added).asLongChunk(), added.asRowKeyChunk()); + final ShiftObliviousListener asLongListener = + new ShiftObliviousInstrumentedListenerAdapter(asLong, false) { + @Override + public void onUpdate(RowSet added, RowSet removed, RowSet modified) { + try (final ColumnSource.GetContext getContext = + valueSource.makeGetContext(Math.max(added.intSize(), removed.intSize()))) { + if (removed.isNonempty()) { + final LongChunk valuesToRemove = + valueSource.getPrevChunk(getContext, removed).asLongChunk(); + ssa.remove(valuesToRemove, removed.asRowKeyChunk()); + } + if (added.isNonempty()) { + ssa.insert(valueSource.getChunk(getContext, added).asLongChunk(), + added.asRowKeyChunk()); + } + } } - } - } - }; + }; asLong.addUpdateListener(asLongListener); final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast(); while (desc.advance(50)) { updateGraph.runWithinUnitTestCycle(() -> { - final RowSet[] notify = GenerateTableUpdates.computeTableUpdates(desc.tableSize(), random, table, columnInfo, allowAddition, allowRemoval, false); + final RowSet[] notify = GenerateTableUpdates.computeTableUpdates(desc.tableSize(), random, table, + columnInfo, allowAddition, allowRemoval, false); assertTrue(notify[2].isEmpty()); table.notifyListeners(notify[0], notify[1], notify[2]); }); try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asLong.intSize()); - final RowSet asLongRowSetCopy = asLong.getRowSet().copy()) { - checkSsa(ssa, valueSource.getChunk(getContext, asLongRowSetCopy).asLongChunk(), asLongRowSetCopy.asRowKeyChunk(), desc); + final RowSet asLongRowSetCopy = asLong.getRowSet().copy()) { + checkSsa(ssa, valueSource.getChunk(getContext, asLongRowSetCopy).asLongChunk(), + asLongRowSetCopy.asRowKeyChunk(), desc); } if (!allowAddition && table.size() == 0) { @@ -240,10 +264,12 @@ public void onUpdate(RowSet added, RowSet removed, RowSet modified) { } } - private void checkSsaInitial(Table asLong, LongSegmentedSortedArray ssa, ColumnSource valueSource, @NotNull final SsaTestHelpers.TestDescriptor desc) { + private void checkSsaInitial(Table asLong, LongSegmentedSortedArray ssa, ColumnSource valueSource, + @NotNull final SsaTestHelpers.TestDescriptor desc) { try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asLong.intSize()); - final RowSet asLongRowSetCopy = asLong.getRowSet().copy()) { - final LongChunk valueChunk = valueSource.getChunk(getContext, asLongRowSetCopy).asLongChunk(); + final RowSet asLongRowSetCopy = asLong.getRowSet().copy()) { + final LongChunk valueChunk = + valueSource.getChunk(getContext, asLongRowSetCopy).asLongChunk(); final LongChunk tableIndexChunk = asLongRowSetCopy.asRowKeyChunk(); ssa.insert(valueChunk, tableIndexChunk); @@ -252,7 +278,8 @@ private void checkSsaInitial(Table asLong, LongSegmentedSortedArray ssa, ColumnS } } - private void checkSsa(LongSegmentedSortedArray ssa, LongChunk valueChunk, LongChunk tableIndexChunk, @NotNull final SsaTestHelpers.TestDescriptor desc) { + private void checkSsa(LongSegmentedSortedArray ssa, LongChunk valueChunk, + LongChunk tableIndexChunk, @NotNull final SsaTestHelpers.TestDescriptor desc) { try { ssa.validate(); LongSsaChecker.checkSsa(ssa, valueChunk, tableIndexChunk); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestObjectSegmentedSortedArray.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestObjectSegmentedSortedArray.java index 5abbe15609a..6274d2fd609 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestObjectSegmentedSortedArray.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestObjectSegmentedSortedArray.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArrayTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.AssertionFailure; @@ -77,10 +76,10 @@ public void testShifts() { final int[] tableSizes; if (SHORT_TESTS) { nSeeds = 5; - tableSizes = new int[]{ 100, 1_000 }; + tableSizes = new int[] {100, 1_000}; } else { nSeeds = 20; - tableSizes = new int[]{ 10, 100, 1_000, 10_000 }; + tableSizes = new int[] {10, 100, 1_000, 10_000}; } for (int seed = 0; seed < nSeeds; ++seed) { for (final int tableSize : tableSizes) { @@ -94,7 +93,7 @@ public void testShifts() { private void testShifts(@NotNull final SsaTestHelpers.TestDescriptor desc) { final Random random = new Random(desc.seed()); final ColumnInfo[] columnInfo; - final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[]{"Value"}, + final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[] {"Value"}, SsaTestHelpers.getGeneratorForObject())); final Table asObject = SsaTestHelpers.prepareTestTableForObject(table); @@ -106,93 +105,112 @@ private void testShifts(@NotNull final SsaTestHelpers.TestDescriptor desc) { checkSsaInitial(asObject, ssa, valueSource, desc); try (final SafeCloseable ignored = LivenessScopeStack.open(new LivenessScope(true), true)) { - final TableUpdateListener asObjectListener = new InstrumentedTableUpdateListenerAdapter(asObject, false) { - @Override - public void onUpdate(TableUpdate upstream) { - try (final ColumnSource.GetContext checkContext = valueSource.makeGetContext(asObject.getRowSet().intSizePrev()); - final RowSet relevantIndices = asObject.getRowSet().copyPrev()) { - checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asObjectChunk(), relevantIndices.asRowKeyChunk(), desc); - } - - final int size = Math.max(upstream.modified().intSize() + Math.max(upstream.added().intSize(), upstream.removed().intSize()), (int) upstream.shifted().getEffectiveSize()); - try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(size); - final RowSet takeout = upstream.removed().union(upstream.getModifiedPreShift())) { - ssa.validate(); - - if (takeout.isNonempty()) { - final ObjectChunk valuesToRemove = valueSource.getPrevChunk(getContext, takeout).asObjectChunk(); - ssa.remove(valuesToRemove, takeout.asRowKeyChunk()); - } - - ssa.validate(); + final TableUpdateListener asObjectListener = + new InstrumentedTableUpdateListenerAdapter(asObject, false) { + @Override + public void onUpdate(TableUpdate upstream) { + try (final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(asObject.getRowSet().intSizePrev()); + final RowSet relevantIndices = asObject.getRowSet().copyPrev()) { + checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asObjectChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - try (final RowSet prevRowSet = asObject.getRowSet().copyPrev(); - final ColumnSource.GetContext checkContext = valueSource.makeGetContext(prevRowSet.intSize()); - final RowSet relevantIndices = prevRowSet.minus(takeout)) { - checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asObjectChunk(), relevantIndices.asRowKeyChunk(), desc); - } + final int size = Math.max( + upstream.modified().intSize() + + Math.max(upstream.added().intSize(), upstream.removed().intSize()), + (int) upstream.shifted().getEffectiveSize()); + try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(size); + final RowSet takeout = upstream.removed().union(upstream.getModifiedPreShift())) { + ssa.validate(); + + if (takeout.isNonempty()) { + final ObjectChunk valuesToRemove = + valueSource.getPrevChunk(getContext, takeout).asObjectChunk(); + ssa.remove(valuesToRemove, takeout.asRowKeyChunk()); + } - if (upstream.shifted().nonempty()) { - final RowSetShiftData.Iterator sit = upstream.shifted().applyIterator(); - while (sit.hasNext()) { - sit.next(); - try (final RowSet prevRowSet = table.getRowSet().copyPrev(); - final RowSet subRowSet = prevRowSet.subSetByKeyRange(sit.beginRange(), sit.endRange()); - final RowSet withoutMods = subRowSet.minus(upstream.getModifiedPreShift()); - final RowSet rowSetToShift = withoutMods.minus(upstream.removed())) { - if (rowSetToShift.isEmpty()) { - continue; - } + ssa.validate(); - final ObjectChunk shiftValues = valueSource.getPrevChunk(getContext, rowSetToShift).asObjectChunk(); + try (final RowSet prevRowSet = asObject.getRowSet().copyPrev(); + final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(prevRowSet.intSize()); + final RowSet relevantIndices = prevRowSet.minus(takeout)) { + checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asObjectChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - if (sit.polarityReversed()) { - ssa.applyShiftReverse(shiftValues, rowSetToShift.asRowKeyChunk(), sit.shiftDelta()); - } else { - ssa.applyShift(shiftValues, rowSetToShift.asRowKeyChunk(), sit.shiftDelta()); + if (upstream.shifted().nonempty()) { + final RowSetShiftData.Iterator sit = upstream.shifted().applyIterator(); + while (sit.hasNext()) { + sit.next(); + try (final RowSet prevRowSet = table.getRowSet().copyPrev(); + final RowSet subRowSet = + prevRowSet.subSetByKeyRange(sit.beginRange(), sit.endRange()); + final RowSet withoutMods = + subRowSet.minus(upstream.getModifiedPreShift()); + final RowSet rowSetToShift = withoutMods.minus(upstream.removed())) { + if (rowSetToShift.isEmpty()) { + continue; + } + + final ObjectChunk shiftValues = + valueSource.getPrevChunk(getContext, rowSetToShift).asObjectChunk(); + + if (sit.polarityReversed()) { + ssa.applyShiftReverse(shiftValues, rowSetToShift.asRowKeyChunk(), + sit.shiftDelta()); + } else { + ssa.applyShift(shiftValues, rowSetToShift.asRowKeyChunk(), + sit.shiftDelta()); + } + } } } - } - } - ssa.validate(); + ssa.validate(); - try (final RowSet putin = upstream.added().union(upstream.modified())) { + try (final RowSet putin = upstream.added().union(upstream.modified())) { - try (final ColumnSource.GetContext checkContext = valueSource.makeGetContext(asObject.intSize()); - final RowSet relevantIndices = asObject.getRowSet().minus(putin)) { - checkSsa(ssa, valueSource.getChunk(checkContext, relevantIndices).asObjectChunk(), relevantIndices.asRowKeyChunk(), desc); - } + try (final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(asObject.intSize()); + final RowSet relevantIndices = asObject.getRowSet().minus(putin)) { + checkSsa(ssa, valueSource.getChunk(checkContext, relevantIndices).asObjectChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - if (putin.isNonempty()) { - final ObjectChunk valuesToInsert = valueSource.getChunk(getContext, putin).asObjectChunk(); - ssa.insert(valuesToInsert, putin.asRowKeyChunk()); + if (putin.isNonempty()) { + final ObjectChunk valuesToInsert = + valueSource.getChunk(getContext, putin).asObjectChunk(); + ssa.insert(valuesToInsert, putin.asRowKeyChunk()); + } + } + + ssa.validate(); } } - - ssa.validate(); - } - } - }; + }; asObject.addUpdateListener(asObjectListener); final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast(); while (desc.advance(50)) { - updateGraph.runWithinUnitTestCycle(() -> - GenerateTableUpdates.generateShiftAwareTableUpdates(GenerateTableUpdates.DEFAULT_PROFILE, desc.tableSize(), random, table, columnInfo)); + updateGraph.runWithinUnitTestCycle(() -> GenerateTableUpdates.generateShiftAwareTableUpdates( + GenerateTableUpdates.DEFAULT_PROFILE, desc.tableSize(), random, table, columnInfo)); try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asObject.intSize()); final RowSet asObjectRowSetCopy = asObject.getRowSet().copy()) { - checkSsa(ssa, valueSource.getChunk(getContext, asObjectRowSetCopy).asObjectChunk(), asObjectRowSetCopy.asRowKeyChunk(), desc); + checkSsa(ssa, valueSource.getChunk(getContext, asObjectRowSetCopy).asObjectChunk(), + asObjectRowSetCopy.asRowKeyChunk(), desc); } } } } - private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, boolean allowAddition, boolean allowRemoval) { + private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, boolean allowAddition, + boolean allowRemoval) { final Random random = new Random(desc.seed()); final ColumnInfo[] columnInfo; - final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[]{"Value"}, + final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[] {"Value"}, SsaTestHelpers.getGeneratorForObject())); final Table asObject = SsaTestHelpers.prepareTestTableForObject(table); @@ -204,33 +222,39 @@ private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, bool checkSsaInitial(asObject, ssa, valueSource, desc); try (final SafeCloseable ignored = LivenessScopeStack.open(new LivenessScope(true), true)) { - final ShiftObliviousListener asObjectListener = new ShiftObliviousInstrumentedListenerAdapter(asObject, false) { - @Override - public void onUpdate(RowSet added, RowSet removed, RowSet modified) { - try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(Math.max(added.intSize(), removed.intSize()))) { - if (removed.isNonempty()) { - final ObjectChunk valuesToRemove = valueSource.getPrevChunk(getContext, removed).asObjectChunk(); - ssa.remove(valuesToRemove, removed.asRowKeyChunk()); - } - if (added.isNonempty()) { - ssa.insert(valueSource.getChunk(getContext, added).asObjectChunk(), added.asRowKeyChunk()); + final ShiftObliviousListener asObjectListener = + new ShiftObliviousInstrumentedListenerAdapter(asObject, false) { + @Override + public void onUpdate(RowSet added, RowSet removed, RowSet modified) { + try (final ColumnSource.GetContext getContext = + valueSource.makeGetContext(Math.max(added.intSize(), removed.intSize()))) { + if (removed.isNonempty()) { + final ObjectChunk valuesToRemove = + valueSource.getPrevChunk(getContext, removed).asObjectChunk(); + ssa.remove(valuesToRemove, removed.asRowKeyChunk()); + } + if (added.isNonempty()) { + ssa.insert(valueSource.getChunk(getContext, added).asObjectChunk(), + added.asRowKeyChunk()); + } + } } - } - } - }; + }; asObject.addUpdateListener(asObjectListener); final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast(); while (desc.advance(50)) { updateGraph.runWithinUnitTestCycle(() -> { - final RowSet[] notify = GenerateTableUpdates.computeTableUpdates(desc.tableSize(), random, table, columnInfo, allowAddition, allowRemoval, false); + final RowSet[] notify = GenerateTableUpdates.computeTableUpdates(desc.tableSize(), random, table, + columnInfo, allowAddition, allowRemoval, false); assertTrue(notify[2].isEmpty()); table.notifyListeners(notify[0], notify[1], notify[2]); }); try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asObject.intSize()); - final RowSet asObjectRowSetCopy = asObject.getRowSet().copy()) { - checkSsa(ssa, valueSource.getChunk(getContext, asObjectRowSetCopy).asObjectChunk(), asObjectRowSetCopy.asRowKeyChunk(), desc); + final RowSet asObjectRowSetCopy = asObject.getRowSet().copy()) { + checkSsa(ssa, valueSource.getChunk(getContext, asObjectRowSetCopy).asObjectChunk(), + asObjectRowSetCopy.asRowKeyChunk(), desc); } if (!allowAddition && table.size() == 0) { @@ -240,10 +264,12 @@ public void onUpdate(RowSet added, RowSet removed, RowSet modified) { } } - private void checkSsaInitial(Table asObject, ObjectSegmentedSortedArray ssa, ColumnSource valueSource, @NotNull final SsaTestHelpers.TestDescriptor desc) { + private void checkSsaInitial(Table asObject, ObjectSegmentedSortedArray ssa, ColumnSource valueSource, + @NotNull final SsaTestHelpers.TestDescriptor desc) { try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asObject.intSize()); - final RowSet asObjectRowSetCopy = asObject.getRowSet().copy()) { - final ObjectChunk valueChunk = valueSource.getChunk(getContext, asObjectRowSetCopy).asObjectChunk(); + final RowSet asObjectRowSetCopy = asObject.getRowSet().copy()) { + final ObjectChunk valueChunk = + valueSource.getChunk(getContext, asObjectRowSetCopy).asObjectChunk(); final LongChunk tableIndexChunk = asObjectRowSetCopy.asRowKeyChunk(); ssa.insert(valueChunk, tableIndexChunk); @@ -252,7 +278,8 @@ private void checkSsaInitial(Table asObject, ObjectSegmentedSortedArray ssa, Col } } - private void checkSsa(ObjectSegmentedSortedArray ssa, ObjectChunk valueChunk, LongChunk tableIndexChunk, @NotNull final SsaTestHelpers.TestDescriptor desc) { + private void checkSsa(ObjectSegmentedSortedArray ssa, ObjectChunk valueChunk, + LongChunk tableIndexChunk, @NotNull final SsaTestHelpers.TestDescriptor desc) { try { ssa.validate(); ObjectSsaChecker.checkSsa(ssa, valueChunk, tableIndexChunk); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestShortSegmentedSortedArray.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestShortSegmentedSortedArray.java index 75d3595ca9b..288e4a7e30c 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestShortSegmentedSortedArray.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssa/TestShortSegmentedSortedArray.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharSegmentedSortedArray and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharSegmentedSortedArray and run "./gradlew replicateSegmentedSortedArrayTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssa; import io.deephaven.base.verify.AssertionFailure; @@ -77,10 +76,10 @@ public void testShifts() { final int[] tableSizes; if (SHORT_TESTS) { nSeeds = 5; - tableSizes = new int[]{ 100, 1_000 }; + tableSizes = new int[] {100, 1_000}; } else { nSeeds = 20; - tableSizes = new int[]{ 10, 100, 1_000, 10_000 }; + tableSizes = new int[] {10, 100, 1_000, 10_000}; } for (int seed = 0; seed < nSeeds; ++seed) { for (final int tableSize : tableSizes) { @@ -94,7 +93,7 @@ public void testShifts() { private void testShifts(@NotNull final SsaTestHelpers.TestDescriptor desc) { final Random random = new Random(desc.seed()); final ColumnInfo[] columnInfo; - final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[]{"Value"}, + final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[] {"Value"}, SsaTestHelpers.getGeneratorForShort())); final Table asShort = SsaTestHelpers.prepareTestTableForShort(table); @@ -106,93 +105,112 @@ private void testShifts(@NotNull final SsaTestHelpers.TestDescriptor desc) { checkSsaInitial(asShort, ssa, valueSource, desc); try (final SafeCloseable ignored = LivenessScopeStack.open(new LivenessScope(true), true)) { - final TableUpdateListener asShortListener = new InstrumentedTableUpdateListenerAdapter(asShort, false) { - @Override - public void onUpdate(TableUpdate upstream) { - try (final ColumnSource.GetContext checkContext = valueSource.makeGetContext(asShort.getRowSet().intSizePrev()); - final RowSet relevantIndices = asShort.getRowSet().copyPrev()) { - checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asShortChunk(), relevantIndices.asRowKeyChunk(), desc); - } - - final int size = Math.max(upstream.modified().intSize() + Math.max(upstream.added().intSize(), upstream.removed().intSize()), (int) upstream.shifted().getEffectiveSize()); - try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(size); - final RowSet takeout = upstream.removed().union(upstream.getModifiedPreShift())) { - ssa.validate(); - - if (takeout.isNonempty()) { - final ShortChunk valuesToRemove = valueSource.getPrevChunk(getContext, takeout).asShortChunk(); - ssa.remove(valuesToRemove, takeout.asRowKeyChunk()); - } - - ssa.validate(); + final TableUpdateListener asShortListener = + new InstrumentedTableUpdateListenerAdapter(asShort, false) { + @Override + public void onUpdate(TableUpdate upstream) { + try (final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(asShort.getRowSet().intSizePrev()); + final RowSet relevantIndices = asShort.getRowSet().copyPrev()) { + checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asShortChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - try (final RowSet prevRowSet = asShort.getRowSet().copyPrev(); - final ColumnSource.GetContext checkContext = valueSource.makeGetContext(prevRowSet.intSize()); - final RowSet relevantIndices = prevRowSet.minus(takeout)) { - checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asShortChunk(), relevantIndices.asRowKeyChunk(), desc); - } + final int size = Math.max( + upstream.modified().intSize() + + Math.max(upstream.added().intSize(), upstream.removed().intSize()), + (int) upstream.shifted().getEffectiveSize()); + try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(size); + final RowSet takeout = upstream.removed().union(upstream.getModifiedPreShift())) { + ssa.validate(); + + if (takeout.isNonempty()) { + final ShortChunk valuesToRemove = + valueSource.getPrevChunk(getContext, takeout).asShortChunk(); + ssa.remove(valuesToRemove, takeout.asRowKeyChunk()); + } - if (upstream.shifted().nonempty()) { - final RowSetShiftData.Iterator sit = upstream.shifted().applyIterator(); - while (sit.hasNext()) { - sit.next(); - try (final RowSet prevRowSet = table.getRowSet().copyPrev(); - final RowSet subRowSet = prevRowSet.subSetByKeyRange(sit.beginRange(), sit.endRange()); - final RowSet withoutMods = subRowSet.minus(upstream.getModifiedPreShift()); - final RowSet rowSetToShift = withoutMods.minus(upstream.removed())) { - if (rowSetToShift.isEmpty()) { - continue; - } + ssa.validate(); - final ShortChunk shiftValues = valueSource.getPrevChunk(getContext, rowSetToShift).asShortChunk(); + try (final RowSet prevRowSet = asShort.getRowSet().copyPrev(); + final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(prevRowSet.intSize()); + final RowSet relevantIndices = prevRowSet.minus(takeout)) { + checkSsa(ssa, valueSource.getPrevChunk(checkContext, relevantIndices).asShortChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - if (sit.polarityReversed()) { - ssa.applyShiftReverse(shiftValues, rowSetToShift.asRowKeyChunk(), sit.shiftDelta()); - } else { - ssa.applyShift(shiftValues, rowSetToShift.asRowKeyChunk(), sit.shiftDelta()); + if (upstream.shifted().nonempty()) { + final RowSetShiftData.Iterator sit = upstream.shifted().applyIterator(); + while (sit.hasNext()) { + sit.next(); + try (final RowSet prevRowSet = table.getRowSet().copyPrev(); + final RowSet subRowSet = + prevRowSet.subSetByKeyRange(sit.beginRange(), sit.endRange()); + final RowSet withoutMods = + subRowSet.minus(upstream.getModifiedPreShift()); + final RowSet rowSetToShift = withoutMods.minus(upstream.removed())) { + if (rowSetToShift.isEmpty()) { + continue; + } + + final ShortChunk shiftValues = + valueSource.getPrevChunk(getContext, rowSetToShift).asShortChunk(); + + if (sit.polarityReversed()) { + ssa.applyShiftReverse(shiftValues, rowSetToShift.asRowKeyChunk(), + sit.shiftDelta()); + } else { + ssa.applyShift(shiftValues, rowSetToShift.asRowKeyChunk(), + sit.shiftDelta()); + } + } } } - } - } - ssa.validate(); + ssa.validate(); - try (final RowSet putin = upstream.added().union(upstream.modified())) { + try (final RowSet putin = upstream.added().union(upstream.modified())) { - try (final ColumnSource.GetContext checkContext = valueSource.makeGetContext(asShort.intSize()); - final RowSet relevantIndices = asShort.getRowSet().minus(putin)) { - checkSsa(ssa, valueSource.getChunk(checkContext, relevantIndices).asShortChunk(), relevantIndices.asRowKeyChunk(), desc); - } + try (final ColumnSource.GetContext checkContext = + valueSource.makeGetContext(asShort.intSize()); + final RowSet relevantIndices = asShort.getRowSet().minus(putin)) { + checkSsa(ssa, valueSource.getChunk(checkContext, relevantIndices).asShortChunk(), + relevantIndices.asRowKeyChunk(), desc); + } - if (putin.isNonempty()) { - final ShortChunk valuesToInsert = valueSource.getChunk(getContext, putin).asShortChunk(); - ssa.insert(valuesToInsert, putin.asRowKeyChunk()); + if (putin.isNonempty()) { + final ShortChunk valuesToInsert = + valueSource.getChunk(getContext, putin).asShortChunk(); + ssa.insert(valuesToInsert, putin.asRowKeyChunk()); + } + } + + ssa.validate(); } } - - ssa.validate(); - } - } - }; + }; asShort.addUpdateListener(asShortListener); final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast(); while (desc.advance(50)) { - updateGraph.runWithinUnitTestCycle(() -> - GenerateTableUpdates.generateShiftAwareTableUpdates(GenerateTableUpdates.DEFAULT_PROFILE, desc.tableSize(), random, table, columnInfo)); + updateGraph.runWithinUnitTestCycle(() -> GenerateTableUpdates.generateShiftAwareTableUpdates( + GenerateTableUpdates.DEFAULT_PROFILE, desc.tableSize(), random, table, columnInfo)); try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asShort.intSize()); final RowSet asShortRowSetCopy = asShort.getRowSet().copy()) { - checkSsa(ssa, valueSource.getChunk(getContext, asShortRowSetCopy).asShortChunk(), asShortRowSetCopy.asRowKeyChunk(), desc); + checkSsa(ssa, valueSource.getChunk(getContext, asShortRowSetCopy).asShortChunk(), + asShortRowSetCopy.asRowKeyChunk(), desc); } } } } - private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, boolean allowAddition, boolean allowRemoval) { + private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, boolean allowAddition, + boolean allowRemoval) { final Random random = new Random(desc.seed()); final ColumnInfo[] columnInfo; - final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[]{"Value"}, + final QueryTable table = getTable(desc.tableSize(), random, columnInfo = initColumnInfos(new String[] {"Value"}, SsaTestHelpers.getGeneratorForShort())); final Table asShort = SsaTestHelpers.prepareTestTableForShort(table); @@ -204,33 +222,39 @@ private void testUpdates(@NotNull final SsaTestHelpers.TestDescriptor desc, bool checkSsaInitial(asShort, ssa, valueSource, desc); try (final SafeCloseable ignored = LivenessScopeStack.open(new LivenessScope(true), true)) { - final ShiftObliviousListener asShortListener = new ShiftObliviousInstrumentedListenerAdapter(asShort, false) { - @Override - public void onUpdate(RowSet added, RowSet removed, RowSet modified) { - try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(Math.max(added.intSize(), removed.intSize()))) { - if (removed.isNonempty()) { - final ShortChunk valuesToRemove = valueSource.getPrevChunk(getContext, removed).asShortChunk(); - ssa.remove(valuesToRemove, removed.asRowKeyChunk()); - } - if (added.isNonempty()) { - ssa.insert(valueSource.getChunk(getContext, added).asShortChunk(), added.asRowKeyChunk()); + final ShiftObliviousListener asShortListener = + new ShiftObliviousInstrumentedListenerAdapter(asShort, false) { + @Override + public void onUpdate(RowSet added, RowSet removed, RowSet modified) { + try (final ColumnSource.GetContext getContext = + valueSource.makeGetContext(Math.max(added.intSize(), removed.intSize()))) { + if (removed.isNonempty()) { + final ShortChunk valuesToRemove = + valueSource.getPrevChunk(getContext, removed).asShortChunk(); + ssa.remove(valuesToRemove, removed.asRowKeyChunk()); + } + if (added.isNonempty()) { + ssa.insert(valueSource.getChunk(getContext, added).asShortChunk(), + added.asRowKeyChunk()); + } + } } - } - } - }; + }; asShort.addUpdateListener(asShortListener); final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast(); while (desc.advance(50)) { updateGraph.runWithinUnitTestCycle(() -> { - final RowSet[] notify = GenerateTableUpdates.computeTableUpdates(desc.tableSize(), random, table, columnInfo, allowAddition, allowRemoval, false); + final RowSet[] notify = GenerateTableUpdates.computeTableUpdates(desc.tableSize(), random, table, + columnInfo, allowAddition, allowRemoval, false); assertTrue(notify[2].isEmpty()); table.notifyListeners(notify[0], notify[1], notify[2]); }); try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asShort.intSize()); - final RowSet asShortRowSetCopy = asShort.getRowSet().copy()) { - checkSsa(ssa, valueSource.getChunk(getContext, asShortRowSetCopy).asShortChunk(), asShortRowSetCopy.asRowKeyChunk(), desc); + final RowSet asShortRowSetCopy = asShort.getRowSet().copy()) { + checkSsa(ssa, valueSource.getChunk(getContext, asShortRowSetCopy).asShortChunk(), + asShortRowSetCopy.asRowKeyChunk(), desc); } if (!allowAddition && table.size() == 0) { @@ -240,10 +264,12 @@ public void onUpdate(RowSet added, RowSet removed, RowSet modified) { } } - private void checkSsaInitial(Table asShort, ShortSegmentedSortedArray ssa, ColumnSource valueSource, @NotNull final SsaTestHelpers.TestDescriptor desc) { + private void checkSsaInitial(Table asShort, ShortSegmentedSortedArray ssa, ColumnSource valueSource, + @NotNull final SsaTestHelpers.TestDescriptor desc) { try (final ColumnSource.GetContext getContext = valueSource.makeGetContext(asShort.intSize()); - final RowSet asShortRowSetCopy = asShort.getRowSet().copy()) { - final ShortChunk valueChunk = valueSource.getChunk(getContext, asShortRowSetCopy).asShortChunk(); + final RowSet asShortRowSetCopy = asShort.getRowSet().copy()) { + final ShortChunk valueChunk = + valueSource.getChunk(getContext, asShortRowSetCopy).asShortChunk(); final LongChunk tableIndexChunk = asShortRowSetCopy.asRowKeyChunk(); ssa.insert(valueChunk, tableIndexChunk); @@ -252,7 +278,8 @@ private void checkSsaInitial(Table asShort, ShortSegmentedSortedArray ssa, Colum } } - private void checkSsa(ShortSegmentedSortedArray ssa, ShortChunk valueChunk, LongChunk tableIndexChunk, @NotNull final SsaTestHelpers.TestDescriptor desc) { + private void checkSsa(ShortSegmentedSortedArray ssa, ShortChunk valueChunk, + LongChunk tableIndexChunk, @NotNull final SsaTestHelpers.TestDescriptor desc) { try { ssa.validate(); ShortSsaChecker.checkSsa(ssa, valueChunk, tableIndexChunk); diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/RemoveNullsKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/RemoveNullsKernel.java index 4ccca5da214..3700a15495d 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/RemoveNullsKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/RemoveNullsKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.ssms; import io.deephaven.chunk.WritableCharChunk; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestByteSegmentedSortedMultiset.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestByteSegmentedSortedMultiset.java index ffbf919954f..d7bacaf028f 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestByteSegmentedSortedMultiset.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestByteSegmentedSortedMultiset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharSegmentedSortedMultiset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharSegmentedSortedMultiset and run "./gradlew replicateSegmentedSortedMultisetTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssms; import io.deephaven.base.verify.AssertionFailure; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestDoubleSegmentedSortedMultiset.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestDoubleSegmentedSortedMultiset.java index 7a0647d5e2f..d8fd6b79773 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestDoubleSegmentedSortedMultiset.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestDoubleSegmentedSortedMultiset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharSegmentedSortedMultiset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharSegmentedSortedMultiset and run "./gradlew replicateSegmentedSortedMultisetTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssms; import io.deephaven.base.verify.AssertionFailure; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestFloatSegmentedSortedMultiset.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestFloatSegmentedSortedMultiset.java index 2588c8e6817..1469bcba0a0 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestFloatSegmentedSortedMultiset.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestFloatSegmentedSortedMultiset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharSegmentedSortedMultiset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharSegmentedSortedMultiset and run "./gradlew replicateSegmentedSortedMultisetTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssms; import io.deephaven.base.verify.AssertionFailure; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestIntSegmentedSortedMultiset.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestIntSegmentedSortedMultiset.java index 6da8de26c21..a3259a702a0 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestIntSegmentedSortedMultiset.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestIntSegmentedSortedMultiset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharSegmentedSortedMultiset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharSegmentedSortedMultiset and run "./gradlew replicateSegmentedSortedMultisetTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssms; import io.deephaven.base.verify.AssertionFailure; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestLongSegmentedSortedMultiset.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestLongSegmentedSortedMultiset.java index a7d039379ff..491e9935d87 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestLongSegmentedSortedMultiset.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestLongSegmentedSortedMultiset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharSegmentedSortedMultiset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharSegmentedSortedMultiset and run "./gradlew replicateSegmentedSortedMultisetTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssms; import io.deephaven.base.verify.AssertionFailure; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestObjectSegmentedSortedMultiset.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestObjectSegmentedSortedMultiset.java index 72246799b4e..98862b6cea3 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestObjectSegmentedSortedMultiset.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestObjectSegmentedSortedMultiset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharSegmentedSortedMultiset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharSegmentedSortedMultiset and run "./gradlew replicateSegmentedSortedMultisetTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssms; import io.deephaven.base.verify.AssertionFailure; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestShortSegmentedSortedMultiset.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestShortSegmentedSortedMultiset.java index 62c70c02aad..452fbfb4ad3 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestShortSegmentedSortedMultiset.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/ssms/TestShortSegmentedSortedMultiset.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharSegmentedSortedMultiset and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharSegmentedSortedMultiset and run "./gradlew replicateSegmentedSortedMultisetTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.ssms; import io.deephaven.base.verify.AssertionFailure; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/BaseUpdateByTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/BaseUpdateByTest.java index fcaaa038cf5..dfe41243949 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/BaseUpdateByTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/BaseUpdateByTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.datastructures.util.CollectionUtil; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestCumMinMax.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestCumMinMax.java index 20297dd6279..f6a59ca2167 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestCumMinMax.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestCumMinMax.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.updateby.UpdateByOperation; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestCumProd.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestCumProd.java index 0fbfe5ddc60..dacb162696b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestCumProd.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestCumProd.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.updateby.UpdateByControl; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestCumSum.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestCumSum.java index 39b851aa5ad..0722ef97603 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestCumSum.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestCumSum.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.updateby.UpdateByControl; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestDelta.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestDelta.java index 90fcc8cb72f..2775234ffab 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestDelta.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestDelta.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.updateby.DeltaControl; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestEmMinMax.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestEmMinMax.java index 224d0b55adc..e6741f0b1f4 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestEmMinMax.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestEmMinMax.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.updateby.BadDataBehavior; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestEmStd.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestEmStd.java index 5f0b15ed561..795ffe81dae 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestEmStd.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestEmStd.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.updateby.BadDataBehavior; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestEma.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestEma.java index 4678ee098aa..aec517a053c 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestEma.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestEma.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.updateby.BadDataBehavior; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestEms.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestEms.java index 2466ec845ab..5ec68ee4c8a 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestEms.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestEms.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.updateby.BadDataBehavior; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestForwardFill.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestForwardFill.java index fd97d29fbdd..1bd2ba533db 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestForwardFill.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestForwardFill.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.updateby.UpdateByOperation; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingAvg.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingAvg.java index f17c43e792e..8124ff6bd37 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingAvg.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingAvg.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingCount.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingCount.java index 6abbf383194..6f4d5735362 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingCount.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingCount.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingFormula.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingFormula.java index 34a54defeff..29d491c0641 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingFormula.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingFormula.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.updateby.UpdateByControl; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingGroup.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingGroup.java index 2160c84c41e..dd3c0b03345 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingGroup.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingGroup.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingMinMax.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingMinMax.java index 31ceb3915fd..ed4be9a2cd2 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingMinMax.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingMinMax.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingProduct.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingProduct.java index d01a1749111..97fb7e0ba49 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingProduct.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingProduct.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingStd.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingStd.java index e4f2a635c95..50e13e91b73 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingStd.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingStd.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingSum.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingSum.java index 64501f231af..a5397d9c45d 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingSum.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingSum.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.updateby.UpdateByControl; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingWAvg.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingWAvg.java index d3c72ecd90d..30ac4b6ecba 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingWAvg.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestRollingWAvg.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestUpdateByGeneral.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestUpdateByGeneral.java index 8aa9e52f4ea..840ffcc1837 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestUpdateByGeneral.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/updateby/TestUpdateByGeneral.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.updateby; import io.deephaven.api.ColumnName; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/ModelFileGenerator.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/ModelFileGenerator.java index b3feb5d6b46..2d51252f456 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/ModelFileGenerator.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/ModelFileGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import junit.framework.TestCase; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/RowRedirectionLockFreeTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/RowRedirectionLockFreeTest.java index 767836b0ee5..74869f1cbb9 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/RowRedirectionLockFreeTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/RowRedirectionLockFreeTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/RowRedirectionTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/RowRedirectionTest.java index 09b037c6635..b766b177786 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/RowRedirectionTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/RowRedirectionTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/RowSetShiftDataExpanderTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/RowSetShiftDataExpanderTest.java index e4bef7a17bc..f5504cb51c0 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/RowSetShiftDataExpanderTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/RowSetShiftDataExpanderTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/RowSetShiftDataTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/RowSetShiftDataTest.java index f247d5530f1..97ec38f5cea 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/RowSetShiftDataTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/RowSetShiftDataTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.rowset.*; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/ServerStateTrackerTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/ServerStateTrackerTest.java index 04eed50766b..dae2374f583 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/ServerStateTrackerTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/ServerStateTrackerTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import org.junit.Test; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/ShiftDataTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/ShiftDataTest.java index 9e883d64daa..1e3573b9567 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/ShiftDataTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/ShiftDataTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.rowset.RowSet; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestColumnsToRowsTransform.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestColumnsToRowsTransform.java index 875c025ec37..c9b8ba70abc 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestColumnsToRowsTransform.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestColumnsToRowsTransform.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.chunk.attributes.Values; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestDynamicTableWriter.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestDynamicTableWriter.java index c55ff37be2c..062a5e100ff 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestDynamicTableWriter.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestDynamicTableWriter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestFreezeBy.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestFreezeBy.java index aadefd962bc..f3a506650e1 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestFreezeBy.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestFreezeBy.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.api.Selectable; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestFunctionGeneratedTableFactory.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestFunctionGeneratedTableFactory.java index b44c1d8d864..58da4e080da 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestFunctionGeneratedTableFactory.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestFunctionGeneratedTableFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestHashSetBackedTableFactory.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestHashSetBackedTableFactory.java index 873d9ff4ae8..a499c996583 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestHashSetBackedTableFactory.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestHashSetBackedTableFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestIncrementalReleaseFilter.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestIncrementalReleaseFilter.java index 60a94df615f..e89c7d56e58 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestIncrementalReleaseFilter.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestIncrementalReleaseFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestKeyedArrayBackedInputTable.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestKeyedArrayBackedInputTable.java index 72d468c4e8b..5f796590321 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestKeyedArrayBackedInputTable.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestKeyedArrayBackedInputTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestRedirectedColumnSource.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestRedirectedColumnSource.java index 288f6800b87..9bc834fabc2 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestRedirectedColumnSource.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestRedirectedColumnSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestSyncTableFilter.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestSyncTableFilter.java index 207e66f4ce6..b90ce4bf90d 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestSyncTableFilter.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestSyncTableFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestTailInitializationFilter.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestTailInitializationFilter.java index 6d66861589e..e088f41f1f7 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestTailInitializationFilter.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestTailInitializationFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestTimeSeriesFilter.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestTimeSeriesFilter.java index 9b5105b8f6b..f71f8b3c01c 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestTimeSeriesFilter.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/TestTimeSeriesFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/UpdateCoalescerTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/UpdateCoalescerTest.java index e3b56aa9ab7..610a4712c46 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/UpdateCoalescerTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/UpdateCoalescerTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestBooleanCopyKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestBooleanCopyKernel.java index 8be2df6cadf..54990ca9ae3 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestBooleanCopyKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestBooleanCopyKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharCopyKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharCopyKernel and run "./gradlew replicateCopyKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.attributes.Values; @@ -23,7 +22,7 @@ public void confirmEdgecaseFixed() { final boolean[] baseInput = new boolean[64]; final boolean[] overInput = new boolean[64]; final long[] useOverInput = new long[1]; - useOverInput[0] = 1L << 63; // This is the edge case + useOverInput[0] = 1L << 63; // This is the edge case BooleanCopyKernel.conditionalCopy(output, baseInput, overInput, useOverInput, 0, 0, 64); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestByteCopyKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestByteCopyKernel.java index 3c5d32f43bc..ed9d61c93b8 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestByteCopyKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestByteCopyKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharCopyKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharCopyKernel and run "./gradlew replicateCopyKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.attributes.Values; @@ -23,7 +22,7 @@ public void confirmEdgecaseFixed() { final byte[] baseInput = new byte[64]; final byte[] overInput = new byte[64]; final long[] useOverInput = new long[1]; - useOverInput[0] = 1L << 63; // This is the edge case + useOverInput[0] = 1L << 63; // This is the edge case ByteCopyKernel.conditionalCopy(output, baseInput, overInput, useOverInput, 0, 0, 64); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestCharCopyKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestCharCopyKernel.java index 369f80c7525..63f1b1f12c6 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestCharCopyKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestCharCopyKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.attributes.Values; @@ -18,7 +18,7 @@ public void confirmEdgecaseFixed() { final char[] baseInput = new char[64]; final char[] overInput = new char[64]; final long[] useOverInput = new long[1]; - useOverInput[0] = 1L << 63; // This is the edge case + useOverInput[0] = 1L << 63; // This is the edge case CharCopyKernel.conditionalCopy(output, baseInput, overInput, useOverInput, 0, 0, 64); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestDoubleCopyKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestDoubleCopyKernel.java index bad78e91a94..35c8c57b89b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestDoubleCopyKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestDoubleCopyKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharCopyKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharCopyKernel and run "./gradlew replicateCopyKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.attributes.Values; @@ -23,7 +22,7 @@ public void confirmEdgecaseFixed() { final double[] baseInput = new double[64]; final double[] overInput = new double[64]; final long[] useOverInput = new long[1]; - useOverInput[0] = 1L << 63; // This is the edge case + useOverInput[0] = 1L << 63; // This is the edge case DoubleCopyKernel.conditionalCopy(output, baseInput, overInput, useOverInput, 0, 0, 64); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestFloatCopyKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestFloatCopyKernel.java index 045f665a3bf..30cccd2fb62 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestFloatCopyKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestFloatCopyKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharCopyKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharCopyKernel and run "./gradlew replicateCopyKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.attributes.Values; @@ -23,7 +22,7 @@ public void confirmEdgecaseFixed() { final float[] baseInput = new float[64]; final float[] overInput = new float[64]; final long[] useOverInput = new long[1]; - useOverInput[0] = 1L << 63; // This is the edge case + useOverInput[0] = 1L << 63; // This is the edge case FloatCopyKernel.conditionalCopy(output, baseInput, overInput, useOverInput, 0, 0, 64); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestIntCopyKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestIntCopyKernel.java index 41dbfa562d2..d427f075349 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestIntCopyKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestIntCopyKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharCopyKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharCopyKernel and run "./gradlew replicateCopyKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.attributes.Values; @@ -23,7 +22,7 @@ public void confirmEdgecaseFixed() { final int[] baseInput = new int[64]; final int[] overInput = new int[64]; final long[] useOverInput = new long[1]; - useOverInput[0] = 1L << 63; // This is the edge case + useOverInput[0] = 1L << 63; // This is the edge case IntCopyKernel.conditionalCopy(output, baseInput, overInput, useOverInput, 0, 0, 64); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestLongCopyKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestLongCopyKernel.java index 25478bfec69..f1fbefa709f 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestLongCopyKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestLongCopyKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharCopyKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharCopyKernel and run "./gradlew replicateCopyKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.attributes.Values; @@ -23,7 +22,7 @@ public void confirmEdgecaseFixed() { final long[] baseInput = new long[64]; final long[] overInput = new long[64]; final long[] useOverInput = new long[1]; - useOverInput[0] = 1L << 63; // This is the edge case + useOverInput[0] = 1L << 63; // This is the edge case LongCopyKernel.conditionalCopy(output, baseInput, overInput, useOverInput, 0, 0, 64); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestObjectCopyKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestObjectCopyKernel.java index f81dc0330ce..56465a1cdc9 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestObjectCopyKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestObjectCopyKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharCopyKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharCopyKernel and run "./gradlew replicateCopyKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.attributes.Values; @@ -23,7 +22,7 @@ public void confirmEdgecaseFixed() { final Object[] baseInput = new Object[64]; final Object[] overInput = new Object[64]; final long[] useOverInput = new long[1]; - useOverInput[0] = 1L << 63; // This is the edge case + useOverInput[0] = 1L << 63; // This is the edge case ObjectCopyKernel.conditionalCopy(output, baseInput, overInput, useOverInput, 0, 0, 64); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestShortCopyKernel.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestShortCopyKernel.java index 967d4e30bff..9b21f0c9649 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestShortCopyKernel.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/util/copy/TestShortCopyKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharCopyKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TestCharCopyKernel and run "./gradlew replicateCopyKernelTests" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.util.copy; import io.deephaven.chunk.attributes.Values; @@ -23,7 +22,7 @@ public void confirmEdgecaseFixed() { final short[] baseInput = new short[64]; final short[] overInput = new short[64]; final long[] useOverInput = new long[1]; - useOverInput[0] = 1L << 63; // This is the edge case + useOverInput[0] = 1L << 63; // This is the edge case ShortCopyKernel.conditionalCopy(output, baseInput, overInput, useOverInput, 0, 0, 64); } } diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/ByteVectorColumnWrapperTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/ByteVectorColumnWrapperTest.java index bd5521f5c64..e162757704c 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/ByteVectorColumnWrapperTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/ByteVectorColumnWrapperTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorColumnWrapperTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorColumnWrapperTest and run "./gradlew replicateVectorColumnWrappers" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.vector; import io.deephaven.engine.table.impl.sources.ArrayBackedColumnSource; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/CharVectorColumnWrapperTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/CharVectorColumnWrapperTest.java index 096a4660e76..5991a92028d 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/CharVectorColumnWrapperTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/CharVectorColumnWrapperTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.vector; import io.deephaven.engine.table.impl.sources.ArrayBackedColumnSource; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/DoubleVectorColumnWrapperTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/DoubleVectorColumnWrapperTest.java index 9388f530391..6e5114a354b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/DoubleVectorColumnWrapperTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/DoubleVectorColumnWrapperTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorColumnWrapperTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorColumnWrapperTest and run "./gradlew replicateVectorColumnWrappers" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.vector; import io.deephaven.engine.table.impl.sources.ArrayBackedColumnSource; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/FloatVectorColumnWrapperTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/FloatVectorColumnWrapperTest.java index 9f55b14f22d..c94d567b435 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/FloatVectorColumnWrapperTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/FloatVectorColumnWrapperTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorColumnWrapperTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorColumnWrapperTest and run "./gradlew replicateVectorColumnWrappers" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.vector; import io.deephaven.engine.table.impl.sources.ArrayBackedColumnSource; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/IntVectorColumnWrapperTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/IntVectorColumnWrapperTest.java index 59d3fa4cb89..bd4560090ca 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/IntVectorColumnWrapperTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/IntVectorColumnWrapperTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorColumnWrapperTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorColumnWrapperTest and run "./gradlew replicateVectorColumnWrappers" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.vector; import io.deephaven.engine.table.impl.sources.ArrayBackedColumnSource; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/LongVectorColumnWrapperTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/LongVectorColumnWrapperTest.java index 2f2d2c6e09b..fc2a2a1c50b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/LongVectorColumnWrapperTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/LongVectorColumnWrapperTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorColumnWrapperTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorColumnWrapperTest and run "./gradlew replicateVectorColumnWrappers" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.vector; import io.deephaven.engine.table.impl.sources.ArrayBackedColumnSource; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/ObjectVectorColumnWrapperTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/ObjectVectorColumnWrapperTest.java index ff08f5913c5..6862255819b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/ObjectVectorColumnWrapperTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/ObjectVectorColumnWrapperTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorColumnWrapperTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorColumnWrapperTest and run "./gradlew replicateVectorColumnWrappers" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.vector; import io.deephaven.engine.table.impl.sources.ArrayBackedColumnSource; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/ShortVectorColumnWrapperTest.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/ShortVectorColumnWrapperTest.java index eca2a16059a..a428af5af77 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/ShortVectorColumnWrapperTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/vector/ShortVectorColumnWrapperTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorColumnWrapperTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorColumnWrapperTest and run "./gradlew replicateVectorColumnWrappers" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.vector; import io.deephaven.engine.table.impl.sources.ArrayBackedColumnSource; diff --git a/engine/table/src/test/java/io/deephaven/engine/table/impl/verify/TestTableAssertions.java b/engine/table/src/test/java/io/deephaven/engine/table/impl/verify/TestTableAssertions.java index 1691ab308bb..a2fcf583138 100644 --- a/engine/table/src/test/java/io/deephaven/engine/table/impl/verify/TestTableAssertions.java +++ b/engine/table/src/test/java/io/deephaven/engine/table/impl/verify/TestTableAssertions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.verify; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/updategraph/impl/TestEventDrivenUpdateGraph.java b/engine/table/src/test/java/io/deephaven/engine/updategraph/impl/TestEventDrivenUpdateGraph.java index ed398ca15c3..647a1b02cc0 100644 --- a/engine/table/src/test/java/io/deephaven/engine/updategraph/impl/TestEventDrivenUpdateGraph.java +++ b/engine/table/src/test/java/io/deephaven/engine/updategraph/impl/TestEventDrivenUpdateGraph.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph.impl; import io.deephaven.api.agg.Aggregation; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/JpyPlaypen.java b/engine/table/src/test/java/io/deephaven/engine/util/JpyPlaypen.java index c970afb3ff5..d5ab5130feb 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/JpyPlaypen.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/JpyPlaypen.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import org.jpy.PyInputMode; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/TestCalendarMethodsFromTable.java b/engine/table/src/test/java/io/deephaven/engine/util/TestCalendarMethodsFromTable.java index adca4f05923..0bdeacd8ea4 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/TestCalendarMethodsFromTable.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/TestCalendarMethodsFromTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/TestClock.java b/engine/table/src/test/java/io/deephaven/engine/util/TestClock.java index b29cde4ba4f..2a7debb4362 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/TestClock.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/TestClock.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.base.clock.ClockNanoBase; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/TestColorUtil.java b/engine/table/src/test/java/io/deephaven/engine/util/TestColorUtil.java index c25f98dce5e..b32ca284c35 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/TestColorUtil.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/TestColorUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/TestCompileSimpleFunction.java b/engine/table/src/test/java/io/deephaven/engine/util/TestCompileSimpleFunction.java index fea7cee27b1..a2e1a5c71b7 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/TestCompileSimpleFunction.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/TestCompileSimpleFunction.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.engine.testutil.testcase.RefreshingTableTestCase; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/TestJobScheduler.java b/engine/table/src/test/java/io/deephaven/engine/util/TestJobScheduler.java index 8fe3794316a..2e05d840473 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/TestJobScheduler.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/TestJobScheduler.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/TestOuterJoinTools.java b/engine/table/src/test/java/io/deephaven/engine/util/TestOuterJoinTools.java index f8993bf0355..037c90cf7fc 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/TestOuterJoinTools.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/TestOuterJoinTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.engine.table.Table; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/TestTableTools.java b/engine/table/src/test/java/io/deephaven/engine/util/TestTableTools.java index df34e4b5a33..fcdccf4a1f5 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/TestTableTools.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/TestTableTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.chunk.IntChunk; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/TestToMapListener.java b/engine/table/src/test/java/io/deephaven/engine/util/TestToMapListener.java index 2ef81d57d13..7b64f7253d6 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/TestToMapListener.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/TestToMapListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/TestTypeUtils.java b/engine/table/src/test/java/io/deephaven/engine/util/TestTypeUtils.java index b66bf595cea..46bad50b275 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/TestTypeUtils.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/TestTypeUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.base.verify.Require; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/TestWindowCheck.java b/engine/table/src/test/java/io/deephaven/engine/util/TestWindowCheck.java index 4d22e210975..5447d132b0b 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/TestWindowCheck.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/TestWindowCheck.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.base.Pair; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/TimeTableTest.java b/engine/table/src/test/java/io/deephaven/engine/util/TimeTableTest.java index 8d79f13d3b0..2e630943ce7 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/TimeTableTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/TimeTableTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import io.deephaven.chunk.WritableLongChunk; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/VarargReflectionPlaypen.java b/engine/table/src/test/java/io/deephaven/engine/util/VarargReflectionPlaypen.java index fded4a454f9..a6f177f5426 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/VarargReflectionPlaypen.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/VarargReflectionPlaypen.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util; import java.lang.reflect.Method; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/file/TestFileHandle.java b/engine/table/src/test/java/io/deephaven/engine/util/file/TestFileHandle.java index b45f31c1b1d..ba5a4e30073 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/file/TestFileHandle.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/file/TestFileHandle.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.file; import junit.framework.TestCase; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/file/TestTrackedFileHandleFactory.java b/engine/table/src/test/java/io/deephaven/engine/util/file/TestTrackedFileHandleFactory.java index d1f832086c5..909c2c71147 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/file/TestTrackedFileHandleFactory.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/file/TestTrackedFileHandleFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.file; import io.deephaven.base.testing.BaseCachedJMockTestCase; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/file/TestTrackedSeekableByteChannel.java b/engine/table/src/test/java/io/deephaven/engine/util/file/TestTrackedSeekableByteChannel.java index 9464632b900..9c38bf1266d 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/file/TestTrackedSeekableByteChannel.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/file/TestTrackedSeekableByteChannel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.file; import junit.framework.TestCase; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/jpy/JpyConfigFlagTest.java b/engine/table/src/test/java/io/deephaven/engine/util/jpy/JpyConfigFlagTest.java index 21327bf71dd..00fb1c001ae 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/jpy/JpyConfigFlagTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/jpy/JpyConfigFlagTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.jpy; import io.deephaven.jpy.JpyConfig.Flag; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/jpy/JpyConfigLoaderTest.java b/engine/table/src/test/java/io/deephaven/engine/util/jpy/JpyConfigLoaderTest.java index 55d6bed7481..730ecac72bd 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/jpy/JpyConfigLoaderTest.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/jpy/JpyConfigLoaderTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.jpy; import io.deephaven.configuration.Configuration; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/scripts/TestGroovyDeephavenSession.java b/engine/table/src/test/java/io/deephaven/engine/util/scripts/TestGroovyDeephavenSession.java index ed265465494..365c4505eb7 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/scripts/TestGroovyDeephavenSession.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/scripts/TestGroovyDeephavenSession.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.scripts; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/table/src/test/java/io/deephaven/engine/util/scripts/wontbeused/WontBeUsed.java b/engine/table/src/test/java/io/deephaven/engine/util/scripts/wontbeused/WontBeUsed.java index 2a20ead7aaa..eb6f17e0ed7 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/scripts/wontbeused/WontBeUsed.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/scripts/wontbeused/WontBeUsed.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.scripts.wontbeused; /** diff --git a/engine/table/src/test/java/io/deephaven/engine/util/systemicmarking/TestSystemicObjectMarking.java b/engine/table/src/test/java/io/deephaven/engine/util/systemicmarking/TestSystemicObjectMarking.java index 4b34c5cd813..4fe1970115a 100644 --- a/engine/table/src/test/java/io/deephaven/engine/util/systemicmarking/TestSystemicObjectMarking.java +++ b/engine/table/src/test/java/io/deephaven/engine/util/systemicmarking/TestSystemicObjectMarking.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.systemicmarking; import io.deephaven.engine.context.ExecutionContext; @@ -28,7 +28,8 @@ public void testSystemicObjectMarking() { () -> source.update("UC=Str.toUpperCase()")); final Table updated2 = SystemicObjectTracker.executeSystemically(false, () -> { - return ExecutionContext.getContext().getUpdateGraph().sharedLock().computeLocked(() -> source.update("LC=Str2.toLowerCase()")); + return ExecutionContext.getContext().getUpdateGraph().sharedLock() + .computeLocked(() -> source.update("LC=Str2.toLowerCase()")); }); TableTools.showWithRowSet(updated); @@ -72,9 +73,9 @@ public void testSystemicObjectMarking() { UpdateGraph updateGraph1 = ExecutionContext.getContext().getUpdateGraph(); UpdateGraph updateGraph = updateGraph1.cast(); updateGraph.cast().runWithinUnitTestCycle(() -> { - TstUtils.addToTable(source, i(7, 8), col("Str", "g", null), col("Str2", "G", "H")); - source.notifyListeners(i(7, 8), i(), i()); - }); + TstUtils.addToTable(source, i(7, 8), col("Str", "g", null), col("Str2", "G", "H")); + source.notifyListeners(i(7, 8), i(), i()); + }); }, TestSystemicObjectMarking::isNpe); assertTrue(updated.isFailed()); @@ -86,7 +87,7 @@ public void testSystemicObjectMarking() { private static boolean isNpe(List throwables) { - if (1 != throwables.size()) { + if (1 != throwables.size()) { return false; } if (!throwables.get(0).getClass().equals(FormulaEvaluationException.class)) { diff --git a/engine/table/src/test/java/io/deephaven/qst/type/PrimitiveVectorTest.java b/engine/table/src/test/java/io/deephaven/qst/type/PrimitiveVectorTest.java index da65e949e0f..5a88c4e2a29 100644 --- a/engine/table/src/test/java/io/deephaven/qst/type/PrimitiveVectorTest.java +++ b/engine/table/src/test/java/io/deephaven/qst/type/PrimitiveVectorTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import static org.assertj.core.api.Assertions.assertThat; diff --git a/engine/table/src/test/java/io/deephaven/stream/TablePublisherTest.java b/engine/table/src/test/java/io/deephaven/stream/TablePublisherTest.java index 1fbf17dbb62..65ed2f131ae 100644 --- a/engine/table/src/test/java/io/deephaven/stream/TablePublisherTest.java +++ b/engine/table/src/test/java/io/deephaven/stream/TablePublisherTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.stream; import io.deephaven.base.verify.Assert; diff --git a/engine/table/src/test/java/io/deephaven/stream/TestStreamToBlinkTableAdapter.java b/engine/table/src/test/java/io/deephaven/stream/TestStreamToBlinkTableAdapter.java index ffd95813401..b89de7fa701 100644 --- a/engine/table/src/test/java/io/deephaven/stream/TestStreamToBlinkTableAdapter.java +++ b/engine/table/src/test/java/io/deephaven/stream/TestStreamToBlinkTableAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.stream; import io.deephaven.chunk.attributes.Values; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/context/TestExecutionContext.java b/engine/test-utils/src/main/java/io/deephaven/engine/context/TestExecutionContext.java index 50f656117b4..39ac93d077e 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/context/TestExecutionContext.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/context/TestExecutionContext.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.context; import io.deephaven.auth.AuthContext; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/ColumnInfo.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/ColumnInfo.java index b0dc84258e8..76843e16a2c 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/ColumnInfo.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/ColumnInfo.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil; import io.deephaven.base.verify.Require; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/ControlledUpdateGraph.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/ControlledUpdateGraph.java index e9f91c02dea..5199d1675f0 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/ControlledUpdateGraph.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/ControlledUpdateGraph.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil; import io.deephaven.engine.updategraph.OperationInitializer; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/EvalNugget.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/EvalNugget.java index 74be7b2be2f..593a92ab417 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/EvalNugget.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/EvalNugget.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil; import io.deephaven.base.Pair; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/EvalNuggetInterface.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/EvalNuggetInterface.java index dd0ba42adec..27c655516f1 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/EvalNuggetInterface.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/EvalNuggetInterface.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil; import java.io.IOException; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/EvalNuggetSet.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/EvalNuggetSet.java index 3eaba18cc53..ceea8e134ad 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/EvalNuggetSet.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/EvalNuggetSet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil; import io.deephaven.engine.liveness.LivenessScopeStack; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/GenerateTableUpdates.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/GenerateTableUpdates.java index b046fce019e..4d760074b6e 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/GenerateTableUpdates.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/GenerateTableUpdates.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/QueryTableTestBase.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/QueryTableTestBase.java index b345b4f8c8e..9f876764908 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/QueryTableTestBase.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/QueryTableTestBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil; import io.deephaven.engine.context.ExecutionContext; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/StepClock.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/StepClock.java index 07fd981aef1..c4febc5664a 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/StepClock.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/StepClock.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil; import io.deephaven.base.clock.ClockNanoBase; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/TestErrorNotification.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/TestErrorNotification.java index bd721083a93..a0e26228eb0 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/TestErrorNotification.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/TestErrorNotification.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil; import io.deephaven.engine.updategraph.NotificationQueue; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/TestNotification.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/TestNotification.java index 466e15bb70a..e1260cf42a2 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/TestNotification.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/TestNotification.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil; import io.deephaven.engine.updategraph.AbstractNotification; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/TstUtils.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/TstUtils.java index 83b96d3fe56..1e3d8656258 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/TstUtils.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/TstUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil; import io.deephaven.base.Pair; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/UpdateValidatorNugget.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/UpdateValidatorNugget.java index 8857f6b2e17..053b4c16ac2 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/UpdateValidatorNugget.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/UpdateValidatorNugget.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil; import io.deephaven.engine.table.Table; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractAdaptableUniqueGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractAdaptableUniqueGenerator.java index 4900126d355..f5bdada5f3f 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractAdaptableUniqueGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractAdaptableUniqueGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.chunk.Chunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractFromUniqueAdaptableGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractFromUniqueAdaptableGenerator.java index d22c710b3eb..dfcf9e32fdf 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractFromUniqueAdaptableGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractFromUniqueAdaptableGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import java.util.Random; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractFromUniqueGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractFromUniqueGenerator.java index 46bc4dddd75..2f2b6b76414 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractFromUniqueGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractFromUniqueGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import java.util.Random; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractGenerator.java index ae9ed28ec70..4459d9e9271 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; /** diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractReinterpretedGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractReinterpretedGenerator.java index 9f06166bb0e..008e8869489 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractReinterpretedGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractReinterpretedGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.chunk.Chunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractSortedGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractSortedGenerator.java index 13f671948cb..71316df4cf4 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractSortedGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractSortedGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractUniqueGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractUniqueGenerator.java index 6acbc0147a8..4fa2bde031b 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractUniqueGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/AbstractUniqueGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.chunk.ObjectChunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/ArrayTupleGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/ArrayTupleGenerator.java index 915f3028779..3efabcccf13 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/ArrayTupleGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/ArrayTupleGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.tuple.ArrayTuple; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/BigDecimalGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/BigDecimalGenerator.java index 9a1f543304f..fe4371302b8 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/BigDecimalGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/BigDecimalGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/BigIntegerGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/BigIntegerGenerator.java index 5afda3aaccb..05695dcbb36 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/BigIntegerGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/BigIntegerGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/BooleanGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/BooleanGenerator.java index 2f828561411..854c84aef67 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/BooleanGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/BooleanGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import java.util.Random; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/ByteArrayGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/ByteArrayGenerator.java index 03c0f447ca7..7d0607a0aa0 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/ByteArrayGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/ByteArrayGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import java.util.Random; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/ByteGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/ByteGenerator.java index 77363bb9f58..2a47f98f723 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/ByteGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/ByteGenerator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharGenerator and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.generator; import io.deephaven.chunk.WritableByteChunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/CharGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/CharGenerator.java index 45217e9efce..283a75841bf 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/CharGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/CharGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.chunk.WritableCharChunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/CompositeGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/CompositeGenerator.java index 37bcffca117..02cf963d48c 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/CompositeGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/CompositeGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.base.Pair; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/DateGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/DateGenerator.java index aa0635be3b5..bf39b5a3496 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/DateGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/DateGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import java.util.Date; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/DoubleGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/DoubleGenerator.java index dfe9ac97335..a439368695c 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/DoubleGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/DoubleGenerator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatGenerator and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.generator; import io.deephaven.base.verify.Require; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FloatGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FloatGenerator.java index c4b6ffa28c1..db8fb9cd2e7 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FloatGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FloatGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.base.verify.Require; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueArrayTupleGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueArrayTupleGenerator.java index bfe2e73e5b5..0b6b3cbed0a 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueArrayTupleGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueArrayTupleGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.tuple.ArrayTuple; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueIntArrayGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueIntArrayGenerator.java index e94b9a83739..acb5e247bce 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueIntArrayGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueIntArrayGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import gnu.trove.list.array.TIntArrayList; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueIntGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueIntGenerator.java index 3bb2026baf4..9cc7ef8701e 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueIntGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueIntGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; public class FromUniqueIntGenerator extends AbstractFromUniqueGenerator { diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueStringArrayGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueStringArrayGenerator.java index afd36eb6b98..9358203fdab 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueStringArrayGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueStringArrayGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import java.util.List; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueStringGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueStringGenerator.java index fcfe4a9a694..be134947852 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueStringGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/FromUniqueStringGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; public class FromUniqueStringGenerator extends AbstractFromUniqueGenerator { diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/GeneratorCollectionFactory.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/GeneratorCollectionFactory.java index b775f561ae3..b7fc5e198fb 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/GeneratorCollectionFactory.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/GeneratorCollectionFactory.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.util.QueryConstants; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/IncreasingSortedLongGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/IncreasingSortedLongGenerator.java index 8143d9cbbdd..f47e665948c 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/IncreasingSortedLongGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/IncreasingSortedLongGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import java.util.Random; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/IntArrayGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/IntArrayGenerator.java index 133ae90360a..d8d1f5c8c95 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/IntArrayGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/IntArrayGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import java.util.Random; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/IntGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/IntGenerator.java index b49b1aee208..3276f6ddf69 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/IntGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/IntGenerator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharGenerator and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.generator; import io.deephaven.chunk.WritableIntChunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/LongGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/LongGenerator.java index 35ebc72d4c1..7f86530faf8 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/LongGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/LongGenerator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharGenerator and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.generator; import io.deephaven.chunk.WritableLongChunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/PrimitiveGeneratorFunctions.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/PrimitiveGeneratorFunctions.java index de2e2dfa654..1964f75e89e 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/PrimitiveGeneratorFunctions.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/PrimitiveGeneratorFunctions.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.util.QueryConstants; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SetCopyGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SetCopyGenerator.java index f7a5eeca0b1..c251931e926 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SetCopyGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SetCopyGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import java.lang.reflect.Array; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SetGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SetGenerator.java index 1b9a152f817..9f56bd2e3f4 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SetGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SetGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.util.QueryConstants; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/ShortGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/ShortGenerator.java index e5e83d95cab..621e0fcf7fb 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/ShortGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/ShortGenerator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharGenerator and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.generator; import io.deephaven.chunk.WritableShortChunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedBigIntegerGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedBigIntegerGenerator.java index daec170fa87..1cb08c10ef6 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedBigIntegerGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedBigIntegerGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import java.math.BigInteger; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedCharGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedCharGenerator.java index a4d7b4ed65b..12736acea2b 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedCharGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedCharGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedDoubleGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedDoubleGenerator.java index 9ee9bdc3c5e..518b61b6a72 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedDoubleGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedDoubleGenerator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SortedCharGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SortedCharGenerator and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.generator; import org.apache.commons.lang3.mutable.MutableDouble; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedInstantGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedInstantGenerator.java index 7f0f930ab4c..75c94c774a2 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedInstantGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedInstantGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.time.DateTimeUtils; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedIntGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedIntGenerator.java index 7dc61c3835b..11c221870ea 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedIntGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedIntGenerator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SortedCharGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SortedCharGenerator and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.generator; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedLongGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedLongGenerator.java index c19870a16dc..e3546a7bfd9 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedLongGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/SortedLongGenerator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit SortedCharGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit SortedCharGenerator and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.generator; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/StringArrayGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/StringArrayGenerator.java index a1e08eafeee..27e5863d69b 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/StringArrayGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/StringArrayGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import java.util.Random; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/StringGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/StringGenerator.java index c20bffa5fc2..88b570b5281 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/StringGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/StringGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.util.QueryConstants; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/TestDataGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/TestDataGenerator.java index 93a115e9d95..8555b58d6fa 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/TestDataGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/TestDataGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.chunk.Chunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueArrayTupleGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueArrayTupleGenerator.java index 0076043df66..356e29830e1 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueArrayTupleGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueArrayTupleGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.tuple.ArrayTuple; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueByteGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueByteGenerator.java index 2b0f0c01eb8..79963edb844 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueByteGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueByteGenerator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UniqueCharGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UniqueCharGenerator and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.generator; import io.deephaven.chunk.ByteChunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueCharGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueCharGenerator.java index 1fa6d723238..783af9713f2 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueCharGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueCharGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.chunk.CharChunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueIntArrayGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueIntArrayGenerator.java index a1df05ac521..2530946cc92 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueIntArrayGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueIntArrayGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import gnu.trove.list.array.TIntArrayList; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueIntGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueIntGenerator.java index 1fee288d286..d147d3494fd 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueIntGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueIntGenerator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UniqueCharGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UniqueCharGenerator and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.generator; import io.deephaven.chunk.IntChunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueLongGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueLongGenerator.java index 0432b6e7736..64ccd2a1c4e 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueLongGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueLongGenerator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UniqueCharGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UniqueCharGenerator and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.generator; import io.deephaven.chunk.LongChunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueShortGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueShortGenerator.java index 7beaf912b80..021a3dcd610 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueShortGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueShortGenerator.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UniqueCharGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit UniqueCharGenerator and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.generator; import io.deephaven.chunk.ShortChunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueStringArrayGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueStringArrayGenerator.java index ef821bb10a0..2c64c488c36 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueStringArrayGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueStringArrayGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.chunk.ObjectChunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueStringGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueStringGenerator.java index 32dbe21d94a..d926c3a4308 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueStringGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueStringGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import java.util.Random; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueTestDataGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueTestDataGenerator.java index 7055adf64ba..b67fc10222b 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueTestDataGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UniqueTestDataGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import java.util.Random; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UnsortedInstantGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UnsortedInstantGenerator.java index e7d2b6d759a..19a73ac42fe 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UnsortedInstantGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UnsortedInstantGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.time.DateTimeUtils; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UnsortedInstantLongGenerator.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UnsortedInstantLongGenerator.java index e0e6e305986..3a93c6adab4 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UnsortedInstantLongGenerator.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/generator/UnsortedInstantLongGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.generator; import io.deephaven.time.DateTimeUtils; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/junit4/EngineCleanup.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/junit4/EngineCleanup.java index 5c405b08367..a865372e2b7 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/junit4/EngineCleanup.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/junit4/EngineCleanup.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.junit4; import io.deephaven.engine.testutil.QueryTableTestBase; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/DependentRegistrar.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/DependentRegistrar.java index 152c876bdb2..c9855e4a502 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/DependentRegistrar.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/DependentRegistrar.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.locations; import io.deephaven.base.log.LogOutput; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/TableBackedColumnLocation.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/TableBackedColumnLocation.java index a0cce6fe00b..029965665db 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/TableBackedColumnLocation.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/TableBackedColumnLocation.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.locations; import io.deephaven.chunk.WritableChunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/TableBackedTableLocation.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/TableBackedTableLocation.java index b5f40945795..c1aeee74411 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/TableBackedTableLocation.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/TableBackedTableLocation.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.locations; import io.deephaven.engine.table.impl.QueryTable; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/TableBackedTableLocationKey.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/TableBackedTableLocationKey.java index 69553868873..1c2cc7ce1c9 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/TableBackedTableLocationKey.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/TableBackedTableLocationKey.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.locations; import io.deephaven.base.log.LogOutput; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/TableBackedTableLocationProvider.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/TableBackedTableLocationProvider.java index 014ee1e0e07..aa6e9978936 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/TableBackedTableLocationProvider.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/locations/TableBackedTableLocationProvider.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.locations; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ByteTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ByteTestSource.java index 9bd1afaa0c5..5f23d5e8ad5 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ByteTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ByteTestSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTestSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTestSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/CharTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/CharTestSource.java index aae47f4f85a..017c147f004 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/CharTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/CharTestSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/DoubleTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/DoubleTestSource.java index 0307150e65e..c3ee8ed9a0b 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/DoubleTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/DoubleTestSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTestSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTestSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/FloatTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/FloatTestSource.java index 9a8385e39d0..b78a758e087 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/FloatTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/FloatTestSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTestSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTestSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableByteTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableByteTestSource.java index e9ed4f64c5a..cef8c11e0ee 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableByteTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableByteTestSource.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableCharTestSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableCharTestSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableCharTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableCharTestSource.java index 41bbeaad95c..81d2a129be6 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableCharTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableCharTestSource.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableColumnHolder.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableColumnHolder.java index 7fc6d0f198d..e50a2037cac 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableColumnHolder.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableColumnHolder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.sources; import io.deephaven.chunk.Chunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableDoubleTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableDoubleTestSource.java index 1c79583675f..792c5873b34 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableDoubleTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableDoubleTestSource.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableCharTestSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableCharTestSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableFloatTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableFloatTestSource.java index 47480743bf7..cff16b6e58d 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableFloatTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableFloatTestSource.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableCharTestSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableCharTestSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableInstantTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableInstantTestSource.java index 470e023bd1b..cc4b2e9aeff 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableInstantTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableInstantTestSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.sources; import io.deephaven.chunk.Chunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableIntTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableIntTestSource.java index cc38e216e4e..bebb1c3c09f 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableIntTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableIntTestSource.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableCharTestSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableCharTestSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableLongTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableLongTestSource.java index 498623430ef..ad5831be83c 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableLongTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableLongTestSource.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableCharTestSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableCharTestSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableObjectTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableObjectTestSource.java index 8f60593c8e8..cc1d442181d 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableObjectTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableObjectTestSource.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableCharTestSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableCharTestSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableShortTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableShortTestSource.java index ce9166074b7..c6d53ce08d5 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableShortTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ImmutableShortTestSource.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ImmutableCharTestSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ImmutableCharTestSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/InstantTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/InstantTestSource.java index a0c6725f84b..f90cf6f4bdb 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/InstantTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/InstantTestSource.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.sources; import io.deephaven.chunk.Chunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/IntTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/IntTestSource.java index 230b2e26600..838dafbe162 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/IntTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/IntTestSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTestSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTestSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/LongTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/LongTestSource.java index 5e421836f1a..9469bec4740 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/LongTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/LongTestSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTestSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTestSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ObjectTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ObjectTestSource.java index 1d166a9031d..da770fc7dc9 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ObjectTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ObjectTestSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTestSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTestSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ShortTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ShortTestSource.java index a4bb8cfe0e0..a8412007dce 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ShortTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/ShortTestSource.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTestSource and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTestSource and run "./gradlew replicateSourceAndChunkTests" to regenerate +// +// @formatter:off package io.deephaven.engine.testutil.sources; import io.deephaven.base.verify.Assert; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/TestColumnSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/TestColumnSource.java index fd3e598286b..7d06666434f 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/TestColumnSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/TestColumnSource.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.sources; import io.deephaven.chunk.Chunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/UnboxedInstantTestSource.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/UnboxedInstantTestSource.java index dfcfe298f81..793603b4338 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/UnboxedInstantTestSource.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/sources/UnboxedInstantTestSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.sources; import io.deephaven.chunk.Chunk; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/testcase/FakeProcessEnvironment.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/testcase/FakeProcessEnvironment.java index a08618a8fbe..899ea39f0a6 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/testcase/FakeProcessEnvironment.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/testcase/FakeProcessEnvironment.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.testcase; import io.deephaven.util.process.FatalErrorReporter; diff --git a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/testcase/RefreshingTableTestCase.java b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/testcase/RefreshingTableTestCase.java index 44fdb6611cd..a54c3357c55 100644 --- a/engine/test-utils/src/main/java/io/deephaven/engine/testutil/testcase/RefreshingTableTestCase.java +++ b/engine/test-utils/src/main/java/io/deephaven/engine/testutil/testcase/RefreshingTableTestCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.testutil.testcase; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/engine/time/src/main/java/io/deephaven/time/DateTimeFormatter.java b/engine/time/src/main/java/io/deephaven/time/DateTimeFormatter.java index e40315e493f..48e6a320e14 100644 --- a/engine/time/src/main/java/io/deephaven/time/DateTimeFormatter.java +++ b/engine/time/src/main/java/io/deephaven/time/DateTimeFormatter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time; diff --git a/engine/time/src/main/java/io/deephaven/time/DateTimeFormatters.java b/engine/time/src/main/java/io/deephaven/time/DateTimeFormatters.java index b8f6ddb0ea0..6628b540552 100644 --- a/engine/time/src/main/java/io/deephaven/time/DateTimeFormatters.java +++ b/engine/time/src/main/java/io/deephaven/time/DateTimeFormatters.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time; /** diff --git a/engine/time/src/main/java/io/deephaven/time/DateTimeUtils.java b/engine/time/src/main/java/io/deephaven/time/DateTimeUtils.java index b96a3c65746..991373da2aa 100644 --- a/engine/time/src/main/java/io/deephaven/time/DateTimeUtils.java +++ b/engine/time/src/main/java/io/deephaven/time/DateTimeUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time; import io.deephaven.base.clock.Clock; diff --git a/engine/time/src/main/java/io/deephaven/time/TimeLiteralReplacedExpression.java b/engine/time/src/main/java/io/deephaven/time/TimeLiteralReplacedExpression.java index 012eb43d6a2..521314bf70c 100644 --- a/engine/time/src/main/java/io/deephaven/time/TimeLiteralReplacedExpression.java +++ b/engine/time/src/main/java/io/deephaven/time/TimeLiteralReplacedExpression.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time; import java.time.*; diff --git a/engine/time/src/main/java/io/deephaven/time/TimeZoneAliases.java b/engine/time/src/main/java/io/deephaven/time/TimeZoneAliases.java index 0accb7a1c2f..abf8bb2c967 100644 --- a/engine/time/src/main/java/io/deephaven/time/TimeZoneAliases.java +++ b/engine/time/src/main/java/io/deephaven/time/TimeZoneAliases.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time; import io.deephaven.base.verify.Require; diff --git a/engine/time/src/main/java/io/deephaven/time/calendar/BusinessCalendar.java b/engine/time/src/main/java/io/deephaven/time/calendar/BusinessCalendar.java index c68543e832a..3b95f92adae 100644 --- a/engine/time/src/main/java/io/deephaven/time/calendar/BusinessCalendar.java +++ b/engine/time/src/main/java/io/deephaven/time/calendar/BusinessCalendar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time.calendar; import io.deephaven.base.verify.Require; diff --git a/engine/time/src/main/java/io/deephaven/time/calendar/BusinessCalendarXMLParser.java b/engine/time/src/main/java/io/deephaven/time/calendar/BusinessCalendarXMLParser.java index d62c4592d82..6f2c0432b9b 100644 --- a/engine/time/src/main/java/io/deephaven/time/calendar/BusinessCalendarXMLParser.java +++ b/engine/time/src/main/java/io/deephaven/time/calendar/BusinessCalendarXMLParser.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time.calendar; import io.deephaven.base.verify.Require; diff --git a/engine/time/src/main/java/io/deephaven/time/calendar/Calendar.java b/engine/time/src/main/java/io/deephaven/time/calendar/Calendar.java index 7f73bd99cb0..8b7946eaed8 100644 --- a/engine/time/src/main/java/io/deephaven/time/calendar/Calendar.java +++ b/engine/time/src/main/java/io/deephaven/time/calendar/Calendar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time.calendar; import io.deephaven.base.verify.Require; diff --git a/engine/time/src/main/java/io/deephaven/time/calendar/CalendarDay.java b/engine/time/src/main/java/io/deephaven/time/calendar/CalendarDay.java index ba22de7bcef..92b066ee924 100644 --- a/engine/time/src/main/java/io/deephaven/time/calendar/CalendarDay.java +++ b/engine/time/src/main/java/io/deephaven/time/calendar/CalendarDay.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time.calendar; import io.deephaven.base.verify.Require; diff --git a/engine/time/src/main/java/io/deephaven/time/calendar/Calendars.java b/engine/time/src/main/java/io/deephaven/time/calendar/Calendars.java index c0743d01a35..4dc07c1d950 100644 --- a/engine/time/src/main/java/io/deephaven/time/calendar/Calendars.java +++ b/engine/time/src/main/java/io/deephaven/time/calendar/Calendars.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time.calendar; import io.deephaven.api.util.NameValidator; diff --git a/engine/time/src/main/java/io/deephaven/time/calendar/CalendarsFromConfigurationModule.java b/engine/time/src/main/java/io/deephaven/time/calendar/CalendarsFromConfigurationModule.java index 213965056db..8f9bd368be6 100644 --- a/engine/time/src/main/java/io/deephaven/time/calendar/CalendarsFromConfigurationModule.java +++ b/engine/time/src/main/java/io/deephaven/time/calendar/CalendarsFromConfigurationModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time.calendar; import dagger.Module; diff --git a/engine/time/src/main/java/io/deephaven/time/calendar/StaticCalendarMethods.java b/engine/time/src/main/java/io/deephaven/time/calendar/StaticCalendarMethods.java index e19361e904d..e5b90a6cc30 100644 --- a/engine/time/src/main/java/io/deephaven/time/calendar/StaticCalendarMethods.java +++ b/engine/time/src/main/java/io/deephaven/time/calendar/StaticCalendarMethods.java @@ -1,10 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/**************************************************************************************************************************** - ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - Run StaticCalendarMethodsGenerator or "./gradlew :Generators:generateStaticCalendarMethods" to regenerate - ****************************************************************************************************************************/ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run StaticCalendarMethodsGenerator or "./gradlew :Generators:generateStaticCalendarMethods" to regenerate +// +// @formatter:off package io.deephaven.time.calendar; import io.deephaven.time.calendar.BusinessCalendar; diff --git a/engine/time/src/main/java/io/deephaven/time/calendar/TimeRange.java b/engine/time/src/main/java/io/deephaven/time/calendar/TimeRange.java index 44cf534fea2..e412673eb9d 100644 --- a/engine/time/src/main/java/io/deephaven/time/calendar/TimeRange.java +++ b/engine/time/src/main/java/io/deephaven/time/calendar/TimeRange.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time.calendar; import io.deephaven.time.DateTimeUtils; diff --git a/engine/time/src/test/java/io/deephaven/time/TestDateTimeFormatter.java b/engine/time/src/test/java/io/deephaven/time/TestDateTimeFormatter.java index 22ae1e7e64d..c5bafd9f967 100644 --- a/engine/time/src/test/java/io/deephaven/time/TestDateTimeFormatter.java +++ b/engine/time/src/test/java/io/deephaven/time/TestDateTimeFormatter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/engine/time/src/test/java/io/deephaven/time/TestDateTimeFormatters.java b/engine/time/src/test/java/io/deephaven/time/TestDateTimeFormatters.java index 2e633a29b50..2ee75006985 100644 --- a/engine/time/src/test/java/io/deephaven/time/TestDateTimeFormatters.java +++ b/engine/time/src/test/java/io/deephaven/time/TestDateTimeFormatters.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/engine/time/src/test/java/io/deephaven/time/TestDateTimeUtils.java b/engine/time/src/test/java/io/deephaven/time/TestDateTimeUtils.java index 1e83430e8ac..be99c065aa0 100644 --- a/engine/time/src/test/java/io/deephaven/time/TestDateTimeUtils.java +++ b/engine/time/src/test/java/io/deephaven/time/TestDateTimeUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time; import io.deephaven.base.CompareUtils; diff --git a/engine/time/src/test/java/io/deephaven/time/TestTimeLiteralReplacedExpression.java b/engine/time/src/test/java/io/deephaven/time/TestTimeLiteralReplacedExpression.java index 21146d7ef1b..026ffcf9237 100644 --- a/engine/time/src/test/java/io/deephaven/time/TestTimeLiteralReplacedExpression.java +++ b/engine/time/src/test/java/io/deephaven/time/TestTimeLiteralReplacedExpression.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/engine/time/src/test/java/io/deephaven/time/TestTimeZoneAliases.java b/engine/time/src/test/java/io/deephaven/time/TestTimeZoneAliases.java index d63c7520a55..39d3319f955 100644 --- a/engine/time/src/test/java/io/deephaven/time/TestTimeZoneAliases.java +++ b/engine/time/src/test/java/io/deephaven/time/TestTimeZoneAliases.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/engine/time/src/test/java/io/deephaven/time/calendar/CalendarInit.java b/engine/time/src/test/java/io/deephaven/time/calendar/CalendarInit.java index 3fb0cc9c3a1..e458e739865 100644 --- a/engine/time/src/test/java/io/deephaven/time/calendar/CalendarInit.java +++ b/engine/time/src/test/java/io/deephaven/time/calendar/CalendarInit.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time.calendar; public final class CalendarInit { diff --git a/engine/time/src/test/java/io/deephaven/time/calendar/TestBusinessCalendar.java b/engine/time/src/test/java/io/deephaven/time/calendar/TestBusinessCalendar.java index 92da0b7eacf..cce9c4b07a8 100644 --- a/engine/time/src/test/java/io/deephaven/time/calendar/TestBusinessCalendar.java +++ b/engine/time/src/test/java/io/deephaven/time/calendar/TestBusinessCalendar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time.calendar; import io.deephaven.time.DateTimeUtils; diff --git a/engine/time/src/test/java/io/deephaven/time/calendar/TestBusinessCalendarXMLParser.java b/engine/time/src/test/java/io/deephaven/time/calendar/TestBusinessCalendarXMLParser.java index ecb2e4ba308..a8a4a75ee0e 100644 --- a/engine/time/src/test/java/io/deephaven/time/calendar/TestBusinessCalendarXMLParser.java +++ b/engine/time/src/test/java/io/deephaven/time/calendar/TestBusinessCalendarXMLParser.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time.calendar; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/engine/time/src/test/java/io/deephaven/time/calendar/TestCalendar.java b/engine/time/src/test/java/io/deephaven/time/calendar/TestCalendar.java index 892f23baed6..1a6936e3832 100644 --- a/engine/time/src/test/java/io/deephaven/time/calendar/TestCalendar.java +++ b/engine/time/src/test/java/io/deephaven/time/calendar/TestCalendar.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time.calendar; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/engine/time/src/test/java/io/deephaven/time/calendar/TestCalendarDay.java b/engine/time/src/test/java/io/deephaven/time/calendar/TestCalendarDay.java index ced49a701ac..367ebbdb7a0 100644 --- a/engine/time/src/test/java/io/deephaven/time/calendar/TestCalendarDay.java +++ b/engine/time/src/test/java/io/deephaven/time/calendar/TestCalendarDay.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time.calendar; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/engine/time/src/test/java/io/deephaven/time/calendar/TestCalendars.java b/engine/time/src/test/java/io/deephaven/time/calendar/TestCalendars.java index b35fd8c124e..ef10b20e9d4 100644 --- a/engine/time/src/test/java/io/deephaven/time/calendar/TestCalendars.java +++ b/engine/time/src/test/java/io/deephaven/time/calendar/TestCalendars.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time.calendar; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/engine/time/src/test/java/io/deephaven/time/calendar/TestStaticCalendarMethods.java b/engine/time/src/test/java/io/deephaven/time/calendar/TestStaticCalendarMethods.java index f013bbe62f2..4140b66cf34 100644 --- a/engine/time/src/test/java/io/deephaven/time/calendar/TestStaticCalendarMethods.java +++ b/engine/time/src/test/java/io/deephaven/time/calendar/TestStaticCalendarMethods.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time.calendar; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/engine/time/src/test/java/io/deephaven/time/calendar/TestTimeRange.java b/engine/time/src/test/java/io/deephaven/time/calendar/TestTimeRange.java index cc7a3a28cc3..5a0a11dbd87 100644 --- a/engine/time/src/test/java/io/deephaven/time/calendar/TestTimeRange.java +++ b/engine/time/src/test/java/io/deephaven/time/calendar/TestTimeRange.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.time.calendar; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/engine/tuple/src/main/java/io/deephaven/tuple/ArrayTuple.java b/engine/tuple/src/main/java/io/deephaven/tuple/ArrayTuple.java index 51ddb0bcd9e..6476e47ba69 100644 --- a/engine/tuple/src/main/java/io/deephaven/tuple/ArrayTuple.java +++ b/engine/tuple/src/main/java/io/deephaven/tuple/ArrayTuple.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.tuple; import io.deephaven.datastructures.util.CollectionUtil; diff --git a/engine/tuple/src/main/java/io/deephaven/tuple/CanonicalizableTuple.java b/engine/tuple/src/main/java/io/deephaven/tuple/CanonicalizableTuple.java index f26fbd5ee97..f455e1d199d 100644 --- a/engine/tuple/src/main/java/io/deephaven/tuple/CanonicalizableTuple.java +++ b/engine/tuple/src/main/java/io/deephaven/tuple/CanonicalizableTuple.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.tuple; import org.jetbrains.annotations.NotNull; diff --git a/engine/tuple/src/main/java/io/deephaven/tuple/EmptyTuple.java b/engine/tuple/src/main/java/io/deephaven/tuple/EmptyTuple.java index 30d4858d1e2..e2c5cc464b9 100644 --- a/engine/tuple/src/main/java/io/deephaven/tuple/EmptyTuple.java +++ b/engine/tuple/src/main/java/io/deephaven/tuple/EmptyTuple.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.tuple; import org.jetbrains.annotations.NotNull; diff --git a/engine/tuple/src/main/java/io/deephaven/tuple/serialization/SerializationUtils.java b/engine/tuple/src/main/java/io/deephaven/tuple/serialization/SerializationUtils.java index a41d1bb2a94..0342c939358 100644 --- a/engine/tuple/src/main/java/io/deephaven/tuple/serialization/SerializationUtils.java +++ b/engine/tuple/src/main/java/io/deephaven/tuple/serialization/SerializationUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.tuple.serialization; import gnu.trove.map.TIntObjectMap; diff --git a/engine/tuple/src/main/java/io/deephaven/tuple/serialization/StreamingExternalizable.java b/engine/tuple/src/main/java/io/deephaven/tuple/serialization/StreamingExternalizable.java index bfd8daf026d..47e03823735 100644 --- a/engine/tuple/src/main/java/io/deephaven/tuple/serialization/StreamingExternalizable.java +++ b/engine/tuple/src/main/java/io/deephaven/tuple/serialization/StreamingExternalizable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.tuple.serialization; import gnu.trove.map.TIntObjectMap; diff --git a/engine/tuple/src/test/java/io/deephaven/tuple/serialization/TestSerializationUtils.java b/engine/tuple/src/test/java/io/deephaven/tuple/serialization/TestSerializationUtils.java index 12b6dafb5b4..b59751de81c 100644 --- a/engine/tuple/src/test/java/io/deephaven/tuple/serialization/TestSerializationUtils.java +++ b/engine/tuple/src/test/java/io/deephaven/tuple/serialization/TestSerializationUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.tuple.serialization; import io.deephaven.time.DateTimeUtils; diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/AbstractTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/AbstractTupleSource.java index 390acd304a3..93a616f0b4c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/AbstractTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/AbstractTupleSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.tuplesource; import io.deephaven.chunk.Chunk; diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/EmptyTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/EmptyTupleSource.java index f1890266c7c..ffd011c1577 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/EmptyTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/EmptyTupleSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.tuplesource; import io.deephaven.chunk.attributes.Values; diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/MultiColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/MultiColumnTupleSource.java index 1b17effaf31..e5edebf16c9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/MultiColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/MultiColumnTupleSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.tuplesource; import io.deephaven.chunk.attributes.Values; diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/ThreeColumnTupleSourceFactory.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/ThreeColumnTupleSourceFactory.java index 387a8bb8bbe..d0e41fcce44 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/ThreeColumnTupleSourceFactory.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/ThreeColumnTupleSourceFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.tuplesource; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/TupleSourceCreatorImpl.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/TupleSourceCreatorImpl.java index 4e4b24eeef8..b8573810af7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/TupleSourceCreatorImpl.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/TupleSourceCreatorImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.tuplesource; import com.google.auto.service.AutoService; diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/TwoColumnTupleSourceFactory.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/TwoColumnTupleSourceFactory.java index 3a5a6f1b97e..bb59dcc2e7c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/TwoColumnTupleSourceFactory.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/TwoColumnTupleSourceFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.tuplesource; import io.deephaven.engine.table.ColumnSource; diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanBooleanColumnTupleSource.java index d966c31ad94..326b8c7891c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Boolean, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanByteColumnTupleSource.java index d6a5bdde7ba..1d13b44ffca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanCharacterColumnTupleSource.java index a16cd924c43..75baf07183e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Boolean, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanColumnTupleSource.java index 37095bf1ed9..88b5ac7c101 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanDoubleColumnTupleSource.java index 23b7e187763..55884cbf300 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Boolean, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanFloatColumnTupleSource.java index 0a4800aa281..a54415e603f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Boolean, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanInstantColumnTupleSource.java index bf309c1c091..643fea75c8c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Boolean, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanIntegerColumnTupleSource.java index 1fe65ae0a74..8e7c0df66fc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Boolean, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanLongColumnTupleSource.java index 82bcc21ae6c..d1304cb686a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanObjectColumnTupleSource.java index 14030d86c00..1dc93ebc788 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Boolean, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanReinterpretedBooleanColumnTupleSource.java index 140bfb9a327..8801a33e873 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanReinterpretedInstantColumnTupleSource.java index 759a762418f..45d1e354e44 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanShortColumnTupleSource.java index 10d88eca844..1ca9d383843 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Boolean, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteBooleanColumnTupleSource.java index 390d88af37c..43e7d00a02c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanByteBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteByteColumnTupleSource.java index a54f0fe7cfe..9649a3dbfd1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanByteByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteCharacterColumnTupleSource.java index 089aae9fbd9..048f256b249 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanByteCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteColumnTupleSource.java index 3b8c1b17ee7..55c7d1af7dc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteDoubleColumnTupleSource.java index 32373f6cf55..429c08fcb3e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanByteDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteFloatColumnTupleSource.java index bdd367c2188..5392bbb9f2c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanByteFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteInstantColumnTupleSource.java index 7e80f592c9c..5f981517ac1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanByteInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteIntegerColumnTupleSource.java index b1f92d12112..e7c2fd4e6c3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanByteIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteLongColumnTupleSource.java index 66ee7ada17d..7273765a515 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanByteLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteObjectColumnTupleSource.java index 47f9d7f7d1a..222b6a27527 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanByteObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteReinterpretedBooleanColumnTupleSource.java index 36aa8927831..f05fffb7160 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanByteReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteReinterpretedInstantColumnTupleSource.java index 18f0ba1ca15..d873775f1f5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanByteReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteShortColumnTupleSource.java index caf60566281..2ec26f10c62 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanByteShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanByteShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterBooleanColumnTupleSource.java index 366d4381f3e..f022adf9379 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Character, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanCharacterBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterByteColumnTupleSource.java index c0a56a5933d..67e6c37708f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanCharacterByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterCharacterColumnTupleSource.java index 1570584353e..0a96f674e67 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Character, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanCharacterCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterColumnTupleSource.java index c98c148e48a..476125e085d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterDoubleColumnTupleSource.java index 31b26d083f3..36645a92b5a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Character, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanCharacterDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterFloatColumnTupleSource.java index f81a8205aef..df695e73682 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Character, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanCharacterFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterInstantColumnTupleSource.java index 0faa7f770ef..508b13ac134 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Character, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanCharacterInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterIntegerColumnTupleSource.java index dbe6ab37d67..e2ea1432537 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Character, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanCharacterIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterLongColumnTupleSource.java index 4b2e7c31f27..a5a385d680d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanCharacterLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterObjectColumnTupleSource.java index b1d7e9243e7..b6438dc5d0b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Character, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanCharacterObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterReinterpretedBooleanColumnTupleSource.java index 4b4e95b5289..dd56cb13990 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanCharacterReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterReinterpretedInstantColumnTupleSource.java index bb84e2e1db1..ccce2a11fa5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanCharacterReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterShortColumnTupleSource.java index 40ca7d4b80b..e4744d2c64c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanCharacterShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Character, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanCharacterShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleBooleanColumnTupleSource.java index 725ee07c013..04a8fadada7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Double, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanDoubleBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleByteColumnTupleSource.java index 634c15b2091..7271885b6ff 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanDoubleByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleCharacterColumnTupleSource.java index d5b35baf357..1bd9470eea4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Double, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanDoubleCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleColumnTupleSource.java index ca4ff5a3545..43b26328283 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleDoubleColumnTupleSource.java index 0340948a8b9..5f80f3914ae 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Double, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanDoubleDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleFloatColumnTupleSource.java index fc972445b17..c210afcd94b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Double, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanDoubleFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleInstantColumnTupleSource.java index 358895acd5a..44356044ffe 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Double, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanDoubleInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleIntegerColumnTupleSource.java index 2f0661caa50..5f8d1912117 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Double, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanDoubleIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleLongColumnTupleSource.java index fb69e68c800..295067a212a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanDoubleLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleObjectColumnTupleSource.java index e8bad45e2dc..65163b69615 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Double, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanDoubleObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleReinterpretedBooleanColumnTupleSource.java index a9940f90ab4..23224d49daf 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanDoubleReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleReinterpretedInstantColumnTupleSource.java index c2ad1121bdb..633b93ef9d7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanDoubleReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleShortColumnTupleSource.java index 4926ac6d8ee..461b5c614e8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanDoubleShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Double, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanDoubleShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatBooleanColumnTupleSource.java index 4ea3e2f213a..8dce92ea0f9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Float, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanFloatBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatByteColumnTupleSource.java index 53d3d332358..0aeefc9e695 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanFloatByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatCharacterColumnTupleSource.java index c02def98a46..6808e9040e2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Float, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanFloatCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatColumnTupleSource.java index b7769905472..13a30945de4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatDoubleColumnTupleSource.java index 89cccd9d24c..bca3af0d28e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Float, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanFloatDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatFloatColumnTupleSource.java index d4dc53ca1bb..a6ad076f778 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Float, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanFloatFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatInstantColumnTupleSource.java index d642fd43725..78bdc5b9832 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Float, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanFloatInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatIntegerColumnTupleSource.java index 72999a88943..86876b3ef7c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Float, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanFloatIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatLongColumnTupleSource.java index cb2e0938f0b..d4ff4d3c281 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanFloatLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatObjectColumnTupleSource.java index 11236bb08b5..69f10996cec 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Float, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanFloatObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatReinterpretedBooleanColumnTupleSource.java index fc84f11a43f..910dc6e0ce0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanFloatReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatReinterpretedInstantColumnTupleSource.java index 8796e249d43..6f7a5e5502a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanFloatReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatShortColumnTupleSource.java index b66b2f38106..31889142eb8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanFloatShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Float, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanFloatShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantBooleanColumnTupleSource.java index 7e521363a38..58ce0d77cf4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Instant, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantByteColumnTupleSource.java index b02cc42f9dc..e065260287e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantCharacterColumnTupleSource.java index bae48746506..39c9a4ddadc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Instant, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantColumnTupleSource.java index 880aa5f8ad7..861db37e58e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantDoubleColumnTupleSource.java index ceb916dee7f..d070e8512e6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Instant, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantFloatColumnTupleSource.java index 525a1f3c164..6114c14eb7a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Instant, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantInstantColumnTupleSource.java index bed88848609..ca5d27bdbcc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Instant, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantIntegerColumnTupleSource.java index 55125dd1397..090972319ee 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Instant, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantLongColumnTupleSource.java index da18f148774..74df4c6d0ee 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantObjectColumnTupleSource.java index 70a31e4e14f..15e7e030b55 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Instant, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantReinterpretedBooleanColumnTupleSource.java index b83ec71b043..3ce17af83fb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantReinterpretedInstantColumnTupleSource.java index 3baa38c5cec..30e9bd78c33 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantShortColumnTupleSource.java index bcea62153c3..ee43c0f0a43 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Instant, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerBooleanColumnTupleSource.java index ccae237e891..ede8160d056 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Integer, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanIntegerBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerByteColumnTupleSource.java index c25905aaca7..72a89c0399a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanIntegerByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerCharacterColumnTupleSource.java index b518de66321..0ba1595c28d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Integer, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanIntegerCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerColumnTupleSource.java index 2b79911ed5a..19e33752ef8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerDoubleColumnTupleSource.java index 92ed7f72d73..87543a60a54 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Integer, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanIntegerDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerFloatColumnTupleSource.java index a3294fa9b6c..0f473c655e3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Integer, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanIntegerFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerInstantColumnTupleSource.java index 88e5c5e1071..0c166ea1ba8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Integer, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanIntegerInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerIntegerColumnTupleSource.java index cb053c26627..3994f92ef3f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Integer, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanIntegerIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerLongColumnTupleSource.java index 0db98161af0..9b05b1f80d1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanIntegerLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerObjectColumnTupleSource.java index fe6621d8eb2..4759b05e795 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Integer, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanIntegerObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerReinterpretedBooleanColumnTupleSource.java index f50b5cf83a5..2508db81fe7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanIntegerReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerReinterpretedInstantColumnTupleSource.java index e1e9a367706..48c2ce820d7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanIntegerReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerShortColumnTupleSource.java index 9407cbf8895..10237af12b9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanIntegerShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Integer, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanIntegerShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongBooleanColumnTupleSource.java index 93e916558ce..d2ebb1454c3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanLongBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongByteColumnTupleSource.java index 4387a92eb75..84d3d539ea0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanLongByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongCharacterColumnTupleSource.java index 84e35454780..4fb422ca94a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanLongCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongColumnTupleSource.java index 43e62b38039..355746f220c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongDoubleColumnTupleSource.java index a078b4fc76b..e96ee1c64ac 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanLongDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongFloatColumnTupleSource.java index 89ac334427b..4363dc0d25f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanLongFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongInstantColumnTupleSource.java index 667ec0c64ba..b13aa7c2717 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanLongInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongIntegerColumnTupleSource.java index 07c9529dc2e..74d0d513ef9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanLongIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongLongColumnTupleSource.java index ea36ea96271..fdf4708eb0c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanLongLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongObjectColumnTupleSource.java index 20f9ffa8ee0..e968b46c7f1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanLongObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongReinterpretedBooleanColumnTupleSource.java index 32411c82929..60af77789b5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanLongReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongReinterpretedInstantColumnTupleSource.java index 89dff98296a..4339da5c176 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanLongReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongShortColumnTupleSource.java index ea2c4205f47..314820b4aaf 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanLongShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanLongShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectBooleanColumnTupleSource.java index 4d4c8d15010..8d2be6d2a19 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Object, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanObjectBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectByteColumnTupleSource.java index 1ee78856851..7e7cca54e63 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanObjectByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectCharacterColumnTupleSource.java index 92471fc9a0b..32a2eaf9971 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Object, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanObjectCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectColumnTupleSource.java index d26f68d3778..e870a80127e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectDoubleColumnTupleSource.java index 9248fdf16cb..88857f47a2f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Object, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanObjectDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectFloatColumnTupleSource.java index 5fe10202548..df9fdf2fc27 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Object, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanObjectFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectInstantColumnTupleSource.java index d84a8434fd8..5a53ecf300f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Object, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanObjectInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectIntegerColumnTupleSource.java index 0296b8788fb..4030db71eef 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Object, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanObjectIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectLongColumnTupleSource.java index e79456df657..9608f526dd3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanObjectLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectObjectColumnTupleSource.java index 282968854e7..f425a67cea7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Object, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanObjectObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectReinterpretedBooleanColumnTupleSource.java index d64cd9bdb71..aa0cf4db54e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanObjectReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectReinterpretedInstantColumnTupleSource.java index fb456044d5f..3a3d29f806a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanObjectReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectShortColumnTupleSource.java index a503ee9b7b0..412bc5e3e47 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanObjectShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Object, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanObjectShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanBooleanColumnTupleSource.java index eacd01d347d..88568b5c450 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanByteColumnTupleSource.java index 3391cdd4c10..b0c876365bd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanCharacterColumnTupleSource.java index 39925708694..2be37a1cd67 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanColumnTupleSource.java index 36f3f5f4559..cbd6bae7b14 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanDoubleColumnTupleSource.java index 5c2fbe71485..3bc4ff92bd1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanFloatColumnTupleSource.java index 5e76923fa55..2a3e6662a10 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanInstantColumnTupleSource.java index fbe92a791eb..c917457d8d2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanIntegerColumnTupleSource.java index 71caa878e22..4dbb20d015c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanLongColumnTupleSource.java index 8ec1222eae5..0f9268ca5fb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanObjectColumnTupleSource.java index 7d61c64787d..4cef0f12fc2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java index 52e6d2c1c28..1b083bf7995 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanReinterpretedInstantColumnTupleSource.java index 9b8250008fa..132b21cc2fd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanShortColumnTupleSource.java index f0fa4b2bf51..ad739e2ddce 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantBooleanColumnTupleSource.java index 943bbee2b43..cb272cb03e8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantByteColumnTupleSource.java index 10293cc2202..eb6aaf5db68 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantCharacterColumnTupleSource.java index 2ded35ebbf5..6b8158b9b56 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantColumnTupleSource.java index 2ca736445f5..ce0e157b306 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantDoubleColumnTupleSource.java index 29e51fb2bf0..b804b93b4ae 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantFloatColumnTupleSource.java index 81977cc3f85..713f1f22793 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantInstantColumnTupleSource.java index 34f7a8b9394..f6c38a0fd8d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantIntegerColumnTupleSource.java index 935a7a052bf..ee0a9e2847e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantLongColumnTupleSource.java index adc500a78a0..89f57855a8f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantObjectColumnTupleSource.java index fec2a43b184..62aa996378e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantReinterpretedBooleanColumnTupleSource.java index 0833eb4de7c..6383152cff5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantReinterpretedInstantColumnTupleSource.java index 89e69769167..3befaf335a8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantShortColumnTupleSource.java index 0fb50c33940..d769316d0fa 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanReinterpretedInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanReinterpretedInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortBooleanColumnTupleSource.java index dde53d4147b..625af2cd3c3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Short, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanShortBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortByteColumnTupleSource.java index 886a5ca7251..19db6f886ed 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanShortByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortCharacterColumnTupleSource.java index 8556ed74a9c..511d26c2bb3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Short, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanShortCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortColumnTupleSource.java index 28f9d4dcfdc..61897a01295 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortDoubleColumnTupleSource.java index 58a612a4046..a15e144739c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Short, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanShortDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortFloatColumnTupleSource.java index 2af0289e5a6..65034a579e4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Short, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanShortFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortInstantColumnTupleSource.java index e637b01596f..b3a6445c6f2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Short, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanShortInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortIntegerColumnTupleSource.java index f5d24746be9..ee17af520e6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Short, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanShortIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortLongColumnTupleSource.java index 678bc219a55..852b14ab65a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanShortLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortObjectColumnTupleSource.java index 20c3e0b24e9..15f626d6221 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Short, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanShortObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortReinterpretedBooleanColumnTupleSource.java index 19e5a276145..50ed664dece 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanShortReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortReinterpretedInstantColumnTupleSource.java index 2d138b8fbc5..276787c1965 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanShortReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortShortColumnTupleSource.java index e0dfd2aff57..715f9223a47 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/BooleanShortShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Boolean, Short, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class BooleanShortShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanBooleanColumnTupleSource.java index 372bc9a9447..8dac6d79706 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanByteColumnTupleSource.java index 2eb8c7b870b..eb2a47b4f32 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanCharacterColumnTupleSource.java index dacc162fb4f..2169e1c590c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanColumnTupleSource.java index 561238fbfd9..9942d1b9bd9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanDoubleColumnTupleSource.java index 474d2fc3c42..0b3e48ee866 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanFloatColumnTupleSource.java index 492b2eacc03..de1435decef 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanInstantColumnTupleSource.java index 62331f00b5e..5bd9c10d864 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanIntegerColumnTupleSource.java index d1ce95ec06d..f45ef578082 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanLongColumnTupleSource.java index 5facc41a4fd..0d3483271fe 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanObjectColumnTupleSource.java index 63d44dda5d7..1109e00168b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanReinterpretedBooleanColumnTupleSource.java index b85029b3036..6bb0b8ab2ec 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanReinterpretedInstantColumnTupleSource.java index 76639469ebd..e4b60ec7760 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanShortColumnTupleSource.java index 7330d9fefe1..d4a1ccadf2e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteBooleanColumnTupleSource.java index 73a1a89ede1..de3e69fcb75 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteByteBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteByteColumnTupleSource.java index 3d49adeec0e..0654ac0c147 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteByteByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteCharacterColumnTupleSource.java index d2241c16669..4566082503f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteByteCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteColumnTupleSource.java index eaa989a0515..de002947ea4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteDoubleColumnTupleSource.java index d08009807ed..acf99680de1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteByteDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteFloatColumnTupleSource.java index f2fe7ddb19e..023fb4b5934 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteByteFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteInstantColumnTupleSource.java index 683830c7b64..e1f58d5cfe3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteByteInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteIntegerColumnTupleSource.java index 8b6a7099408..d7b96f8410b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteByteIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteLongColumnTupleSource.java index 00dcdd25f94..f044be98003 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteByteLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteObjectColumnTupleSource.java index 0b3771b77ff..56f0268d92b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteByteObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteReinterpretedBooleanColumnTupleSource.java index 828dd1b721b..eed37fa1bcf 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteByteReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteReinterpretedInstantColumnTupleSource.java index dd452226d40..2ce8e47097e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteByteReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteShortColumnTupleSource.java index 0b8adb4f037..f436e363fa1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteByteShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteByteShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterBooleanColumnTupleSource.java index 6f4a295ee74..38d5392083b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteCharacterBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterByteColumnTupleSource.java index 47d9c4268b3..13cf8a93426 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteCharacterByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterCharacterColumnTupleSource.java index ac19686d4ea..1b5a8c771cf 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteCharacterCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterColumnTupleSource.java index f7ea27383e1..85951b399df 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterDoubleColumnTupleSource.java index 93d48c16ef6..7d1458e04c1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteCharacterDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterFloatColumnTupleSource.java index 2cbc9c9a254..a026fc83a10 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteCharacterFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterInstantColumnTupleSource.java index ff8834756e5..368010d611b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteCharacterInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterIntegerColumnTupleSource.java index bf2a53c936f..cd655d31ee9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteCharacterIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterLongColumnTupleSource.java index c1d4d94d8bd..556a42f5c85 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteCharacterLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterObjectColumnTupleSource.java index 6b075fb2a1d..f98d81cacca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteCharacterObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterReinterpretedBooleanColumnTupleSource.java index 5e05a3426ab..97acd2f494f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteCharacterReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterReinterpretedInstantColumnTupleSource.java index 27e15e7a390..6fbc0802ed5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteCharacterReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterShortColumnTupleSource.java index e1f127cfbf1..fa4dec7390a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteCharacterShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteCharacterShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleBooleanColumnTupleSource.java index 2db0bf6aa30..6301fa7eead 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteDoubleBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleByteColumnTupleSource.java index a201bc71bb0..d42588ea775 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteDoubleByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleCharacterColumnTupleSource.java index 264dd91995d..9714084f1fb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteDoubleCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleColumnTupleSource.java index e61fff4d8a8..a4eae544b07 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleDoubleColumnTupleSource.java index aea8501a9ef..16a48f7d2f7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteDoubleDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleFloatColumnTupleSource.java index 5d7203b3435..6a84564767a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteDoubleFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleInstantColumnTupleSource.java index ec635532335..0c04f9c1ad2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteDoubleInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleIntegerColumnTupleSource.java index e56ee153a15..cfa75c5243d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteDoubleIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleLongColumnTupleSource.java index 346a64b73fc..7da519e7e81 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteDoubleLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleObjectColumnTupleSource.java index 46f40728435..b60e339a32a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteDoubleObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleReinterpretedBooleanColumnTupleSource.java index 1ac37d75cca..8144c70a753 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteDoubleReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleReinterpretedInstantColumnTupleSource.java index 992ed8227ff..5e0d095ed4e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteDoubleReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleShortColumnTupleSource.java index 2c794d79e29..af0786339b8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteDoubleShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteDoubleShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatBooleanColumnTupleSource.java index 01567ff4192..101fa427b23 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteFloatBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatByteColumnTupleSource.java index bf8c94c5842..519f7784242 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteFloatByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatCharacterColumnTupleSource.java index 73c3c9b641a..32b8f1999fd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteFloatCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatColumnTupleSource.java index cd6d654a151..86a72e58a7e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatDoubleColumnTupleSource.java index eaf18dcf315..3e5d548738f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteFloatDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatFloatColumnTupleSource.java index 796652cc8ea..93990ce9cd8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteFloatFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatInstantColumnTupleSource.java index 37fb3631f0a..2077c0ef92d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteFloatInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatIntegerColumnTupleSource.java index 79d171a1a3b..ca0305a7f49 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteFloatIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatLongColumnTupleSource.java index 46edd948a83..f2d2ae71d6c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteFloatLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatObjectColumnTupleSource.java index 4383630fa03..7d21b81fafc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteFloatObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatReinterpretedBooleanColumnTupleSource.java index 8e524c8f0be..e8f5292fe0c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteFloatReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatReinterpretedInstantColumnTupleSource.java index 2c66559f912..f4abccdf182 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteFloatReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatShortColumnTupleSource.java index a20f7c9a469..f45f0737b97 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteFloatShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteFloatShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantBooleanColumnTupleSource.java index e244afe1ca5..22323e3918c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantByteColumnTupleSource.java index 5b9217993c6..8eaf727e851 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantCharacterColumnTupleSource.java index f7bcc4c0eb8..91c9b58e92e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantColumnTupleSource.java index e44a7e8eafa..7d94afc9559 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantDoubleColumnTupleSource.java index ea6e654fa0e..20c4f8782cd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantFloatColumnTupleSource.java index 1443c9abf57..64ebd069698 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantInstantColumnTupleSource.java index b4a02a9a254..9c0a1a9e71c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantIntegerColumnTupleSource.java index 7e8b4a7c752..bae785e7bcc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantLongColumnTupleSource.java index 8619aa694d0..efafc5fc785 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantObjectColumnTupleSource.java index c23ee98e0d2..c9d3afc35d8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantReinterpretedBooleanColumnTupleSource.java index 19e9f64fdd4..47da07abd7e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantReinterpretedInstantColumnTupleSource.java index 9657d2dcfed..259669feaca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantShortColumnTupleSource.java index 930e8917302..c95c67621f9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerBooleanColumnTupleSource.java index 82314333720..838d21f54a9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteIntegerBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerByteColumnTupleSource.java index cf12893782c..8bd7a56a33e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteIntegerByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerCharacterColumnTupleSource.java index 8ec9417fa21..31cf2c27370 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteIntegerCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerColumnTupleSource.java index 0d3dd4c4b50..681c2d32fd8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerDoubleColumnTupleSource.java index 7b6462944d0..76b34685eaf 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteIntegerDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerFloatColumnTupleSource.java index e1d09fbe7b3..3e4166ba6e9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteIntegerFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerInstantColumnTupleSource.java index 5a7468782fd..603f0b93039 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteIntegerInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerIntegerColumnTupleSource.java index f0d33c0005c..8447f99726e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteIntegerIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerLongColumnTupleSource.java index 9bbba1b8078..c08cf52318a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteIntegerLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerObjectColumnTupleSource.java index 6b36be41363..0babf1d427f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteIntegerObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerReinterpretedBooleanColumnTupleSource.java index 0f8ec24094a..6b3514638d6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteIntegerReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerReinterpretedInstantColumnTupleSource.java index 9e0d8f5eeb9..7c29b7b018b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteIntegerReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerShortColumnTupleSource.java index 206ef38834a..cbf9513fe68 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteIntegerShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteIntegerShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongBooleanColumnTupleSource.java index 8eabe90b22a..9a7cf05720e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteLongBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongByteColumnTupleSource.java index 91dcecd0fa1..2a033c55721 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteLongByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongCharacterColumnTupleSource.java index a00edcddb55..ac1ec01b147 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteLongCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongColumnTupleSource.java index d42bf0224f0..75e77faaa7e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongDoubleColumnTupleSource.java index 291b801cf64..edc944943a5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteLongDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongFloatColumnTupleSource.java index 9dda95708df..e2926665f70 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteLongFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongInstantColumnTupleSource.java index 50a06f946f7..394546ce477 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteLongInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongIntegerColumnTupleSource.java index 66bbf8ee96b..beaa7fe083e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteLongIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongLongColumnTupleSource.java index b0400f3ef06..9368772da15 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteLongLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongObjectColumnTupleSource.java index aa809c28881..36f3e6c5b9c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteLongObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongReinterpretedBooleanColumnTupleSource.java index 18cd12e4291..cc5eb9ef6c9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteLongReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongReinterpretedInstantColumnTupleSource.java index 97b4134e9ca..a8209827585 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteLongReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongShortColumnTupleSource.java index 98678e42d1e..e83f5c4bef3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteLongShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteLongShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectBooleanColumnTupleSource.java index 46dae3ec5a1..4f2f57d27d7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteObjectBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectByteColumnTupleSource.java index dd4bf5f9351..5958a034504 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteObjectByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectCharacterColumnTupleSource.java index e127b8f22fb..3a5ce581aee 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteObjectCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectColumnTupleSource.java index df5b895f18d..afcd8d891d7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectDoubleColumnTupleSource.java index 03e35efbaec..bd4505f3239 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteObjectDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectFloatColumnTupleSource.java index caae677f57e..56c16833b0e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteObjectFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectInstantColumnTupleSource.java index c6527e297a7..b131643fc27 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteObjectInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectIntegerColumnTupleSource.java index b1b771f3850..996e3e6567a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteObjectIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectLongColumnTupleSource.java index 9654532f1d2..d6623dcc4cf 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteObjectLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectObjectColumnTupleSource.java index de17e5d2a4c..eb19d3229be 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteObjectObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectReinterpretedBooleanColumnTupleSource.java index 09eb70daea8..847e05c608b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteObjectReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectReinterpretedInstantColumnTupleSource.java index e692bdd3034..a04fd62560f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteObjectReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectShortColumnTupleSource.java index 8be3712d635..93e54f9dd89 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteObjectShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteObjectShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanBooleanColumnTupleSource.java index 58923032571..e58a2d256ad 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanByteColumnTupleSource.java index a265885e3b2..00b046542ac 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanCharacterColumnTupleSource.java index c6cd3225c71..359476ab5d9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanColumnTupleSource.java index cfa0daa8305..68be0e220d3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanDoubleColumnTupleSource.java index 81ebe231a35..c86eeca9f47 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanFloatColumnTupleSource.java index adc8c2bb0c8..a353a04d5c3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanInstantColumnTupleSource.java index 9b677d38e50..d58221726a9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanIntegerColumnTupleSource.java index 00afa00b8c0..1bc15780bf6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanLongColumnTupleSource.java index 2f0ff6f9551..c10d17f6b4b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanObjectColumnTupleSource.java index ff2e8d16a68..0e5f0e56331 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java index 765079ad53e..d27791af90b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanReinterpretedInstantColumnTupleSource.java index 80a142f7a7a..8da6dbd8d2c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanShortColumnTupleSource.java index 82481aea98f..3b86cf90f36 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantBooleanColumnTupleSource.java index 6185a3c9c55..a96acd3bc2e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantByteColumnTupleSource.java index 469f570e252..c8be1d4becd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantCharacterColumnTupleSource.java index cd948255b87..0bf848e1284 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantColumnTupleSource.java index 298f9f036fd..3545a42c924 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantDoubleColumnTupleSource.java index 10fb8ea91a8..00fc06e178c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantFloatColumnTupleSource.java index 929e6f34ede..e456578e430 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantInstantColumnTupleSource.java index 8bcb97d1dc6..ddd9653fef8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantIntegerColumnTupleSource.java index 4ab537c0fec..b3e770a35f4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantLongColumnTupleSource.java index a6821414344..ad6f9ce9468 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantObjectColumnTupleSource.java index 2ba92d2b0fe..e50bdb1c6e9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantReinterpretedBooleanColumnTupleSource.java index 4a07f2a6c12..512aa72e658 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantReinterpretedInstantColumnTupleSource.java index c284fe8f5a3..688f06a4387 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantShortColumnTupleSource.java index 5ada7fc3762..c755567a001 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteReinterpretedInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteReinterpretedInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortBooleanColumnTupleSource.java index dbd9017c717..739959279e2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteShortBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortByteColumnTupleSource.java index d7394405e53..97464513886 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteShortByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortCharacterColumnTupleSource.java index eed788f8eac..585c6b5c073 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteShortCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortColumnTupleSource.java index 7f8b5e747db..bf840be5e36 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortDoubleColumnTupleSource.java index 865fa631db1..a7e315c0c70 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteShortDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortFloatColumnTupleSource.java index 903f665c013..47df743af8c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteShortFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortInstantColumnTupleSource.java index 74b3b2d6722..f12996999a2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteShortInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortIntegerColumnTupleSource.java index c9b3ea11125..14e45f9dd51 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteShortIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortLongColumnTupleSource.java index 26ff5752e84..95d653f85de 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteShortLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortObjectColumnTupleSource.java index 339277392ec..68cc7cb69c2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteShortObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortReinterpretedBooleanColumnTupleSource.java index 593d4cbe6cc..1e4c0c9a397 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteShortReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortReinterpretedInstantColumnTupleSource.java index 907ed8d319f..9069ef10b00 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteShortReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortShortColumnTupleSource.java index 9f5ddf1278b..62128e74c56 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ByteShortShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ByteShortShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanBooleanColumnTupleSource.java index c66e808a328..c40c3d10019 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Boolean, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanByteColumnTupleSource.java index 1c41c221801..c1edff48131 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanCharacterColumnTupleSource.java index dd5b98f20bc..681f87ce591 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Boolean, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanColumnTupleSource.java index 4c5b351b343..54b3b71d3c0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanDoubleColumnTupleSource.java index 58e3303227c..28837e22f79 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Boolean, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanFloatColumnTupleSource.java index 87d50ff5e68..b8992cc9f46 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Boolean, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanInstantColumnTupleSource.java index c909e7cbe5d..a5dd7190beb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Boolean, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanIntegerColumnTupleSource.java index 14da1e814a2..9eff3916f3e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Boolean, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanLongColumnTupleSource.java index a70fd9e3503..771e13da00d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanObjectColumnTupleSource.java index 7461254da3b..103bca0ae4e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Boolean, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanReinterpretedBooleanColumnTupleSource.java index a1554701a0f..780b6993974 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanReinterpretedInstantColumnTupleSource.java index 2b65ea53f3d..bb39792ae43 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanShortColumnTupleSource.java index d24aab87b52..1ab486ab05b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Boolean, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteBooleanColumnTupleSource.java index 113ce6ae896..1e4b9a81b16 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterByteBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteByteColumnTupleSource.java index 3dcb4fe9643..9a04c85ee8f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterByteByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteCharacterColumnTupleSource.java index 3c2dad22756..435c615daca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterByteCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteColumnTupleSource.java index 46fca6dd972..cc23d293af9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteDoubleColumnTupleSource.java index 39303fd00eb..64f0f23f96d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterByteDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteFloatColumnTupleSource.java index 147b1e0f0aa..46b24f2599c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterByteFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteInstantColumnTupleSource.java index 40b490ca252..a1ae12e2569 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterByteInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteIntegerColumnTupleSource.java index 2e4f5c4ac7d..a69842ec81e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterByteIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteLongColumnTupleSource.java index f614d4fbae2..a1dc91267ce 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterByteLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteObjectColumnTupleSource.java index 00eba58c5a4..6087d1ed953 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterByteObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteReinterpretedBooleanColumnTupleSource.java index 1f1988de452..65bafcdf932 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterByteReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteReinterpretedInstantColumnTupleSource.java index 0c5ab21eee3..f4ac48ce7fd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterByteReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteShortColumnTupleSource.java index ba55fe05c65..9f00e97f060 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterByteShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterByteShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterBooleanColumnTupleSource.java index 19b0fc503fe..eb29f6081c6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Character, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterCharacterBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterByteColumnTupleSource.java index a57c390a86b..ff6481b5446 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterCharacterByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterCharacterColumnTupleSource.java index e2a505fac96..83c594f0a59 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Character, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterCharacterCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterColumnTupleSource.java index c673e7d7a23..20714b68c37 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterDoubleColumnTupleSource.java index d070b5428d7..e5fbeac86dc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Character, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterCharacterDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterFloatColumnTupleSource.java index a6cdc848d3e..c55a3f15482 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Character, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterCharacterFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterInstantColumnTupleSource.java index e6149fc23f4..7f7031fee51 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Character, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterCharacterInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterIntegerColumnTupleSource.java index 2f2e64dc531..dd87303dd29 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Character, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterCharacterIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterLongColumnTupleSource.java index 3ad7bf8ad96..85a1dae5ed0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterCharacterLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterObjectColumnTupleSource.java index a7ba24d689e..8824c92bd19 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Character, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterCharacterObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterReinterpretedBooleanColumnTupleSource.java index 1bd446b8abe..57d7a12f77e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterCharacterReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterReinterpretedInstantColumnTupleSource.java index 3b7364f075b..1fb04842b18 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterCharacterReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterShortColumnTupleSource.java index 374099fcf18..1ac3176e356 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterCharacterShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Character, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterCharacterShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleBooleanColumnTupleSource.java index d8073b491e2..31cd64dd9bc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Double, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterDoubleBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleByteColumnTupleSource.java index d3ae6390a3c..f65fff4bc0a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterDoubleByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleCharacterColumnTupleSource.java index 632ed4ff15a..4e2cbe250f0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Double, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterDoubleCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleColumnTupleSource.java index e5d76ea855a..a42f94100d6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleDoubleColumnTupleSource.java index a96ceea1cc5..384ffaa0ab7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Double, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterDoubleDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleFloatColumnTupleSource.java index 7def6a536e9..557eadffb1d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Double, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterDoubleFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleInstantColumnTupleSource.java index 712fc15a74e..73bde32a578 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Double, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterDoubleInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleIntegerColumnTupleSource.java index affc66b7303..881bd1ddb6f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Double, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterDoubleIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleLongColumnTupleSource.java index c5eb0c604eb..b45f65e5e37 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterDoubleLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleObjectColumnTupleSource.java index ada70f9c47f..0ab2daf59b4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Double, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterDoubleObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleReinterpretedBooleanColumnTupleSource.java index b8460ffb3b9..4baec49015c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterDoubleReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleReinterpretedInstantColumnTupleSource.java index 36a17421410..b19559061f2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterDoubleReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleShortColumnTupleSource.java index b7336caf7e7..7f914b9639c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterDoubleShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Double, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterDoubleShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatBooleanColumnTupleSource.java index 567124cdc2f..5c4e9313361 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Float, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterFloatBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatByteColumnTupleSource.java index 487675640fe..464ec811638 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterFloatByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatCharacterColumnTupleSource.java index 3a85d59787d..080ecb8c89b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Float, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterFloatCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatColumnTupleSource.java index 2dbed4fde65..83a11cbb2a7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatDoubleColumnTupleSource.java index b29cd3d19d4..64b42ee6f75 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Float, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterFloatDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatFloatColumnTupleSource.java index 5c7c479d7a0..392487ff49d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Float, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterFloatFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatInstantColumnTupleSource.java index b762e389741..5cd70ed159c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Float, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterFloatInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatIntegerColumnTupleSource.java index 4dbcbe4ba02..d3848bc2047 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Float, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterFloatIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatLongColumnTupleSource.java index f1b70163a6c..638c8827ffd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterFloatLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatObjectColumnTupleSource.java index 7841ca89c1a..6dcdf410863 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Float, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterFloatObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatReinterpretedBooleanColumnTupleSource.java index 5ac68dc2745..075437d56e9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterFloatReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatReinterpretedInstantColumnTupleSource.java index fadaa4d8841..4bc81f82441 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterFloatReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatShortColumnTupleSource.java index 31cb0ef24ef..8eefd8324f7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterFloatShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Float, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterFloatShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantBooleanColumnTupleSource.java index 20f0a554514..684bc545d27 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Instant, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantByteColumnTupleSource.java index e4bf75e804f..6ffcb8ecb54 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantCharacterColumnTupleSource.java index cbadd1964cf..7549e0340ed 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Instant, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantColumnTupleSource.java index f792a6c8d1f..9860715e5a4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantDoubleColumnTupleSource.java index 8f196fc1cf6..60d276f7692 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Instant, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantFloatColumnTupleSource.java index 161e3247635..94f16b2e025 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Instant, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantInstantColumnTupleSource.java index 8a6b4cc1378..d5864eb7d1c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Instant, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantIntegerColumnTupleSource.java index 3c3206dd79a..71de7e769f6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Instant, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantLongColumnTupleSource.java index 26ae4142262..e84cb936407 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantObjectColumnTupleSource.java index 3b714032772..4ec0e65c4ea 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Instant, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantReinterpretedBooleanColumnTupleSource.java index 0d3d1f6ac31..1cc3527e452 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantReinterpretedInstantColumnTupleSource.java index 5b1ec505fa6..3c87839afb2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantShortColumnTupleSource.java index c9553801aa1..644a6f48708 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Instant, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerBooleanColumnTupleSource.java index 44358cd148d..3c36d5738d5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Integer, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterIntegerBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerByteColumnTupleSource.java index 0ae075a6c0b..a63c939981c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterIntegerByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerCharacterColumnTupleSource.java index 987ce145ecd..6ff183327a5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Integer, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterIntegerCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerColumnTupleSource.java index 44ed84798a0..5c7d60dee39 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerDoubleColumnTupleSource.java index d586da52c2b..94492193444 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Integer, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterIntegerDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerFloatColumnTupleSource.java index 72bda892ff1..0b53d7a4c10 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Integer, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterIntegerFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerInstantColumnTupleSource.java index 056cf4d1b04..a9d5d709882 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Integer, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterIntegerInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerIntegerColumnTupleSource.java index f0af827fae8..de3a93a9d1f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Integer, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterIntegerIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerLongColumnTupleSource.java index 97b6c474a97..ca5ada5bd3e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterIntegerLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerObjectColumnTupleSource.java index a8bae98ccb8..5818cee7cb6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Integer, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterIntegerObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerReinterpretedBooleanColumnTupleSource.java index 5c15d80099b..cb27f59709c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterIntegerReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerReinterpretedInstantColumnTupleSource.java index 414886cff9b..01d91befaab 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterIntegerReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerShortColumnTupleSource.java index bc3f156e2c4..ccd78f19686 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterIntegerShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Integer, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterIntegerShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongBooleanColumnTupleSource.java index 488a2c13973..7de5a6c0014 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterLongBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongByteColumnTupleSource.java index 2b5ae27827b..71b02c6bf9a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterLongByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongCharacterColumnTupleSource.java index bfa6face53c..cea6a9b7c3b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterLongCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongColumnTupleSource.java index 806237252fa..e42b8f93106 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongDoubleColumnTupleSource.java index 56ff1455c55..2c5ca171a02 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterLongDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongFloatColumnTupleSource.java index ed352cc3ef3..bc9117165a1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterLongFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongInstantColumnTupleSource.java index aac3288a61e..fd7021c3062 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterLongInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongIntegerColumnTupleSource.java index a98b289ba58..c11e10757cb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterLongIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongLongColumnTupleSource.java index 8ffddd83adb..4dcd582cff8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterLongLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongObjectColumnTupleSource.java index c5bf9869dac..c26033174e3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterLongObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongReinterpretedBooleanColumnTupleSource.java index 3d579c075d5..bef3ce22790 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterLongReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongReinterpretedInstantColumnTupleSource.java index 2ae5fc08752..bbd2d158f62 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterLongReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongShortColumnTupleSource.java index 9ebd5da4501..cec98a83980 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterLongShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterLongShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectBooleanColumnTupleSource.java index 786d186ff24..414aa7c1df1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Object, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterObjectBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectByteColumnTupleSource.java index 168c4f38a0d..4faac428c9c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterObjectByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectCharacterColumnTupleSource.java index 64431550bd1..749ab09fbb6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Object, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterObjectCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectColumnTupleSource.java index 38d4e44ed59..011bca48078 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectDoubleColumnTupleSource.java index 45f2398059a..2ddce560c2f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Object, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterObjectDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectFloatColumnTupleSource.java index de45706b122..5e72d6b5e39 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Object, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterObjectFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectInstantColumnTupleSource.java index 6e289587b08..cc5639c16c5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Object, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterObjectInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectIntegerColumnTupleSource.java index a0b8fae833b..89ed456bb91 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Object, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterObjectIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectLongColumnTupleSource.java index 2fa1e7ebaf4..5a07412849a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterObjectLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectObjectColumnTupleSource.java index 5c07a821085..5fb7415d4cd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Object, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterObjectObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectReinterpretedBooleanColumnTupleSource.java index f05e6efcc9c..e9a4ed56cff 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterObjectReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectReinterpretedInstantColumnTupleSource.java index b01688b883b..b6366a94c22 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterObjectReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectShortColumnTupleSource.java index e4c1d6f134c..37040ad1fad 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterObjectShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Object, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterObjectShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanBooleanColumnTupleSource.java index 52de5278b68..6ae8e64e741 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanByteColumnTupleSource.java index 900954a54c2..4de4fbe6f67 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanCharacterColumnTupleSource.java index 0180c060830..8bc730df086 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanColumnTupleSource.java index 5434889d04d..085c0609a71 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanDoubleColumnTupleSource.java index f6e2b2cfbd6..984ef761b0c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanFloatColumnTupleSource.java index af4a6ab20a5..f2eeb91f06f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanInstantColumnTupleSource.java index 8a07ab0696b..f18893e61ed 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanIntegerColumnTupleSource.java index fa95433647f..a0e1701cebd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanLongColumnTupleSource.java index d27530dd9f2..0dcfd17d234 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanObjectColumnTupleSource.java index 05da4957251..efb1a327ed9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java index f0a05e1c0a0..5ca0b161ec8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanReinterpretedInstantColumnTupleSource.java index a53a6dfdd84..3e21a546ffd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanShortColumnTupleSource.java index a6f06561c16..5614e53f89e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantBooleanColumnTupleSource.java index ace882b4ca6..4ba2ec0ce3b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantByteColumnTupleSource.java index 8254b99fbaa..f1fc41d5b86 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantCharacterColumnTupleSource.java index a6ad3a8e1cf..6df782643f9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantColumnTupleSource.java index d872f3e25b1..6db0b2cfea8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantDoubleColumnTupleSource.java index 2fce5d1221f..6905870d473 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantFloatColumnTupleSource.java index b7bc94d0a04..d316d186a3d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantInstantColumnTupleSource.java index 7734e582aea..b1fed4fce93 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantIntegerColumnTupleSource.java index 74dbc943feb..ae5caa30209 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantLongColumnTupleSource.java index cc4ccfa8a68..e441b5768d1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantObjectColumnTupleSource.java index c155c77afca..6f2d03576b5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantReinterpretedBooleanColumnTupleSource.java index 7faee463e30..2f95965b5b6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantReinterpretedInstantColumnTupleSource.java index 98ea8094e3c..01d1346ed1b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantShortColumnTupleSource.java index c331e9c9cf3..b2572de0a66 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterReinterpretedInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterReinterpretedInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortBooleanColumnTupleSource.java index 7b2a3b3ecd9..16f3e0c62ea 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Short, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterShortBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortByteColumnTupleSource.java index 73eef108fdd..b07ace042e3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterShortByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortCharacterColumnTupleSource.java index cdcc957262d..b6f074913a4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Short, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterShortCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortColumnTupleSource.java index 92de0e20084..4c65586eb98 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortDoubleColumnTupleSource.java index ef8c349e68c..4089c347cc5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Short, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterShortDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortFloatColumnTupleSource.java index 03232e3847b..01e1b322cbf 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Short, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterShortFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortInstantColumnTupleSource.java index d8993cb3233..2ad8dd8f25e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Short, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterShortInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortIntegerColumnTupleSource.java index fdaed31f011..028ab0418e7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Short, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterShortIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortLongColumnTupleSource.java index a461513feae..bf6570a88b7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterShortLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortObjectColumnTupleSource.java index f12c4fdd16e..b19fb786a4c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Short, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterShortObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortReinterpretedBooleanColumnTupleSource.java index 5c0d38cfd76..17607f6c997 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterShortReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortReinterpretedInstantColumnTupleSource.java index 22524f592b3..28e4235e006 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterShortReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortShortColumnTupleSource.java index c67e6ca5662..fbbe0a32c06 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/CharacterShortShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Character, Short, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class CharacterShortShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanBooleanColumnTupleSource.java index b78ca87fc95..40fa76669c6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Boolean, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanByteColumnTupleSource.java index 6d666b2b80b..4b8372447dc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanCharacterColumnTupleSource.java index 01177d43225..1f2f15eff81 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Boolean, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanColumnTupleSource.java index cda7b205a4e..f3482d6fb6b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanDoubleColumnTupleSource.java index f6d542db10f..30105212441 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Boolean, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanFloatColumnTupleSource.java index 2bd0dccbb06..64554858de3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Boolean, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanInstantColumnTupleSource.java index daf311c9b6b..d99a12ecbf4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Boolean, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanIntegerColumnTupleSource.java index 717cb071519..571b10b8ba4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Boolean, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanLongColumnTupleSource.java index 1f63027cf04..80c22c3d36d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanObjectColumnTupleSource.java index 999627b7794..4d4dd7ca5a7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Boolean, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanReinterpretedBooleanColumnTupleSource.java index 56e3d56e0c6..9e23e59ce30 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanReinterpretedInstantColumnTupleSource.java index 9da23b50e2c..3afd12d83b8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanShortColumnTupleSource.java index ce618a2bdbf..f049e8090b5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Boolean, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteBooleanColumnTupleSource.java index 38b6afba4fb..3609faddefd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleByteBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteByteColumnTupleSource.java index 1905a4de5a1..024671b30e1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleByteByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteCharacterColumnTupleSource.java index 5d8922ae33f..b431d5b0b39 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleByteCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteColumnTupleSource.java index d58f1e709e8..a8a5c675722 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteDoubleColumnTupleSource.java index f21e1da13af..d09121ee313 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleByteDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteFloatColumnTupleSource.java index b44df68469c..244e876b616 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleByteFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteInstantColumnTupleSource.java index 6faecf3f040..af79ae0a7b9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleByteInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteIntegerColumnTupleSource.java index 32c62f8182c..0e28b5fbe4c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleByteIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteLongColumnTupleSource.java index 52b792c67df..9d8d241d38e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleByteLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteObjectColumnTupleSource.java index 956db5e762b..ed25e476db6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleByteObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteReinterpretedBooleanColumnTupleSource.java index 14a96e4743b..b03348f58d6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleByteReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteReinterpretedInstantColumnTupleSource.java index 0d6f6440a08..108e5c171f9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleByteReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteShortColumnTupleSource.java index 8b1c5c090c4..df5b217ed7c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleByteShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleByteShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterBooleanColumnTupleSource.java index 1869192b8be..a80d0ff1353 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Character, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleCharacterBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterByteColumnTupleSource.java index 4cc567179ca..c05b54177c2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleCharacterByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterCharacterColumnTupleSource.java index b3420e96f3e..600ee220cfe 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Character, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleCharacterCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterColumnTupleSource.java index 823d0bca2d0..6e20690378f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterDoubleColumnTupleSource.java index fab7b063c62..8afff3a3b5a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Character, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleCharacterDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterFloatColumnTupleSource.java index b92a0dbdabf..419537c3236 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Character, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleCharacterFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterInstantColumnTupleSource.java index 405c53b0a35..7e4f4dfe3d3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Character, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleCharacterInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterIntegerColumnTupleSource.java index 34fcf984d5e..574c77563d7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Character, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleCharacterIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterLongColumnTupleSource.java index 2383ecc67cb..11e6c368824 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleCharacterLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterObjectColumnTupleSource.java index f276e1e64fa..06e2492db7c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Character, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleCharacterObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterReinterpretedBooleanColumnTupleSource.java index ae00444bf7c..82464c936ca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleCharacterReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterReinterpretedInstantColumnTupleSource.java index 6b3b3324da1..f079b88eed2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleCharacterReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterShortColumnTupleSource.java index 263ccbde871..f5b9b5f6847 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleCharacterShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Character, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleCharacterShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleBooleanColumnTupleSource.java index dcd5ad66a53..a3bf9d8e22f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Double, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleDoubleBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleByteColumnTupleSource.java index 2d545d2a811..a3b885df432 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleDoubleByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleCharacterColumnTupleSource.java index e88a2ba5b92..3e4fbd25484 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Double, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleDoubleCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleColumnTupleSource.java index 6368bdf703e..e40626a707d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleDoubleColumnTupleSource.java index afa2b6d6c6b..2eab9530fcd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Double, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleDoubleDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleFloatColumnTupleSource.java index ff09db0bb9e..fad0ba3ec21 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Double, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleDoubleFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleInstantColumnTupleSource.java index c1f6fa174f8..7085e0f278d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Double, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleDoubleInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleIntegerColumnTupleSource.java index f9b30c3cca5..d7ad3d62192 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Double, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleDoubleIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleLongColumnTupleSource.java index d1d17decebd..43dc682c39b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleDoubleLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleObjectColumnTupleSource.java index cdf9d5e1b49..aaf1fc866c9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Double, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleDoubleObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleReinterpretedBooleanColumnTupleSource.java index 3c375476ea5..9441f9a07c4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleDoubleReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleReinterpretedInstantColumnTupleSource.java index 60e06de6499..f1fd676dfb6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleDoubleReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleShortColumnTupleSource.java index 09781aeec1a..9ae96cabcec 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleDoubleShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Double, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleDoubleShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatBooleanColumnTupleSource.java index db1a1047411..43742d54bbb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Float, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleFloatBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatByteColumnTupleSource.java index faae5e00e30..d9f261f4ad1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleFloatByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatCharacterColumnTupleSource.java index 69776ddeeef..f5110d0d4bf 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Float, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleFloatCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatColumnTupleSource.java index cf85d38c106..0cbbd656391 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatDoubleColumnTupleSource.java index 5a815ff4426..2c55d4e979f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Float, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleFloatDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatFloatColumnTupleSource.java index 51419a600cc..88a5e8ad5e8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Float, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleFloatFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatInstantColumnTupleSource.java index ba386c4b07d..32de31e64cd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Float, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleFloatInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatIntegerColumnTupleSource.java index 434a7a20859..1a71b63a9f1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Float, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleFloatIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatLongColumnTupleSource.java index f79381c6a0c..317d24c1732 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleFloatLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatObjectColumnTupleSource.java index 39672bb02fd..cc7ef245a69 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Float, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleFloatObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatReinterpretedBooleanColumnTupleSource.java index 49de0fe624b..e7508d57848 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleFloatReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatReinterpretedInstantColumnTupleSource.java index aff76016b01..8cf81c853ed 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleFloatReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatShortColumnTupleSource.java index 36199e643eb..700c6b22406 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleFloatShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Float, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleFloatShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantBooleanColumnTupleSource.java index 7a0772f5747..bb344d231a2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Instant, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantByteColumnTupleSource.java index c4cac0b949d..e05f2653c32 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantCharacterColumnTupleSource.java index 283711b38d6..50c18d1ea41 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Instant, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantColumnTupleSource.java index 13271296076..f35bb03ab24 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantDoubleColumnTupleSource.java index 5efdeac2acc..f597f785f2b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Instant, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantFloatColumnTupleSource.java index 8e9590364b4..c114d16e4f9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Instant, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantInstantColumnTupleSource.java index d0ab180081b..a48e9e5e629 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Instant, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantIntegerColumnTupleSource.java index a69f2e95000..05e137c7ea0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Instant, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantLongColumnTupleSource.java index 0ae5350c8ca..d5237ffab5f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantObjectColumnTupleSource.java index 710e8171fb6..f31fd4a8280 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Instant, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantReinterpretedBooleanColumnTupleSource.java index 212b9596e14..a14385033c0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantReinterpretedInstantColumnTupleSource.java index 4320542427a..fd419010bc6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantShortColumnTupleSource.java index c451a1d1ebc..e53709b4c21 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Instant, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerBooleanColumnTupleSource.java index d1c880b6c83..242c48c2d83 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Integer, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleIntegerBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerByteColumnTupleSource.java index 3b80b13eead..b0be33190d8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleIntegerByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerCharacterColumnTupleSource.java index 4ddcb6d1a09..adc34a40e0c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Integer, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleIntegerCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerColumnTupleSource.java index 51ba4c427af..43c7398b9ed 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerDoubleColumnTupleSource.java index 8e80a6763e0..e4990c6271c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Integer, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleIntegerDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerFloatColumnTupleSource.java index 87b75fead47..f81c6a5f0cc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Integer, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleIntegerFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerInstantColumnTupleSource.java index e556a827a9b..7845c9756ca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Integer, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleIntegerInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerIntegerColumnTupleSource.java index 0f5687a41c2..24c69c0f001 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Integer, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleIntegerIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerLongColumnTupleSource.java index 9837cd14e37..bbfe4c4fda5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleIntegerLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerObjectColumnTupleSource.java index c1048e266de..7a5a34178df 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Integer, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleIntegerObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerReinterpretedBooleanColumnTupleSource.java index 7e59fe2e9da..c0d6509b407 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleIntegerReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerReinterpretedInstantColumnTupleSource.java index 954a53b9cf3..35c716baf36 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleIntegerReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerShortColumnTupleSource.java index f5fdb4bf22b..21a377368dd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleIntegerShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Integer, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleIntegerShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongBooleanColumnTupleSource.java index cbf19ab5533..f22a4ec5b85 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleLongBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongByteColumnTupleSource.java index b5c3369c936..11608abafa3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleLongByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongCharacterColumnTupleSource.java index 03b93a59fed..ef4e3cf7b66 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleLongCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongColumnTupleSource.java index a8c1cb2cb9e..d4f57d705d3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongDoubleColumnTupleSource.java index 0a032d1936b..1c5f6dcf6d8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleLongDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongFloatColumnTupleSource.java index 706de13c3ae..4d66c2fb374 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleLongFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongInstantColumnTupleSource.java index 1c09629c7c9..f001f17a403 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleLongInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongIntegerColumnTupleSource.java index 79974da2f15..144a24dafb1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleLongIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongLongColumnTupleSource.java index cc448bce091..1ae0dfce8cb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleLongLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongObjectColumnTupleSource.java index ca905a14400..8af1913d8fe 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleLongObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongReinterpretedBooleanColumnTupleSource.java index 0854eb5c3d2..99d81157c8d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleLongReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongReinterpretedInstantColumnTupleSource.java index 1ccb50020a9..63c67cf2790 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleLongReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongShortColumnTupleSource.java index 6c7eee884e7..6d045e47bb5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleLongShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleLongShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectBooleanColumnTupleSource.java index b53e4ab1d3a..7b64e6356fc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Object, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleObjectBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectByteColumnTupleSource.java index d0378c8f30a..0f720bcd8dc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleObjectByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectCharacterColumnTupleSource.java index 6b11905ffff..6929c72cb53 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Object, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleObjectCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectColumnTupleSource.java index 3dadaf09890..3070330a9ef 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectDoubleColumnTupleSource.java index eff74fb494c..c4f0c74232e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Object, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleObjectDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectFloatColumnTupleSource.java index c381ecc8843..15b03c3dc38 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Object, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleObjectFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectInstantColumnTupleSource.java index 4041f77f5b0..9aeb2a2315a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Object, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleObjectInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectIntegerColumnTupleSource.java index aa02ab6d116..b4f858b9e0a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Object, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleObjectIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectLongColumnTupleSource.java index f71bdbd8b5e..a3ce3a4b4f8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleObjectLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectObjectColumnTupleSource.java index 8551fd90512..613bb7c089d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Object, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleObjectObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectReinterpretedBooleanColumnTupleSource.java index a0eda7945e6..ce9c0452dd0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleObjectReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectReinterpretedInstantColumnTupleSource.java index 38f1a839198..11b009145c7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleObjectReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectShortColumnTupleSource.java index c5abbb50433..fc6f76a570e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleObjectShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Object, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleObjectShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanBooleanColumnTupleSource.java index a8600cb10c4..c3f0a6b2192 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanByteColumnTupleSource.java index 487b6bf514b..4c8db9ebc54 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanCharacterColumnTupleSource.java index bc49188ab48..8358769468c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanColumnTupleSource.java index f9a68ebb376..b45c9696dfe 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanDoubleColumnTupleSource.java index ccf159f93e4..c5a1ad0da3b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanFloatColumnTupleSource.java index 6d14a854a42..be0aca7e6be 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanInstantColumnTupleSource.java index 2a51b38cfd5..15c65de9c90 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanIntegerColumnTupleSource.java index dbf0c2acc29..c94335231c9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanLongColumnTupleSource.java index f360d4d6dbf..64ea1ae9913 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanObjectColumnTupleSource.java index 984b0c8d1fb..be1fdddd167 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java index 000576ee118..1295a06026c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanReinterpretedInstantColumnTupleSource.java index 8805c807a82..c3e91981e7b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanShortColumnTupleSource.java index 93a22b7783b..8c898765980 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantBooleanColumnTupleSource.java index 48e6f4f951e..38292ee494e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantByteColumnTupleSource.java index 79e0ed779b2..e34a2af7539 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantCharacterColumnTupleSource.java index 78e5c34c044..930c081c996 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantColumnTupleSource.java index 276a29009a2..cb594b74ae9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantDoubleColumnTupleSource.java index 310eb39146a..c1f5e9f7073 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantFloatColumnTupleSource.java index 602d8483f17..a16de927030 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantInstantColumnTupleSource.java index 32a2f5143c3..fe24aea1da1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantIntegerColumnTupleSource.java index 006bdc405d7..59ba2ee71f7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantLongColumnTupleSource.java index 8926aef03e8..d9c833e720b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantObjectColumnTupleSource.java index f31a4c8d6e2..1d61d51d8f4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantReinterpretedBooleanColumnTupleSource.java index faf2cbdb84d..20c03609eaf 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantReinterpretedInstantColumnTupleSource.java index cb061cd00ee..9ed7e76abc5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantShortColumnTupleSource.java index 75a2d5e4041..d5a0c51ed7a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleReinterpretedInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleReinterpretedInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortBooleanColumnTupleSource.java index b5372e22567..a225032dab9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Short, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleShortBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortByteColumnTupleSource.java index 28f386af9b6..a05c4e2b2de 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleShortByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortCharacterColumnTupleSource.java index f31b54ca960..b35efa57f40 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Short, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleShortCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortColumnTupleSource.java index cc330cc6fa1..2b32bcaa411 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortDoubleColumnTupleSource.java index 9b051a98dae..13863dafc49 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Short, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleShortDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortFloatColumnTupleSource.java index 623f043f953..7efa2eb9eab 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Short, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleShortFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortInstantColumnTupleSource.java index f1a909d3b48..30b6e73ea67 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Short, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleShortInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortIntegerColumnTupleSource.java index 85a037d1e80..c2c3ecee9f4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Short, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleShortIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortLongColumnTupleSource.java index a6f8d49ff24..bde24efde5b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleShortLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortObjectColumnTupleSource.java index c59b1db5b50..01eb87e21f3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Short, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleShortObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortReinterpretedBooleanColumnTupleSource.java index 1e1c20c810d..2c2a63eda16 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleShortReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortReinterpretedInstantColumnTupleSource.java index f93a4accb23..44cf7584521 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleShortReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortShortColumnTupleSource.java index 25ee82fbb50..3e1cf9605ca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/DoubleShortShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Double, Short, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class DoubleShortShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanBooleanColumnTupleSource.java index 538ef438962..97210430944 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Boolean, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanByteColumnTupleSource.java index 9744242b432..7a8a5c9b258 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanCharacterColumnTupleSource.java index 2e5de9b0c68..a6a57e5cb07 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Boolean, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanColumnTupleSource.java index 0a2e31b0f4b..8e5e2047ba6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanDoubleColumnTupleSource.java index 830d7a2ddb9..9156464d225 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Boolean, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanFloatColumnTupleSource.java index 1b9252bf043..14a783be6ee 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Boolean, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanInstantColumnTupleSource.java index a5fd29ce4c0..cc461737ae2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Boolean, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanIntegerColumnTupleSource.java index c6bffc41f05..72136ec43d0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Boolean, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanLongColumnTupleSource.java index b3e8a8e6e3e..ffd458eab03 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanObjectColumnTupleSource.java index 6e241ab80c9..310f459282d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Boolean, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanReinterpretedBooleanColumnTupleSource.java index af418a19601..b954880199f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanReinterpretedInstantColumnTupleSource.java index f8ae92eb825..ed6ae82ae65 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanShortColumnTupleSource.java index 39b75e7f2e9..8f8b624c53e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Boolean, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteBooleanColumnTupleSource.java index 2f72470f133..ad3c30fc060 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatByteBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteByteColumnTupleSource.java index 2dd8ba1f515..28a6125618b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatByteByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteCharacterColumnTupleSource.java index 79b945df495..03cc8a50423 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatByteCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteColumnTupleSource.java index 99774aa255f..a0454966b45 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteDoubleColumnTupleSource.java index f6838af23de..ec6f25cee1e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatByteDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteFloatColumnTupleSource.java index 9d6fa3ae1db..d9d6ca0d124 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatByteFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteInstantColumnTupleSource.java index f163a843d07..89e218aed13 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatByteInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteIntegerColumnTupleSource.java index 3413983c6e8..cbd18cb8cee 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatByteIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteLongColumnTupleSource.java index 8eb14dfceb7..2b945fc000d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatByteLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteObjectColumnTupleSource.java index 3aaea1f20b3..72542ef6694 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatByteObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteReinterpretedBooleanColumnTupleSource.java index bda1cf6ee35..6d92b647415 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatByteReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteReinterpretedInstantColumnTupleSource.java index bfc3dec6bbf..abb8a942e0e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatByteReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteShortColumnTupleSource.java index 25720869c3f..d62a0cf4726 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatByteShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatByteShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterBooleanColumnTupleSource.java index fcbaa68e432..f8af1c17e1b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Character, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatCharacterBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterByteColumnTupleSource.java index cc9a1da23e3..1aae4cd9450 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatCharacterByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterCharacterColumnTupleSource.java index 48827c0080c..1e6f22ec8bd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Character, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatCharacterCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterColumnTupleSource.java index f5869ea685c..b6fb7b5de9f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterDoubleColumnTupleSource.java index ad3e661ca33..b8a85c8bc30 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Character, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatCharacterDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterFloatColumnTupleSource.java index 434d75d4da0..623ae076b91 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Character, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatCharacterFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterInstantColumnTupleSource.java index 20605a473cb..9973097f2c1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Character, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatCharacterInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterIntegerColumnTupleSource.java index 82969c0fef4..aee8e5283cb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Character, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatCharacterIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterLongColumnTupleSource.java index 56c2c6203c8..36e107da779 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatCharacterLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterObjectColumnTupleSource.java index 155775381be..b8a99669484 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Character, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatCharacterObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterReinterpretedBooleanColumnTupleSource.java index b2223e2a142..c70fb6dda3d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatCharacterReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterReinterpretedInstantColumnTupleSource.java index a759ac3671f..f90d839b009 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatCharacterReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterShortColumnTupleSource.java index 4e389292398..deb49f9aa05 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatCharacterShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Character, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatCharacterShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleBooleanColumnTupleSource.java index 3a5eee528bd..5c0d69ef095 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Double, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatDoubleBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleByteColumnTupleSource.java index 3f9eece0944..7ae0a7671e6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatDoubleByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleCharacterColumnTupleSource.java index ef5a3b5dcb6..5dad0c127ea 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Double, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatDoubleCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleColumnTupleSource.java index f7ec0efd833..64e99a56416 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleDoubleColumnTupleSource.java index 91f6605b7d3..ce845951225 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Double, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatDoubleDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleFloatColumnTupleSource.java index 32a5fb7b1af..9a65d89e60a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Double, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatDoubleFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleInstantColumnTupleSource.java index 5bd6565a11d..6c892e7ecf2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Double, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatDoubleInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleIntegerColumnTupleSource.java index ffcb75be0e0..b657ecf63d2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Double, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatDoubleIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleLongColumnTupleSource.java index f36db8a97d2..7b94102031d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatDoubleLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleObjectColumnTupleSource.java index 633676a2f67..ac5e265a62b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Double, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatDoubleObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleReinterpretedBooleanColumnTupleSource.java index 7cdbc0ce5ee..4dd825195e6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatDoubleReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleReinterpretedInstantColumnTupleSource.java index 1c099f7b3a7..8f7c9b3ebea 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatDoubleReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleShortColumnTupleSource.java index 649cbcd8f4e..2b3451b5dca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatDoubleShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Double, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatDoubleShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatBooleanColumnTupleSource.java index 1064ba7377b..3be23dd20c1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Float, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatFloatBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatByteColumnTupleSource.java index ddc0b8a1e38..fa4b5b4d83c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatFloatByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatCharacterColumnTupleSource.java index 926c5e55059..ca4076b3f6e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Float, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatFloatCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatColumnTupleSource.java index ec5d89f1d4f..7bb38e88a1c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatDoubleColumnTupleSource.java index 6798de586f5..f7019cc6e24 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Float, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatFloatDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatFloatColumnTupleSource.java index b9ef271882e..3a692bff5ba 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Float, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatFloatFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatInstantColumnTupleSource.java index 06c3b0fc708..4f1e7a640f4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Float, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatFloatInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatIntegerColumnTupleSource.java index 0d3a95ff983..f7cb803f27d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Float, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatFloatIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatLongColumnTupleSource.java index 7c6e0ee8ad4..25e261629e8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatFloatLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatObjectColumnTupleSource.java index 712250fd637..6f083dbc923 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Float, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatFloatObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatReinterpretedBooleanColumnTupleSource.java index 21bc8410c81..9c13c822a39 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatFloatReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatReinterpretedInstantColumnTupleSource.java index 815e550ad92..07bf159270a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatFloatReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatShortColumnTupleSource.java index 319c937213a..dbcefefacb1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatFloatShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Float, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatFloatShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantBooleanColumnTupleSource.java index 832ff8cb631..84779e3fc20 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Instant, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantByteColumnTupleSource.java index 1d447f68b05..4f9b58ba1a1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantCharacterColumnTupleSource.java index d1b7b62ff11..f933a179ab6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Instant, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantColumnTupleSource.java index 1748bb27f4f..97a6725a5c5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantDoubleColumnTupleSource.java index 21343bcf5f8..8bd34dc7b16 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Instant, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantFloatColumnTupleSource.java index 4ff51bf43cf..ab300fec62f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Instant, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantInstantColumnTupleSource.java index 4dcf825f250..8c43dd9f7eb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Instant, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantIntegerColumnTupleSource.java index 1ffacced1c8..ef455f7a115 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Instant, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantLongColumnTupleSource.java index 80fe5b0198d..5377e46572a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantObjectColumnTupleSource.java index 77b369fe1ab..bce9765ccdc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Instant, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantReinterpretedBooleanColumnTupleSource.java index e936a565c23..38859bccb93 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantReinterpretedInstantColumnTupleSource.java index f243f39d855..570ee1cefd9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantShortColumnTupleSource.java index 02b328221f8..71e43ba2712 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Instant, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerBooleanColumnTupleSource.java index 67a3649d60e..566ed944334 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Integer, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatIntegerBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerByteColumnTupleSource.java index 23835dc5712..8471e2c7f19 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatIntegerByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerCharacterColumnTupleSource.java index 93dfced118f..f22535147ab 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Integer, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatIntegerCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerColumnTupleSource.java index e318efa33b0..541c2d793b4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerDoubleColumnTupleSource.java index 1272173b3eb..6997991facb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Integer, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatIntegerDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerFloatColumnTupleSource.java index eaebcd3946e..bf28e501385 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Integer, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatIntegerFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerInstantColumnTupleSource.java index 5e7464ec511..1d1836f5c7d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Integer, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatIntegerInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerIntegerColumnTupleSource.java index b1ca0ac6f7c..ace52c03d1a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Integer, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatIntegerIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerLongColumnTupleSource.java index 7268d314457..73cf549c451 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatIntegerLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerObjectColumnTupleSource.java index 17a2791a5c7..1c283164d6f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Integer, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatIntegerObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerReinterpretedBooleanColumnTupleSource.java index 95d76b38cff..87edec54017 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatIntegerReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerReinterpretedInstantColumnTupleSource.java index f324a769646..cb15edcba30 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatIntegerReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerShortColumnTupleSource.java index 5789d087ee9..d81377826a7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatIntegerShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Integer, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatIntegerShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongBooleanColumnTupleSource.java index 81a5624cc75..5b2aa78c097 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatLongBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongByteColumnTupleSource.java index bf58d63b762..628b13a871a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatLongByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongCharacterColumnTupleSource.java index 19a677bdf6f..d6cad53c212 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatLongCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongColumnTupleSource.java index b4689305239..207b915f3d0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongDoubleColumnTupleSource.java index 79b795f1554..7bd2e3ecfd5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatLongDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongFloatColumnTupleSource.java index 6be8fd346e0..c54c8685aa3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatLongFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongInstantColumnTupleSource.java index 881560394d2..893bb56a8ec 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatLongInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongIntegerColumnTupleSource.java index 2db19ade4a6..09282ff070b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatLongIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongLongColumnTupleSource.java index 73de45011d5..1d13aa2e4f3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatLongLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongObjectColumnTupleSource.java index bc7c7a89a3b..920fd3b70b5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatLongObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongReinterpretedBooleanColumnTupleSource.java index 2951a4815ba..ec2edc029cc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatLongReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongReinterpretedInstantColumnTupleSource.java index 28b4488035f..1791d6e03ce 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatLongReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongShortColumnTupleSource.java index 2fb502c79ee..b96f6321139 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatLongShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatLongShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectBooleanColumnTupleSource.java index 25928a065a7..93860df97e0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Object, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatObjectBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectByteColumnTupleSource.java index 39aae33d024..bc037fe8ea5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatObjectByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectCharacterColumnTupleSource.java index 32745f48ef8..034cc0148fb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Object, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatObjectCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectColumnTupleSource.java index 4bbb3c544a6..361e99dcf8c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectDoubleColumnTupleSource.java index 1c74312a29a..c998e9435b5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Object, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatObjectDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectFloatColumnTupleSource.java index 5c3e1c3ae06..33e288bbfb7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Object, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatObjectFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectInstantColumnTupleSource.java index e487262bbf8..c1a63dc3719 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Object, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatObjectInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectIntegerColumnTupleSource.java index 3047d5c3a3c..442eee04683 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Object, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatObjectIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectLongColumnTupleSource.java index 3cc902b7436..92802868f4b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatObjectLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectObjectColumnTupleSource.java index 29e9bbb472c..68849d0bbfb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Object, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatObjectObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectReinterpretedBooleanColumnTupleSource.java index 32838175628..31d7b1a3fc5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatObjectReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectReinterpretedInstantColumnTupleSource.java index 9380b13a6e1..30c145c41a8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatObjectReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectShortColumnTupleSource.java index ba475e73672..174451e240d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatObjectShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Object, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatObjectShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanBooleanColumnTupleSource.java index 7203d143e23..740ea31bbac 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanByteColumnTupleSource.java index 5e939e69ec5..d55b98e6d83 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanCharacterColumnTupleSource.java index 23612516e2a..d63d334d8f8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanColumnTupleSource.java index 13132d30b33..8b5305bcc30 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanDoubleColumnTupleSource.java index 7d6afe96a29..448a2c4e950 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanFloatColumnTupleSource.java index 6b65ae697f7..bdb0313ba05 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanInstantColumnTupleSource.java index dbaa71bcdea..eb840632c8d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanIntegerColumnTupleSource.java index 917144b9e28..61698d2e276 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanLongColumnTupleSource.java index 20db52eb31a..c7af4cc8f38 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanObjectColumnTupleSource.java index 0d03be65981..3c9d7b6827b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java index 45512a6171a..27d78498a3e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanReinterpretedInstantColumnTupleSource.java index fae8ae59056..b63202a52a9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanShortColumnTupleSource.java index df4fba4b128..ed1a7e3fee0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantBooleanColumnTupleSource.java index 6afecf8b618..1b3b6fca73c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantByteColumnTupleSource.java index 34d7e994fc9..b051d27f828 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantCharacterColumnTupleSource.java index 0aef702d7f0..dcb2e045edd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantColumnTupleSource.java index b97028c2153..7405d1fe874 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantDoubleColumnTupleSource.java index 1fdb1eb4328..800bc286a86 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantFloatColumnTupleSource.java index b42aee5864c..17800d27cf2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantInstantColumnTupleSource.java index da928f8fa04..2b1d7246943 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantIntegerColumnTupleSource.java index 8a0ae4f0650..fb0e6a96742 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantLongColumnTupleSource.java index 4572ca89b97..4778c22d94e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantObjectColumnTupleSource.java index 91249505f3d..fd4a71fe85c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantReinterpretedBooleanColumnTupleSource.java index 77b71b5accc..a18ef229daa 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantReinterpretedInstantColumnTupleSource.java index d3201c456ea..c2307250915 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantShortColumnTupleSource.java index becd0a34168..05b60ca5432 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatReinterpretedInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatReinterpretedInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortBooleanColumnTupleSource.java index 3a2a174d201..82acdf49de5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Short, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatShortBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortByteColumnTupleSource.java index 66d058586f8..b32d56a68b8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatShortByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortCharacterColumnTupleSource.java index 57b87ceb27a..855aa1e7da6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Short, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatShortCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortColumnTupleSource.java index 6eee019117e..955cd4e19b4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortDoubleColumnTupleSource.java index 3daf09637f3..07471ff1fa3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Short, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatShortDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortFloatColumnTupleSource.java index 9f175592cc8..a8a862a7290 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Short, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatShortFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortInstantColumnTupleSource.java index cda91803c79..cb5a86c203b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Short, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatShortInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortIntegerColumnTupleSource.java index 38f6334ab3a..cef406d7fa2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Short, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatShortIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortLongColumnTupleSource.java index ce30ffd7b87..ceb6bec4c00 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatShortLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortObjectColumnTupleSource.java index 111e6e42a13..1ca149db8d1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Short, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatShortObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortReinterpretedBooleanColumnTupleSource.java index 4f69226eb02..b25da29b15e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatShortReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortReinterpretedInstantColumnTupleSource.java index 2feadeed5a9..afb53d5fbe8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatShortReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortShortColumnTupleSource.java index 78cf8bdd985..36aac65b167 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/FloatShortShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Float, Short, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class FloatShortShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanBooleanColumnTupleSource.java index 7e7e2fb4bef..25356d22eab 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Boolean, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanByteColumnTupleSource.java index 03ff6367a66..4e9a1f1687b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanCharacterColumnTupleSource.java index cad91dfb525..3cbc15747d4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Boolean, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanColumnTupleSource.java index 92afa4d7619..ce4388ff7c7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanDoubleColumnTupleSource.java index 28c7746a742..082403c74b5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Boolean, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanFloatColumnTupleSource.java index d22f4560a55..f42196016b4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Boolean, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanInstantColumnTupleSource.java index d2c3ed9f079..ba82d396c01 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Boolean, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanIntegerColumnTupleSource.java index 61026939c36..e74c84ee60b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Boolean, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanLongColumnTupleSource.java index 9493ada5e72..5509db2c936 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanObjectColumnTupleSource.java index 9a2c27ca8bc..595b0afa87e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Boolean, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanReinterpretedBooleanColumnTupleSource.java index 6da6e7dbc36..bb148a95fb9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanReinterpretedInstantColumnTupleSource.java index c2560475366..8fad061f892 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanShortColumnTupleSource.java index d08b3cdbeba..265f06468ed 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Boolean, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteBooleanColumnTupleSource.java index aa7036a1f10..da471bd1150 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantByteBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteByteColumnTupleSource.java index 945d8cc17fa..7b9a2987738 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantByteByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteCharacterColumnTupleSource.java index 863209ccbf5..f51be3068c4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantByteCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteColumnTupleSource.java index 7fe1991e5b8..b96b1468966 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteDoubleColumnTupleSource.java index dbf1a1815dc..2343ce5586d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantByteDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteFloatColumnTupleSource.java index f905ada5051..161e2e36b42 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantByteFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteInstantColumnTupleSource.java index c8e8ed24a0d..ba73325395c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantByteInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteIntegerColumnTupleSource.java index 12d2b124e02..8231c82f144 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantByteIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteLongColumnTupleSource.java index 73ea4def137..d3c6a453b85 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantByteLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteObjectColumnTupleSource.java index 5ecdc254799..65879c82637 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantByteObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteReinterpretedBooleanColumnTupleSource.java index 5c2d063dc3b..2eb5bef9381 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantByteReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteReinterpretedInstantColumnTupleSource.java index b5562ad8816..cfd6fa22784 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantByteReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteShortColumnTupleSource.java index b9183e098c0..dbc78a98030 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantByteShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantByteShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterBooleanColumnTupleSource.java index cc6a7815bd1..c168a6e7efa 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Character, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantCharacterBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterByteColumnTupleSource.java index 2a6874acb23..4f670b0a5db 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantCharacterByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterCharacterColumnTupleSource.java index b34ad0409b9..48d931d1661 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Character, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantCharacterCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterColumnTupleSource.java index e5560c0fa41..fda6ea791ce 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterDoubleColumnTupleSource.java index 7ef7d83bfe5..d8a9173f83c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Character, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantCharacterDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterFloatColumnTupleSource.java index aab93a3c5ad..23e6d463f8f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Character, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantCharacterFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterInstantColumnTupleSource.java index 76e50fb9aaf..c262c3ad0c4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Character, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantCharacterInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterIntegerColumnTupleSource.java index 4f279cad03b..e3007022944 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Character, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantCharacterIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterLongColumnTupleSource.java index 1cedcbe6657..bca86bda49d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantCharacterLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterObjectColumnTupleSource.java index 271a2060281..b2ba35b1e7f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Character, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantCharacterObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterReinterpretedBooleanColumnTupleSource.java index 245b55d63d3..faa44a72ccb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantCharacterReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterReinterpretedInstantColumnTupleSource.java index 63826135b68..cf5c6620426 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantCharacterReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterShortColumnTupleSource.java index fd79ce04f0d..c6ef2369f2d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantCharacterShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Character, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantCharacterShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleBooleanColumnTupleSource.java index 68b5598fe1a..2ea00debfe9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Double, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantDoubleBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleByteColumnTupleSource.java index 7bf6cdc3c37..992c4bbaeff 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantDoubleByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleCharacterColumnTupleSource.java index 8a762181ed5..679a1536da3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Double, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantDoubleCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleColumnTupleSource.java index 2eee80228ba..c00ee5b89a7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleDoubleColumnTupleSource.java index 0ae31cffa45..6f88dd97e7f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Double, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantDoubleDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleFloatColumnTupleSource.java index 52dfd5d60b1..190a87b7785 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Double, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantDoubleFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleInstantColumnTupleSource.java index 6d50affbd37..fae31b538d1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Double, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantDoubleInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleIntegerColumnTupleSource.java index 64fb4bae80f..db828aecc35 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Double, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantDoubleIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleLongColumnTupleSource.java index fe2b51969f4..4d9cc9306d9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantDoubleLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleObjectColumnTupleSource.java index d881d80cc76..23de5d1b2bc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Double, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantDoubleObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleReinterpretedBooleanColumnTupleSource.java index d8c478688eb..b6ea3b867f6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantDoubleReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleReinterpretedInstantColumnTupleSource.java index 6bffeb19a90..cef0e9d6a2b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantDoubleReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleShortColumnTupleSource.java index 72860e2a0f3..730824725f9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantDoubleShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Double, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantDoubleShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatBooleanColumnTupleSource.java index e1a52aabcf6..43986ef4572 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Float, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantFloatBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatByteColumnTupleSource.java index 9737b898e55..12ef15ac9c3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantFloatByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatCharacterColumnTupleSource.java index b55480998c6..58de5f3e6f5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Float, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantFloatCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatColumnTupleSource.java index 90f7b55c049..332e638b0bb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatDoubleColumnTupleSource.java index c9c390156af..6a04c3f17da 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Float, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantFloatDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatFloatColumnTupleSource.java index d3aafc7f252..6c36f399ba4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Float, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantFloatFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatInstantColumnTupleSource.java index 9a9c9f98c58..78cba805f03 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Float, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantFloatInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatIntegerColumnTupleSource.java index 69380d966d9..f0c6ca60ebf 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Float, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantFloatIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatLongColumnTupleSource.java index 0cda5ec0851..493114fec80 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantFloatLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatObjectColumnTupleSource.java index 709bd5faacf..9b42a18db8d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Float, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantFloatObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatReinterpretedBooleanColumnTupleSource.java index ba59f0ef624..49904c3a22e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantFloatReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatReinterpretedInstantColumnTupleSource.java index 1451ce91726..9cc96d95a73 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantFloatReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatShortColumnTupleSource.java index 27311c0f91c..c6785d623d3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantFloatShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Float, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantFloatShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantBooleanColumnTupleSource.java index 74d70a8d55d..f963039a502 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Instant, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantByteColumnTupleSource.java index 6d536082496..c0d5619eae8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantCharacterColumnTupleSource.java index c73fa1da88d..d6b921f0ed4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Instant, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantColumnTupleSource.java index 76cfc1cd8b3..08682e05bce 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantDoubleColumnTupleSource.java index 36c0868cf39..d5ee3cef2c5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Instant, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantFloatColumnTupleSource.java index 21dc26c8f39..cf7462b4ef0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Instant, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantInstantColumnTupleSource.java index 89b0f131cd3..199e8ef24cc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Instant, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantIntegerColumnTupleSource.java index 94d20343f11..defa8234334 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Instant, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantLongColumnTupleSource.java index 89da0458757..91fc2b0b30a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantObjectColumnTupleSource.java index fcbc78dcfb6..5777b53d80b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Instant, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantReinterpretedBooleanColumnTupleSource.java index 5b94d929f4f..6b8698b60eb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantReinterpretedInstantColumnTupleSource.java index ed049df959b..9a3dae0d43e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantShortColumnTupleSource.java index 2bb5677119d..0c5b1cc0cd9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Instant, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerBooleanColumnTupleSource.java index 9df75ab2e87..1267c576c41 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Integer, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantIntegerBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerByteColumnTupleSource.java index e184f18333c..09be8a13ee9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantIntegerByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerCharacterColumnTupleSource.java index 992422e28f0..a274b00e7f6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Integer, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantIntegerCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerColumnTupleSource.java index 1c6639712ae..3a4cf4c05a5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerDoubleColumnTupleSource.java index 05d01bcddcb..6e066fb5af4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Integer, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantIntegerDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerFloatColumnTupleSource.java index ef9f8ee52e9..1d99df7d895 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Integer, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantIntegerFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerInstantColumnTupleSource.java index 2f945f74127..95bb9ee67e8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Integer, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantIntegerInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerIntegerColumnTupleSource.java index 3cc6156b3a7..3d779ceaefa 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Integer, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantIntegerIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerLongColumnTupleSource.java index 32b077c9081..9ceb7ff12b9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantIntegerLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerObjectColumnTupleSource.java index 8bcdaebd097..351807659d7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Integer, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantIntegerObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerReinterpretedBooleanColumnTupleSource.java index d61ce9fedb4..291365c2fee 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantIntegerReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerReinterpretedInstantColumnTupleSource.java index 4d9b803fe68..93aab21c27d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantIntegerReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerShortColumnTupleSource.java index 7a2c749d6ba..21696ed841a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantIntegerShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Integer, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantIntegerShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongBooleanColumnTupleSource.java index b5f388d1c7c..1e279bc457d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantLongBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongByteColumnTupleSource.java index bb24c04db84..836a297894f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantLongByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongCharacterColumnTupleSource.java index 8416f10f0d5..31e37707bba 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantLongCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongColumnTupleSource.java index b8eb7b827e5..fd7d2648513 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongDoubleColumnTupleSource.java index 9199eb2159f..37efe4267ee 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantLongDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongFloatColumnTupleSource.java index 08bdf4ce32a..d3fc3f634f5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantLongFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongInstantColumnTupleSource.java index 83a8920b30a..33876c83e6c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantLongInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongIntegerColumnTupleSource.java index c9b88ed0064..d1f4ee7527d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantLongIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongLongColumnTupleSource.java index bdd599d0975..2bb0023a3a2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantLongLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongObjectColumnTupleSource.java index 0c8df00a60c..e944d377a59 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantLongObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongReinterpretedBooleanColumnTupleSource.java index a86ba4a6753..71be98ca8d4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantLongReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongReinterpretedInstantColumnTupleSource.java index d3d687c2524..1d07f51f30c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantLongReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongShortColumnTupleSource.java index 7e64a8f6ce4..38c474c3842 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantLongShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantLongShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectBooleanColumnTupleSource.java index 0e07852447c..a6336440176 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Object, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantObjectBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectByteColumnTupleSource.java index 73f2fb039a6..b0836fbd4e0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantObjectByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectCharacterColumnTupleSource.java index f2c13233ca8..ed01fe96cd1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Object, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantObjectCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectColumnTupleSource.java index a7f4d042568..3b0c496db8d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectDoubleColumnTupleSource.java index 324690df2a5..104892cc386 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Object, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantObjectDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectFloatColumnTupleSource.java index d08dc0e3f5d..71c97740dd6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Object, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantObjectFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectInstantColumnTupleSource.java index a896d100a10..fc0c1f35c7d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Object, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantObjectInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectIntegerColumnTupleSource.java index 972e7611290..6223c2fddf4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Object, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantObjectIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectLongColumnTupleSource.java index a000209d605..2b7f171c2e9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantObjectLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectObjectColumnTupleSource.java index 16ba1d62b3f..98b07951f66 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Object, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantObjectObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectReinterpretedBooleanColumnTupleSource.java index 07af3a6cf40..da0d595caa1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantObjectReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectReinterpretedInstantColumnTupleSource.java index e372e607353..1dccb9fbfca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantObjectReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectShortColumnTupleSource.java index bbda4d7ad9b..b6dbd54fc37 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantObjectShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Object, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantObjectShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanBooleanColumnTupleSource.java index 62b8aabeeeb..239ef5811ca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanByteColumnTupleSource.java index d5d30e9eca7..2949b62c81a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanCharacterColumnTupleSource.java index 93c0b915d39..30010c38197 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanColumnTupleSource.java index bcebc0d59a5..f121807343a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanDoubleColumnTupleSource.java index e708ca3dabd..5dfc036fd93 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanFloatColumnTupleSource.java index 1c2864937c6..184b5c9b3aa 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanInstantColumnTupleSource.java index b6359969a2c..ef752bfaafa 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanIntegerColumnTupleSource.java index 70d022cd69b..3d5117e18a8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanLongColumnTupleSource.java index 42308fb55a6..b0114aebeb9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanObjectColumnTupleSource.java index 2c9d21ce7ba..27343f1d636 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java index 3bfc3b9d29c..98a8a387a38 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanReinterpretedInstantColumnTupleSource.java index ac7958efe82..93dbfc25954 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanShortColumnTupleSource.java index 888a1e9318d..b0d1f3af3a5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantBooleanColumnTupleSource.java index 5daae0e8396..dc7aea419fe 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantByteColumnTupleSource.java index a4cf067bed6..8cbd5ab9096 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantCharacterColumnTupleSource.java index f6105b1bce9..e520a327dc8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantColumnTupleSource.java index a27e47bae64..cc7c4fa13c9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantDoubleColumnTupleSource.java index 24ae479e838..80bdafda8eb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantFloatColumnTupleSource.java index 61eb145302a..b31ab491126 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantInstantColumnTupleSource.java index af84b35e27c..5db0ee1e8b4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantIntegerColumnTupleSource.java index 990cf0e896d..fb09c7795c1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantLongColumnTupleSource.java index 2f28e062af0..ac33ed7507f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantObjectColumnTupleSource.java index 750770b29a8..923801a9b59 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantReinterpretedBooleanColumnTupleSource.java index a1455a87e5d..c8fbac83479 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantReinterpretedInstantColumnTupleSource.java index d7b340aee65..20ec8295271 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantShortColumnTupleSource.java index 353dff6e9a3..0ece28182c4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantReinterpretedInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantReinterpretedInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortBooleanColumnTupleSource.java index ff512ab85c4..b2fe05fcc76 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Short, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantShortBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortByteColumnTupleSource.java index 34a0f4bf1b2..8792edb1cbc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantShortByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortCharacterColumnTupleSource.java index c57c705534c..870bf9389c1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Short, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantShortCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortColumnTupleSource.java index 0d95ed8cdd5..518370e9670 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortDoubleColumnTupleSource.java index ed0dad1d176..1fadfdbc28b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Short, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantShortDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortFloatColumnTupleSource.java index f5b71a1871b..fdd3f5404a2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Short, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantShortFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortInstantColumnTupleSource.java index 6f7e8ef5efc..d28eab425d9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Short, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantShortInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortIntegerColumnTupleSource.java index 4a41e5bf982..64a9a1004cb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Short, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantShortIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortLongColumnTupleSource.java index a287c3f5a46..378ca6f43ab 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantShortLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortObjectColumnTupleSource.java index 7560d241dcd..5851017775f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Short, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantShortObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortReinterpretedBooleanColumnTupleSource.java index 6c0c597073e..b21aab2d777 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantShortReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortReinterpretedInstantColumnTupleSource.java index 5b0f4e01d66..d9b8b8e30b8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantShortReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortShortColumnTupleSource.java index 3019d4833eb..a949d755144 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/InstantShortShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Instant, Short, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class InstantShortShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanBooleanColumnTupleSource.java index b7977d9d070..21dcaf01145 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Boolean, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanByteColumnTupleSource.java index 7a153ce3412..199d5a0b4c3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanCharacterColumnTupleSource.java index b0f4cb2717c..1dfb00cf6a8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Boolean, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanColumnTupleSource.java index 071efdbbe7a..247dedd48b0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanDoubleColumnTupleSource.java index 3fe3838d2b9..e248fc0f418 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Boolean, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanFloatColumnTupleSource.java index 118d30f9c6b..f79519d6027 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Boolean, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanInstantColumnTupleSource.java index cad0916c49f..1025b1a296a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Boolean, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanIntegerColumnTupleSource.java index dbf150d9f3f..137db718bc7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Boolean, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanLongColumnTupleSource.java index 77aa4b734f7..48da4614b3b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanObjectColumnTupleSource.java index 1de798c1f6d..f4c589dffd6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Boolean, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanReinterpretedBooleanColumnTupleSource.java index aed81132998..4e38fa6dd6c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanReinterpretedInstantColumnTupleSource.java index 2c4c92d8189..0a3d9bf153b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanShortColumnTupleSource.java index 9c590e675c2..bcc616c9c43 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Boolean, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteBooleanColumnTupleSource.java index 031d7901eae..2c195c2c335 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerByteBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteByteColumnTupleSource.java index 8232979046a..2fa8f2ca6ea 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerByteByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteCharacterColumnTupleSource.java index cc243cba188..84fefc3ac2f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerByteCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteColumnTupleSource.java index 9dd5a224207..940bd9b5dbb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteDoubleColumnTupleSource.java index f555a97d5d1..8c4f3a1e1b2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerByteDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteFloatColumnTupleSource.java index 901723279fd..d3a700a640e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerByteFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteInstantColumnTupleSource.java index 0363424b68c..57eff4eec7a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerByteInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteIntegerColumnTupleSource.java index 8d2d60498f5..39aa4e7bfda 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerByteIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteLongColumnTupleSource.java index 6ff6e55c2ba..0189a4a5927 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerByteLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteObjectColumnTupleSource.java index cd0013b2884..3f244be1357 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerByteObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteReinterpretedBooleanColumnTupleSource.java index db4be58b249..527bbd9e7fa 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerByteReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteReinterpretedInstantColumnTupleSource.java index 1fa39bb8c97..462687d40a9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerByteReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteShortColumnTupleSource.java index 9b413f785ab..8d783da391e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerByteShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerByteShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterBooleanColumnTupleSource.java index f3b18779224..392dce5cc11 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Character, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerCharacterBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterByteColumnTupleSource.java index df7ef22aca2..8d4e27dcb00 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerCharacterByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterCharacterColumnTupleSource.java index e6bc42f41b5..c998e6ae740 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Character, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerCharacterCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterColumnTupleSource.java index b7f3b8b8d9e..735688b7539 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterDoubleColumnTupleSource.java index 8dd1488c6f4..6e424e387af 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Character, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerCharacterDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterFloatColumnTupleSource.java index 92aca20f5ea..aa0f0f7d0f2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Character, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerCharacterFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterInstantColumnTupleSource.java index 163e8a7a7e8..0aaf452c70f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Character, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerCharacterInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterIntegerColumnTupleSource.java index 7255a7d85bd..6f03ecbaea6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Character, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerCharacterIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterLongColumnTupleSource.java index cff4bcadedd..8ee2bb2ea77 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerCharacterLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterObjectColumnTupleSource.java index 6514f57f026..68143ddc712 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Character, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerCharacterObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterReinterpretedBooleanColumnTupleSource.java index 8d66c6b1314..a1b6ef9078f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerCharacterReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterReinterpretedInstantColumnTupleSource.java index 25fa25aa07f..7211bb8eef2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerCharacterReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterShortColumnTupleSource.java index 42cc8f1676c..71c89bd666f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerCharacterShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Character, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerCharacterShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleBooleanColumnTupleSource.java index 261145d5236..7e09d609859 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Double, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerDoubleBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleByteColumnTupleSource.java index 92f0fc983e3..a21e949e7e9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerDoubleByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleCharacterColumnTupleSource.java index eb1a69a173c..44f3e85f177 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Double, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerDoubleCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleColumnTupleSource.java index 9a3f38be736..22f54212af8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleDoubleColumnTupleSource.java index 72a1f7320a7..642bee2312a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Double, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerDoubleDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleFloatColumnTupleSource.java index 280d6b23aeb..b99b21bd5f3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Double, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerDoubleFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleInstantColumnTupleSource.java index 85a6664dcce..4ba4999cd77 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Double, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerDoubleInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleIntegerColumnTupleSource.java index 55bc582fc7a..1f1fa157a9c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Double, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerDoubleIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleLongColumnTupleSource.java index 6e97ebda8df..75944f2a38d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerDoubleLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleObjectColumnTupleSource.java index 1d3272355eb..9d7db01e9bc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Double, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerDoubleObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleReinterpretedBooleanColumnTupleSource.java index a612697a8fb..edb1ca78b6e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerDoubleReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleReinterpretedInstantColumnTupleSource.java index ccba77a25b6..0ec63160376 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerDoubleReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleShortColumnTupleSource.java index e1ad5b657ba..f3f07b992ba 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerDoubleShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Double, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerDoubleShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatBooleanColumnTupleSource.java index 6897b7088bb..7b8d31f1b15 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Float, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerFloatBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatByteColumnTupleSource.java index b4cd7e18f2e..17bc35b3eca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerFloatByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatCharacterColumnTupleSource.java index 7d20ba25936..5f0a27ed48d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Float, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerFloatCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatColumnTupleSource.java index 5183b9a9efc..f2b0077c323 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatDoubleColumnTupleSource.java index fb5f9fe0fee..83437b77eb4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Float, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerFloatDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatFloatColumnTupleSource.java index 8c4f4962c16..dde03bf74c2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Float, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerFloatFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatInstantColumnTupleSource.java index ef8ffb50154..14ba85c2a9f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Float, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerFloatInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatIntegerColumnTupleSource.java index ff4a6b93153..53063f86339 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Float, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerFloatIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatLongColumnTupleSource.java index ec58a46664a..3808da0b53d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerFloatLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatObjectColumnTupleSource.java index 727c3664c1a..daa7507e88e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Float, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerFloatObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatReinterpretedBooleanColumnTupleSource.java index a9a79ae30b8..946c8dc8a37 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerFloatReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatReinterpretedInstantColumnTupleSource.java index 22047dd1aae..4a5c7aad476 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerFloatReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatShortColumnTupleSource.java index 9c7822e7784..49bfa8b1a99 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerFloatShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Float, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerFloatShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantBooleanColumnTupleSource.java index ceb96992785..4bd2f378e2f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Instant, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantByteColumnTupleSource.java index 47136f39fbb..cc2029bcf3f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantCharacterColumnTupleSource.java index c4ee179d639..ac67cd79075 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Instant, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantColumnTupleSource.java index c06a173058b..1e4039a71bb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantDoubleColumnTupleSource.java index 2de87430624..706b2d8f88e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Instant, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantFloatColumnTupleSource.java index e85b1dda49a..28093483e33 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Instant, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantInstantColumnTupleSource.java index 9b3592370de..eac2e7d63ad 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Instant, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantIntegerColumnTupleSource.java index 9cfa270014a..d85c426ffd4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Instant, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantLongColumnTupleSource.java index fac306698be..79a9599660d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantObjectColumnTupleSource.java index 3641e80d2e3..3d96f6f5df3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Instant, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantReinterpretedBooleanColumnTupleSource.java index a37bec255d7..0e7c2f1db89 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantReinterpretedInstantColumnTupleSource.java index 6f42c67550d..29531419fd9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantShortColumnTupleSource.java index 0731b8733c8..f2cc1f82aa4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Instant, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerBooleanColumnTupleSource.java index 45a5c33303b..75d3cfea14d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Integer, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerIntegerBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerByteColumnTupleSource.java index 2159188619a..a0ee5c9bc07 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerIntegerByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerCharacterColumnTupleSource.java index 297e99d6cab..65ddc4f555d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Integer, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerIntegerCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerColumnTupleSource.java index 76f1588f347..e76b41c54b1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerDoubleColumnTupleSource.java index 84997c82478..0e77b0a60f1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Integer, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerIntegerDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerFloatColumnTupleSource.java index 6be08a34749..020912bf4a1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Integer, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerIntegerFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerInstantColumnTupleSource.java index 70160a267f1..5f5a0a8c840 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Integer, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerIntegerInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerIntegerColumnTupleSource.java index eace38b69f6..9bc776cd09f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Integer, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerIntegerIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerLongColumnTupleSource.java index 1e8d7efc815..41392913eae 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerIntegerLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerObjectColumnTupleSource.java index 9fb20a0de2a..c3cb900e0bc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Integer, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerIntegerObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerReinterpretedBooleanColumnTupleSource.java index 8a7ab2967a7..c18da8b5c1f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerIntegerReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerReinterpretedInstantColumnTupleSource.java index 1c2e5d2823a..59154c981ca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerIntegerReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerShortColumnTupleSource.java index fc283c5948c..923c1395cfc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerIntegerShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Integer, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerIntegerShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongBooleanColumnTupleSource.java index ee305033841..2bb23261c71 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerLongBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongByteColumnTupleSource.java index 7211df13695..c50fa2fca4b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerLongByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongCharacterColumnTupleSource.java index 198ecdaa452..f56e3085725 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerLongCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongColumnTupleSource.java index 69dea42b9cc..c3a357067a1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongDoubleColumnTupleSource.java index d0c5231d644..3df2adedb8f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerLongDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongFloatColumnTupleSource.java index cb9cf52a91b..768370e3b81 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerLongFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongInstantColumnTupleSource.java index a3b4a8c200b..81a336d7d06 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerLongInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongIntegerColumnTupleSource.java index 0aa948bcf50..6c484e8bd59 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerLongIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongLongColumnTupleSource.java index 9467ead0f4c..fcad157b7b1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerLongLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongObjectColumnTupleSource.java index 3ffe60f7707..257d6eae34b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerLongObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongReinterpretedBooleanColumnTupleSource.java index 172f9dbc735..c50c091691c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerLongReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongReinterpretedInstantColumnTupleSource.java index f8c0ce4c2af..9571a1da879 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerLongReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongShortColumnTupleSource.java index 2b002d6743d..4888f87ef99 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerLongShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerLongShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectBooleanColumnTupleSource.java index 9da15ae0f79..510c04d0983 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Object, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerObjectBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectByteColumnTupleSource.java index b762ae3217f..f7f8ace4387 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerObjectByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectCharacterColumnTupleSource.java index 15f10e50e88..7386cb1ce81 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Object, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerObjectCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectColumnTupleSource.java index 542ff5045eb..23e4adc7b1a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectDoubleColumnTupleSource.java index 6bbce2b54e8..13ef1b3d6c1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Object, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerObjectDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectFloatColumnTupleSource.java index fd2a66f0479..cd13fa6d7d6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Object, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerObjectFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectInstantColumnTupleSource.java index 059d7e20175..64418e41a7c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Object, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerObjectInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectIntegerColumnTupleSource.java index 9dcd32d6945..5346804dcf6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Object, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerObjectIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectLongColumnTupleSource.java index 724836e3809..e14089b303a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerObjectLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectObjectColumnTupleSource.java index 710c9a2a95d..b1818e827f1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Object, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerObjectObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectReinterpretedBooleanColumnTupleSource.java index eb25d79e6f7..3c24fb28eac 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerObjectReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectReinterpretedInstantColumnTupleSource.java index 266533a7315..6b02f2ed3b1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerObjectReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectShortColumnTupleSource.java index 819152f9dc4..0d3ee60eb7e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerObjectShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Object, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerObjectShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanBooleanColumnTupleSource.java index 688316cedb0..29add2b00b6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanByteColumnTupleSource.java index 06da61553ab..b57258419f9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanCharacterColumnTupleSource.java index c929150f8e9..f20cb6b17b4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanColumnTupleSource.java index 4d618f6140a..defeece3a8b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanDoubleColumnTupleSource.java index 33e9a903a9b..fbc4612724d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanFloatColumnTupleSource.java index 60d7d1e6a46..3d9b4a48e1b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanInstantColumnTupleSource.java index eea2e6835ce..35af072ce4b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanIntegerColumnTupleSource.java index 582d23dbf4b..aa70dda15cf 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanLongColumnTupleSource.java index 66e24a306f4..9645929de00 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanObjectColumnTupleSource.java index 08f280ae050..d2ca4cc043f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java index 99e2a27e56d..c2d16a78373 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanReinterpretedInstantColumnTupleSource.java index 1e0b94cd3c8..2f02cb2efe0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanShortColumnTupleSource.java index 6a2cf0d5a42..65b65283669 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantBooleanColumnTupleSource.java index 57154f0a5c8..c8fbe51a431 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantByteColumnTupleSource.java index 379f9138cfc..7643d2273be 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantCharacterColumnTupleSource.java index bd70f12fc86..8f7c51171e4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantColumnTupleSource.java index 8158a97dc6c..866efb9f8e6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantDoubleColumnTupleSource.java index 32a1a9deaed..fdba520580e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantFloatColumnTupleSource.java index eff067d48ab..7226834a24c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantInstantColumnTupleSource.java index ec25d98decb..c34ee91202d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantIntegerColumnTupleSource.java index ecb3e398a23..83680ae14c0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantLongColumnTupleSource.java index c01afe885d2..350abbcf17c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantObjectColumnTupleSource.java index f0643d69265..c7b0325a1aa 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantReinterpretedBooleanColumnTupleSource.java index fad6066d4d6..f91b439d02b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantReinterpretedInstantColumnTupleSource.java index cd1ed32bfe6..cce3e4952db 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantShortColumnTupleSource.java index 4be825ddd48..85b9d6136c7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerReinterpretedInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerReinterpretedInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortBooleanColumnTupleSource.java index 45c5935aee9..d41b8a425bd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Short, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerShortBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortByteColumnTupleSource.java index dc0fde409cd..bff48506271 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerShortByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortCharacterColumnTupleSource.java index f7a8a10749f..ceda272565c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Short, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerShortCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortColumnTupleSource.java index abebc77b8c3..f3cbad00b9b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortDoubleColumnTupleSource.java index 9a9cd72b519..20ea6254ce5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Short, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerShortDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortFloatColumnTupleSource.java index 570894f7985..ec463dedc30 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Short, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerShortFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortInstantColumnTupleSource.java index ccbbe11bfa3..822841d90cd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Short, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerShortInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortIntegerColumnTupleSource.java index 43a74b4d608..9a17b41c9df 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Short, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerShortIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortLongColumnTupleSource.java index 9e41b64e690..c9613239ed6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerShortLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortObjectColumnTupleSource.java index a3707da9913..25ef2354f45 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Short, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerShortObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortReinterpretedBooleanColumnTupleSource.java index 0b4e23b6997..749059741b7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerShortReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortReinterpretedInstantColumnTupleSource.java index 6070627e072..23ddf297c9f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerShortReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortShortColumnTupleSource.java index 44cd0f681ce..464dd0a5480 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/IntegerShortShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Integer, Short, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class IntegerShortShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanBooleanColumnTupleSource.java index 2a4c3e3aed6..54d4f113514 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanByteColumnTupleSource.java index 7070016b4fd..d16b0f3c98a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanCharacterColumnTupleSource.java index 676095b3709..37aa4447953 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanColumnTupleSource.java index 5df43724829..495598053f6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanDoubleColumnTupleSource.java index 2274b35191e..df942b50e39 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanFloatColumnTupleSource.java index 98d0c5575ef..9bf0e7d2803 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanInstantColumnTupleSource.java index 6bcc63a3bd2..2051428a9af 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanIntegerColumnTupleSource.java index 90750e4f272..62dc954bb26 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanLongColumnTupleSource.java index ed03486d92b..61b4194c0ae 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanObjectColumnTupleSource.java index e84e2941f75..5aee0de178b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanReinterpretedBooleanColumnTupleSource.java index fce68be86c2..6a65097b646 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanReinterpretedInstantColumnTupleSource.java index bd663fc06d3..6d909d0c97e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanShortColumnTupleSource.java index 720c49265ae..6b4099efe99 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteBooleanColumnTupleSource.java index 505c143b702..26b3e278b7c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongByteBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteByteColumnTupleSource.java index 3c6d520a780..bd452af7122 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongByteByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteCharacterColumnTupleSource.java index 18c3bd8e894..bbcce2bcf5a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongByteCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteColumnTupleSource.java index e3298e232e7..781def9212f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteDoubleColumnTupleSource.java index 147eae827b9..49dc38f3d52 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongByteDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteFloatColumnTupleSource.java index 2da9a81b5d3..46f9c0a765d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongByteFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteInstantColumnTupleSource.java index 66613a981ed..4e2e281bafd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongByteInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteIntegerColumnTupleSource.java index b33eb331f18..a5d6f906a57 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongByteIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteLongColumnTupleSource.java index dc71cf89491..b81ff70767f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongByteLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteObjectColumnTupleSource.java index 891617d8a87..9699f39f5ed 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongByteObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteReinterpretedBooleanColumnTupleSource.java index cefd3841624..a14445740b5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongByteReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteReinterpretedInstantColumnTupleSource.java index f39adc604c6..1f6cea4c5d1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongByteReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteShortColumnTupleSource.java index f870f273aca..f4603fb1e5a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongByteShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongByteShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterBooleanColumnTupleSource.java index 6600c9e6456..d561c113340 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongCharacterBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterByteColumnTupleSource.java index 15792f15866..453657296bc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongCharacterByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterCharacterColumnTupleSource.java index 5a02d98a943..803ec87e6f6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongCharacterCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterColumnTupleSource.java index 274f2bf4f3f..9753e966149 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterDoubleColumnTupleSource.java index 679ef3a7363..55a3d970978 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongCharacterDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterFloatColumnTupleSource.java index 239ce017232..bdbfdf691fb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongCharacterFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterInstantColumnTupleSource.java index b599c28c198..f7149771e6b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongCharacterInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterIntegerColumnTupleSource.java index 7e58e7dc494..13117cc04a6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongCharacterIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterLongColumnTupleSource.java index b7989163ff9..cdffeeac901 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongCharacterLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterObjectColumnTupleSource.java index 3aff5aab02d..9ffed32f031 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongCharacterObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterReinterpretedBooleanColumnTupleSource.java index a731352c54b..0c6551b9d12 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongCharacterReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterReinterpretedInstantColumnTupleSource.java index e68a7d756e1..8be501fd187 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongCharacterReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterShortColumnTupleSource.java index 159d9ebc750..39a54840e36 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongCharacterShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongCharacterShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleBooleanColumnTupleSource.java index d6b18b281be..2c7926b7636 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongDoubleBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleByteColumnTupleSource.java index 0ed435af983..bd5c46ea3e8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongDoubleByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleCharacterColumnTupleSource.java index f802f7a3572..8c9e8ebdd65 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongDoubleCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleColumnTupleSource.java index 2c363f87723..4e05fee4cb2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleDoubleColumnTupleSource.java index 68516811a7a..62eb8b19d9a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongDoubleDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleFloatColumnTupleSource.java index 371a82e5857..62c5567fe4c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongDoubleFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleInstantColumnTupleSource.java index bfc6c5ebbce..130816fff04 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongDoubleInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleIntegerColumnTupleSource.java index 22f67bf8542..63cbd8cd930 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongDoubleIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleLongColumnTupleSource.java index b29fd866d4e..52f4ae23fd1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongDoubleLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleObjectColumnTupleSource.java index 30b236f78c3..3c9f89186a0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongDoubleObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleReinterpretedBooleanColumnTupleSource.java index 50b4a9070ad..61d0a0cf959 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongDoubleReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleReinterpretedInstantColumnTupleSource.java index fb6e9984974..d897e4d7ed3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongDoubleReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleShortColumnTupleSource.java index 68446d75b47..4071e4e3938 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongDoubleShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongDoubleShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatBooleanColumnTupleSource.java index fc2a5f2694f..4b2c6f40261 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongFloatBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatByteColumnTupleSource.java index 580df1b8441..8af08e02cfc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongFloatByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatCharacterColumnTupleSource.java index fcf6ab46cda..96ab6f14a86 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongFloatCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatColumnTupleSource.java index cd40cc490cd..169594468f7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatDoubleColumnTupleSource.java index e75c620a3f0..72db104d989 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongFloatDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatFloatColumnTupleSource.java index 92090282d39..d596f01a1f8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongFloatFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatInstantColumnTupleSource.java index 1bdddbc87b8..58be01e8aaa 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongFloatInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatIntegerColumnTupleSource.java index 41fd872decb..04fc9b96ffa 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongFloatIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatLongColumnTupleSource.java index cc81d87f0d7..958c3983bac 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongFloatLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatObjectColumnTupleSource.java index a8df7660761..687545e5835 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongFloatObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatReinterpretedBooleanColumnTupleSource.java index c792fba87b1..e5a75d5e97a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongFloatReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatReinterpretedInstantColumnTupleSource.java index be164807b2f..e179a10c0cc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongFloatReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatShortColumnTupleSource.java index 629e3ce8bcb..e6fec918a4e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongFloatShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongFloatShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantBooleanColumnTupleSource.java index feba1e48ac0..6eca7b1389d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantByteColumnTupleSource.java index c6318dbea0e..eba021fa6d9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantCharacterColumnTupleSource.java index 634a7396c9f..e99853f1cb1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantColumnTupleSource.java index 3b016b36e58..f7c48757c76 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantDoubleColumnTupleSource.java index 6c8f79498d4..155e4f68ced 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantFloatColumnTupleSource.java index 7459d0aaa2a..9b6912b830e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantInstantColumnTupleSource.java index 6652ca43fdf..6926746831b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantIntegerColumnTupleSource.java index b9a3d423b94..a702d183aeb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantLongColumnTupleSource.java index 029306227b7..b22682fd391 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantObjectColumnTupleSource.java index 93532fd687e..a1196052892 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantReinterpretedBooleanColumnTupleSource.java index 77859cdc8bb..68940826e7e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantReinterpretedInstantColumnTupleSource.java index dd21ffe1110..36fca9a5675 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantShortColumnTupleSource.java index deadfc2edb2..9a02482ba34 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerBooleanColumnTupleSource.java index 43e1ace2f34..70e64e7f048 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongIntegerBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerByteColumnTupleSource.java index 9b99125a9ac..de977a370f5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongIntegerByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerCharacterColumnTupleSource.java index 6ff447530ff..a3713940650 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongIntegerCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerColumnTupleSource.java index d05b3efb1c0..b1d013970d3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerDoubleColumnTupleSource.java index 05df910a8c7..75a33eb49c4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongIntegerDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerFloatColumnTupleSource.java index e367b12ad37..e5c90f31a13 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongIntegerFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerInstantColumnTupleSource.java index e417d57b6b8..72b78c452ce 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongIntegerInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerIntegerColumnTupleSource.java index 012586d20e3..d3234793ffe 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongIntegerIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerLongColumnTupleSource.java index 69f3657958a..ba6776a4f3d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongIntegerLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerObjectColumnTupleSource.java index 50d25d8ea97..d5cbc4d3230 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongIntegerObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerReinterpretedBooleanColumnTupleSource.java index c3ca348427c..74e56c2d403 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongIntegerReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerReinterpretedInstantColumnTupleSource.java index 541e0fe5d60..41289edaf06 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongIntegerReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerShortColumnTupleSource.java index 3a63b896eca..469ec908f63 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongIntegerShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongIntegerShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongBooleanColumnTupleSource.java index 8194b6b6d62..217eb97a34c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongLongBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongByteColumnTupleSource.java index 2a35f733c75..039e9fafcd5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongLongByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongCharacterColumnTupleSource.java index d89585f3d64..61c52243ff3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongLongCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongColumnTupleSource.java index 5ce4d7cd8b3..6795b2e8785 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongDoubleColumnTupleSource.java index 13041a2afad..767d525c70c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongLongDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongFloatColumnTupleSource.java index 51368243587..0941de80b87 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongLongFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongInstantColumnTupleSource.java index bc476abf454..80e3e686615 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongLongInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongIntegerColumnTupleSource.java index 29dfddf57c0..2b3911dd22c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongLongIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongLongColumnTupleSource.java index 09d92e9208f..2a76878b432 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongLongLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongObjectColumnTupleSource.java index 203ab8eda7a..4fab3338132 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongLongObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongReinterpretedBooleanColumnTupleSource.java index bf9c823d067..f6a89b03785 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongLongReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongReinterpretedInstantColumnTupleSource.java index e6dbb46791d..607dbfb3c85 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongLongReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongShortColumnTupleSource.java index 484065b7a43..0ed6ba7c737 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongLongShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongLongShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectBooleanColumnTupleSource.java index 55c26dc8bba..b7d06d2f989 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongObjectBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectByteColumnTupleSource.java index b520e275e00..0c6285ff2ec 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongObjectByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectCharacterColumnTupleSource.java index f48d51f65d6..8263dab9df9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongObjectCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectColumnTupleSource.java index 4301af59af2..8b49d6e5d91 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectDoubleColumnTupleSource.java index 4256f1a4a52..18c85043de9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongObjectDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectFloatColumnTupleSource.java index 32b551d32cb..f1132d574d7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongObjectFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectInstantColumnTupleSource.java index e73a24381ed..95d585108bb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongObjectInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectIntegerColumnTupleSource.java index 844d1445db1..5440d38864e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongObjectIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectLongColumnTupleSource.java index 47668b3aff7..431eab39c38 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongObjectLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectObjectColumnTupleSource.java index 70e7e95a23e..41f3845c18f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongObjectObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectReinterpretedBooleanColumnTupleSource.java index 1455e9ba342..ecfed6610af 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongObjectReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectReinterpretedInstantColumnTupleSource.java index a8831af1523..4beeeaf693b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongObjectReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectShortColumnTupleSource.java index 8de240406dc..6e7f53877a3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongObjectShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongObjectShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanBooleanColumnTupleSource.java index cc2121e06af..00dff3ad97c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanByteColumnTupleSource.java index 07eee1c7cc6..08a5eded4c8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanCharacterColumnTupleSource.java index 5090e360c8b..17c91ed0cda 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanColumnTupleSource.java index 3d0fa850688..1dace686b79 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanDoubleColumnTupleSource.java index 549acbb610a..086e5edc5c0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanFloatColumnTupleSource.java index 9a35a539731..4a31834aa4e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanInstantColumnTupleSource.java index 3a63a44b976..0f4858a3908 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanIntegerColumnTupleSource.java index a177b2d7464..dd192cdd18a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanLongColumnTupleSource.java index c8198c66079..d1d8572bbc5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanObjectColumnTupleSource.java index 6749848ed8d..7e8e41e2dd3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java index fd17761e360..3201c1d83d8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanReinterpretedInstantColumnTupleSource.java index f43dfd6112b..0fa7aedca24 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanShortColumnTupleSource.java index 88be1638936..921ec0620d6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantBooleanColumnTupleSource.java index de3a77841a7..bde83290908 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantByteColumnTupleSource.java index 5eb0d1aca30..58c230daf4a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantCharacterColumnTupleSource.java index ea2f4a00143..bff3805a5ba 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantColumnTupleSource.java index 76780cdfa66..76046ff8778 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantDoubleColumnTupleSource.java index 12d087a52f3..da21685eb3a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantFloatColumnTupleSource.java index 294974ae161..c9f1aad5d44 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantInstantColumnTupleSource.java index 90fd5bcac18..d7d76c6e372 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantIntegerColumnTupleSource.java index 341b4200fe3..a4d2bd2e027 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantLongColumnTupleSource.java index 1ca10a8c814..61f63094710 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantObjectColumnTupleSource.java index 5e8ff73a66a..4774e7b3819 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantReinterpretedBooleanColumnTupleSource.java index 6fcc642af89..0131b5522a4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantReinterpretedInstantColumnTupleSource.java index 242c379fc02..797f9a2ea16 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantShortColumnTupleSource.java index 832f9178f89..aad03b701f7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongReinterpretedInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongReinterpretedInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortBooleanColumnTupleSource.java index 47ea2f8cd04..81bd05a95d9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongShortBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortByteColumnTupleSource.java index 21f944773bb..08f147adfa5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongShortByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortCharacterColumnTupleSource.java index 1b1561ef3b1..1d99e554543 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongShortCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortColumnTupleSource.java index cd4884326de..e2c0f9117c2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortDoubleColumnTupleSource.java index ab2f8601516..efb9167aede 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongShortDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortFloatColumnTupleSource.java index 24de40eed70..ee3679db85d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongShortFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortInstantColumnTupleSource.java index 41a16f37c68..4c40ba577e5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongShortInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortIntegerColumnTupleSource.java index c63fa0145df..135e1d72e7d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongShortIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortLongColumnTupleSource.java index 6056d71e506..5675bbd9f64 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongShortLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortObjectColumnTupleSource.java index c9d02c8ee99..90988226adb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongShortObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortReinterpretedBooleanColumnTupleSource.java index 22f8f2a7eb2..87a4a16c469 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongShortReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortReinterpretedInstantColumnTupleSource.java index 14dc2c90e10..87439103668 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongShortReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortShortColumnTupleSource.java index db36dd82eff..21157458ba7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/LongShortShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class LongShortShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanBooleanColumnTupleSource.java index c09ce0c9599..2f6ee097971 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Boolean, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanByteColumnTupleSource.java index e0ca0908db8..5f90d78f222 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanCharacterColumnTupleSource.java index a480f986adb..870ef441838 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Boolean, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanColumnTupleSource.java index e07cb557b6a..449e64c91d6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanDoubleColumnTupleSource.java index 9a97b096133..207d1f84df9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Boolean, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanFloatColumnTupleSource.java index 0a57bccb3dd..bdb207e1d9e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Boolean, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanInstantColumnTupleSource.java index 9f6c46ca36c..54789382a9a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Boolean, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanIntegerColumnTupleSource.java index 2f001995e31..f8ef81006d9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Boolean, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanLongColumnTupleSource.java index 4860b954f10..1c6e4aaff60 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanObjectColumnTupleSource.java index 0adc5318dea..296d194d1ad 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Boolean, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanReinterpretedBooleanColumnTupleSource.java index 613fbf69755..d6d3479b531 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanReinterpretedInstantColumnTupleSource.java index 2124f043740..d0643960fed 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanShortColumnTupleSource.java index 49faf25c77c..a0aa3fd49ee 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Boolean, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteBooleanColumnTupleSource.java index 7c388c0d883..1634057cb8b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectByteBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteByteColumnTupleSource.java index f59cf6236b8..fa0cb85ac3c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectByteByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteCharacterColumnTupleSource.java index dce1e2bf462..821c6efa964 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectByteCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteColumnTupleSource.java index ac4a96b6913..07e6002afba 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteDoubleColumnTupleSource.java index accc55a2d70..9bb2fce920b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectByteDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteFloatColumnTupleSource.java index 26d84d30bc9..8e168160884 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectByteFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteInstantColumnTupleSource.java index 285fad05828..a1193c47b9f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectByteInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteIntegerColumnTupleSource.java index c230aa445d4..a6f93b87397 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectByteIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteLongColumnTupleSource.java index 8b25d37aa90..cbeb056f3c6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectByteLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteObjectColumnTupleSource.java index fcd8da288a9..6c91fe27b61 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectByteObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteReinterpretedBooleanColumnTupleSource.java index fe47179b1d1..6d873b9a087 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectByteReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteReinterpretedInstantColumnTupleSource.java index 6e517253d1c..93937dc0f9d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectByteReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteShortColumnTupleSource.java index 6c065bf472c..83b02094776 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectByteShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectByteShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterBooleanColumnTupleSource.java index fdb961e4c40..9712bf86628 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Character, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectCharacterBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterByteColumnTupleSource.java index 202661f2839..523cc3a88f3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectCharacterByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterCharacterColumnTupleSource.java index 5b1ee30ddb2..c435e2e41ca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Character, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectCharacterCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterColumnTupleSource.java index 65a9678046a..a80c84e4993 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterDoubleColumnTupleSource.java index 65df6165d9d..7a9654294a6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Character, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectCharacterDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterFloatColumnTupleSource.java index a3d6477ef72..e73142ba462 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Character, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectCharacterFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterInstantColumnTupleSource.java index 32bc41586ae..980c3e2f07d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Character, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectCharacterInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterIntegerColumnTupleSource.java index f028decfaed..118fc43798b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Character, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectCharacterIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterLongColumnTupleSource.java index 65ba6cef8c2..f2e7871eeb5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectCharacterLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterObjectColumnTupleSource.java index 3226275ddfc..7ec24b367c9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Character, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectCharacterObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterReinterpretedBooleanColumnTupleSource.java index 590d5832f95..eeb61a10e6b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectCharacterReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterReinterpretedInstantColumnTupleSource.java index aad73e807d7..e15190796f9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectCharacterReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterShortColumnTupleSource.java index 333045aa6b8..878e893762c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectCharacterShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Character, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectCharacterShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleBooleanColumnTupleSource.java index dc8b5d1612d..fb5b29a21ac 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Double, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectDoubleBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleByteColumnTupleSource.java index 21e50caf5f2..6c7ba7053df 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectDoubleByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleCharacterColumnTupleSource.java index 4dada51ecb3..bb98b89200e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Double, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectDoubleCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleColumnTupleSource.java index a8e764b41f0..f3c65e8420f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleDoubleColumnTupleSource.java index b2638a2e04c..9613ed381f0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Double, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectDoubleDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleFloatColumnTupleSource.java index 31ff25c29e1..f187bb86fce 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Double, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectDoubleFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleInstantColumnTupleSource.java index a8771fa9e4c..443fee72544 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Double, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectDoubleInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleIntegerColumnTupleSource.java index 4e85be23be8..096fb546545 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Double, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectDoubleIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleLongColumnTupleSource.java index 0a93d1e207a..db0c7957c27 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectDoubleLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleObjectColumnTupleSource.java index fed0350f91d..03f1a0e234f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Double, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectDoubleObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleReinterpretedBooleanColumnTupleSource.java index 41337d50a85..0b6fb6d518f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectDoubleReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleReinterpretedInstantColumnTupleSource.java index 2b3cb4ca25f..dd30996f1cc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectDoubleReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleShortColumnTupleSource.java index fca9bcb0e21..d9654c6bbe5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectDoubleShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Double, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectDoubleShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatBooleanColumnTupleSource.java index 30d3c800072..4418d50cc7d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Float, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectFloatBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatByteColumnTupleSource.java index 92f8c86c4c3..5af49fe21d2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectFloatByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatCharacterColumnTupleSource.java index ccbe3b4560b..c3cde5c746c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Float, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectFloatCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatColumnTupleSource.java index 69072532508..1a90d8a5879 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatDoubleColumnTupleSource.java index afe6afbd92b..39c803c9939 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Float, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectFloatDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatFloatColumnTupleSource.java index f941b390db8..1a649c50fff 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Float, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectFloatFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatInstantColumnTupleSource.java index 09683014b14..19f70d3b72b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Float, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectFloatInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatIntegerColumnTupleSource.java index be1d3b1231c..081ab2e7377 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Float, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectFloatIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatLongColumnTupleSource.java index 3e3575b9fe2..7811bce18e3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectFloatLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatObjectColumnTupleSource.java index 53c735f31a8..649e558dde4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Float, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectFloatObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatReinterpretedBooleanColumnTupleSource.java index e085b970901..a5cbc2f6504 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectFloatReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatReinterpretedInstantColumnTupleSource.java index fd9e8b6b854..085f2df61fe 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectFloatReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatShortColumnTupleSource.java index 899a12b9814..262042a001a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectFloatShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Float, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectFloatShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantBooleanColumnTupleSource.java index bb93f39b706..cfc1dfc26a6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Instant, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantByteColumnTupleSource.java index f262d12414c..5b34c905e06 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantCharacterColumnTupleSource.java index b4574d3e4f5..78194da9dc9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Instant, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantColumnTupleSource.java index 1bed42ffd52..b077dc90fa5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantDoubleColumnTupleSource.java index 7b69d4039b0..d25bbff46ff 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Instant, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantFloatColumnTupleSource.java index 3510b6537e5..4b457b1776d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Instant, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantInstantColumnTupleSource.java index 9d28a7948cf..307db9e9fa1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Instant, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantIntegerColumnTupleSource.java index acb457d7628..28a54be4e03 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Instant, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantLongColumnTupleSource.java index 43f90ead844..14fbaa3e339 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantObjectColumnTupleSource.java index 91b227e376a..97852f249b6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Instant, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantReinterpretedBooleanColumnTupleSource.java index 34e2e52f052..9cfe2e2d2fd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantReinterpretedInstantColumnTupleSource.java index 74d97c6bd86..81ad5a7da71 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantShortColumnTupleSource.java index 1abb660a5ea..bcb6ce4e6c6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Instant, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerBooleanColumnTupleSource.java index f8b696639b6..d264e9796df 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Integer, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectIntegerBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerByteColumnTupleSource.java index e5af489312e..d4ae40dffcd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectIntegerByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerCharacterColumnTupleSource.java index b182eaa2ed1..ac9bca5b966 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Integer, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectIntegerCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerColumnTupleSource.java index 25eb21c4f47..aee26113506 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerDoubleColumnTupleSource.java index 4f4e5a977e4..53900632dfc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Integer, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectIntegerDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerFloatColumnTupleSource.java index 812a83bb312..cdcd795616e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Integer, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectIntegerFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerInstantColumnTupleSource.java index 04c5ab0bf96..6e16f72d559 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Integer, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectIntegerInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerIntegerColumnTupleSource.java index 98e7011dffc..cab917b6328 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Integer, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectIntegerIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerLongColumnTupleSource.java index 92b6ba0ee3e..c25f39819f2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectIntegerLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerObjectColumnTupleSource.java index ae8ce15cbf4..a93d608bd38 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Integer, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectIntegerObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerReinterpretedBooleanColumnTupleSource.java index d1a4da03da6..580f27bb114 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectIntegerReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerReinterpretedInstantColumnTupleSource.java index 7aa8b761e43..b6f1e705465 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectIntegerReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerShortColumnTupleSource.java index f4cb4265fe9..fc8c00fbc0f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectIntegerShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Integer, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectIntegerShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongBooleanColumnTupleSource.java index f73e93b7155..9f5c3a28ccc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectLongBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongByteColumnTupleSource.java index 21f366a07eb..722ebc676b6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectLongByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongCharacterColumnTupleSource.java index 16ed2d2bc8e..eed494db567 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectLongCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongColumnTupleSource.java index 5b65408486c..8b892094bd4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongDoubleColumnTupleSource.java index fd929f13eb4..9c45399f867 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectLongDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongFloatColumnTupleSource.java index e8b5eb6961d..c5ecd8f8e68 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectLongFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongInstantColumnTupleSource.java index 878aa29e264..89369a4f1b4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectLongInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongIntegerColumnTupleSource.java index 6b5384788d3..dc417710610 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectLongIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongLongColumnTupleSource.java index f0563308312..feb0302a789 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectLongLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongObjectColumnTupleSource.java index 8fbac6f15dd..c18fd149e6b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectLongObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongReinterpretedBooleanColumnTupleSource.java index 392655be2b2..b2034729733 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectLongReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongReinterpretedInstantColumnTupleSource.java index 7296de9d23e..b24f22a9c50 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectLongReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongShortColumnTupleSource.java index 823cb8bb4df..8a93f06ea03 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectLongShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectLongShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectBooleanColumnTupleSource.java index bf5188f1c62..9f4e62d42a4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Object, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectObjectBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectByteColumnTupleSource.java index 23c95f4a4c8..84b6054d7ca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectObjectByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectCharacterColumnTupleSource.java index c8281a4081c..e2a021ad41a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Object, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectObjectCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectColumnTupleSource.java index f4fd278a830..167c90a4fd7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -16,7 +23,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectDoubleColumnTupleSource.java index 1bbfb3da5a2..790ff353e09 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Object, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectObjectDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectFloatColumnTupleSource.java index 90256adb320..d8c33cb2297 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Object, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectObjectFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectInstantColumnTupleSource.java index 29e2d013f83..defe461e084 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Object, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectObjectInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectIntegerColumnTupleSource.java index b3c5881c1a5..92661c4b863 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Object, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectObjectIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectLongColumnTupleSource.java index 24085f0a7b2..ff20edc8148 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectObjectLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectObjectColumnTupleSource.java index 467d90a385d..287760c8986 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -16,7 +23,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Object, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectObjectObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectReinterpretedBooleanColumnTupleSource.java index c85bdd828ab..47971038b98 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectObjectReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectReinterpretedInstantColumnTupleSource.java index 7cbd1790bea..81f32598600 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectObjectReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectShortColumnTupleSource.java index be8370f375a..257f4247c54 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectObjectShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Object, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectObjectShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanBooleanColumnTupleSource.java index 0f77071f700..56f2b6e0a91 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanByteColumnTupleSource.java index be2132c6ec2..7ea39b74602 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanCharacterColumnTupleSource.java index 7e8df550674..c262b9b90ab 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanColumnTupleSource.java index 5959b364d46..60c17cf4505 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanDoubleColumnTupleSource.java index 6270d730a67..4782fd16c59 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanFloatColumnTupleSource.java index 116f3cf3a69..0618bac977c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanInstantColumnTupleSource.java index 46786b855d0..cf3fc34a152 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanIntegerColumnTupleSource.java index 789118c38ba..1333a86273e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanLongColumnTupleSource.java index 2ff91eb676e..5115f827da8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanObjectColumnTupleSource.java index 92f27d10b0f..a492e43208d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java index 1a6358dbff4..2e5d70abb30 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanReinterpretedInstantColumnTupleSource.java index 23ae70bb303..7d4f7dcc007 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanShortColumnTupleSource.java index b6bcf4c9e1e..662b9048839 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantBooleanColumnTupleSource.java index 51037236229..38e244e77ff 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantByteColumnTupleSource.java index 643038886e9..011399848f9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantCharacterColumnTupleSource.java index e0997e5489f..a3df46e4aa3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantColumnTupleSource.java index bf55022f567..f97b7ef52e0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantDoubleColumnTupleSource.java index c3141e35130..6b8450774fa 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantFloatColumnTupleSource.java index 9d41be1c611..90a7b33aca5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantInstantColumnTupleSource.java index fb3b254d91b..3e6c9d6183a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantIntegerColumnTupleSource.java index fbef1001333..1069732fdfe 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantLongColumnTupleSource.java index e7b8e7a3dda..87b0298236d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantObjectColumnTupleSource.java index 6600ec16022..bc4b7081b28 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantReinterpretedBooleanColumnTupleSource.java index 6e6fc63dd21..011b3e1101d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantReinterpretedInstantColumnTupleSource.java index c02502c4c8a..1afcdcbb7f2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantShortColumnTupleSource.java index f7d5bc0eda8..562334842b9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectReinterpretedInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectReinterpretedInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortBooleanColumnTupleSource.java index 82d8c32f6d1..033dd51de1f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Short, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectShortBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortByteColumnTupleSource.java index 075cb962e85..3b030ced1f0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectShortByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortCharacterColumnTupleSource.java index 3816b24e068..5f72b8ba619 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Short, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectShortCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortColumnTupleSource.java index aa5d70c51f4..250a3c0bc12 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortDoubleColumnTupleSource.java index 0a5e42a1e4c..06a66c2860d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Short, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectShortDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortFloatColumnTupleSource.java index fb70e19d6cf..7673b47dc8e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Short, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectShortFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortInstantColumnTupleSource.java index 77202879ae3..20f42af2dd5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Short, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectShortInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortIntegerColumnTupleSource.java index c8457420329..595737139e1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Short, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectShortIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortLongColumnTupleSource.java index 45c864d1ee5..1d96e9c65e1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectShortLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortObjectColumnTupleSource.java index 29446493f9d..1b28fa35525 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Short, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectShortObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortReinterpretedBooleanColumnTupleSource.java index ad887cde601..d0b1c52bc15 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectShortReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortReinterpretedInstantColumnTupleSource.java index 50199967f18..b9a8ede6420 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectShortReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortShortColumnTupleSource.java index 91230b97298..c7403639598 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ObjectShortShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Object, Short, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ObjectShortShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanBooleanColumnTupleSource.java index d8d4cac44a5..ba6bfd31e83 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanByteColumnTupleSource.java index b2458ab408e..6f3baf0b0c9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanCharacterColumnTupleSource.java index b8cba4852d0..f0312d1f9cb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanColumnTupleSource.java index 3fae96d392a..2d98cf528e3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanDoubleColumnTupleSource.java index 457e1969250..ef8fd0dc6ff 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanFloatColumnTupleSource.java index 5bc4ebff2af..6dfa0d69391 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanInstantColumnTupleSource.java index d429a5f3355..bf0e159dfad 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanIntegerColumnTupleSource.java index 920989e36a0..61fe3dcba7b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanLongColumnTupleSource.java index cac97aaa5f6..80b2cdd9c38 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanObjectColumnTupleSource.java index 406d369ac65..eb962b7fed8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanReinterpretedBooleanColumnTupleSource.java index a077c59d5e7..b207f511e8d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanReinterpretedInstantColumnTupleSource.java index fc64f268d9e..b7ea1015635 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanShortColumnTupleSource.java index 365bce7b5a8..98afd1998e1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Boolean, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteBooleanColumnTupleSource.java index 782a48333ea..6b7a9a0591e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanByteBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteByteColumnTupleSource.java index e6b0db8ba09..316cad1aedc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanByteByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteCharacterColumnTupleSource.java index 90df1500648..8f25273454b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanByteCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteColumnTupleSource.java index 6ab68e763e5..4cbd0e39d38 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteDoubleColumnTupleSource.java index e0928ff12bd..74269ca8463 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanByteDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteFloatColumnTupleSource.java index 786ef3feb8a..97103de279b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanByteFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteInstantColumnTupleSource.java index 7300804beb9..a3c54cb67e1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanByteInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteIntegerColumnTupleSource.java index e249957be84..a4b2f093b16 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanByteIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteLongColumnTupleSource.java index d965baa62ae..f5c36b36b61 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanByteLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteObjectColumnTupleSource.java index 3df3b242c38..63408c942c9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanByteObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteReinterpretedBooleanColumnTupleSource.java index 5bdcade2470..057a3e8195e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanByteReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteReinterpretedInstantColumnTupleSource.java index e6440a1025a..f1bd7f73e31 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanByteReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteShortColumnTupleSource.java index a21b643063c..0f1ad2d25bf 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanByteShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanByteShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterBooleanColumnTupleSource.java index 5bdfeaabc1b..aa9fded6554 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanCharacterBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterByteColumnTupleSource.java index 9933fcf96f0..bfd9a48dd3b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanCharacterByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterCharacterColumnTupleSource.java index a06bcd5f9c0..54cca5e92ff 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanCharacterCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterColumnTupleSource.java index 751bb68b25a..f4d27c444b8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterDoubleColumnTupleSource.java index bc59bde0934..d30ad1980ee 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanCharacterDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterFloatColumnTupleSource.java index c1d35953580..7e9e0706f31 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanCharacterFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterInstantColumnTupleSource.java index 6af014f8a39..9c3a31becca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanCharacterInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterIntegerColumnTupleSource.java index cab97af1615..a1bdffafae1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanCharacterIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterLongColumnTupleSource.java index df160fe77a3..e921d4460ce 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanCharacterLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterObjectColumnTupleSource.java index 555fb838669..323d12f9ad2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanCharacterObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterReinterpretedBooleanColumnTupleSource.java index 3f16f2067ed..f59dea28423 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanCharacterReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterReinterpretedInstantColumnTupleSource.java index e261cb20841..7160c5c7c90 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanCharacterReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterShortColumnTupleSource.java index dbeec0a410e..19a4ebc4a1b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanCharacterShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Character, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanCharacterShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleBooleanColumnTupleSource.java index 783adcf68f9..263d3d9a310 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanDoubleBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleByteColumnTupleSource.java index 4d79bfd9216..6eaefa4e4f1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanDoubleByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleCharacterColumnTupleSource.java index cca16ba4cd7..6c01dfebc3d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanDoubleCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleColumnTupleSource.java index d2c5e294281..8bba9fb4600 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleDoubleColumnTupleSource.java index f514094a392..acbfd57faeb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanDoubleDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleFloatColumnTupleSource.java index 233e4b4f27f..a3f8ca47e1d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanDoubleFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleInstantColumnTupleSource.java index a69f5fc7acc..4d70f33dbde 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanDoubleInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleIntegerColumnTupleSource.java index 96277fd92ca..8ec29008450 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanDoubleIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleLongColumnTupleSource.java index a29308f8e37..0a0df6d626b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanDoubleLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleObjectColumnTupleSource.java index 02f47cd94cd..d9c2c55f027 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanDoubleObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleReinterpretedBooleanColumnTupleSource.java index 66f42cf919a..df535befaff 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanDoubleReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleReinterpretedInstantColumnTupleSource.java index 8c327cc7cb1..d3ed95070b5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanDoubleReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleShortColumnTupleSource.java index 8d1c9fdc757..ee15abc7c3e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanDoubleShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Double, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanDoubleShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatBooleanColumnTupleSource.java index b277c1d6dd7..a93e52f4608 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanFloatBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatByteColumnTupleSource.java index 69088257e84..e6e3827df4a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanFloatByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatCharacterColumnTupleSource.java index ac9c8a39468..849e45053de 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanFloatCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatColumnTupleSource.java index 74e704edc8b..cc6f4688b6d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatDoubleColumnTupleSource.java index 6fe1d96e369..bafea15d05d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanFloatDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatFloatColumnTupleSource.java index 8f70edd9c4c..6bddcad98b9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanFloatFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatInstantColumnTupleSource.java index 316d2bb7e86..29dbdbf9651 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanFloatInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatIntegerColumnTupleSource.java index 3be2d58cb5d..0b472b8363b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanFloatIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatLongColumnTupleSource.java index d419028f681..9d726e37691 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanFloatLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatObjectColumnTupleSource.java index d549eee452f..eb65f282748 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanFloatObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatReinterpretedBooleanColumnTupleSource.java index d6b2781ec12..714142c4dce 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanFloatReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatReinterpretedInstantColumnTupleSource.java index 10874f66d4e..9d5541e3946 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanFloatReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatShortColumnTupleSource.java index ffcd15f6fec..b87df087402 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanFloatShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Float, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanFloatShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantBooleanColumnTupleSource.java index 152150c794f..361e51243c2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantByteColumnTupleSource.java index 47853c7bcd8..4393b6c6372 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantCharacterColumnTupleSource.java index f92d04127b6..b34be38c6d6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantColumnTupleSource.java index 894248d6e89..b6b7cecf25d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantDoubleColumnTupleSource.java index ccb8ed10225..eda2107b3ec 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantFloatColumnTupleSource.java index 491161ffba8..cbb113ed7af 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantInstantColumnTupleSource.java index ac50b3ccf5c..84c9a4edf43 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantIntegerColumnTupleSource.java index 764b6a419a3..03e4d17c2ee 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantLongColumnTupleSource.java index af888df9df8..18ed11a62cb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantObjectColumnTupleSource.java index 55a81d28677..583576840a1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantReinterpretedBooleanColumnTupleSource.java index a1a40dfd9b7..3ce9cca1693 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantReinterpretedInstantColumnTupleSource.java index b1f383f5cec..81442f97c36 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantShortColumnTupleSource.java index b195d0d63dc..00afb4abd69 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Instant, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerBooleanColumnTupleSource.java index b8ee8c79073..1e1ca1dc707 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanIntegerBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerByteColumnTupleSource.java index 908aaaca79c..49455753cef 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanIntegerByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerCharacterColumnTupleSource.java index 57ac3313d6d..00b26642899 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanIntegerCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerColumnTupleSource.java index 30cc8dd5b7b..a87e6198b72 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerDoubleColumnTupleSource.java index d80ca86010c..1dcbf2bdb3e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanIntegerDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerFloatColumnTupleSource.java index bc7f3e5212a..3f68d09edeb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanIntegerFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerInstantColumnTupleSource.java index 0ca1f8b3f4e..3da7807d412 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanIntegerInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerIntegerColumnTupleSource.java index 35b6e9ccba4..5feb9c5b952 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanIntegerIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerLongColumnTupleSource.java index 4f212b71b73..7f21ce03c03 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanIntegerLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerObjectColumnTupleSource.java index 5bf9de11b57..66407cc70ec 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanIntegerObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerReinterpretedBooleanColumnTupleSource.java index 5d0004ce399..9ef5ec83af6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanIntegerReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerReinterpretedInstantColumnTupleSource.java index 1f0db3ea805..483894e8912 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanIntegerReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerShortColumnTupleSource.java index b24bf725935..d22ce1eb8a9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanIntegerShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Integer, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanIntegerShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongBooleanColumnTupleSource.java index 33cea912f3b..714e07c2297 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanLongBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongByteColumnTupleSource.java index cf58e02ea55..2ac2c382694 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanLongByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongCharacterColumnTupleSource.java index 15475fb7533..2e038df6d98 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanLongCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongColumnTupleSource.java index 52d6efb478e..42225963b4f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongDoubleColumnTupleSource.java index b0e208ddbe3..9a5bbef8a03 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanLongDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongFloatColumnTupleSource.java index bdd6ee3b42d..6aa3d4985ad 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanLongFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongInstantColumnTupleSource.java index ae6473887a0..90a84d9303a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanLongInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongIntegerColumnTupleSource.java index 13d7daaa4bc..87bec148489 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanLongIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongLongColumnTupleSource.java index 84ec7def25f..68d96634c6e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanLongLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongObjectColumnTupleSource.java index 027148fbd4a..dd453e7276d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanLongObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongReinterpretedBooleanColumnTupleSource.java index 06753cdc87b..c2ec9ad23b0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanLongReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongReinterpretedInstantColumnTupleSource.java index cc45376db0c..229b1eb48d4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanLongReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongShortColumnTupleSource.java index a6347af73f1..663bf72875d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanLongShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanLongShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectBooleanColumnTupleSource.java index 3ba1af0ea6f..ea269b4d4bf 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanObjectBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectByteColumnTupleSource.java index 6a8c8305401..129d05f3b2e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanObjectByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectCharacterColumnTupleSource.java index 6aaefb89b2e..fa7a935f0b3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanObjectCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectColumnTupleSource.java index 92b907de0fe..655bcab82f9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectDoubleColumnTupleSource.java index 92d9f38ab90..e8f9dabbaf7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanObjectDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectFloatColumnTupleSource.java index 4ab18a2db96..298d1a1ec6a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanObjectFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectInstantColumnTupleSource.java index 2f0d4d09a9d..8337e2dfa93 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanObjectInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectIntegerColumnTupleSource.java index 1b72b0249d8..c6928ebe004 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanObjectIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectLongColumnTupleSource.java index b14a915a9e0..12309276b85 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanObjectLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectObjectColumnTupleSource.java index 9d5f1b4f8a9..3394a2505a7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanObjectObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectReinterpretedBooleanColumnTupleSource.java index baa95309af3..4f99a8435c2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanObjectReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectReinterpretedInstantColumnTupleSource.java index f1e7fb12d4e..3377e6d5750 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanObjectReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectShortColumnTupleSource.java index c6fd08c1cc5..7b24fa1af6d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanObjectShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Object, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanObjectShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanBooleanColumnTupleSource.java index c5c2d3ee973..0b3bd47891b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanByteColumnTupleSource.java index dd7505089d4..1fd2733de55 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanCharacterColumnTupleSource.java index 9a083b615d6..456cca833b4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java index 227a385150d..5c1a74d1382 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanDoubleColumnTupleSource.java index 0d9eb8eeace..bf69ccff58e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanFloatColumnTupleSource.java index 0a788603237..fe61721d541 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanInstantColumnTupleSource.java index 42a4da61303..a86bc2fa6d4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanIntegerColumnTupleSource.java index 0fb6931594d..ebadc812d85 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanLongColumnTupleSource.java index 653feedb7d1..e4703825230 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanObjectColumnTupleSource.java index 4220e516751..4c0fdd308cc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java index fe3078d9fdb..559e4b86f1f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanReinterpretedInstantColumnTupleSource.java index 0144bdaab94..13ca2ffc299 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanShortColumnTupleSource.java index fc394d6f161..b4c47b23fa8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantBooleanColumnTupleSource.java index 15a450bc33d..2fb31fe6295 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantByteColumnTupleSource.java index 72b94b1633e..51aaa13ca35 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantCharacterColumnTupleSource.java index 8b6d4cdfe27..a44ba4624c0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantColumnTupleSource.java index b6c2816ef06..b197d016a87 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantDoubleColumnTupleSource.java index 59fcc552d54..d6935b774ad 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantFloatColumnTupleSource.java index c4fa8468e5b..fdab7242e69 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantInstantColumnTupleSource.java index b4822e61712..d65a9db9bf5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantIntegerColumnTupleSource.java index 13efe198494..540dcedc34e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantLongColumnTupleSource.java index b4331b003ca..30a4672dbe0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantObjectColumnTupleSource.java index fc07cb5500a..b4d91311af9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantReinterpretedBooleanColumnTupleSource.java index 6589d434022..8e235655c82 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantReinterpretedInstantColumnTupleSource.java index d23fe5b6cbe..d98f3fee384 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantShortColumnTupleSource.java index 86a5d5cbc3b..2c555a1dcca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanReinterpretedInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanReinterpretedInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortBooleanColumnTupleSource.java index c015f9c674b..33f1a51426a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanShortBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortByteColumnTupleSource.java index 3a0df7c5096..01003ee4983 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanShortByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortCharacterColumnTupleSource.java index 0c0f669a637..135ec506675 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanShortCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortColumnTupleSource.java index 905ddfe972b..9dd19623633 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortDoubleColumnTupleSource.java index 45e9ffdf6b9..ee7c68b18e3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanShortDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortFloatColumnTupleSource.java index 5676b98e865..41a7fce8ca4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanShortFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortInstantColumnTupleSource.java index 3f33e819757..0369198cfeb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanShortInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortIntegerColumnTupleSource.java index 6bfcdacb9d9..3591bfa1217 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanShortIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortLongColumnTupleSource.java index b5374ba64a3..4f7f75da3d9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanShortLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortObjectColumnTupleSource.java index 6869ba9c48e..f3b72f73ddd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanShortObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortReinterpretedBooleanColumnTupleSource.java index be8e7059da1..26e06cedb3e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanShortReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortReinterpretedInstantColumnTupleSource.java index dad02370ba6..75e26282c4f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanShortReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortShortColumnTupleSource.java index f6d44856993..fdbad032502 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedBooleanShortShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Byte, Short, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedBooleanShortShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanBooleanColumnTupleSource.java index 53ce0ab4c86..7eb5e5cc44f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanByteColumnTupleSource.java index 5dc34d408eb..e8b5b7a4665 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanCharacterColumnTupleSource.java index 06eb25ab028..e26feef3a21 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanColumnTupleSource.java index 262b47a2cc6..83d1aeb2661 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanDoubleColumnTupleSource.java index 7ec4defb659..080ece00857 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanFloatColumnTupleSource.java index 9732a42d7be..02d206a470f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanInstantColumnTupleSource.java index 20bbb827c78..b392a017d13 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanIntegerColumnTupleSource.java index 0ae6dd0da7e..98ccdf917f0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanLongColumnTupleSource.java index 2acaa915d84..f36a535154b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanObjectColumnTupleSource.java index 6fcd7101897..870fbe5ecd5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanReinterpretedBooleanColumnTupleSource.java index 67795e076a9..c14f91d43e9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanReinterpretedInstantColumnTupleSource.java index db5c16e1fec..a5773b5ca46 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanShortColumnTupleSource.java index 4e51d1264ee..68778ca606e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Boolean, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteBooleanColumnTupleSource.java index 2f72cb8946c..dea6302364f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantByteBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteByteColumnTupleSource.java index 7dbe11ce4d0..d6e37c9bdc3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantByteByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteCharacterColumnTupleSource.java index f9cc1fea016..715abb0e91f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantByteCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteColumnTupleSource.java index a0f2bda0e59..d28c80b284c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteDoubleColumnTupleSource.java index ec7cc21dfd4..6766a6ae309 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantByteDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteFloatColumnTupleSource.java index 7228e81e103..a4d66c08fac 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantByteFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteInstantColumnTupleSource.java index 48a78f32528..7001f0f5d2f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantByteInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteIntegerColumnTupleSource.java index 22b2d08dd9c..8606ee0d0aa 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantByteIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteLongColumnTupleSource.java index 329509206e7..4af7cc2a379 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantByteLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteObjectColumnTupleSource.java index 782a1ac3a5f..399bf2a4454 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantByteObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteReinterpretedBooleanColumnTupleSource.java index 32bb95255d4..4bfae79bc06 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantByteReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteReinterpretedInstantColumnTupleSource.java index 7340bf66a95..e136139cf8b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantByteReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteShortColumnTupleSource.java index 380d1dfc2f9..d9704be5614 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantByteShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantByteShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterBooleanColumnTupleSource.java index 1fd1cebe420..81bdc2ce84d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantCharacterBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterByteColumnTupleSource.java index ebe517731cb..269987955c4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantCharacterByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterCharacterColumnTupleSource.java index bfed7c66cd3..d64aa4fc5a1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantCharacterCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterColumnTupleSource.java index b9ab1a84b6e..a89649212e2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterDoubleColumnTupleSource.java index 62e795f892c..8036421eee7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantCharacterDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterFloatColumnTupleSource.java index b7400a078da..625e21bc20e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantCharacterFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterInstantColumnTupleSource.java index a16eec3266f..c1d89e0127a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantCharacterInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterIntegerColumnTupleSource.java index 5c4449d6449..fb85e4e633a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantCharacterIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterLongColumnTupleSource.java index 4eb82be522d..e594f6fa58c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantCharacterLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterObjectColumnTupleSource.java index 9fb3943e277..cd6d78255bd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantCharacterObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterReinterpretedBooleanColumnTupleSource.java index a01d30b07c5..7e892687bd8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantCharacterReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterReinterpretedInstantColumnTupleSource.java index bdabb4ba92d..da488561b77 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantCharacterReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterShortColumnTupleSource.java index 1eb382689d3..88f08f59c09 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantCharacterShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Character, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantCharacterShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleBooleanColumnTupleSource.java index 399000c9e0b..ff11284b869 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantDoubleBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleByteColumnTupleSource.java index 956e57aaacd..b0073a73e04 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantDoubleByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleCharacterColumnTupleSource.java index 0e98a90ae79..d2455b05339 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantDoubleCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleColumnTupleSource.java index 7b16efb411d..4981cfce5eb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleDoubleColumnTupleSource.java index 381361db361..971a6171422 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantDoubleDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleFloatColumnTupleSource.java index a9c92427664..b0373df7f34 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantDoubleFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleInstantColumnTupleSource.java index f6552a71068..4c9540517f5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantDoubleInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleIntegerColumnTupleSource.java index b46bfe595fd..4e2b13d62dd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantDoubleIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleLongColumnTupleSource.java index 165b9575170..6154212704b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantDoubleLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleObjectColumnTupleSource.java index 71dcc32a798..d5c5954b4b2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantDoubleObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleReinterpretedBooleanColumnTupleSource.java index 5e2f5cdc772..26dfebd21fa 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantDoubleReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleReinterpretedInstantColumnTupleSource.java index 44f8421a7f2..204fecc8142 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantDoubleReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleShortColumnTupleSource.java index 93fdc99d5cf..c7f9a97fcc5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantDoubleShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Double, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantDoubleShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatBooleanColumnTupleSource.java index f428a26c6de..31673957bd0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantFloatBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatByteColumnTupleSource.java index db210014d87..2b6de783d4b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantFloatByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatCharacterColumnTupleSource.java index b528aae2d62..7b103a210c7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantFloatCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatColumnTupleSource.java index 574f98fdd65..54f921005fa 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatDoubleColumnTupleSource.java index 8971128978c..7d46490c08a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantFloatDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatFloatColumnTupleSource.java index 11d1278b525..97dd48a1f31 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantFloatFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatInstantColumnTupleSource.java index 887f2474f30..c3a64244664 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantFloatInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatIntegerColumnTupleSource.java index 07de08a36ad..f17edd4d857 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantFloatIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatLongColumnTupleSource.java index 2c1fa9d0d32..3b01223cef3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantFloatLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatObjectColumnTupleSource.java index 8acc6db7a32..96c0cb20856 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantFloatObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatReinterpretedBooleanColumnTupleSource.java index ff899b8adcc..1f4dd3e2654 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantFloatReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatReinterpretedInstantColumnTupleSource.java index 68459be9767..46a131f38ad 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantFloatReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatShortColumnTupleSource.java index 12960671abc..df7f9119e10 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantFloatShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Float, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantFloatShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantBooleanColumnTupleSource.java index b64ca458a4b..4d29a079f63 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantByteColumnTupleSource.java index 1fb94120cea..1f0c41a3df9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantCharacterColumnTupleSource.java index b9c99e28bda..4ce9e5ca7fd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantColumnTupleSource.java index 896b95c2bcb..12184f98e6a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantDoubleColumnTupleSource.java index a0929f47e11..adde8eb97d3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantFloatColumnTupleSource.java index 3c7b481ebf4..58fb57c02c5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantInstantColumnTupleSource.java index 04aaea1e87d..a8c97d5da28 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantIntegerColumnTupleSource.java index b000302bf28..7f8d7240941 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantLongColumnTupleSource.java index 6c5756f95c8..7632dcfb286 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantObjectColumnTupleSource.java index 227049fd179..77b487e990b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantReinterpretedBooleanColumnTupleSource.java index f012a235fd7..8322162e69a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantReinterpretedInstantColumnTupleSource.java index 649597021d6..d0b3e9645ee 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantShortColumnTupleSource.java index 74c6e31d166..7fd2299f1d2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Instant, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerBooleanColumnTupleSource.java index cd4967e86c3..854b8ae1eb4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantIntegerBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerByteColumnTupleSource.java index e777441f74c..734bab48a3a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantIntegerByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerCharacterColumnTupleSource.java index 01958356a89..37c65cf2c1b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantIntegerCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerColumnTupleSource.java index 7938c61f3d0..82cb9e0f081 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerDoubleColumnTupleSource.java index a44e180dba6..ec6affb17ad 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantIntegerDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerFloatColumnTupleSource.java index 6fd91665241..b6faedfadbf 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantIntegerFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerInstantColumnTupleSource.java index 997e735ed2c..34b1e99edca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantIntegerInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerIntegerColumnTupleSource.java index 917d14260bb..aec1016610c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantIntegerIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerLongColumnTupleSource.java index 1758d2bd250..c696e110e42 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantIntegerLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerObjectColumnTupleSource.java index 88c6bea4ba4..9c0c02534f5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantIntegerObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerReinterpretedBooleanColumnTupleSource.java index bd50e4671fe..33dac785d3c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantIntegerReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerReinterpretedInstantColumnTupleSource.java index c9e65723cb9..d6f026420e2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantIntegerReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerShortColumnTupleSource.java index 511fb0a4573..614c984042f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantIntegerShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Integer, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantIntegerShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongBooleanColumnTupleSource.java index 54820f7a7dd..7aab346d7e2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantLongBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongByteColumnTupleSource.java index 5aefdfad5a3..0d4f55293b0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantLongByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongCharacterColumnTupleSource.java index 653b100dff1..8edcaee69a4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantLongCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongColumnTupleSource.java index 2fa1a962641..4ecb2485e9d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongDoubleColumnTupleSource.java index 38b5a88735d..c499b67e974 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantLongDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongFloatColumnTupleSource.java index e65cc01b8a0..6e03c7ef5ce 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantLongFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongInstantColumnTupleSource.java index 24368b253a7..a143ba4dddf 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantLongInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongIntegerColumnTupleSource.java index 7cb770fcb58..2a08936c2cd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantLongIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongLongColumnTupleSource.java index ff75dbe1f3c..ca6f668d322 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantLongLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongObjectColumnTupleSource.java index 5b2f4b9fd97..c669fd06f83 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantLongObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongReinterpretedBooleanColumnTupleSource.java index 8758ab27b07..fb9df82b909 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantLongReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongReinterpretedInstantColumnTupleSource.java index 997f8402f78..e6f087099bf 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantLongReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongShortColumnTupleSource.java index 3315adccc55..df9cb5f7d0f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantLongShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantLongShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectBooleanColumnTupleSource.java index 5379b86292d..393300d9151 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantObjectBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectByteColumnTupleSource.java index 7a21077443b..d0f7a2ddd8b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantObjectByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectCharacterColumnTupleSource.java index 8e2902df81f..22f0405ff83 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantObjectCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectColumnTupleSource.java index a6fe7b1dadf..9947c824273 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectDoubleColumnTupleSource.java index 6c676ae7af7..b3785e73088 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantObjectDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectFloatColumnTupleSource.java index 144104d641e..4234e6f1dc9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantObjectFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectInstantColumnTupleSource.java index 9fcd08af41b..99b3d7615ae 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantObjectInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectIntegerColumnTupleSource.java index 0ac84eaa6ab..25b41ae95fe 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantObjectIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectLongColumnTupleSource.java index ebd874e7bce..ec868c70e2c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantObjectLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectObjectColumnTupleSource.java index 436b5b2f614..4e6af10b401 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantObjectObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectReinterpretedBooleanColumnTupleSource.java index 66b221cf1a0..5b4d254778c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantObjectReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectReinterpretedInstantColumnTupleSource.java index 05cb4dd13e2..18868ecb179 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantObjectReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectShortColumnTupleSource.java index 7e12c5299fe..ccdee2aeaef 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantObjectShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Object, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantObjectShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanBooleanColumnTupleSource.java index 9171656b6ac..a8274ad4348 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanByteColumnTupleSource.java index 70f51e54615..23ee58e4cc7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanCharacterColumnTupleSource.java index 0fe328c9965..c6d2fc97234 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanColumnTupleSource.java index c2580ce94ee..51e1403835f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanDoubleColumnTupleSource.java index f7ee0fe4b8d..4f4fdf57370 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanFloatColumnTupleSource.java index 735adf8b893..b8fde2d9658 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanInstantColumnTupleSource.java index 97c7763f641..6864ba23c46 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanIntegerColumnTupleSource.java index 6c1bf0a55d2..768056da248 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanLongColumnTupleSource.java index 9460cd9c7a0..c934201ab16 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanObjectColumnTupleSource.java index b5da39d18d3..e6a118377ff 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java index 6361e7eb514..a39725ef0f3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanReinterpretedInstantColumnTupleSource.java index 185c214dd0c..20f808a78eb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanShortColumnTupleSource.java index 1994382636c..bd3c3c53920 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantBooleanColumnTupleSource.java index d2e4139c73d..88600d809b6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantByteColumnTupleSource.java index 21ad046e1d3..f3ed5928805 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantCharacterColumnTupleSource.java index 26d1423be82..ff1e50e7029 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantColumnTupleSource.java index b4fb9da2c92..57e280cef2a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantDoubleColumnTupleSource.java index 34b7f24c12b..372cf984492 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantFloatColumnTupleSource.java index 14c0a2c9b58..952c83a89ed 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantInstantColumnTupleSource.java index aeda115206d..97d673bd7d3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantIntegerColumnTupleSource.java index 22381c329a5..14d6577ffb8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantLongColumnTupleSource.java index cffb2481aee..c290972641d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantObjectColumnTupleSource.java index b2dcbc2239c..b1d4f52f10f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantReinterpretedBooleanColumnTupleSource.java index 318426292af..c4d75ab18b0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantReinterpretedInstantColumnTupleSource.java index 1df3955567e..5911e3b05fd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantShortColumnTupleSource.java index 4309d6bd699..f1e07ac025f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantReinterpretedInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantReinterpretedInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortBooleanColumnTupleSource.java index 7031d14fa88..8502f0a09ac 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantShortBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortByteColumnTupleSource.java index eb986faebb9..cc4785c85c1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantShortByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortCharacterColumnTupleSource.java index d92673f0417..b4ef2ad5c8a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantShortCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortColumnTupleSource.java index 5ee27ee67ea..9fa8664cf8b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortDoubleColumnTupleSource.java index ba611085516..3875607348c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantShortDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortFloatColumnTupleSource.java index 1068aac1ce8..4e8155004b6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantShortFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortInstantColumnTupleSource.java index 93baac836b6..3858cc28be5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantShortInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortIntegerColumnTupleSource.java index a69e26c52dd..5bfcd876e01 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantShortIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortLongColumnTupleSource.java index b46f94dee2a..467f1cd3e19 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantShortLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortObjectColumnTupleSource.java index 6d3453090f3..b2b47a240d3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantShortObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortReinterpretedBooleanColumnTupleSource.java index 54f0a091cec..1a2eb1bb89e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantShortReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortReinterpretedInstantColumnTupleSource.java index b29f15ff79e..fd9f7b29345 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantShortReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortShortColumnTupleSource.java index 60bd4b704d6..720c9130fca 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ReinterpretedInstantShortShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Long, Short, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ReinterpretedInstantShortShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanBooleanColumnTupleSource.java index 0307a747153..cc15f387df6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Boolean, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanByteColumnTupleSource.java index fa45e3dbdd8..1beeb672604 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanCharacterColumnTupleSource.java index 2217595c8fc..6fc227bb837 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Boolean, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanColumnTupleSource.java index a35a30244a2..58f142cf9d1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanDoubleColumnTupleSource.java index a137d6ad576..4fc00062c63 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Boolean, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanFloatColumnTupleSource.java index 60315292e33..8e39c8e4c4e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Boolean, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanInstantColumnTupleSource.java index adf8dd4ed7f..4b75a2be1f4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Boolean, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanIntegerColumnTupleSource.java index 9d7510742e6..164168dd964 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Boolean, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanLongColumnTupleSource.java index 91f6843bb4a..f8e68bd4b6c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanObjectColumnTupleSource.java index f5d29a24a0e..a8542b5026c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Boolean, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanReinterpretedBooleanColumnTupleSource.java index a448de0555b..d777f59cd24 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Boolean, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanReinterpretedInstantColumnTupleSource.java index b50b63e4254..413eebffab4 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Boolean, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanShortColumnTupleSource.java index 7d2fc9f3946..2f63ddba958 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Boolean, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteBooleanColumnTupleSource.java index f9012bc9b53..13600821998 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortByteBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteByteColumnTupleSource.java index 57ff9b8042d..ef1d38ae2d9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortByteByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteCharacterColumnTupleSource.java index 03eef2ad434..fa8841fa3ad 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortByteCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteColumnTupleSource.java index 23fa546cd25..fcd4747ae8b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteDoubleColumnTupleSource.java index 86111721228..c0ab29bbaf3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortByteDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteFloatColumnTupleSource.java index d74659e23ae..15a0e5ccf6d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortByteFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteInstantColumnTupleSource.java index f1bf36347ad..2776ee1516f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortByteInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteIntegerColumnTupleSource.java index 5c85f1fa4b5..03cfa66d750 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortByteIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteLongColumnTupleSource.java index 5b1b088ecd4..58c74e43004 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortByteLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteObjectColumnTupleSource.java index 9c6622c21ea..9df4f40066b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortByteObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteReinterpretedBooleanColumnTupleSource.java index c7038a55f09..fd52d422db6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortByteReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteReinterpretedInstantColumnTupleSource.java index 49e2fe7ebe6..9e416062595 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortByteReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteShortColumnTupleSource.java index eebed838c45..a8f9d140bcd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortByteShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortByteShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterBooleanColumnTupleSource.java index de589a51378..ea1a39f61e9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Character, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortCharacterBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterByteColumnTupleSource.java index 3f0c7065f14..8bd2c2d69e6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortCharacterByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterCharacterColumnTupleSource.java index 00f622817f9..c6412c3436b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Character, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortCharacterCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterColumnTupleSource.java index 9353d51a118..a09980f6edd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterDoubleColumnTupleSource.java index bacebe6fd69..0803dc87881 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Character, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortCharacterDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterFloatColumnTupleSource.java index a3c3dd22717..4919c8fcc7c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Character, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortCharacterFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterInstantColumnTupleSource.java index 75d79e301b9..0d1392db13a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Character, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortCharacterInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterIntegerColumnTupleSource.java index 7ec76dd567b..e909522547d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Character, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortCharacterIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterLongColumnTupleSource.java index e9657afb09a..dbbb0daf6be 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortCharacterLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterObjectColumnTupleSource.java index 28d04032a23..797763ba653 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Character, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortCharacterObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterReinterpretedBooleanColumnTupleSource.java index 8449e641d10..0d59cecaf55 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Character, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortCharacterReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterReinterpretedInstantColumnTupleSource.java index 35fdba34995..5ceef169746 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Character, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortCharacterReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterShortColumnTupleSource.java index 15a198f3e20..6744b842a3b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortCharacterShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Character, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortCharacterShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleBooleanColumnTupleSource.java index 764904556aa..2f19a3fc8c5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Double, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortDoubleBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleByteColumnTupleSource.java index 4ba66e1fde6..3ae25b2a4e7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortDoubleByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleCharacterColumnTupleSource.java index 5d331bfb673..a70d54a3232 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Double, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortDoubleCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleColumnTupleSource.java index 4eddab4b722..cfcd71fb094 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleDoubleColumnTupleSource.java index b3daf0895ae..ec79fadc453 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Double, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortDoubleDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleFloatColumnTupleSource.java index c3a96ed8d4f..c8ead55e478 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Double, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortDoubleFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleInstantColumnTupleSource.java index cbe8b49c5a6..607b07724c0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Double, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortDoubleInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleIntegerColumnTupleSource.java index 2394531c72c..eec76f29a98 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Double, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortDoubleIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleLongColumnTupleSource.java index 8fc0cd16dae..bfa41f60135 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortDoubleLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleObjectColumnTupleSource.java index 7aee25c511d..61c87cff607 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Double, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortDoubleObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleReinterpretedBooleanColumnTupleSource.java index 0dfd70d5046..fc534cdf33f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Double, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortDoubleReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleReinterpretedInstantColumnTupleSource.java index 5daa997f4dd..0bc8d53bdea 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Double, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortDoubleReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleShortColumnTupleSource.java index dcd8606430d..80547ff0b03 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortDoubleShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Double, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortDoubleShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatBooleanColumnTupleSource.java index 5b02d30909b..a476a7a9c08 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Float, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortFloatBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatByteColumnTupleSource.java index 910867ff78d..0a3cec82b77 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortFloatByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatCharacterColumnTupleSource.java index 9d040fb6ad4..ef9c08c5a63 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Float, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortFloatCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatColumnTupleSource.java index bc41d347516..8e8de63e98c 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatDoubleColumnTupleSource.java index 4d355a68759..1840b0e05fe 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Float, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortFloatDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatFloatColumnTupleSource.java index 05c088a307d..19854df6d14 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Float, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortFloatFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatInstantColumnTupleSource.java index 3fd0e7d2e97..1bd938812a9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Float, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortFloatInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatIntegerColumnTupleSource.java index efe7ea5ce03..9b239978462 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Float, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortFloatIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatLongColumnTupleSource.java index 0c4f681966d..eeccaefe3a2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortFloatLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatObjectColumnTupleSource.java index 14c6a84e289..3e35b702028 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Float, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortFloatObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatReinterpretedBooleanColumnTupleSource.java index 7d4fd900f40..b9f8eaffe7a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Float, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortFloatReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatReinterpretedInstantColumnTupleSource.java index 04a87a876e9..7104bf21d25 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Float, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortFloatReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatShortColumnTupleSource.java index 4900375b845..a51804b924e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortFloatShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Float, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortFloatShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantBooleanColumnTupleSource.java index 4a242cf0194..7a245c93711 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Instant, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantByteColumnTupleSource.java index 42a4c88dc1f..61a70c44e39 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantCharacterColumnTupleSource.java index 47046f666b8..f8ad6de1fbe 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Instant, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantColumnTupleSource.java index 5eb2717667e..77ad921b7eb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantDoubleColumnTupleSource.java index 1ab1aa47da6..2229caa7c45 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Instant, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantFloatColumnTupleSource.java index 34c8c779bb2..5f725354b9b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Instant, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantInstantColumnTupleSource.java index ac1f781fc01..508fa20fa97 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Instant, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantIntegerColumnTupleSource.java index 0578a7029e2..76de1a777c7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Instant, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantLongColumnTupleSource.java index 4cb1f0bbdcd..3e52535e122 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantObjectColumnTupleSource.java index dabad9079f3..d3e3f0fac08 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Instant, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantReinterpretedBooleanColumnTupleSource.java index 37361b897b1..c8e0e05fc4b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Instant, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantReinterpretedInstantColumnTupleSource.java index 4e1ec3fce11..be460e7f87f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Instant, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantShortColumnTupleSource.java index 7459d911321..02c78815eec 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Instant, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerBooleanColumnTupleSource.java index 4a34f0ccba2..86f1aecb2d0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Integer, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortIntegerBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerByteColumnTupleSource.java index 7e2565cc5e4..e8d3d39e4b9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortIntegerByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerCharacterColumnTupleSource.java index 5999ae1fda3..f7f4084dfff 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Integer, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortIntegerCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerColumnTupleSource.java index 2795e7c5189..8c9e0fff074 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerDoubleColumnTupleSource.java index 3fe3f2d415f..4ddbbb35e16 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Integer, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortIntegerDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerFloatColumnTupleSource.java index 9d10fc68217..d76574c5bde 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Integer, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortIntegerFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerInstantColumnTupleSource.java index d6f564be5b2..93a552ce9d1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Integer, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortIntegerInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerIntegerColumnTupleSource.java index 08ba011b5ef..1625f81fb83 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Integer, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortIntegerIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerLongColumnTupleSource.java index 2135c0dca1d..93f5075da4b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortIntegerLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerObjectColumnTupleSource.java index 45f643936e4..d4c07907338 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Integer, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortIntegerObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerReinterpretedBooleanColumnTupleSource.java index 118fa8d6d81..48cc913597f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Integer, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortIntegerReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerReinterpretedInstantColumnTupleSource.java index c42e0b973e2..1dfa61b30df 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Integer, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortIntegerReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerShortColumnTupleSource.java index ca783552aa1..4f38e692626 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortIntegerShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Integer, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortIntegerShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongBooleanColumnTupleSource.java index 150cf3abfcc..75b29a9121a 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortLongBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongByteColumnTupleSource.java index efedd58871e..37a85a949b3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortLongByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongCharacterColumnTupleSource.java index f01fdcde289..f0efea95800 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortLongCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongColumnTupleSource.java index 31cfcd13c2e..bb4379bf43d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongDoubleColumnTupleSource.java index c253ed0b80b..df32876629e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortLongDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongFloatColumnTupleSource.java index ee36a59ef0c..65909af7d59 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortLongFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongInstantColumnTupleSource.java index e2d39d9aa83..947b7d09716 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortLongInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongIntegerColumnTupleSource.java index 0404abebc6c..a9b133b3194 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortLongIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongLongColumnTupleSource.java index ce30b96553d..e3cb98c8307 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortLongLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongObjectColumnTupleSource.java index 9a2a83f4802..53e69fc5189 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortLongObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongReinterpretedBooleanColumnTupleSource.java index 45ffce283a0..af6e974de63 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortLongReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongReinterpretedInstantColumnTupleSource.java index e46d2787089..44e3798fefd 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortLongReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongShortColumnTupleSource.java index c15b328adb7..3c4bb6adfbe 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortLongShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortLongShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectBooleanColumnTupleSource.java index dbb66cffc7e..ab77bf274db 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Object, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortObjectBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectByteColumnTupleSource.java index 8997a1771a6..22553326636 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortObjectByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectCharacterColumnTupleSource.java index 0e06536d6de..a8d376abe8b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Object, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortObjectCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectColumnTupleSource.java index 20ff98614b7..c2998c80675 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectDoubleColumnTupleSource.java index e0147968945..b9ced724037 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Object, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortObjectDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectFloatColumnTupleSource.java index 9bc2c7324cb..ef34fa2f5c7 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Object, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortObjectFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectInstantColumnTupleSource.java index 4c1edb9b53b..3b697d5bad9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Object, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortObjectInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectIntegerColumnTupleSource.java index d57d4adc1a1..fe3696f2006 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Object, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortObjectIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectLongColumnTupleSource.java index 910dcb67f6b..5dbee439ec0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortObjectLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectObjectColumnTupleSource.java index 91b5dc106e0..8ed9b7fbd26 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Object, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortObjectObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectReinterpretedBooleanColumnTupleSource.java index d830198c722..a300e229c29 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Object, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortObjectReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectReinterpretedInstantColumnTupleSource.java index ac4932ea123..ea1e395fbc2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Object, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortObjectReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectShortColumnTupleSource.java index 48e5ca03122..26e70f367d8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortObjectShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Object, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortObjectShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanBooleanColumnTupleSource.java index b0fd27c7a33..a1228463b40 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedBooleanBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanByteColumnTupleSource.java index cbb1541a853..c88d588e970 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedBooleanByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanCharacterColumnTupleSource.java index cd8a35899e3..b766b92c7ff 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedBooleanCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanColumnTupleSource.java index 7d0bf1b0d19..ada66272bbb 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanDoubleColumnTupleSource.java index bc550d5a457..a25ab251202 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedBooleanDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanFloatColumnTupleSource.java index dbc5c488c69..614329ffaef 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedBooleanFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanInstantColumnTupleSource.java index d5f91de4a58..e0d8b053d7f 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedBooleanInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanIntegerColumnTupleSource.java index 5627a6c154f..b68e9da3bf0 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedBooleanIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanLongColumnTupleSource.java index f5ac96527d6..446345a7109 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedBooleanLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanObjectColumnTupleSource.java index 3536aff6008..0b2545d6333 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedBooleanObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java index 4a2ca372bf2..8fddd35e892 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedBooleanReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanReinterpretedInstantColumnTupleSource.java index e225c270949..5a671627d43 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedBooleanReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanShortColumnTupleSource.java index d7f4ba4fe73..99230ccccfa 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedBooleanShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Byte, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedBooleanShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantBooleanColumnTupleSource.java index 348c7069d8b..e8054258e64 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedInstantBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantByteColumnTupleSource.java index 0e85aa8bbf5..74b12331502 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedInstantByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantCharacterColumnTupleSource.java index 92aac8d96be..29f85a14df6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedInstantCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantColumnTupleSource.java index d9c5cfd69a6..b5b17588b8d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantDoubleColumnTupleSource.java index 613bcc05589..9ff388ed092 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedInstantDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantFloatColumnTupleSource.java index 6a919cfb974..ca8a499d5e9 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedInstantFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantInstantColumnTupleSource.java index e7dac4019aa..9d73886fd75 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedInstantInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantIntegerColumnTupleSource.java index 678d3850df6..2f40103e272 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedInstantIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantLongColumnTupleSource.java index 537b8566879..d5080783a8b 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedInstantLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantObjectColumnTupleSource.java index 977dbbfaa89..431a75890c2 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -21,7 +28,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedInstantObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantReinterpretedBooleanColumnTupleSource.java index 9540d249240..b54cab65913 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -22,7 +29,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedInstantReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantReinterpretedInstantColumnTupleSource.java index 9230f1646ef..f3766068220 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedInstantReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantShortColumnTupleSource.java index 0f30382c9c7..64ab8ad14c5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortReinterpretedInstantShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Long, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortReinterpretedInstantShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortBooleanColumnTupleSource.java index bc9bc0ba44e..f8efeb97bc5 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Short, and Boolean. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortShortBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortByteColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortByteColumnTupleSource.java index af0a625fbf9..5962d04683d 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortByteColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortByteColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortShortByteColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortCharacterColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortCharacterColumnTupleSource.java index 253f0e73fb2..cfb8aa4f3c6 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortCharacterColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortCharacterColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.CharChunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Short, and Character. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortShortCharacterColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortColumnTupleSource.java index 2be896a2273..3b98b880317 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortDoubleColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortDoubleColumnTupleSource.java index 70e8d90c3c6..ce63555843e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortDoubleColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortDoubleColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Short, and Double. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortShortDoubleColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortFloatColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortFloatColumnTupleSource.java index c189307bf41..22acb5dcabc 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortFloatColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortFloatColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Short, and Float. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortShortFloatColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortInstantColumnTupleSource.java index c9d16b193d7..3be3991dc43 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Short, and Instant. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortShortInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortIntegerColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortIntegerColumnTupleSource.java index 688e0448845..e49e8df5535 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortIntegerColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortIntegerColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Short, and Integer. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortShortIntegerColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortLongColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortLongColumnTupleSource.java index 405e535b4a0..b71922ccac8 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortLongColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortLongColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortShortLongColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortObjectColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortObjectColumnTupleSource.java index 9015d252486..51f8c883317 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortObjectColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortObjectColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -18,7 +25,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Short, and Object. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortShortObjectColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortReinterpretedBooleanColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortReinterpretedBooleanColumnTupleSource.java index 159a13daee3..3dabf728bc1 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortReinterpretedBooleanColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortReinterpretedBooleanColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; @@ -19,7 +26,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Short, and Byte. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortShortReinterpretedBooleanColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortReinterpretedInstantColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortReinterpretedInstantColumnTupleSource.java index 474df3c8eef..ac280ab957e 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortReinterpretedInstantColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortReinterpretedInstantColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -20,7 +27,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Short, and Long. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortShortReinterpretedInstantColumnTupleSource extends AbstractTupleSource { diff --git a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortShortColumnTupleSource.java b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortShortColumnTupleSource.java index 41abd13e515..3bd193a97f3 100644 --- a/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortShortColumnTupleSource.java +++ b/engine/tuplesource/src/main/java/io/deephaven/engine/table/impl/tuplesource/generated/ShortShortShortColumnTupleSource.java @@ -1,3 +1,10 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TupleSourceCodeGenerator and run "./gradlew replicateTupleSources" to regenerate +// +// @formatter:off package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.Chunk; @@ -17,7 +24,6 @@ /** *

{@link TupleSource} that produces key column values from {@link ColumnSource} types Short, Short, and Short. - *

Generated by io.deephaven.replicators.TupleSourceCodeGenerator. */ @SuppressWarnings({"unused", "WeakerAccess"}) public class ShortShortShortColumnTupleSource extends AbstractTupleSource { diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/exceptions/CancellationException.java b/engine/updategraph/src/main/java/io/deephaven/engine/exceptions/CancellationException.java index 9a31f6efb2b..53229c07680 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/exceptions/CancellationException.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/exceptions/CancellationException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.exceptions; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/exceptions/UpdateGraphConflictException.java b/engine/updategraph/src/main/java/io/deephaven/engine/exceptions/UpdateGraphConflictException.java index 7fb63ed0693..d4e19007b29 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/exceptions/UpdateGraphConflictException.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/exceptions/UpdateGraphConflictException.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.exceptions; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/DelegatingLivenessNode.java b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/DelegatingLivenessNode.java index 1c8f56358fe..c4173d8034b 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/DelegatingLivenessNode.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/DelegatingLivenessNode.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; import org.jetbrains.annotations.NotNull; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/Liveness.java b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/Liveness.java index bcd5c2bee83..3d3543d3dd9 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/Liveness.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/Liveness.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; import io.deephaven.configuration.Configuration; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessArtifact.java b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessArtifact.java index c8fdf553a1f..ca64b6faabd 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessArtifact.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessArtifact.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; import org.jetbrains.annotations.NotNull; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessDebugException.java b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessDebugException.java index d2387cacf3f..3b10def35e7 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessDebugException.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessDebugException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; /** diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessManager.java b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessManager.java index 8855810923c..db7c336e985 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessManager.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; import io.deephaven.util.annotations.FinalDefault; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessNode.java b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessNode.java index 1a9494659ec..5a7c52bbbfd 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessNode.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessNode.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; import io.deephaven.util.annotations.FinalDefault; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessReferent.java b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessReferent.java index 19b4b4374fc..38833528151 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessReferent.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessReferent.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; import io.deephaven.util.Utils; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessScope.java b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessScope.java index 40da984c7b5..c41d8b45023 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessScope.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessScope.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; import io.deephaven.util.Utils; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessScopeStack.java b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessScopeStack.java index e93f4d4681a..042738df654 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessScopeStack.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessScopeStack.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; import io.deephaven.util.SafeCloseable; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessStateException.java b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessStateException.java index cf3e6d6bd07..d0f534489b1 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessStateException.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessStateException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; import org.jetbrains.annotations.NotNull; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/PermanentLivenessManager.java b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/PermanentLivenessManager.java index 1702eaec630..d4e5fca2986 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/PermanentLivenessManager.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/PermanentLivenessManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; import io.deephaven.util.Utils; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/ReferenceCountedLivenessNode.java b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/ReferenceCountedLivenessNode.java index a7e2394d62c..450a8a466b5 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/ReferenceCountedLivenessNode.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/ReferenceCountedLivenessNode.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; import io.deephaven.util.Utils; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/ReferenceCountedLivenessReferent.java b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/ReferenceCountedLivenessReferent.java index 8ad23ebfa9f..1722a6a4a4d 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/ReferenceCountedLivenessReferent.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/ReferenceCountedLivenessReferent.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; import io.deephaven.util.Utils; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/ReleasableLivenessManager.java b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/ReleasableLivenessManager.java index ae54453a5d5..c819754e87d 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/ReleasableLivenessManager.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/ReleasableLivenessManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; /** diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/RetainedReferenceTracker.java b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/RetainedReferenceTracker.java index a41bcc7023d..9104338fefd 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/RetainedReferenceTracker.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/RetainedReferenceTracker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; import io.deephaven.base.cache.RetentionCache; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/SingletonLivenessManager.java b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/SingletonLivenessManager.java index 6b8950848d6..ed05a356008 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/liveness/SingletonLivenessManager.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/liveness/SingletonLivenessManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.liveness; import io.deephaven.base.reference.CleanupReference; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/AbstractNotification.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/AbstractNotification.java index fe4b652eca3..42848955739 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/AbstractNotification.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/AbstractNotification.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import io.deephaven.base.log.LogOutput; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/ClockInconsistencyException.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/ClockInconsistencyException.java index e84d43d2fcd..7c0217c8ade 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/ClockInconsistencyException.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/ClockInconsistencyException.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/DynamicNode.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/DynamicNode.java index 6bc684f74d4..cc09b13f96a 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/DynamicNode.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/DynamicNode.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; /** diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/EmptyErrorNotification.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/EmptyErrorNotification.java index 88d414e6b02..3f66818ce84 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/EmptyErrorNotification.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/EmptyErrorNotification.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; /** diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/EmptyNotification.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/EmptyNotification.java index bc1c87aeb63..c5fd4f340e9 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/EmptyNotification.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/EmptyNotification.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import io.deephaven.base.log.LogOutput; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/LogicalClock.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/LogicalClock.java index ff81a8aa44d..c9989b6a7ea 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/LogicalClock.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/LogicalClock.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import io.deephaven.util.annotations.FinalDefault; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/LogicalClockImpl.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/LogicalClockImpl.java index aaf0ddad865..551ee10ff21 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/LogicalClockImpl.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/LogicalClockImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import io.deephaven.base.verify.Assert; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/NotificationAdapter.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/NotificationAdapter.java index 912d765abb2..c5e9bdfeac3 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/NotificationAdapter.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/NotificationAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import io.deephaven.base.log.LogOutput; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/NotificationQueue.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/NotificationQueue.java index 0e308ae1bb7..01541f0959c 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/NotificationQueue.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/NotificationQueue.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import io.deephaven.base.log.LogOutputAppendable; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/OneShotUpdateCombiner.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/OneShotUpdateCombiner.java index 336cfd80502..0cd496537bb 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/OneShotUpdateCombiner.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/OneShotUpdateCombiner.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import io.deephaven.base.log.LogOutput; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/OperationInitializer.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/OperationInitializer.java index d5d4337e292..a0b14e01a1b 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/OperationInitializer.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/OperationInitializer.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import java.util.concurrent.CompletableFuture; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/TerminalNotification.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/TerminalNotification.java index 7a8bdfdddda..75c0b673666 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/TerminalNotification.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/TerminalNotification.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; public abstract class TerminalNotification extends AbstractNotification { diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateCommitter.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateCommitter.java index d03541938ee..d5129df4480 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateCommitter.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateCommitter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import java.lang.ref.WeakReference; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateCommitterEx.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateCommitterEx.java index cc05a6d83e2..061291345e1 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateCommitterEx.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateCommitterEx.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import org.jetbrains.annotations.NotNull; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraph.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraph.java index 67cd6bf3add..c29efed8408 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraph.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraph.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import io.deephaven.base.log.LogOutput; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraphAwareCompletableFuture.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraphAwareCompletableFuture.java index 1cf8d0cc36f..f11f57238da 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraphAwareCompletableFuture.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraphAwareCompletableFuture.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import io.deephaven.util.SafeCloseable; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraphLock.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraphLock.java index c0b3e59d6ee..8c092e68b2a 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraphLock.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraphLock.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateSourceCombiner.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateSourceCombiner.java index 4ec63dab573..6fb6e841f6f 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateSourceCombiner.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateSourceCombiner.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import io.deephaven.base.WeakReferenceManager; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateSourceRegistrar.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateSourceRegistrar.java index 7d7ba0e542b..549874186df 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateSourceRegistrar.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/UpdateSourceRegistrar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import org.jetbrains.annotations.NotNull; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/WaitNotification.java b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/WaitNotification.java index 76e4605713b..283567e1b68 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/WaitNotification.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/updategraph/WaitNotification.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/util/reference/CleanupReferenceProcessorInstance.java b/engine/updategraph/src/main/java/io/deephaven/engine/util/reference/CleanupReferenceProcessorInstance.java index 5709d8e6014..6a9d9dab423 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/util/reference/CleanupReferenceProcessorInstance.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/util/reference/CleanupReferenceProcessorInstance.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.reference; import io.deephaven.base.verify.Require; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/util/systemicmarking/SystemicObject.java b/engine/updategraph/src/main/java/io/deephaven/engine/util/systemicmarking/SystemicObject.java index a0754eaacab..feb97a89a0b 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/util/systemicmarking/SystemicObject.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/util/systemicmarking/SystemicObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.systemicmarking; import io.deephaven.engine.util.systemicmarking.SystemicObjectTracker; diff --git a/engine/updategraph/src/main/java/io/deephaven/engine/util/systemicmarking/SystemicObjectTracker.java b/engine/updategraph/src/main/java/io/deephaven/engine/util/systemicmarking/SystemicObjectTracker.java index 0f4d212008b..1c08b843d9a 100644 --- a/engine/updategraph/src/main/java/io/deephaven/engine/util/systemicmarking/SystemicObjectTracker.java +++ b/engine/updategraph/src/main/java/io/deephaven/engine/util/systemicmarking/SystemicObjectTracker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.util.systemicmarking; import io.deephaven.configuration.Configuration; diff --git a/engine/updategraph/src/test/java/io/deephaven/engine/updategraph/TestUpdateGraphLock.java b/engine/updategraph/src/test/java/io/deephaven/engine/updategraph/TestUpdateGraphLock.java index 2b87a49f057..863dac8ccb0 100644 --- a/engine/updategraph/src/test/java/io/deephaven/engine/updategraph/TestUpdateGraphLock.java +++ b/engine/updategraph/src/test/java/io/deephaven/engine/updategraph/TestUpdateGraphLock.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.updategraph; import io.deephaven.UncheckedDeephavenException; diff --git a/engine/vector/src/main/java/io/deephaven/vector/ByteSubVector.java b/engine/vector/src/main/java/io/deephaven/vector/ByteSubVector.java index bb195694bf4..5e566c4595d 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/ByteSubVector.java +++ b/engine/vector/src/main/java/io/deephaven/vector/ByteSubVector.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSubVector and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSubVector and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.util.QueryConstants; diff --git a/engine/vector/src/main/java/io/deephaven/vector/ByteVector.java b/engine/vector/src/main/java/io/deephaven/vector/ByteVector.java index f7961720786..edfa1ae70f4 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/ByteVector.java +++ b/engine/vector/src/main/java/io/deephaven/vector/ByteVector.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVector and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVector and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Require; @@ -154,10 +153,8 @@ static boolean equals(@NotNull final ByteVector aVector, @Nullable final Object if (size == 0) { return true; } - // @formatter:off try (final CloseablePrimitiveIteratorOfByte aIterator = aVector.iterator(); - final CloseablePrimitiveIteratorOfByte bIterator = bVector.iterator()) { - // @formatter:on + final CloseablePrimitiveIteratorOfByte bIterator = bVector.iterator()) { while (aIterator.hasNext()) { // region ElementEquals if (aIterator.nextByte() != bIterator.nextByte()) { diff --git a/engine/vector/src/main/java/io/deephaven/vector/ByteVectorDirect.java b/engine/vector/src/main/java/io/deephaven/vector/ByteVectorDirect.java index 8ae1293ec4e..c6e09854a13 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/ByteVectorDirect.java +++ b/engine/vector/src/main/java/io/deephaven/vector/ByteVectorDirect.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorDirect and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorDirect and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Require; diff --git a/engine/vector/src/main/java/io/deephaven/vector/ByteVectorSlice.java b/engine/vector/src/main/java/io/deephaven/vector/ByteVectorSlice.java index fc7215e3aa2..c0f4729685f 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/ByteVectorSlice.java +++ b/engine/vector/src/main/java/io/deephaven/vector/ByteVectorSlice.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorSlice and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorSlice and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Assert; diff --git a/engine/vector/src/main/java/io/deephaven/vector/CharSubVector.java b/engine/vector/src/main/java/io/deephaven/vector/CharSubVector.java index 27bc7871500..79fd5e3dbb4 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/CharSubVector.java +++ b/engine/vector/src/main/java/io/deephaven/vector/CharSubVector.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.vector; import io.deephaven.util.QueryConstants; diff --git a/engine/vector/src/main/java/io/deephaven/vector/CharVectorDirect.java b/engine/vector/src/main/java/io/deephaven/vector/CharVectorDirect.java index 288586ebcd5..d04303d0770 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/CharVectorDirect.java +++ b/engine/vector/src/main/java/io/deephaven/vector/CharVectorDirect.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.vector; import io.deephaven.base.verify.Require; diff --git a/engine/vector/src/main/java/io/deephaven/vector/CharVectorSlice.java b/engine/vector/src/main/java/io/deephaven/vector/CharVectorSlice.java index d14270943bf..56314b786c9 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/CharVectorSlice.java +++ b/engine/vector/src/main/java/io/deephaven/vector/CharVectorSlice.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.vector; import io.deephaven.base.verify.Assert; diff --git a/engine/vector/src/main/java/io/deephaven/vector/DoubleSubVector.java b/engine/vector/src/main/java/io/deephaven/vector/DoubleSubVector.java index f8b6b8b7fd9..dc8197c4b18 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/DoubleSubVector.java +++ b/engine/vector/src/main/java/io/deephaven/vector/DoubleSubVector.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSubVector and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSubVector and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.util.QueryConstants; diff --git a/engine/vector/src/main/java/io/deephaven/vector/DoubleVector.java b/engine/vector/src/main/java/io/deephaven/vector/DoubleVector.java index 3d5bc78641c..65f3f785ed7 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/DoubleVector.java +++ b/engine/vector/src/main/java/io/deephaven/vector/DoubleVector.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVector and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVector and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Require; @@ -154,10 +153,8 @@ static boolean equals(@NotNull final DoubleVector aVector, @Nullable final Objec if (size == 0) { return true; } - // @formatter:off try (final CloseablePrimitiveIteratorOfDouble aIterator = aVector.iterator(); - final CloseablePrimitiveIteratorOfDouble bIterator = bVector.iterator()) { - // @formatter:on + final CloseablePrimitiveIteratorOfDouble bIterator = bVector.iterator()) { while (aIterator.hasNext()) { // region ElementEquals if (Double.doubleToLongBits(aIterator.nextDouble()) != Double.doubleToLongBits(bIterator.nextDouble())) { diff --git a/engine/vector/src/main/java/io/deephaven/vector/DoubleVectorDirect.java b/engine/vector/src/main/java/io/deephaven/vector/DoubleVectorDirect.java index 6fd1ac2fdbb..c5d4ec2c9f9 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/DoubleVectorDirect.java +++ b/engine/vector/src/main/java/io/deephaven/vector/DoubleVectorDirect.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorDirect and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorDirect and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Require; diff --git a/engine/vector/src/main/java/io/deephaven/vector/DoubleVectorSlice.java b/engine/vector/src/main/java/io/deephaven/vector/DoubleVectorSlice.java index 35d16d93f24..26cfd194b69 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/DoubleVectorSlice.java +++ b/engine/vector/src/main/java/io/deephaven/vector/DoubleVectorSlice.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorSlice and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorSlice and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Assert; diff --git a/engine/vector/src/main/java/io/deephaven/vector/FloatSubVector.java b/engine/vector/src/main/java/io/deephaven/vector/FloatSubVector.java index da88aa2d157..bc6d3b3af33 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/FloatSubVector.java +++ b/engine/vector/src/main/java/io/deephaven/vector/FloatSubVector.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSubVector and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSubVector and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.util.QueryConstants; diff --git a/engine/vector/src/main/java/io/deephaven/vector/FloatVector.java b/engine/vector/src/main/java/io/deephaven/vector/FloatVector.java index b1711d29183..2bf23d05c32 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/FloatVector.java +++ b/engine/vector/src/main/java/io/deephaven/vector/FloatVector.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVector and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVector and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Require; @@ -154,10 +153,8 @@ static boolean equals(@NotNull final FloatVector aVector, @Nullable final Object if (size == 0) { return true; } - // @formatter:off try (final CloseablePrimitiveIteratorOfFloat aIterator = aVector.iterator(); - final CloseablePrimitiveIteratorOfFloat bIterator = bVector.iterator()) { - // @formatter:on + final CloseablePrimitiveIteratorOfFloat bIterator = bVector.iterator()) { while (aIterator.hasNext()) { // region ElementEquals if (Float.floatToIntBits(aIterator.nextFloat()) != Float.floatToIntBits(bIterator.nextFloat())) { diff --git a/engine/vector/src/main/java/io/deephaven/vector/FloatVectorDirect.java b/engine/vector/src/main/java/io/deephaven/vector/FloatVectorDirect.java index d72f6c13d07..bfae023036f 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/FloatVectorDirect.java +++ b/engine/vector/src/main/java/io/deephaven/vector/FloatVectorDirect.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorDirect and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorDirect and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Require; diff --git a/engine/vector/src/main/java/io/deephaven/vector/FloatVectorSlice.java b/engine/vector/src/main/java/io/deephaven/vector/FloatVectorSlice.java index 0b6a7121abe..581756855e0 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/FloatVectorSlice.java +++ b/engine/vector/src/main/java/io/deephaven/vector/FloatVectorSlice.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorSlice and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorSlice and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Assert; diff --git a/engine/vector/src/main/java/io/deephaven/vector/IntSubVector.java b/engine/vector/src/main/java/io/deephaven/vector/IntSubVector.java index c569499d5d5..694343d7fc0 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/IntSubVector.java +++ b/engine/vector/src/main/java/io/deephaven/vector/IntSubVector.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSubVector and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSubVector and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.util.QueryConstants; diff --git a/engine/vector/src/main/java/io/deephaven/vector/IntVector.java b/engine/vector/src/main/java/io/deephaven/vector/IntVector.java index 783e42297ea..d6fd59e7cbe 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/IntVector.java +++ b/engine/vector/src/main/java/io/deephaven/vector/IntVector.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVector and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVector and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Require; @@ -154,10 +153,8 @@ static boolean equals(@NotNull final IntVector aVector, @Nullable final Object b if (size == 0) { return true; } - // @formatter:off try (final CloseablePrimitiveIteratorOfInt aIterator = aVector.iterator(); - final CloseablePrimitiveIteratorOfInt bIterator = bVector.iterator()) { - // @formatter:on + final CloseablePrimitiveIteratorOfInt bIterator = bVector.iterator()) { while (aIterator.hasNext()) { // region ElementEquals if (aIterator.nextInt() != bIterator.nextInt()) { diff --git a/engine/vector/src/main/java/io/deephaven/vector/IntVectorDirect.java b/engine/vector/src/main/java/io/deephaven/vector/IntVectorDirect.java index 5cdce435af9..97ca860cd8a 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/IntVectorDirect.java +++ b/engine/vector/src/main/java/io/deephaven/vector/IntVectorDirect.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorDirect and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorDirect and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Require; diff --git a/engine/vector/src/main/java/io/deephaven/vector/IntVectorSlice.java b/engine/vector/src/main/java/io/deephaven/vector/IntVectorSlice.java index 54a3f662ef2..8d7170009a4 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/IntVectorSlice.java +++ b/engine/vector/src/main/java/io/deephaven/vector/IntVectorSlice.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorSlice and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorSlice and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Assert; diff --git a/engine/vector/src/main/java/io/deephaven/vector/LongSubVector.java b/engine/vector/src/main/java/io/deephaven/vector/LongSubVector.java index 20d2964d45d..01062f90333 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/LongSubVector.java +++ b/engine/vector/src/main/java/io/deephaven/vector/LongSubVector.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSubVector and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSubVector and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.util.QueryConstants; diff --git a/engine/vector/src/main/java/io/deephaven/vector/LongVector.java b/engine/vector/src/main/java/io/deephaven/vector/LongVector.java index da0a75a6038..d23410f8a80 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/LongVector.java +++ b/engine/vector/src/main/java/io/deephaven/vector/LongVector.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVector and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVector and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Require; @@ -154,10 +153,8 @@ static boolean equals(@NotNull final LongVector aVector, @Nullable final Object if (size == 0) { return true; } - // @formatter:off try (final CloseablePrimitiveIteratorOfLong aIterator = aVector.iterator(); - final CloseablePrimitiveIteratorOfLong bIterator = bVector.iterator()) { - // @formatter:on + final CloseablePrimitiveIteratorOfLong bIterator = bVector.iterator()) { while (aIterator.hasNext()) { // region ElementEquals if (aIterator.nextLong() != bIterator.nextLong()) { diff --git a/engine/vector/src/main/java/io/deephaven/vector/LongVectorDirect.java b/engine/vector/src/main/java/io/deephaven/vector/LongVectorDirect.java index 52f1bcc60b5..8af095add87 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/LongVectorDirect.java +++ b/engine/vector/src/main/java/io/deephaven/vector/LongVectorDirect.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorDirect and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorDirect and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Require; diff --git a/engine/vector/src/main/java/io/deephaven/vector/LongVectorSlice.java b/engine/vector/src/main/java/io/deephaven/vector/LongVectorSlice.java index a7ea23635ca..3ef1d5209f5 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/LongVectorSlice.java +++ b/engine/vector/src/main/java/io/deephaven/vector/LongVectorSlice.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorSlice and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorSlice and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Assert; diff --git a/engine/vector/src/main/java/io/deephaven/vector/ObjectSubVector.java b/engine/vector/src/main/java/io/deephaven/vector/ObjectSubVector.java index 0af199eedf3..b6f6fc3b651 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/ObjectSubVector.java +++ b/engine/vector/src/main/java/io/deephaven/vector/ObjectSubVector.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.vector; import org.jetbrains.annotations.NotNull; diff --git a/engine/vector/src/main/java/io/deephaven/vector/ObjectVector.java b/engine/vector/src/main/java/io/deephaven/vector/ObjectVector.java index 8a294cd31ac..8bc77d8dce8 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/ObjectVector.java +++ b/engine/vector/src/main/java/io/deephaven/vector/ObjectVector.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.vector; import io.deephaven.base.verify.Require; diff --git a/engine/vector/src/main/java/io/deephaven/vector/ObjectVectorDirect.java b/engine/vector/src/main/java/io/deephaven/vector/ObjectVectorDirect.java index 5aecd837bf1..05b0aeb70b4 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/ObjectVectorDirect.java +++ b/engine/vector/src/main/java/io/deephaven/vector/ObjectVectorDirect.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.vector; import io.deephaven.base.verify.Require; diff --git a/engine/vector/src/main/java/io/deephaven/vector/ObjectVectorSlice.java b/engine/vector/src/main/java/io/deephaven/vector/ObjectVectorSlice.java index e3ccc328810..8dc1a2319bf 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/ObjectVectorSlice.java +++ b/engine/vector/src/main/java/io/deephaven/vector/ObjectVectorSlice.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.vector; import io.deephaven.base.verify.Assert; diff --git a/engine/vector/src/main/java/io/deephaven/vector/ShortSubVector.java b/engine/vector/src/main/java/io/deephaven/vector/ShortSubVector.java index 45c29a57436..6c01f9f7ecd 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/ShortSubVector.java +++ b/engine/vector/src/main/java/io/deephaven/vector/ShortSubVector.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSubVector and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharSubVector and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.util.QueryConstants; diff --git a/engine/vector/src/main/java/io/deephaven/vector/ShortVector.java b/engine/vector/src/main/java/io/deephaven/vector/ShortVector.java index 7a80d3a0736..40f55a82942 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/ShortVector.java +++ b/engine/vector/src/main/java/io/deephaven/vector/ShortVector.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVector and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVector and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Require; @@ -154,10 +153,8 @@ static boolean equals(@NotNull final ShortVector aVector, @Nullable final Object if (size == 0) { return true; } - // @formatter:off try (final CloseablePrimitiveIteratorOfShort aIterator = aVector.iterator(); - final CloseablePrimitiveIteratorOfShort bIterator = bVector.iterator()) { - // @formatter:on + final CloseablePrimitiveIteratorOfShort bIterator = bVector.iterator()) { while (aIterator.hasNext()) { // region ElementEquals if (aIterator.nextShort() != bIterator.nextShort()) { diff --git a/engine/vector/src/main/java/io/deephaven/vector/ShortVectorDirect.java b/engine/vector/src/main/java/io/deephaven/vector/ShortVectorDirect.java index 27ce85809ef..33149eb5927 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/ShortVectorDirect.java +++ b/engine/vector/src/main/java/io/deephaven/vector/ShortVectorDirect.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorDirect and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorDirect and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Require; diff --git a/engine/vector/src/main/java/io/deephaven/vector/ShortVectorSlice.java b/engine/vector/src/main/java/io/deephaven/vector/ShortVectorSlice.java index ffab1c230dc..67264804cd6 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/ShortVectorSlice.java +++ b/engine/vector/src/main/java/io/deephaven/vector/ShortVectorSlice.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorSlice and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorSlice and run "./gradlew replicateVectors" to regenerate +// +// @formatter:off package io.deephaven.vector; import io.deephaven.base.verify.Assert; diff --git a/engine/vector/src/main/java/io/deephaven/vector/Vector.java b/engine/vector/src/main/java/io/deephaven/vector/Vector.java index 100ec64abad..ae5e8ebaedb 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/Vector.java +++ b/engine/vector/src/main/java/io/deephaven/vector/Vector.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.vector; import io.deephaven.base.verify.Assert; diff --git a/engine/vector/src/main/java/io/deephaven/vector/VectorConversions.java b/engine/vector/src/main/java/io/deephaven/vector/VectorConversions.java index 38762ac8681..87e5f90b1a1 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/VectorConversions.java +++ b/engine/vector/src/main/java/io/deephaven/vector/VectorConversions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.vector; /** diff --git a/engine/vector/src/main/java/io/deephaven/vector/VectorFactory.java b/engine/vector/src/main/java/io/deephaven/vector/VectorFactory.java index 172fc487c96..8de5aab98c5 100644 --- a/engine/vector/src/main/java/io/deephaven/vector/VectorFactory.java +++ b/engine/vector/src/main/java/io/deephaven/vector/VectorFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.vector; import io.deephaven.util.SimpleTypeMap; diff --git a/engine/vector/src/test/java/io/deephaven/vector/ByteVectorDirectTest.java b/engine/vector/src/test/java/io/deephaven/vector/ByteVectorDirectTest.java index 16f9b434b23..48f921a5c6d 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/ByteVectorDirectTest.java +++ b/engine/vector/src/test/java/io/deephaven/vector/ByteVectorDirectTest.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorDirectTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorDirectTest and run "./gradlew replicateVectorTests" to regenerate +// +// @formatter:off package io.deephaven.vector; import org.jetbrains.annotations.NotNull; diff --git a/engine/vector/src/test/java/io/deephaven/vector/ByteVectorTest.java b/engine/vector/src/test/java/io/deephaven/vector/ByteVectorTest.java index d2c83bec49d..c933ce7c886 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/ByteVectorTest.java +++ b/engine/vector/src/test/java/io/deephaven/vector/ByteVectorTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorTest and run "./gradlew replicateVectorTests" to regenerate +// +// @formatter:off package io.deephaven.vector; // region IteratorTypeImport diff --git a/engine/vector/src/test/java/io/deephaven/vector/CharVectorDirectTest.java b/engine/vector/src/test/java/io/deephaven/vector/CharVectorDirectTest.java index 32dd8caa326..d4ebc82d3a5 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/CharVectorDirectTest.java +++ b/engine/vector/src/test/java/io/deephaven/vector/CharVectorDirectTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.vector; import org.jetbrains.annotations.NotNull; diff --git a/engine/vector/src/test/java/io/deephaven/vector/CharVectorTest.java b/engine/vector/src/test/java/io/deephaven/vector/CharVectorTest.java index fadd01ab99f..6b0db66a8e3 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/CharVectorTest.java +++ b/engine/vector/src/test/java/io/deephaven/vector/CharVectorTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.vector; // region IteratorTypeImport diff --git a/engine/vector/src/test/java/io/deephaven/vector/DoubleVectorDirectTest.java b/engine/vector/src/test/java/io/deephaven/vector/DoubleVectorDirectTest.java index 6754a12cfc6..0937c5e1127 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/DoubleVectorDirectTest.java +++ b/engine/vector/src/test/java/io/deephaven/vector/DoubleVectorDirectTest.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorDirectTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorDirectTest and run "./gradlew replicateVectorTests" to regenerate +// +// @formatter:off package io.deephaven.vector; import org.jetbrains.annotations.NotNull; diff --git a/engine/vector/src/test/java/io/deephaven/vector/DoubleVectorTest.java b/engine/vector/src/test/java/io/deephaven/vector/DoubleVectorTest.java index 0f2dbcabfe1..700cd24b14b 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/DoubleVectorTest.java +++ b/engine/vector/src/test/java/io/deephaven/vector/DoubleVectorTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorTest and run "./gradlew replicateVectorTests" to regenerate +// +// @formatter:off package io.deephaven.vector; // region IteratorTypeImport diff --git a/engine/vector/src/test/java/io/deephaven/vector/FloatVectorDirectTest.java b/engine/vector/src/test/java/io/deephaven/vector/FloatVectorDirectTest.java index c7e846110d5..e1857d79888 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/FloatVectorDirectTest.java +++ b/engine/vector/src/test/java/io/deephaven/vector/FloatVectorDirectTest.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorDirectTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorDirectTest and run "./gradlew replicateVectorTests" to regenerate +// +// @formatter:off package io.deephaven.vector; import org.jetbrains.annotations.NotNull; diff --git a/engine/vector/src/test/java/io/deephaven/vector/FloatVectorTest.java b/engine/vector/src/test/java/io/deephaven/vector/FloatVectorTest.java index 0f99b619ab6..a821f47bbec 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/FloatVectorTest.java +++ b/engine/vector/src/test/java/io/deephaven/vector/FloatVectorTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorTest and run "./gradlew replicateVectorTests" to regenerate +// +// @formatter:off package io.deephaven.vector; // region IteratorTypeImport diff --git a/engine/vector/src/test/java/io/deephaven/vector/IntVectorDirectTest.java b/engine/vector/src/test/java/io/deephaven/vector/IntVectorDirectTest.java index 730bca0dbf1..ece53e33649 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/IntVectorDirectTest.java +++ b/engine/vector/src/test/java/io/deephaven/vector/IntVectorDirectTest.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorDirectTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorDirectTest and run "./gradlew replicateVectorTests" to regenerate +// +// @formatter:off package io.deephaven.vector; import org.jetbrains.annotations.NotNull; diff --git a/engine/vector/src/test/java/io/deephaven/vector/IntVectorTest.java b/engine/vector/src/test/java/io/deephaven/vector/IntVectorTest.java index c45d9e6ef10..c7630970dbe 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/IntVectorTest.java +++ b/engine/vector/src/test/java/io/deephaven/vector/IntVectorTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorTest and run "./gradlew replicateVectorTests" to regenerate +// +// @formatter:off package io.deephaven.vector; // region IteratorTypeImport diff --git a/engine/vector/src/test/java/io/deephaven/vector/LongVectorDirectTest.java b/engine/vector/src/test/java/io/deephaven/vector/LongVectorDirectTest.java index 0d0c23c55ef..534bd85a323 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/LongVectorDirectTest.java +++ b/engine/vector/src/test/java/io/deephaven/vector/LongVectorDirectTest.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorDirectTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorDirectTest and run "./gradlew replicateVectorTests" to regenerate +// +// @formatter:off package io.deephaven.vector; import org.jetbrains.annotations.NotNull; diff --git a/engine/vector/src/test/java/io/deephaven/vector/LongVectorTest.java b/engine/vector/src/test/java/io/deephaven/vector/LongVectorTest.java index 5c8cf17ef47..4d6d4e0214a 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/LongVectorTest.java +++ b/engine/vector/src/test/java/io/deephaven/vector/LongVectorTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorTest and run "./gradlew replicateVectorTests" to regenerate +// +// @formatter:off package io.deephaven.vector; // region IteratorTypeImport diff --git a/engine/vector/src/test/java/io/deephaven/vector/ObjectVectorDirectTest.java b/engine/vector/src/test/java/io/deephaven/vector/ObjectVectorDirectTest.java index 0f10a9bef32..491b67f68e0 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/ObjectVectorDirectTest.java +++ b/engine/vector/src/test/java/io/deephaven/vector/ObjectVectorDirectTest.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorDirectTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorDirectTest and run "./gradlew replicateVectorTests" to regenerate +// +// @formatter:off package io.deephaven.vector; import org.jetbrains.annotations.NotNull; diff --git a/engine/vector/src/test/java/io/deephaven/vector/ObjectVectorTest.java b/engine/vector/src/test/java/io/deephaven/vector/ObjectVectorTest.java index 27328264cb5..1521d6da4ae 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/ObjectVectorTest.java +++ b/engine/vector/src/test/java/io/deephaven/vector/ObjectVectorTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorTest and run "./gradlew replicateVectorTests" to regenerate +// +// @formatter:off package io.deephaven.vector; // region IteratorTypeImport diff --git a/engine/vector/src/test/java/io/deephaven/vector/ShortVectorDirectTest.java b/engine/vector/src/test/java/io/deephaven/vector/ShortVectorDirectTest.java index 479742817a5..ab25e9551e2 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/ShortVectorDirectTest.java +++ b/engine/vector/src/test/java/io/deephaven/vector/ShortVectorDirectTest.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorDirectTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorDirectTest and run "./gradlew replicateVectorTests" to regenerate +// +// @formatter:off package io.deephaven.vector; import org.jetbrains.annotations.NotNull; diff --git a/engine/vector/src/test/java/io/deephaven/vector/ShortVectorTest.java b/engine/vector/src/test/java/io/deephaven/vector/ShortVectorTest.java index 4f1ccd390cd..f755af7b8ea 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/ShortVectorTest.java +++ b/engine/vector/src/test/java/io/deephaven/vector/ShortVectorTest.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorTest and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorTest and run "./gradlew replicateVectorTests" to regenerate +// +// @formatter:off package io.deephaven.vector; // region IteratorTypeImport diff --git a/engine/vector/src/test/java/io/deephaven/vector/WriteSerializedVectors.java b/engine/vector/src/test/java/io/deephaven/vector/WriteSerializedVectors.java index fa4b9eda35e..9f2fdfa1f62 100644 --- a/engine/vector/src/test/java/io/deephaven/vector/WriteSerializedVectors.java +++ b/engine/vector/src/test/java/io/deephaven/vector/WriteSerializedVectors.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.vector; import java.io.ObjectStreamClass; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/ArrowWrapperTools.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/ArrowWrapperTools.java index 27d1870f2d1..c550755b7d5 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/ArrowWrapperTools.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/ArrowWrapperTools.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.arrow; import io.deephaven.base.ArrayUtil; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/AbstractArrowColumnSource.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/AbstractArrowColumnSource.java index c344b4402a6..00661e5837c 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/AbstractArrowColumnSource.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/AbstractArrowColumnSource.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.arrow.sources; import io.deephaven.base.verify.Assert; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowBooleanColumnSource.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowBooleanColumnSource.java index 3bb2b29ea51..5ac591610d9 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowBooleanColumnSource.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowBooleanColumnSource.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSources and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSources or "./gradlew generateArrowColumnSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow.sources; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowByteColumnSource.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowByteColumnSource.java index 756978bb51c..bf210ddcf11 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowByteColumnSource.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowByteColumnSource.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSources and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSources or "./gradlew generateArrowColumnSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow.sources; import io.deephaven.chunk.WritableByteChunk; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowCharColumnSource.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowCharColumnSource.java index 5b5335faef5..ecf6e86c451 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowCharColumnSource.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowCharColumnSource.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSources and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSources or "./gradlew generateArrowColumnSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow.sources; import io.deephaven.chunk.WritableCharChunk; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowDoubleColumnSource.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowDoubleColumnSource.java index 5acad1a4cd2..17d01c841eb 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowDoubleColumnSource.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowDoubleColumnSource.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSources and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSources or "./gradlew generateArrowColumnSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow.sources; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowFloatColumnSource.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowFloatColumnSource.java index 0e1752bd8b3..f3b4e469a18 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowFloatColumnSource.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowFloatColumnSource.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSources and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSources or "./gradlew generateArrowColumnSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow.sources; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowInstantColumnSource.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowInstantColumnSource.java index aafb6a8713a..1fd67ad5a95 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowInstantColumnSource.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowInstantColumnSource.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSources and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSources or "./gradlew generateArrowColumnSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow.sources; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowIntColumnSource.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowIntColumnSource.java index 855cc1238f0..b2010465277 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowIntColumnSource.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowIntColumnSource.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSources and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSources or "./gradlew generateArrowColumnSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow.sources; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowLocalTimeColumnSource.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowLocalTimeColumnSource.java index 0d0d558d3bc..bc583b290e2 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowLocalTimeColumnSource.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowLocalTimeColumnSource.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSources and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSources or "./gradlew generateArrowColumnSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow.sources; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowLongColumnSource.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowLongColumnSource.java index caa2e046f2a..48c4049debe 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowLongColumnSource.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowLongColumnSource.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSources and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSources or "./gradlew generateArrowColumnSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow.sources; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowObjectColumnSource.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowObjectColumnSource.java index 62d63d805f1..bb383415d61 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowObjectColumnSource.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowObjectColumnSource.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSources and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSources or "./gradlew generateArrowColumnSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow.sources; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowShortColumnSource.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowShortColumnSource.java index 77781f2f258..89a04fb969b 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowShortColumnSource.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowShortColumnSource.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSources and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSources or "./gradlew generateArrowColumnSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow.sources; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowStringColumnSource.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowStringColumnSource.java index 4f6d6776cc6..c332bebd269 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowStringColumnSource.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowStringColumnSource.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSources and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSources or "./gradlew generateArrowColumnSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow.sources; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowUInt1ColumnSource.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowUInt1ColumnSource.java index 0c5f1d565e5..cb0e25c600d 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowUInt1ColumnSource.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowUInt1ColumnSource.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSources and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSources or "./gradlew generateArrowColumnSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow.sources; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowUInt4ColumnSource.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowUInt4ColumnSource.java index 3d67aed5340..315a6e4c223 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowUInt4ColumnSource.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowUInt4ColumnSource.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSources and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSources or "./gradlew generateArrowColumnSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow.sources; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowUInt8ColumnSource.java b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowUInt8ColumnSource.java index 48308e4f10d..6874aa2bc44 100644 --- a/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowUInt8ColumnSource.java +++ b/extensions/arrow/src/main/java/io/deephaven/extensions/arrow/sources/ArrowUInt8ColumnSource.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSources and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSources or "./gradlew generateArrowColumnSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow.sources; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowBigIntVectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowBigIntVectorTest.java index 37b85ecad56..5369a29f1f8 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowBigIntVectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowBigIntVectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableLongChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowBitVectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowBitVectorTest.java index a7e0d003df5..3e669d1ffa4 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowBitVectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowBitVectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableObjectChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowDateMilliVectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowDateMilliVectorTest.java index e2156e1f3cd..984adfe4ace 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowDateMilliVectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowDateMilliVectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableObjectChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowDecimal256VectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowDecimal256VectorTest.java index 7d788c2e0aa..e5ad9f0d80e 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowDecimal256VectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowDecimal256VectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableObjectChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowDecimalVectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowDecimalVectorTest.java index b91a94367ad..ab3d777bd8d 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowDecimalVectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowDecimalVectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableObjectChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowFixedSizeBinaryVectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowFixedSizeBinaryVectorTest.java index 4d9cf80ee44..69fcfa65e3b 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowFixedSizeBinaryVectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowFixedSizeBinaryVectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableObjectChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowFloat4VectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowFloat4VectorTest.java index 355b0d04896..6ca2706d2fc 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowFloat4VectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowFloat4VectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableFloatChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowFloat8VectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowFloat8VectorTest.java index 27cb21a0d70..c99af51f2c5 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowFloat8VectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowFloat8VectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableDoubleChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowIntVectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowIntVectorTest.java index 368d0e32e59..f07a0d2a7c2 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowIntVectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowIntVectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableIntChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowSmallIntVectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowSmallIntVectorTest.java index 79d8260369c..bf04d600607 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowSmallIntVectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowSmallIntVectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableShortChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowTimeMilliVectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowTimeMilliVectorTest.java index e37170624d4..01041eb30c8 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowTimeMilliVectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowTimeMilliVectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableObjectChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowTimestampVectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowTimestampVectorTest.java index 454aecce280..660d70f01f1 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowTimestampVectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowTimestampVectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableObjectChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowTinyVectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowTinyVectorTest.java index 4466cadff43..de73dc89655 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowTinyVectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowTinyVectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableByteChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowUint1VectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowUint1VectorTest.java index e0b9b10969d..d93b9f0ea48 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowUint1VectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowUint1VectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableShortChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowUint2VectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowUint2VectorTest.java index 784c5db6972..cbd4f5b9a3b 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowUint2VectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowUint2VectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableCharChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowUint4VectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowUint4VectorTest.java index a6618dd25d2..9c346f6676e 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowUint4VectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowUint4VectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableLongChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowUint8VectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowUint8VectorTest.java index bf23d3cd9eb..ea10ff5b7fd 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowUint8VectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowUint8VectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableObjectChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowVarBinaryVectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowVarBinaryVectorTest.java index 71a5ddddf51..01a31c2c122 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowVarBinaryVectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowVarBinaryVectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableObjectChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowVarCharVectorTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowVarCharVectorTest.java index 95a51dae272..f1da91c8acf 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowVarCharVectorTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowVarCharVectorTest.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenerateArrowColumnSourceTests and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Run GenerateArrowColumnSourceTests or "./gradlew generateArrowColumnTestSources" to regenerate +// +// @formatter:off package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableObjectChunk; diff --git a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowWrapperToolsTest.java b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowWrapperToolsTest.java index f98dfb56b03..89329e44626 100644 --- a/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowWrapperToolsTest.java +++ b/extensions/arrow/src/test/java/io/deephaven/extensions/arrow/ArrowWrapperToolsTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.arrow; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarragePerformanceLog.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarragePerformanceLog.java index 388d63c321b..cebba5ff73c 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarragePerformanceLog.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarragePerformanceLog.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage; import io.deephaven.configuration.Configuration; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSnapshotOptions.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSnapshotOptions.java index 1184ae7aa74..7993a5f663c 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSnapshotOptions.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSnapshotOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage; import com.google.flatbuffers.FlatBufferBuilder; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSnapshotPerformanceLogger.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSnapshotPerformanceLogger.java index 9ff7223c246..754fd1aeae5 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSnapshotPerformanceLogger.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSnapshotPerformanceLogger.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage; import io.deephaven.extensions.barrage.BarragePerformanceLog.SnapshotMetricsHelper; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSnapshotPerformanceLoggerImpl.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSnapshotPerformanceLoggerImpl.java index a66032c68ee..ac26fe4f524 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSnapshotPerformanceLoggerImpl.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSnapshotPerformanceLoggerImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage; import io.deephaven.engine.context.ExecutionContext; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSnapshotPerformanceStreamPublisher.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSnapshotPerformanceStreamPublisher.java index 4f75d91fc0f..6c2298a13d9 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSnapshotPerformanceStreamPublisher.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSnapshotPerformanceStreamPublisher.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageStreamGenerator.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageStreamGenerator.java index 0d1ede551e8..08f91e3665d 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageStreamGenerator.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageStreamGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage; import com.google.flatbuffers.FlatBufferBuilder; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageStreamGeneratorImpl.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageStreamGeneratorImpl.java index bce8f0c49ee..975cbe8d3f4 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageStreamGeneratorImpl.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageStreamGeneratorImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage; import com.google.common.io.LittleEndianDataOutputStream; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSubscriptionOptions.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSubscriptionOptions.java index a11f4b58878..64e5d13219c 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSubscriptionOptions.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSubscriptionOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage; import com.google.flatbuffers.FlatBufferBuilder; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSubscriptionPerformanceLogger.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSubscriptionPerformanceLogger.java index de8540d0fec..583c7dd50a8 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSubscriptionPerformanceLogger.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSubscriptionPerformanceLogger.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage; import org.HdrHistogram.Histogram; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSubscriptionPerformanceLoggerImpl.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSubscriptionPerformanceLoggerImpl.java index 2369f88a10c..024e7a6f141 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSubscriptionPerformanceLoggerImpl.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSubscriptionPerformanceLoggerImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage; import io.deephaven.engine.context.ExecutionContext; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSubscriptionPerformanceStreamPublisher.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSubscriptionPerformanceStreamPublisher.java index 5e24f4cd425..8a8fb2427db 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSubscriptionPerformanceStreamPublisher.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/BarrageSubscriptionPerformanceStreamPublisher.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/ColumnConversionMode.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/ColumnConversionMode.java index abe8a2f945c..fc8e03cd4b2 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/ColumnConversionMode.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/ColumnConversionMode.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage; public enum ColumnConversionMode { diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/BaseChunkInputStreamGenerator.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/BaseChunkInputStreamGenerator.java index e7882c06846..ab4c5bd20b8 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/BaseChunkInputStreamGenerator.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/BaseChunkInputStreamGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk; import io.deephaven.chunk.attributes.Values; @@ -22,10 +22,11 @@ public abstract class BaseChunkInputStreamGenerator> imp // Ensure that we clean up chunk only after all copies of the update are released. private volatile int refCount = 1; - // Field updater for refCount, so we can avoid creating an {@link java.util.concurrent.atomic.AtomicInteger} for each instance. + // Field updater for refCount, so we can avoid creating an {@link java.util.concurrent.atomic.AtomicInteger} for + // each instance. @SuppressWarnings("rawtypes") - protected static final AtomicIntegerFieldUpdater REFERENCE_COUNT_UPDATER - = AtomicIntegerFieldUpdater.newUpdater(BaseChunkInputStreamGenerator.class, "refCount"); + protected static final AtomicIntegerFieldUpdater REFERENCE_COUNT_UPDATER = + AtomicIntegerFieldUpdater.newUpdater(BaseChunkInputStreamGenerator.class, "refCount"); protected final T chunk; protected final int elementSize; @@ -84,7 +85,8 @@ abstract class BaseChunkInputStream extends DrainableColumn { BaseChunkInputStream(final T chunk, final StreamReaderOptions options, final RowSet subset) { this.options = options; - this.subset = chunk.size() == 0 ? RowSequenceFactory.EMPTY : subset != null ? subset.copy() : RowSequenceFactory.forRange(0, chunk.size() - 1); + this.subset = chunk.size() == 0 ? RowSequenceFactory.EMPTY + : subset != null ? subset.copy() : RowSequenceFactory.forRange(0, chunk.size() - 1); REFERENCE_COUNT_UPDATER.incrementAndGet(BaseChunkInputStreamGenerator.this); // ignore the empty chunk as these are intentionally empty generators that should work for any subset if (chunk.size() > 0 && this.subset.lastRowKey() >= chunk.size()) { @@ -116,12 +118,11 @@ public int available() throws IOException { } /** - * There are two cases we don't send a validity buffer: - * - the simplest case is following the arrow flight spec, which says that if there are no nulls present, - * the buffer is optional. - * - Our implementation of nullCount() for primitive types will return zero if the useDeephavenNulls flag is - * set, so the buffer will also be omitted in that case. The client's marshaller does not need to be aware of - * deephaven nulls but in this mode we assume the consumer understands which value is the assigned NULL. + * There are two cases we don't send a validity buffer: - the simplest case is following the arrow flight spec, + * which says that if there are no nulls present, the buffer is optional. - Our implementation of nullCount() + * for primitive types will return zero if the useDeephavenNulls flag is set, so the buffer will also be omitted + * in that case. The client's marshaller does not need to be aware of deephaven nulls but in this mode we assume + * the consumer understands which value is the assigned NULL. */ protected boolean sendValidityBuffer() { return nullCount() != 0; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/BooleanChunkInputStreamGenerator.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/BooleanChunkInputStreamGenerator.java index b0d5bc4c49a..8c1503b67f8 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/BooleanChunkInputStreamGenerator.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/BooleanChunkInputStreamGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk; import io.deephaven.chunk.ObjectChunk; @@ -58,7 +58,7 @@ private BooleanChunkInputStream(final StreamReaderOptions options, final RowSet super(chunk, options, subset); } - private int cachedNullCount = - 1; + private int cachedNullCount = -1; @Override public int nullCount() { @@ -113,7 +113,8 @@ public int drainTo(final OutputStream outputStream) throws IOException { try { dos.writeLong(context.accumulator); } catch (final IOException e) { - throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", e); + throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", + e); } context.accumulator = 0; context.count = 0; @@ -156,6 +157,7 @@ public int drainTo(final OutputStream outputStream) throws IOException { @FunctionalInterface public interface ByteConversion { byte apply(byte in); + ByteConversion IDENTITY = (byte a) -> a; } @@ -214,7 +216,7 @@ static WritableChunk extractChunkFromInputStreamWithConversion( } // consumed entire validity buffer by here - final int numPayloadBytesNeeded = (int)((nodeInfo.numElements + 7L) / 8L); + final int numPayloadBytesNeeded = (int) ((nodeInfo.numElements + 7L) / 8L); if (payloadBuffer < numPayloadBytesNeeded) { throw new IllegalStateException("payload buffer is too short for expected number of elements"); } diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/ByteChunkInputStreamGenerator.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/ByteChunkInputStreamGenerator.java index 322d32fc468..66f6e1550e5 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/ByteChunkInputStreamGenerator.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/ByteChunkInputStreamGenerator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkInputStreamGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkInputStreamGenerator and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk; import io.deephaven.chunk.ObjectChunk; @@ -62,7 +61,7 @@ private ByteChunkInputStream(final StreamReaderOptions options, final RowSet sub super(chunk, options, subset); } - private int cachedNullCount = - 1; + private int cachedNullCount = -1; @Override public int nullCount() { @@ -114,7 +113,8 @@ public int drainTo(final OutputStream outputStream) throws IOException { try { dos.writeLong(context.accumulator); } catch (final IOException e) { - throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", e); + throw new UncheckedDeephavenException( + "Unexpected exception while draining data to OutputStream: ", e); } context.accumulator = 0; context.count = 0; @@ -140,7 +140,8 @@ public int drainTo(final OutputStream outputStream) throws IOException { final byte val = chunk.get((int) row); dos.writeByte(val); } catch (final IOException e) { - throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", e); + throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", + e); } }); @@ -158,6 +159,7 @@ public int drainTo(final OutputStream outputStream) throws IOException { @FunctionalInterface public interface ByteConversion { byte apply(byte in); + ByteConversion IDENTITY = (byte a) -> a; } @@ -171,7 +173,8 @@ static WritableChunk extractChunkFromInputStream( final int outOffset, final int totalRows) throws IOException { return extractChunkFromInputStreamWithConversion( - elementSize, options, ByteConversion.IDENTITY, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); + elementSize, options, ByteConversion.IDENTITY, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, + totalRows); } static WritableChunk extractChunkFromInputStreamWithConversion( diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/CharChunkInputStreamGenerator.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/CharChunkInputStreamGenerator.java index fcc631e674b..75a3c81d2fe 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/CharChunkInputStreamGenerator.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/CharChunkInputStreamGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk; import io.deephaven.chunk.ObjectChunk; @@ -57,7 +57,7 @@ private CharChunkInputStream(final StreamReaderOptions options, final RowSet sub super(chunk, options, subset); } - private int cachedNullCount = - 1; + private int cachedNullCount = -1; @Override public int nullCount() { @@ -109,7 +109,8 @@ public int drainTo(final OutputStream outputStream) throws IOException { try { dos.writeLong(context.accumulator); } catch (final IOException e) { - throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", e); + throw new UncheckedDeephavenException( + "Unexpected exception while draining data to OutputStream: ", e); } context.accumulator = 0; context.count = 0; @@ -135,7 +136,8 @@ public int drainTo(final OutputStream outputStream) throws IOException { final char val = chunk.get((int) row); dos.writeChar(val); } catch (final IOException e) { - throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", e); + throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", + e); } }); @@ -153,6 +155,7 @@ public int drainTo(final OutputStream outputStream) throws IOException { @FunctionalInterface public interface CharConversion { char apply(char in); + CharConversion IDENTITY = (char a) -> a; } @@ -166,7 +169,8 @@ static WritableChunk extractChunkFromInputStream( final int outOffset, final int totalRows) throws IOException { return extractChunkFromInputStreamWithConversion( - elementSize, options, CharConversion.IDENTITY, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); + elementSize, options, CharConversion.IDENTITY, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, + totalRows); } static WritableChunk extractChunkFromInputStreamWithConversion( diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/ChunkInputStreamGenerator.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/ChunkInputStreamGenerator.java index 9674f4f4c54..2eed122689a 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/ChunkInputStreamGenerator.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/ChunkInputStreamGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk; import com.google.common.base.Charsets; @@ -71,7 +71,7 @@ static ChunkInputStreamGenerator makeInputStreamGenerator( } } if (Vector.class.isAssignableFrom(type)) { - //noinspection unchecked + // noinspection unchecked return new VectorChunkInputStreamGenerator( (Class>) type, componentType, chunk.asObjectChunk(), rowOffset); } @@ -160,7 +160,8 @@ static WritableChunk extractChunkFromInputStream( final PrimitiveIterator.OfLong bufferInfoIter, final DataInput is, final WritableChunk outChunk, final int offset, final int totalRows) throws IOException { - return extractChunkFromInputStream(options, 1, chunkType, type, componentType, fieldNodeIter, bufferInfoIter, is, + return extractChunkFromInputStream(options, 1, chunkType, type, componentType, fieldNodeIter, bufferInfoIter, + is, outChunk, offset, totalRows); } @@ -199,33 +200,32 @@ static WritableChunk extractChunkFromInputStream( } return LongChunkInputStreamGenerator.extractChunkFromInputStreamWithConversion( Long.BYTES, options, - (long v) -> (v*factor), + (long v) -> (v * factor), fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); case Float: return FloatChunkInputStreamGenerator.extractChunkFromInputStream( Float.BYTES, options, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); case Double: return DoubleChunkInputStreamGenerator.extractChunkFromInputStream( - Double.BYTES, options,fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); + Double.BYTES, options, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); case Object: if (type.isArray()) { if (componentType == byte.class) { return VarBinaryChunkInputStreamGenerator.extractChunkFromInputStream( - is, - fieldNodeIter, - bufferInfoIter, - (buf, off, len) -> Arrays.copyOfRange(buf, off, off + len), - outChunk, outOffset, totalRows - ); + is, + fieldNodeIter, + bufferInfoIter, + (buf, off, len) -> Arrays.copyOfRange(buf, off, off + len), + outChunk, outOffset, totalRows); } else { return VarListChunkInputStreamGenerator.extractChunkFromInputStream( - options, type, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); + options, type, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); } } if (Vector.class.isAssignableFrom(type)) { - //noinspection unchecked + // noinspection unchecked return VectorChunkInputStreamGenerator.extractChunkFromInputStream( - options, (Class>)type, componentType, fieldNodeIter, bufferInfoIter, is, + options, (Class>) type, componentType, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); } if (type == BigInteger.class) { @@ -234,8 +234,7 @@ static WritableChunk extractChunkFromInputStream( fieldNodeIter, bufferInfoIter, BigInteger::new, - outChunk, outOffset, totalRows - ); + outChunk, outOffset, totalRows); } if (type == BigDecimal.class) { return VarBinaryChunkInputStreamGenerator.extractChunkFromInputStream( @@ -251,69 +250,63 @@ static WritableChunk extractChunkFromInputStream( final int scale = b4 << 24 | (b3 & 0xFF) << 16 | (b2 & 0xFF) << 8 | (b1 & 0xFF); return new BigDecimal(new BigInteger(buf, offset + 4, length - 4), scale); }, - outChunk, outOffset, totalRows - ); + outChunk, outOffset, totalRows); } if (type == Instant.class) { return FixedWidthChunkInputStreamGenerator.extractChunkFromInputStreamWithTypeConversion( Long.BYTES, options, io -> DateTimeUtils.epochNanosToInstant(io.readLong()), - fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows - ); + fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); } if (type == ZonedDateTime.class) { return FixedWidthChunkInputStreamGenerator.extractChunkFromInputStreamWithTypeConversion( - Long.BYTES, options, io -> DateTimeUtils.epochNanosToZonedDateTime(io.readLong(), DateTimeUtils.timeZone()), - fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows - ); + Long.BYTES, options, + io -> DateTimeUtils.epochNanosToZonedDateTime(io.readLong(), DateTimeUtils.timeZone()), + fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); } if (type == Byte.class) { return FixedWidthChunkInputStreamGenerator.extractChunkFromInputStreamWithTypeConversion( Byte.BYTES, options, io -> TypeUtils.box(io.readByte()), - fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows - ); + fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); } if (type == Character.class) { return FixedWidthChunkInputStreamGenerator.extractChunkFromInputStreamWithTypeConversion( Character.BYTES, options, io -> TypeUtils.box(io.readChar()), - fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows - ); + fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); } if (type == Double.class) { return FixedWidthChunkInputStreamGenerator.extractChunkFromInputStreamWithTypeConversion( Double.BYTES, options, io -> TypeUtils.box(io.readDouble()), - fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows - ); + fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); } if (type == Float.class) { return FixedWidthChunkInputStreamGenerator.extractChunkFromInputStreamWithTypeConversion( Float.BYTES, options, io -> TypeUtils.box(io.readFloat()), - fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows - ); + fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); } if (type == Integer.class) { return FixedWidthChunkInputStreamGenerator.extractChunkFromInputStreamWithTypeConversion( Integer.BYTES, options, io -> TypeUtils.box(io.readInt()), - fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows - ); + fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); } if (type == Long.class) { return FixedWidthChunkInputStreamGenerator.extractChunkFromInputStreamWithTypeConversion( Long.BYTES, options, io -> TypeUtils.box(io.readLong()), - fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows - ); + fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); } if (type == Short.class) { return FixedWidthChunkInputStreamGenerator.extractChunkFromInputStreamWithTypeConversion( Short.BYTES, options, io -> TypeUtils.box(io.readShort()), - fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows - ); + fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); } if (type == String.class || options.columnConversionMode().equals(ColumnConversionMode.Stringify)) { - return VarBinaryChunkInputStreamGenerator.extractChunkFromInputStream(is, fieldNodeIter, bufferInfoIter, - (buf, off, len) -> new String(buf, off, len, Charsets.UTF_8), outChunk, outOffset, totalRows); + return VarBinaryChunkInputStreamGenerator.extractChunkFromInputStream(is, fieldNodeIter, + bufferInfoIter, + (buf, off, len) -> new String(buf, off, len, Charsets.UTF_8), outChunk, outOffset, + totalRows); } - throw new UnsupportedOperationException("Do not yet support column conversion mode: " + options.columnConversionMode()); + throw new UnsupportedOperationException( + "Do not yet support column conversion mode: " + options.columnConversionMode()); default: throw new UnsupportedOperationException(); } @@ -374,19 +367,24 @@ interface BufferListener { abstract class DrainableColumn extends DefensiveDrainable { /** * Append the field nde to the flatbuffer payload via the supplied listener. + * * @param listener the listener to notify for each logical field node in this payload */ public abstract void visitFieldNodes(final FieldNodeListener listener); /** * Append the buffer boundaries to the flatbuffer payload via the supplied listener. + * * @param listener the listener to notify for each sub-buffer in this payload */ public abstract void visitBuffers(final BufferListener listener); /** - * Count the number of null elements in the outer-most layer of this column (i.e. does not count nested nulls inside of arrays) - * @return the number of null elements -- 'useDeephavenNulls' counts are always 0 so that we may omit the validity buffer + * Count the number of null elements in the outer-most layer of this column (i.e. does not count nested nulls + * inside of arrays) + * + * @return the number of null elements -- 'useDeephavenNulls' counts are always 0 so that we may omit the + * validity buffer */ public abstract int nullCount(); } diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/DoubleChunkInputStreamGenerator.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/DoubleChunkInputStreamGenerator.java index 8aea823b31f..edd1a886374 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/DoubleChunkInputStreamGenerator.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/DoubleChunkInputStreamGenerator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkInputStreamGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkInputStreamGenerator and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk; import io.deephaven.chunk.ObjectChunk; @@ -62,7 +61,7 @@ private DoubleChunkInputStream(final StreamReaderOptions options, final RowSet s super(chunk, options, subset); } - private int cachedNullCount = - 1; + private int cachedNullCount = -1; @Override public int nullCount() { @@ -114,7 +113,8 @@ public int drainTo(final OutputStream outputStream) throws IOException { try { dos.writeLong(context.accumulator); } catch (final IOException e) { - throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", e); + throw new UncheckedDeephavenException( + "Unexpected exception while draining data to OutputStream: ", e); } context.accumulator = 0; context.count = 0; @@ -140,7 +140,8 @@ public int drainTo(final OutputStream outputStream) throws IOException { final double val = chunk.get((int) row); dos.writeDouble(val); } catch (final IOException e) { - throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", e); + throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", + e); } }); @@ -158,6 +159,7 @@ public int drainTo(final OutputStream outputStream) throws IOException { @FunctionalInterface public interface DoubleConversion { double apply(double in); + DoubleConversion IDENTITY = (double a) -> a; } @@ -171,7 +173,8 @@ static WritableChunk extractChunkFromInputStream( final int outOffset, final int totalRows) throws IOException { return extractChunkFromInputStreamWithConversion( - elementSize, options, DoubleConversion.IDENTITY, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); + elementSize, options, DoubleConversion.IDENTITY, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, + totalRows); } static WritableChunk extractChunkFromInputStreamWithConversion( diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/FixedWidthChunkInputStreamGenerator.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/FixedWidthChunkInputStreamGenerator.java index 3cbbaef01ac..46541c8ec1d 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/FixedWidthChunkInputStreamGenerator.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/FixedWidthChunkInputStreamGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk; import io.deephaven.chunk.WritableChunk; @@ -28,17 +28,17 @@ public interface TypeConversion { * * If useDeephavenNulls is enabled, then the conversion method must properly return a null value. * - * @param elementSize the number of bytes per element (element size is fixed) - * @param options the stream reader options - * @param conversion the conversion method from input stream to the result type - * @param fieldNodeIter arrow field node iterator + * @param elementSize the number of bytes per element (element size is fixed) + * @param options the stream reader options + * @param conversion the conversion method from input stream to the result type + * @param fieldNodeIter arrow field node iterator * @param bufferInfoIter arrow buffer info iterator - * @param outChunk the returned chunk from an earlier record batch - * @param outOffset the offset to start writing into {@code outChunk} - * @param totalRows the total known rows for this column; if known (else 0) - * @param is data input stream - * @param the result type - * @return the resulting chunk of the buffer that is read + * @param outChunk the returned chunk from an earlier record batch + * @param outOffset the offset to start writing into {@code outChunk} + * @param totalRows the total known rows for this column; if known (else 0) + * @param is data input stream + * @param the result type + * @return the resulting chunk of the buffer that is read */ static WritableObjectChunk extractChunkFromInputStreamWithTypeConversion( final int elementSize, diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/FloatChunkInputStreamGenerator.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/FloatChunkInputStreamGenerator.java index 2b8b99d24d8..c5fe9d4567c 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/FloatChunkInputStreamGenerator.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/FloatChunkInputStreamGenerator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkInputStreamGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkInputStreamGenerator and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk; import io.deephaven.chunk.ObjectChunk; @@ -62,7 +61,7 @@ private FloatChunkInputStream(final StreamReaderOptions options, final RowSet su super(chunk, options, subset); } - private int cachedNullCount = - 1; + private int cachedNullCount = -1; @Override public int nullCount() { @@ -114,7 +113,8 @@ public int drainTo(final OutputStream outputStream) throws IOException { try { dos.writeLong(context.accumulator); } catch (final IOException e) { - throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", e); + throw new UncheckedDeephavenException( + "Unexpected exception while draining data to OutputStream: ", e); } context.accumulator = 0; context.count = 0; @@ -140,7 +140,8 @@ public int drainTo(final OutputStream outputStream) throws IOException { final float val = chunk.get((int) row); dos.writeFloat(val); } catch (final IOException e) { - throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", e); + throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", + e); } }); @@ -158,6 +159,7 @@ public int drainTo(final OutputStream outputStream) throws IOException { @FunctionalInterface public interface FloatConversion { float apply(float in); + FloatConversion IDENTITY = (float a) -> a; } @@ -171,7 +173,8 @@ static WritableChunk extractChunkFromInputStream( final int outOffset, final int totalRows) throws IOException { return extractChunkFromInputStreamWithConversion( - elementSize, options, FloatConversion.IDENTITY, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); + elementSize, options, FloatConversion.IDENTITY, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, + totalRows); } static WritableChunk extractChunkFromInputStreamWithConversion( diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/IntChunkInputStreamGenerator.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/IntChunkInputStreamGenerator.java index 31ef529f840..76b885df4a0 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/IntChunkInputStreamGenerator.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/IntChunkInputStreamGenerator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkInputStreamGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkInputStreamGenerator and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk; import io.deephaven.chunk.ObjectChunk; @@ -62,7 +61,7 @@ private IntChunkInputStream(final StreamReaderOptions options, final RowSet subs super(chunk, options, subset); } - private int cachedNullCount = - 1; + private int cachedNullCount = -1; @Override public int nullCount() { @@ -114,7 +113,8 @@ public int drainTo(final OutputStream outputStream) throws IOException { try { dos.writeLong(context.accumulator); } catch (final IOException e) { - throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", e); + throw new UncheckedDeephavenException( + "Unexpected exception while draining data to OutputStream: ", e); } context.accumulator = 0; context.count = 0; @@ -140,7 +140,8 @@ public int drainTo(final OutputStream outputStream) throws IOException { final int val = chunk.get((int) row); dos.writeInt(val); } catch (final IOException e) { - throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", e); + throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", + e); } }); @@ -158,6 +159,7 @@ public int drainTo(final OutputStream outputStream) throws IOException { @FunctionalInterface public interface IntConversion { int apply(int in); + IntConversion IDENTITY = (int a) -> a; } @@ -171,7 +173,8 @@ static WritableChunk extractChunkFromInputStream( final int outOffset, final int totalRows) throws IOException { return extractChunkFromInputStreamWithConversion( - elementSize, options, IntConversion.IDENTITY, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); + elementSize, options, IntConversion.IDENTITY, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, + totalRows); } static WritableChunk extractChunkFromInputStreamWithConversion( diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/LongChunkInputStreamGenerator.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/LongChunkInputStreamGenerator.java index 244c606c38e..45a0a2612c2 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/LongChunkInputStreamGenerator.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/LongChunkInputStreamGenerator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkInputStreamGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkInputStreamGenerator and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk; import io.deephaven.chunk.ObjectChunk; @@ -62,7 +61,7 @@ private LongChunkInputStream(final StreamReaderOptions options, final RowSet sub super(chunk, options, subset); } - private int cachedNullCount = - 1; + private int cachedNullCount = -1; @Override public int nullCount() { @@ -114,7 +113,8 @@ public int drainTo(final OutputStream outputStream) throws IOException { try { dos.writeLong(context.accumulator); } catch (final IOException e) { - throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", e); + throw new UncheckedDeephavenException( + "Unexpected exception while draining data to OutputStream: ", e); } context.accumulator = 0; context.count = 0; @@ -140,7 +140,8 @@ public int drainTo(final OutputStream outputStream) throws IOException { final long val = chunk.get((int) row); dos.writeLong(val); } catch (final IOException e) { - throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", e); + throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", + e); } }); @@ -158,6 +159,7 @@ public int drainTo(final OutputStream outputStream) throws IOException { @FunctionalInterface public interface LongConversion { long apply(long in); + LongConversion IDENTITY = (long a) -> a; } @@ -171,7 +173,8 @@ static WritableChunk extractChunkFromInputStream( final int outOffset, final int totalRows) throws IOException { return extractChunkFromInputStreamWithConversion( - elementSize, options, LongConversion.IDENTITY, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); + elementSize, options, LongConversion.IDENTITY, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, + totalRows); } static WritableChunk extractChunkFromInputStreamWithConversion( diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/ShortChunkInputStreamGenerator.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/ShortChunkInputStreamGenerator.java index 5da4e1ecea8..21caf700c41 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/ShortChunkInputStreamGenerator.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/ShortChunkInputStreamGenerator.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkInputStreamGenerator and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharChunkInputStreamGenerator and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk; import io.deephaven.chunk.ObjectChunk; @@ -62,7 +61,7 @@ private ShortChunkInputStream(final StreamReaderOptions options, final RowSet su super(chunk, options, subset); } - private int cachedNullCount = - 1; + private int cachedNullCount = -1; @Override public int nullCount() { @@ -114,7 +113,8 @@ public int drainTo(final OutputStream outputStream) throws IOException { try { dos.writeLong(context.accumulator); } catch (final IOException e) { - throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", e); + throw new UncheckedDeephavenException( + "Unexpected exception while draining data to OutputStream: ", e); } context.accumulator = 0; context.count = 0; @@ -140,7 +140,8 @@ public int drainTo(final OutputStream outputStream) throws IOException { final short val = chunk.get((int) row); dos.writeShort(val); } catch (final IOException e) { - throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", e); + throw new UncheckedDeephavenException("Unexpected exception while draining data to OutputStream: ", + e); } }); @@ -158,6 +159,7 @@ public int drainTo(final OutputStream outputStream) throws IOException { @FunctionalInterface public interface ShortConversion { short apply(short in); + ShortConversion IDENTITY = (short a) -> a; } @@ -171,7 +173,8 @@ static WritableChunk extractChunkFromInputStream( final int outOffset, final int totalRows) throws IOException { return extractChunkFromInputStreamWithConversion( - elementSize, options, ShortConversion.IDENTITY, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, totalRows); + elementSize, options, ShortConversion.IDENTITY, fieldNodeIter, bufferInfoIter, is, outChunk, outOffset, + totalRows); } static WritableChunk extractChunkFromInputStreamWithConversion( diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/SingleElementListHeaderInputStreamGenerator.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/SingleElementListHeaderInputStreamGenerator.java index 234274643b5..f2a5cdc552d 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/SingleElementListHeaderInputStreamGenerator.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/SingleElementListHeaderInputStreamGenerator.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk; import com.google.common.io.LittleEndianDataOutputStream; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/VarBinaryChunkInputStreamGenerator.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/VarBinaryChunkInputStreamGenerator.java index 3b5fb96ab35..aab6fb81905 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/VarBinaryChunkInputStreamGenerator.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/VarBinaryChunkInputStreamGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk; import com.google.common.io.LittleEndianDataOutputStream; @@ -55,7 +55,7 @@ public ByteStorage(int size) { offsets = WritableLongChunk.makeWritableChunk(size); byteChunks = new ArrayList<>(); - // create an initial chunk for data storage. it might not be needed, but eliminates testing on every + // create an initial chunk for data storage. it might not be needed, but eliminates testing on every // write operation and the costs for creating and disposing from the pool are minimal byteChunks.add(activeChunk = WritableByteChunk.makeWritableChunk(BYTE_CHUNK_SIZE)); } @@ -67,11 +67,11 @@ public boolean isEmpty() { /** * Writes the specified byte to the underlying {@code ByteChunk}. * - * @param b the byte to be written. + * @param b the byte to be written. */ public synchronized void write(int b) throws IOException { // do the write - activeChunk.set(activeChunkByteCount++, (byte)b); + activeChunk.set(activeChunkByteCount++, (byte) b); // increment the offset writtenTotalByteCount += 1; @@ -84,15 +84,14 @@ public synchronized void write(int b) throws IOException { } /** - * Writes {@code len} bytes from the specified byte array - * starting at offset {@code off} to the underlying {@code ByteChunk}. + * Writes {@code len} bytes from the specified byte array starting at offset {@code off} to the underlying + * {@code ByteChunk}. * - * @param b the data. - * @param off the start offset in the data. - * @param len the number of bytes to write. - * @throws IndexOutOfBoundsException if {@code off} is negative, - * {@code len} is negative, or {@code len} is greater than - * {@code b.length - off} + * @param b the data. + * @param off the start offset in the data. + * @param len the number of bytes to write. + * @throws IndexOutOfBoundsException if {@code off} is negative, {@code len} is negative, or {@code len} is + * greater than {@code b.length - off} */ public synchronized void write(@NotNull byte[] b, int off, int len) throws IOException { int remaining = len; @@ -147,8 +146,8 @@ public long writePayload(LittleEndianDataOutputStream dos, int sPos, int ePos) t long startBytePos = offsets.get(sPos); while (remainingBytes > 0) { - final int chunkIdx = (int)(startBytePos / BYTE_CHUNK_SIZE); - final int byteIdx = (int)(startBytePos % BYTE_CHUNK_SIZE); + final int chunkIdx = (int) (startBytePos / BYTE_CHUNK_SIZE); + final int byteIdx = (int) (startBytePos % BYTE_CHUNK_SIZE); final ByteChunk chunk = byteChunks.get(chunkIdx); @@ -191,8 +190,8 @@ public interface Mapper { } VarBinaryChunkInputStreamGenerator(final ObjectChunk chunk, - final long rowOffset, - final Appender appendItem) { + final long rowOffset, + final Appender appendItem) { super(chunk, 0, rowOffset); this.appendItem = appendItem; } @@ -228,7 +227,7 @@ public void close() { @Override public DrainableColumn getInputStream(final StreamReaderOptions options, @Nullable final RowSet subset) - throws IOException { + throws IOException { computePayload(); return new ObjectChunkInputStream(options, subset); } @@ -307,7 +306,7 @@ protected int getRawSize() { totalCachedSize.add((e - s + 1) * Integer.BYTES); // account for payload - totalCachedSize.add(byteStorage.getPayloadSize((int)s, (int)e)); + totalCachedSize.add(byteStorage.getPayloadSize((int) s, (int) e)); }); } @@ -425,7 +424,7 @@ static WritableObjectChunk extractChunkFromInputStream( final int numValidityWords = (numElements + 63) / 64; try (final WritableLongChunk isValid = WritableLongChunk.makeWritableChunk(numValidityWords); - final WritableIntChunk offsets = WritableIntChunk.makeWritableChunk(numElements + 1)) { + final WritableIntChunk offsets = WritableIntChunk.makeWritableChunk(numElements + 1)) { // Read validity buffer: int jj = 0; for (; jj < Math.min(numValidityWords, validityBuffer / 8); ++jj) { diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/VarListChunkInputStreamGenerator.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/VarListChunkInputStreamGenerator.java index f9f16d2974b..a6a0c872f7f 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/VarListChunkInputStreamGenerator.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/VarListChunkInputStreamGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk; import com.google.common.io.LittleEndianDataOutputStream; @@ -79,7 +79,7 @@ public void close() { @Override public DrainableColumn getInputStream(final StreamReaderOptions options, - @Nullable final RowSet subset) throws IOException { + @Nullable final RowSet subset) throws IOException { computePayload(); return new VarListInputStream(options, subset); } @@ -99,7 +99,7 @@ private VarListInputStream( final MutableInt off = new MutableInt(); subset.forAllRowKeys(key -> { final int startOffset = offsets.get(LongSizedDataStructure.intSize(DEBUG_NAME, key)); - final int endOffset = offsets.get(LongSizedDataStructure.intSize(DEBUG_NAME, key + 1)); + final int endOffset = offsets.get(LongSizedDataStructure.intSize(DEBUG_NAME, key + 1)); final int idx = off.incrementAndGet(); myOffsets.set(idx, endOffset - startOffset + myOffsets.get(idx - 1)); if (endOffset > startOffset) { @@ -122,7 +122,7 @@ public int nullCount() { if (cachedNullCount == -1) { cachedNullCount = 0; subset.forAllRowKeys(i -> { - if (chunk.get((int)i) == null) { + if (chunk.get((int) i) == null) { ++cachedNullCount; } }); @@ -143,7 +143,7 @@ public void visitBuffers(final BufferListener listener) { listener.noteLogicalBuffer(sendValidityBuffer() ? getValidityMapSerializationSizeFor(numElements) : 0); // offsets - long numOffsetBytes = Integer.BYTES * (((long)numElements) + (numElements > 0 ? 1 : 0)); + long numOffsetBytes = Integer.BYTES * (((long) numElements) + (numElements > 0 ? 1 : 0)); final long bytesExtended = numOffsetBytes & REMAINDER_MOD_8_MASK; if (bytesExtended > 0) { numOffsetBytes += 8 - bytesExtended; @@ -269,7 +269,8 @@ static WritableObjectChunk extractChunkFromInputStream( final WritableObjectChunk chunk; final int numValidityLongs = (nodeInfo.numElements + 63) / 64; try (final WritableLongChunk isValid = WritableLongChunk.makeWritableChunk(numValidityLongs); - final WritableIntChunk offsets = WritableIntChunk.makeWritableChunk(nodeInfo.numElements + 1)) { + final WritableIntChunk offsets = + WritableIntChunk.makeWritableChunk(nodeInfo.numElements + 1)) { // Read validity buffer: int jj = 0; for (; jj < Math.min(numValidityLongs, validityBuffer / 8); ++jj) { diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/VectorChunkInputStreamGenerator.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/VectorChunkInputStreamGenerator.java index d5b6cbea7da..5fbaf07448d 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/VectorChunkInputStreamGenerator.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/VectorChunkInputStreamGenerator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk; import com.google.common.io.LittleEndianDataOutputStream; @@ -79,7 +79,7 @@ public void close() { @Override public DrainableColumn getInputStream(final StreamReaderOptions options, - @Nullable final RowSet subset) throws IOException { + @Nullable final RowSet subset) throws IOException { computePayload(); return new VarListInputStream(options, subset); } @@ -99,7 +99,7 @@ private VarListInputStream( final MutableInt off = new MutableInt(); subset.forAllRowKeys(key -> { final int startOffset = offsets.get(LongSizedDataStructure.intSize(DEBUG_NAME, key)); - final int endOffset = offsets.get(LongSizedDataStructure.intSize(DEBUG_NAME, key + 1)); + final int endOffset = offsets.get(LongSizedDataStructure.intSize(DEBUG_NAME, key + 1)); final int idx = off.incrementAndGet(); myOffsets.set(idx, endOffset - startOffset + myOffsets.get(idx - 1)); if (endOffset > startOffset) { @@ -122,7 +122,7 @@ public int nullCount() { if (cachedNullCount == -1) { cachedNullCount = 0; subset.forAllRowKeys(i -> { - if (chunk.get((int)i) == null) { + if (chunk.get((int) i) == null) { ++cachedNullCount; } }); @@ -143,7 +143,7 @@ public void visitBuffers(final BufferListener listener) { listener.noteLogicalBuffer(sendValidityBuffer() ? getValidityMapSerializationSizeFor(numElements) : 0); // offsets - long numOffsetBytes = Integer.BYTES * (((long)numElements) + (numElements > 0 ? 1 : 0)); + long numOffsetBytes = Integer.BYTES * (((long) numElements) + (numElements > 0 ? 1 : 0)); final long bytesExtended = numOffsetBytes & REMAINDER_MOD_8_MASK; if (bytesExtended > 0) { numOffsetBytes += 8 - bytesExtended; @@ -253,7 +253,8 @@ static WritableObjectChunk, Values> extractChunkFromInputStream( if (nodeInfo.numElements == 0) { try (final WritableChunk ignored = ChunkInputStreamGenerator.extractChunkFromInputStream( - options, chunkType, componentType, componentType.getComponentType(), fieldNodeIter, bufferInfoIter, is, + options, chunkType, componentType, componentType.getComponentType(), fieldNodeIter, bufferInfoIter, + is, null, 0, 0)) { if (outChunk != null) { return outChunk.asWritableObjectChunk(); @@ -265,7 +266,8 @@ static WritableObjectChunk, Values> extractChunkFromInputStream( final WritableObjectChunk, Values> chunk; final int numValidityLongs = (nodeInfo.numElements + 63) / 64; try (final WritableLongChunk isValid = WritableLongChunk.makeWritableChunk(numValidityLongs); - final WritableIntChunk offsets = WritableIntChunk.makeWritableChunk(nodeInfo.numElements + 1)) { + final WritableIntChunk offsets = + WritableIntChunk.makeWritableChunk(nodeInfo.numElements + 1)) { // Read validity buffer: int jj = 0; for (; jj < Math.min(numValidityLongs, validityBuffer / 8); ++jj) { @@ -295,7 +297,8 @@ static WritableObjectChunk, Values> extractChunkFromInputStream( final VectorExpansionKernel kernel = VectorExpansionKernel.makeExpansionKernel(chunkType, componentType); try (final WritableChunk inner = ChunkInputStreamGenerator.extractChunkFromInputStream( - options, chunkType, componentType, componentType.getComponentType(), fieldNodeIter, bufferInfoIter, is, + options, chunkType, componentType, componentType.getComponentType(), fieldNodeIter, bufferInfoIter, + is, null, 0, 0)) { chunk = kernel.contract(inner, offsets, outChunk, outOffset, totalRows); diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/ArrayExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/ArrayExpansionKernel.java index 53a6cbbae26..daa293f562d 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/ArrayExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/ArrayExpansionKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk.array; import io.deephaven.chunk.Chunk; @@ -45,26 +45,31 @@ static ArrayExpansionKernel makeExpansionKernel(final ChunkType chunkType, final } /** - * This expands the source from a {@code T[]} per element to a flat {@code T} per element. The kernel records the number of - * consecutive elements that belong to a row in {@code perElementLengthDest}. The returned chunk is owned by the caller. + * This expands the source from a {@code T[]} per element to a flat {@code T} per element. The kernel records the + * number of consecutive elements that belong to a row in {@code perElementLengthDest}. The returned chunk is owned + * by the caller. * * @param source the source chunk of T[] to expand - * @param perElementLengthDest the destination IntChunk for which {@code dest.get(i + 1) - dest.get(i)} is equivalent to {@code source.get(i).length} + * @param perElementLengthDest the destination IntChunk for which {@code dest.get(i + 1) - dest.get(i)} is + * equivalent to {@code source.get(i).length} * @return an unrolled/flattened chunk of T */ - WritableChunk expand(ObjectChunk source, WritableIntChunk perElementLengthDest); + WritableChunk expand(ObjectChunk source, + WritableIntChunk perElementLengthDest); /** - * This contracts the source from a pair of {@code LongChunk} and {@code Chunk} and produces a {@code Chunk}. The returned - * chunk is owned by the caller. + * This contracts the source from a pair of {@code LongChunk} and {@code Chunk} and produces a + * {@code Chunk}. The returned chunk is owned by the caller. * * @param source the source chunk of T to contract - * @param perElementLengthDest the source IntChunk for which {@code dest.get(i + 1) - dest.get(i)} is equivalent to {@code source.get(i).length} + * @param perElementLengthDest the source IntChunk for which {@code dest.get(i + 1) - dest.get(i)} is equivalent to + * {@code source.get(i).length} * @param outChunk the returned chunk from an earlier record batch * @param outOffset the offset to start writing into {@code outChunk} * @param totalRows the total known rows for this column; if known (else 0) * @return a result chunk of T[] */ WritableObjectChunk contract( - Chunk source, IntChunk perElementLengthDest, WritableChunk outChunk, int outOffset, int totalRows); + Chunk source, IntChunk perElementLengthDest, WritableChunk outChunk, int outOffset, + int totalRows); } diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/BooleanArrayExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/BooleanArrayExpansionKernel.java index d6065769048..9e6cd453690 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/BooleanArrayExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/BooleanArrayExpansionKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk.array; import io.deephaven.chunk.ByteChunk; @@ -21,7 +21,8 @@ public class BooleanArrayExpansionKernel implements ArrayExpansionKernel { public final static BooleanArrayExpansionKernel INSTANCE = new BooleanArrayExpansionKernel(); @Override - public WritableChunk expand(final ObjectChunk source, final WritableIntChunk perElementLengthDest) { + public WritableChunk expand(final ObjectChunk source, + final WritableIntChunk perElementLengthDest) { if (source.size() == 0) { perElementLengthDest.setSize(0); return WritableByteChunk.makeWritableChunk(0); @@ -93,7 +94,7 @@ public WritableObjectChunk contract( } } - //noinspection unchecked - return (WritableObjectChunk)result; + // noinspection unchecked + return (WritableObjectChunk) result; } } diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/BoxedBooleanArrayExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/BoxedBooleanArrayExpansionKernel.java index 5a68df447b3..c6b901a7dd3 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/BoxedBooleanArrayExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/BoxedBooleanArrayExpansionKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk.array; import io.deephaven.chunk.ByteChunk; @@ -21,7 +21,8 @@ public class BoxedBooleanArrayExpansionKernel implements ArrayExpansionKernel { public final static BoxedBooleanArrayExpansionKernel INSTANCE = new BoxedBooleanArrayExpansionKernel(); @Override - public WritableChunk expand(final ObjectChunk source, final WritableIntChunk perElementLengthDest) { + public WritableChunk expand(final ObjectChunk source, + final WritableIntChunk perElementLengthDest) { if (source.size() == 0) { perElementLengthDest.setSize(0); return WritableByteChunk.makeWritableChunk(0); @@ -93,7 +94,7 @@ public WritableObjectChunk contract( } } - //noinspection unchecked - return (WritableObjectChunk)result; + // noinspection unchecked + return (WritableObjectChunk) result; } } diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/ByteArrayExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/ByteArrayExpansionKernel.java index ab897124aa9..92e099af9e2 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/ByteArrayExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/ByteArrayExpansionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharArrayExpansionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharArrayExpansionKernel and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk.array; import io.deephaven.chunk.ByteChunk; @@ -25,7 +24,8 @@ public class ByteArrayExpansionKernel implements ArrayExpansionKernel { public final static ByteArrayExpansionKernel INSTANCE = new ByteArrayExpansionKernel(); @Override - public WritableChunk expand(final ObjectChunk source, final WritableIntChunk perElementLengthDest) { + public WritableChunk expand(final ObjectChunk source, + final WritableIntChunk perElementLengthDest) { if (source.size() == 0) { perElementLengthDest.setSize(0); return WritableByteChunk.makeWritableChunk(0); @@ -86,13 +86,13 @@ public WritableObjectChunk contract( result.set(outOffset + i, ZERO_LEN_ARRAY); } else { final byte[] row = new byte[rowLen]; - typedSource.copyToArray(lenRead, row,0, rowLen); + typedSource.copyToArray(lenRead, row, 0, rowLen); lenRead += rowLen; result.set(outOffset + i, row); } } - //noinspection unchecked - return (WritableObjectChunk)result; + // noinspection unchecked + return (WritableObjectChunk) result; } } diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/CharArrayExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/CharArrayExpansionKernel.java index 8b73439c29c..3d04e5d6057 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/CharArrayExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/CharArrayExpansionKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk.array; import io.deephaven.chunk.CharChunk; @@ -20,7 +20,8 @@ public class CharArrayExpansionKernel implements ArrayExpansionKernel { public final static CharArrayExpansionKernel INSTANCE = new CharArrayExpansionKernel(); @Override - public WritableChunk expand(final ObjectChunk source, final WritableIntChunk perElementLengthDest) { + public WritableChunk expand(final ObjectChunk source, + final WritableIntChunk perElementLengthDest) { if (source.size() == 0) { perElementLengthDest.setSize(0); return WritableCharChunk.makeWritableChunk(0); @@ -81,13 +82,13 @@ public WritableObjectChunk contract( result.set(outOffset + i, ZERO_LEN_ARRAY); } else { final char[] row = new char[rowLen]; - typedSource.copyToArray(lenRead, row,0, rowLen); + typedSource.copyToArray(lenRead, row, 0, rowLen); lenRead += rowLen; result.set(outOffset + i, row); } } - //noinspection unchecked - return (WritableObjectChunk)result; + // noinspection unchecked + return (WritableObjectChunk) result; } } diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/DoubleArrayExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/DoubleArrayExpansionKernel.java index 84c2cbc56ff..5836b369633 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/DoubleArrayExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/DoubleArrayExpansionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharArrayExpansionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharArrayExpansionKernel and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk.array; import io.deephaven.chunk.DoubleChunk; @@ -25,7 +24,8 @@ public class DoubleArrayExpansionKernel implements ArrayExpansionKernel { public final static DoubleArrayExpansionKernel INSTANCE = new DoubleArrayExpansionKernel(); @Override - public WritableChunk expand(final ObjectChunk source, final WritableIntChunk perElementLengthDest) { + public WritableChunk expand(final ObjectChunk source, + final WritableIntChunk perElementLengthDest) { if (source.size() == 0) { perElementLengthDest.setSize(0); return WritableDoubleChunk.makeWritableChunk(0); @@ -86,13 +86,13 @@ public WritableObjectChunk contract( result.set(outOffset + i, ZERO_LEN_ARRAY); } else { final double[] row = new double[rowLen]; - typedSource.copyToArray(lenRead, row,0, rowLen); + typedSource.copyToArray(lenRead, row, 0, rowLen); lenRead += rowLen; result.set(outOffset + i, row); } } - //noinspection unchecked - return (WritableObjectChunk)result; + // noinspection unchecked + return (WritableObjectChunk) result; } } diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/FloatArrayExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/FloatArrayExpansionKernel.java index 451124efa5b..1b3c40ef25a 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/FloatArrayExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/FloatArrayExpansionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharArrayExpansionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharArrayExpansionKernel and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk.array; import io.deephaven.chunk.FloatChunk; @@ -25,7 +24,8 @@ public class FloatArrayExpansionKernel implements ArrayExpansionKernel { public final static FloatArrayExpansionKernel INSTANCE = new FloatArrayExpansionKernel(); @Override - public WritableChunk expand(final ObjectChunk source, final WritableIntChunk perElementLengthDest) { + public WritableChunk expand(final ObjectChunk source, + final WritableIntChunk perElementLengthDest) { if (source.size() == 0) { perElementLengthDest.setSize(0); return WritableFloatChunk.makeWritableChunk(0); @@ -86,13 +86,13 @@ public WritableObjectChunk contract( result.set(outOffset + i, ZERO_LEN_ARRAY); } else { final float[] row = new float[rowLen]; - typedSource.copyToArray(lenRead, row,0, rowLen); + typedSource.copyToArray(lenRead, row, 0, rowLen); lenRead += rowLen; result.set(outOffset + i, row); } } - //noinspection unchecked - return (WritableObjectChunk)result; + // noinspection unchecked + return (WritableObjectChunk) result; } } diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/IntArrayExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/IntArrayExpansionKernel.java index 4942ccb24fa..0d24b992456 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/IntArrayExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/IntArrayExpansionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharArrayExpansionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharArrayExpansionKernel and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk.array; import io.deephaven.chunk.IntChunk; @@ -25,7 +24,8 @@ public class IntArrayExpansionKernel implements ArrayExpansionKernel { public final static IntArrayExpansionKernel INSTANCE = new IntArrayExpansionKernel(); @Override - public WritableChunk expand(final ObjectChunk source, final WritableIntChunk perElementLengthDest) { + public WritableChunk expand(final ObjectChunk source, + final WritableIntChunk perElementLengthDest) { if (source.size() == 0) { perElementLengthDest.setSize(0); return WritableIntChunk.makeWritableChunk(0); @@ -86,13 +86,13 @@ public WritableObjectChunk contract( result.set(outOffset + i, ZERO_LEN_ARRAY); } else { final int[] row = new int[rowLen]; - typedSource.copyToArray(lenRead, row,0, rowLen); + typedSource.copyToArray(lenRead, row, 0, rowLen); lenRead += rowLen; result.set(outOffset + i, row); } } - //noinspection unchecked - return (WritableObjectChunk)result; + // noinspection unchecked + return (WritableObjectChunk) result; } } diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/LongArrayExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/LongArrayExpansionKernel.java index 3ba213b667c..3aa6c4d5f97 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/LongArrayExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/LongArrayExpansionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharArrayExpansionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharArrayExpansionKernel and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk.array; import io.deephaven.chunk.LongChunk; @@ -25,7 +24,8 @@ public class LongArrayExpansionKernel implements ArrayExpansionKernel { public final static LongArrayExpansionKernel INSTANCE = new LongArrayExpansionKernel(); @Override - public WritableChunk expand(final ObjectChunk source, final WritableIntChunk perElementLengthDest) { + public WritableChunk expand(final ObjectChunk source, + final WritableIntChunk perElementLengthDest) { if (source.size() == 0) { perElementLengthDest.setSize(0); return WritableLongChunk.makeWritableChunk(0); @@ -86,13 +86,13 @@ public WritableObjectChunk contract( result.set(outOffset + i, ZERO_LEN_ARRAY); } else { final long[] row = new long[rowLen]; - typedSource.copyToArray(lenRead, row,0, rowLen); + typedSource.copyToArray(lenRead, row, 0, rowLen); lenRead += rowLen; result.set(outOffset + i, row); } } - //noinspection unchecked - return (WritableObjectChunk)result; + // noinspection unchecked + return (WritableObjectChunk) result; } } diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/ObjectArrayExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/ObjectArrayExpansionKernel.java index c38e4099cd3..3166473733c 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/ObjectArrayExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/ObjectArrayExpansionKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk.array; import io.deephaven.chunk.attributes.Any; @@ -25,7 +25,8 @@ public ObjectArrayExpansionKernel(final Class componentType) { } @Override - public WritableChunk expand(final ObjectChunk source, final WritableIntChunk perElementLengthDest) { + public WritableChunk expand(final ObjectChunk source, + final WritableIntChunk perElementLengthDest) { if (source.size() == 0) { perElementLengthDest.setSize(0); return WritableObjectChunk.makeWritableChunk(0); @@ -85,14 +86,14 @@ public WritableObjectChunk contract( if (rowLen == 0) { result.set(outOffset + i, CollectionUtil.ZERO_LENGTH_OBJECT_ARRAY); } else { - final Object[] row = (Object[])Array.newInstance(componentType, rowLen); - typedSource.copyToArray(lenRead, row, 0, rowLen ); + final Object[] row = (Object[]) Array.newInstance(componentType, rowLen); + typedSource.copyToArray(lenRead, row, 0, rowLen); lenRead += rowLen; result.set(outOffset + i, row); } } - //noinspection unchecked - return (WritableObjectChunk)result; + // noinspection unchecked + return (WritableObjectChunk) result; } } diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/ShortArrayExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/ShortArrayExpansionKernel.java index 1f877ffe374..61b574837f7 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/ShortArrayExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/array/ShortArrayExpansionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharArrayExpansionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharArrayExpansionKernel and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk.array; import io.deephaven.chunk.ShortChunk; @@ -25,7 +24,8 @@ public class ShortArrayExpansionKernel implements ArrayExpansionKernel { public final static ShortArrayExpansionKernel INSTANCE = new ShortArrayExpansionKernel(); @Override - public WritableChunk expand(final ObjectChunk source, final WritableIntChunk perElementLengthDest) { + public WritableChunk expand(final ObjectChunk source, + final WritableIntChunk perElementLengthDest) { if (source.size() == 0) { perElementLengthDest.setSize(0); return WritableShortChunk.makeWritableChunk(0); @@ -86,13 +86,13 @@ public WritableObjectChunk contract( result.set(outOffset + i, ZERO_LEN_ARRAY); } else { final short[] row = new short[rowLen]; - typedSource.copyToArray(lenRead, row,0, rowLen); + typedSource.copyToArray(lenRead, row, 0, rowLen); lenRead += rowLen; result.set(outOffset + i, row); } } - //noinspection unchecked - return (WritableObjectChunk)result; + // noinspection unchecked + return (WritableObjectChunk) result; } } diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/ByteVectorExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/ByteVectorExpansionKernel.java index dc805cbab4a..dee07985287 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/ByteVectorExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/ByteVectorExpansionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorExpansionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorExpansionKernel and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk.vector; import io.deephaven.chunk.ByteChunk; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/CharVectorExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/CharVectorExpansionKernel.java index 304bc53b48f..a32b1300ba6 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/CharVectorExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/CharVectorExpansionKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk.vector; import io.deephaven.chunk.CharChunk; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/DoubleVectorExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/DoubleVectorExpansionKernel.java index ffed954dc16..b616e7d2ac9 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/DoubleVectorExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/DoubleVectorExpansionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorExpansionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorExpansionKernel and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk.vector; import java.util.function.DoubleConsumer; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/FloatVectorExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/FloatVectorExpansionKernel.java index 2996f63f839..ec0f3ad761b 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/FloatVectorExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/FloatVectorExpansionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorExpansionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorExpansionKernel and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk.vector; import io.deephaven.chunk.FloatChunk; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/IntVectorExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/IntVectorExpansionKernel.java index 6ead613e21a..69141a5b014 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/IntVectorExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/IntVectorExpansionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorExpansionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorExpansionKernel and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk.vector; import java.util.function.IntConsumer; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/LongVectorExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/LongVectorExpansionKernel.java index a305909dae6..99461b3285f 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/LongVectorExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/LongVectorExpansionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorExpansionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorExpansionKernel and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk.vector; import java.util.function.LongConsumer; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/ObjectVectorExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/ObjectVectorExpansionKernel.java index cb2de081abd..8aa3ebf3664 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/ObjectVectorExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/ObjectVectorExpansionKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk.vector; import io.deephaven.chunk.Chunk; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/ShortVectorExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/ShortVectorExpansionKernel.java index 1109adcc8d1..0de64d22473 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/ShortVectorExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/ShortVectorExpansionKernel.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorExpansionKernel and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorExpansionKernel and run "./gradlew replicateBarrageUtils" to regenerate +// +// @formatter:off package io.deephaven.extensions.barrage.chunk.vector; import io.deephaven.chunk.ShortChunk; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/VectorExpansionKernel.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/VectorExpansionKernel.java index 0153f9a6365..6b6b7c82e2c 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/VectorExpansionKernel.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/chunk/vector/VectorExpansionKernel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk.vector; import io.deephaven.chunk.Chunk; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/table/BarrageBlinkTable.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/table/BarrageBlinkTable.java index 88b88fad2c6..2c9896af2d9 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/table/BarrageBlinkTable.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/table/BarrageBlinkTable.java @@ -1,7 +1,6 @@ -/* - * Copyright (c) 2016-2021 Deephaven Data Labs and Patent Pending - */ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.table; import io.deephaven.base.verify.Assert; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/table/BarrageRedirectedTable.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/table/BarrageRedirectedTable.java index 3b7b37e3b1d..fe735a20f5b 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/table/BarrageRedirectedTable.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/table/BarrageRedirectedTable.java @@ -1,7 +1,6 @@ -/* - * Copyright (c) 2016-2021 Deephaven Data Labs and Patent Pending - */ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.table; import io.deephaven.base.verify.Assert; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/table/BarrageTable.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/table/BarrageTable.java index 2b20f937e9b..118c968e479 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/table/BarrageTable.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/table/BarrageTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.table; import com.google.common.annotations.VisibleForTesting; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/ArrowToTableConverter.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/ArrowToTableConverter.java index 284697fe86d..71f8a81b0fe 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/ArrowToTableConverter.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/ArrowToTableConverter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.util; import com.google.common.io.LittleEndianDataInputStream; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageChunkAppendingMarshaller.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageChunkAppendingMarshaller.java index 3813525048d..edbf60d72a1 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageChunkAppendingMarshaller.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageChunkAppendingMarshaller.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.util; import com.google.common.io.LittleEndianDataInputStream; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageMarshallingException.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageMarshallingException.java index 354a712d339..2128f291ed4 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageMarshallingException.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageMarshallingException.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.util; import io.deephaven.UncheckedDeephavenException; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageProtoUtil.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageProtoUtil.java index cf4d63aca56..9bc4af6fb09 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageProtoUtil.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageProtoUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.util; import com.google.common.io.LittleEndianDataInputStream; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageStreamReader.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageStreamReader.java index 94e32aff991..3d749adee21 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageStreamReader.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageStreamReader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.util; import com.fasterxml.jackson.databind.util.ByteBufferBackedInputStream; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageUtil.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageUtil.java index a9e82f3907c..89f6ced1779 100755 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageUtil.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/BarrageUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.util; import com.google.flatbuffers.FlatBufferBuilder; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/DefensiveCapture.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/DefensiveCapture.java index e73e6b45580..5bd8148afc7 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/DefensiveCapture.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/DefensiveCapture.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.util; import org.jetbrains.annotations.NotNull; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/DefensiveDrainable.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/DefensiveDrainable.java index 011299cce7a..100ea5d285f 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/DefensiveDrainable.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/DefensiveDrainable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.util; import io.grpc.Drainable; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/ExportUtil.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/ExportUtil.java index fbb0515dd22..8ed2e5b5b4a 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/ExportUtil.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/ExportUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.util; import io.deephaven.engine.table.Table; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/FlatBufferIteratorAdapter.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/FlatBufferIteratorAdapter.java index 61185ad1caa..eba5018decd 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/FlatBufferIteratorAdapter.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/FlatBufferIteratorAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.util; import java.util.Iterator; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/GrpcMarshallingException.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/GrpcMarshallingException.java index 50764ae22c2..642472fb445 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/GrpcMarshallingException.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/GrpcMarshallingException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.util; import io.deephaven.UncheckedDeephavenException; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/GrpcUtil.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/GrpcUtil.java index d2231daa020..cfa9617a690 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/GrpcUtil.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/GrpcUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.util; import io.deephaven.io.logger.Logger; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/HierarchicalTableSchemaUtil.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/HierarchicalTableSchemaUtil.java index e1c6087ef60..50ff7657dff 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/HierarchicalTableSchemaUtil.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/HierarchicalTableSchemaUtil.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.util; import com.google.flatbuffers.FlatBufferBuilder; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/StreamReader.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/StreamReader.java index e99d0ccac30..93b35af0863 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/StreamReader.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/StreamReader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.util; import io.deephaven.chunk.ChunkType; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/StreamReaderOptions.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/StreamReaderOptions.java index 1d8ec98e8ae..e00d9f3c6cd 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/StreamReaderOptions.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/StreamReaderOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.util; import io.deephaven.extensions.barrage.ColumnConversionMode; diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/TableToArrowConverter.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/TableToArrowConverter.java index 5d8b931d5aa..c3ccb4df4c3 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/TableToArrowConverter.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/TableToArrowConverter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.util; import io.deephaven.engine.table.impl.BaseTable; diff --git a/extensions/barrage/src/test/java/io/deephaven/extensions/barrage/BarrageStreamGeneratorTest.java b/extensions/barrage/src/test/java/io/deephaven/extensions/barrage/BarrageStreamGeneratorTest.java index 0050dab4f45..e6c59d7efb8 100644 --- a/extensions/barrage/src/test/java/io/deephaven/extensions/barrage/BarrageStreamGeneratorTest.java +++ b/extensions/barrage/src/test/java/io/deephaven/extensions/barrage/BarrageStreamGeneratorTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage; import io.deephaven.base.verify.Assert; diff --git a/extensions/barrage/src/test/java/io/deephaven/extensions/barrage/chunk/BarrageColumnRoundTripTest.java b/extensions/barrage/src/test/java/io/deephaven/extensions/barrage/chunk/BarrageColumnRoundTripTest.java index 01bba46976b..5bd3be47213 100644 --- a/extensions/barrage/src/test/java/io/deephaven/extensions/barrage/chunk/BarrageColumnRoundTripTest.java +++ b/extensions/barrage/src/test/java/io/deephaven/extensions/barrage/chunk/BarrageColumnRoundTripTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.barrage.chunk; import com.google.common.io.LittleEndianDataInputStream; diff --git a/extensions/classgraph/src/main/java/io/deephaven/extensions/ClassGraphExtension.java b/extensions/classgraph/src/main/java/io/deephaven/extensions/ClassGraphExtension.java index 9e345ff7145..2fc5f694774 100644 --- a/extensions/classgraph/src/main/java/io/deephaven/extensions/ClassGraphExtension.java +++ b/extensions/classgraph/src/main/java/io/deephaven/extensions/ClassGraphExtension.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions; import com.google.auto.service.AutoService; diff --git a/extensions/csv/src/main/java/io/deephaven/csv/ColumnNameLegalizer.java b/extensions/csv/src/main/java/io/deephaven/csv/ColumnNameLegalizer.java index b0d9d61d0ec..73e09bd5c1a 100644 --- a/extensions/csv/src/main/java/io/deephaven/csv/ColumnNameLegalizer.java +++ b/extensions/csv/src/main/java/io/deephaven/csv/ColumnNameLegalizer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.csv; import io.deephaven.api.util.NameValidator; diff --git a/extensions/csv/src/main/java/io/deephaven/csv/CsvTools.java b/extensions/csv/src/main/java/io/deephaven/csv/CsvTools.java index 305bdc9a8f9..76aa701ae8f 100644 --- a/extensions/csv/src/main/java/io/deephaven/csv/CsvTools.java +++ b/extensions/csv/src/main/java/io/deephaven/csv/CsvTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.csv; import io.deephaven.api.ColumnName; diff --git a/extensions/csv/src/main/java/io/deephaven/csv/DeephavenTimeZoneParser.java b/extensions/csv/src/main/java/io/deephaven/csv/DeephavenTimeZoneParser.java index a42ec58eae3..1cb6aca8273 100644 --- a/extensions/csv/src/main/java/io/deephaven/csv/DeephavenTimeZoneParser.java +++ b/extensions/csv/src/main/java/io/deephaven/csv/DeephavenTimeZoneParser.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.csv; import gnu.trove.map.hash.TIntObjectHashMap; diff --git a/extensions/csv/src/test/java/io/deephaven/csv/CsvTestSuite.java b/extensions/csv/src/test/java/io/deephaven/csv/CsvTestSuite.java index 477eb0bf399..ecdab5faa2a 100644 --- a/extensions/csv/src/test/java/io/deephaven/csv/CsvTestSuite.java +++ b/extensions/csv/src/test/java/io/deephaven/csv/CsvTestSuite.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.csv; import org.junit.runner.RunWith; diff --git a/extensions/csv/src/test/java/io/deephaven/csv/DeephavenCsvTest.java b/extensions/csv/src/test/java/io/deephaven/csv/DeephavenCsvTest.java index 87c845b286e..6c5889f0f29 100644 --- a/extensions/csv/src/test/java/io/deephaven/csv/DeephavenCsvTest.java +++ b/extensions/csv/src/test/java/io/deephaven/csv/DeephavenCsvTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.csv; import io.deephaven.csv.util.CsvReaderException; diff --git a/extensions/csv/src/test/java/io/deephaven/csv/TestCsvTools.java b/extensions/csv/src/test/java/io/deephaven/csv/TestCsvTools.java index 0dbeb56e995..2f94b436908 100644 --- a/extensions/csv/src/test/java/io/deephaven/csv/TestCsvTools.java +++ b/extensions/csv/src/test/java/io/deephaven/csv/TestCsvTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.csv; import io.deephaven.base.FileUtils; diff --git a/extensions/jdbc/src/main/java/io/deephaven/jdbc/JdbcToTableAdapter.java b/extensions/jdbc/src/main/java/io/deephaven/jdbc/JdbcToTableAdapter.java index 11d6df9995c..31b13a2dc9f 100644 --- a/extensions/jdbc/src/main/java/io/deephaven/jdbc/JdbcToTableAdapter.java +++ b/extensions/jdbc/src/main/java/io/deephaven/jdbc/JdbcToTableAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jdbc; import com.google.common.base.CaseFormat; diff --git a/extensions/jdbc/src/main/java/io/deephaven/jdbc/JdbcTypeMapper.java b/extensions/jdbc/src/main/java/io/deephaven/jdbc/JdbcTypeMapper.java index 8303d5379f7..8481766478f 100644 --- a/extensions/jdbc/src/main/java/io/deephaven/jdbc/JdbcTypeMapper.java +++ b/extensions/jdbc/src/main/java/io/deephaven/jdbc/JdbcTypeMapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jdbc; import io.deephaven.chunk.CharChunk; diff --git a/extensions/jdbc/src/main/java/io/deephaven/jdbc/JdbcTypeMapperException.java b/extensions/jdbc/src/main/java/io/deephaven/jdbc/JdbcTypeMapperException.java index 74801bf4150..45aae33f352 100644 --- a/extensions/jdbc/src/main/java/io/deephaven/jdbc/JdbcTypeMapperException.java +++ b/extensions/jdbc/src/main/java/io/deephaven/jdbc/JdbcTypeMapperException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jdbc; import java.sql.JDBCType; diff --git a/extensions/jdbc/src/main/java/io/deephaven/jdbc/util/ArrayParser.java b/extensions/jdbc/src/main/java/io/deephaven/jdbc/util/ArrayParser.java index 4be7cfd87c2..5fd34bbd3b4 100644 --- a/extensions/jdbc/src/main/java/io/deephaven/jdbc/util/ArrayParser.java +++ b/extensions/jdbc/src/main/java/io/deephaven/jdbc/util/ArrayParser.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jdbc.util; import java.util.Arrays; diff --git a/extensions/jdbc/src/test/java/io/deephaven/jdbc/JdbcToTableAdapterTest.java b/extensions/jdbc/src/test/java/io/deephaven/jdbc/JdbcToTableAdapterTest.java index 0c882baede9..5d738952ceb 100644 --- a/extensions/jdbc/src/test/java/io/deephaven/jdbc/JdbcToTableAdapterTest.java +++ b/extensions/jdbc/src/test/java/io/deephaven/jdbc/JdbcToTableAdapterTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jdbc; import io.deephaven.engine.table.ColumnSource; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/AvroImpl.java b/extensions/kafka/src/main/java/io/deephaven/kafka/AvroImpl.java index 3b39261bcae..03866a042fb 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/AvroImpl.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/AvroImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.confluent.kafka.schemaregistry.SchemaProvider; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/BoxTransform.java b/extensions/kafka/src/main/java/io/deephaven/kafka/BoxTransform.java index 3bfe444f2e5..c6fa3f99916 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/BoxTransform.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/BoxTransform.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.deephaven.function.ToBooleanFunction; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/CdcTools.java b/extensions/kafka/src/main/java/io/deephaven/kafka/CdcTools.java index f3dc4638c6d..350dde22110 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/CdcTools.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/CdcTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.confluent.kafka.schemaregistry.avro.AvroSchemaProvider; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/DhNullableTypeTransform.java b/extensions/kafka/src/main/java/io/deephaven/kafka/DhNullableTypeTransform.java index 5a77aaac7df..0a738c2043b 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/DhNullableTypeTransform.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/DhNullableTypeTransform.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.deephaven.function.ToBooleanFunction; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/IgnoreImpl.java b/extensions/kafka/src/main/java/io/deephaven/kafka/IgnoreImpl.java index 11e8f15937c..ed6b4ce40b4 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/IgnoreImpl.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/IgnoreImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.confluent.kafka.schemaregistry.SchemaProvider; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/JsonImpl.java b/extensions/kafka/src/main/java/io/deephaven/kafka/JsonImpl.java index 26c82f88f7f..07cbda36c2e 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/JsonImpl.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/JsonImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/KafkaPublishOptions.java b/extensions/kafka/src/main/java/io/deephaven/kafka/KafkaPublishOptions.java index 7e6a43d4013..bfc62448f4c 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/KafkaPublishOptions.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/KafkaPublishOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.deephaven.annotations.BuildableStyle; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/KafkaSchemaUtils.java b/extensions/kafka/src/main/java/io/deephaven/kafka/KafkaSchemaUtils.java index e95eab30ced..a833e624053 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/KafkaSchemaUtils.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/KafkaSchemaUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import org.apache.avro.Schema; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/KafkaTools.java b/extensions/kafka/src/main/java/io/deephaven/kafka/KafkaTools.java index 8eec8085f4f..eb95d8b2584 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/KafkaTools.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/KafkaTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/KeyOrValueProcessorImpl.java b/extensions/kafka/src/main/java/io/deephaven/kafka/KeyOrValueProcessorImpl.java index 48607660a31..b6b31b77cd8 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/KeyOrValueProcessorImpl.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/KeyOrValueProcessorImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/KeyOrValueSpecObjectProcessorImpl.java b/extensions/kafka/src/main/java/io/deephaven/kafka/KeyOrValueSpecObjectProcessorImpl.java index b276b80674c..9d924f2c460 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/KeyOrValueSpecObjectProcessorImpl.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/KeyOrValueSpecObjectProcessorImpl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.confluent.kafka.schemaregistry.SchemaProvider; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/NullFunctions.java b/extensions/kafka/src/main/java/io/deephaven/kafka/NullFunctions.java index 948d78430fc..4358170484d 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/NullFunctions.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/NullFunctions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.deephaven.qst.type.BooleanType; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ProtobufDeserializers.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ProtobufDeserializers.java index df784f3ab93..2480e1ce9d3 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ProtobufDeserializers.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ProtobufDeserializers.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import com.google.protobuf.Descriptors.Descriptor; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ProtobufImpl.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ProtobufImpl.java index e59986ec2bf..6972276db4e 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ProtobufImpl.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ProtobufImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import com.google.protobuf.Descriptors.Descriptor; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/RawImpl.java b/extensions/kafka/src/main/java/io/deephaven/kafka/RawImpl.java index daa8606dff0..f773dc8c955 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/RawImpl.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/RawImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.confluent.kafka.schemaregistry.SchemaProvider; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/SimpleImpl.java b/extensions/kafka/src/main/java/io/deephaven/kafka/SimpleImpl.java index 7c95c3916da..978a6ef92fe 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/SimpleImpl.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/SimpleImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.confluent.kafka.schemaregistry.SchemaProvider; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/StreamPublisherBase.java b/extensions/kafka/src/main/java/io/deephaven/kafka/StreamPublisherBase.java index 45832639c50..bac4e2b63d1 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/StreamPublisherBase.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/StreamPublisherBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ToChunkTypeTransform.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ToChunkTypeTransform.java index 29c28eb8aa3..97d2a23832d 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ToChunkTypeTransform.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ToChunkTypeTransform.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.deephaven.function.ToByteFunction; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/UnboxTransform.java b/extensions/kafka/src/main/java/io/deephaven/kafka/UnboxTransform.java index ba1c2a741f9..945bc4f3425 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/UnboxTransform.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/UnboxTransform.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.deephaven.function.ToByteFunction; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/ConsumerRecordToStreamPublisherAdapter.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/ConsumerRecordToStreamPublisherAdapter.java index 2cc23fd8ac7..6917e743b27 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/ConsumerRecordToStreamPublisherAdapter.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/ConsumerRecordToStreamPublisherAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.stream.StreamPublisher; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/FieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/FieldCopier.java index a2784fcd90b..79ec17a4967 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/FieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/FieldCopier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.chunk.ChunkType; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/FieldCopierAdapter.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/FieldCopierAdapter.java index 3f92a57dc7e..14fc29f66e5 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/FieldCopierAdapter.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/FieldCopierAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.processor.function.ObjectProcessorFunctions; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/FieldCopierProcessorImpl.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/FieldCopierProcessorImpl.java index acfceedd060..b419f51242d 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/FieldCopierProcessorImpl.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/FieldCopierProcessorImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordArrayFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordArrayFieldCopier.java index f135177c801..ba1e55b9cec 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordArrayFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordArrayFieldCopier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.chunk.ObjectChunk; @@ -21,6 +21,7 @@ public class GenericRecordArrayFieldCopier extends GenericRecordFieldCopier { private final ArrayConverter arrayConverter; + public GenericRecordArrayFieldCopier( final String fieldPathStr, final Pattern separator, @@ -30,7 +31,8 @@ public GenericRecordArrayFieldCopier( arrayConverter = ArrayConverter.makeFor(componentType); } - private static T[] convertObjectArray(final GenericArray ga, final T[] emptyArray, final Class componentType) { + private static T[] convertObjectArray(final GenericArray ga, final T[] emptyArray, + final Class componentType) { final int gaSize = ga.size(); if (gaSize == 0) { return emptyArray; @@ -46,6 +48,7 @@ private static T[] convertObjectArray(final GenericArray ga, final T[] em private interface ArrayConverter { Object convert(final GenericArray genericArray); + static ArrayConverter makeFor(Class componentType) { if (componentType.equals(byte.class)) { return (GenericArray ga) -> { diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordBigDecimalFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordBigDecimalFieldCopier.java index 62d647d3474..3ac726b99d5 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordBigDecimalFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordBigDecimalFieldCopier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.chunk.ObjectChunk; @@ -61,7 +61,8 @@ public void copyField( final BigDecimal bd = new BigDecimal(bi, scale); output.set(ii + destOffset, bd); } else { - throw new IllegalStateException("Object of type " + bytesObj.getClass().getName() + " not recognized for decimal type backing"); + throw new IllegalStateException( + "Object of type " + bytesObj.getClass().getName() + " not recognized for decimal type backing"); } } } diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordBooleanFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordBooleanFieldCopier.java index 01a51f5432f..7a9035422f6 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordBooleanFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordBooleanFieldCopier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.chunk.ObjectChunk; @@ -31,4 +31,5 @@ public void copyField( final Boolean value = (Boolean) GenericRecordUtil.getPath(record, fieldPath); output.set(ii + destOffset, BooleanUtils.booleanAsByte(value)); } - }} + } +} diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordByteFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordByteFieldCopier.java index 7ff1d89d535..bb470b8955f 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordByteFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordByteFieldCopier.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenericRecordCharFieldCopier and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit GenericRecordCharFieldCopier and run "./gradlew replicateKafka" to regenerate +// +// @formatter:off package io.deephaven.kafka.ingest; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordCharFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordCharFieldCopier.java index 0f846809bda..1f835aca2a4 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordCharFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordCharFieldCopier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordChunkAdapter.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordChunkAdapter.java index f0efcb4f71d..54a1b31820e 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordChunkAdapter.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordChunkAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.engine.table.TableDefinition; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordDoubleFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordDoubleFieldCopier.java index 316a21344d4..61f2d0dea65 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordDoubleFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordDoubleFieldCopier.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenericRecordCharFieldCopier and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit GenericRecordCharFieldCopier and run "./gradlew replicateKafka" to regenerate +// +// @formatter:off package io.deephaven.kafka.ingest; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordFieldCopier.java index 949ce5c84db..6b489867119 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordFieldCopier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import org.apache.avro.Schema; @@ -9,6 +9,7 @@ public abstract class GenericRecordFieldCopier implements FieldCopier { protected final int[] fieldPath; + protected GenericRecordFieldCopier(final String fieldPathStr, final Pattern separator, final Schema schema) { this.fieldPath = GenericRecordUtil.getFieldPath(fieldPathStr, separator, schema); } diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordFloatFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordFloatFieldCopier.java index 16e36c8bc31..7668134db25 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordFloatFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordFloatFieldCopier.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenericRecordCharFieldCopier and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit GenericRecordCharFieldCopier and run "./gradlew replicateKafka" to regenerate +// +// @formatter:off package io.deephaven.kafka.ingest; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordInstantArrayFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordInstantArrayFieldCopier.java index 0b679ccb0c9..298c16bac28 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordInstantArrayFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordInstantArrayFieldCopier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.chunk.ObjectChunk; @@ -17,7 +17,9 @@ public class GenericRecordInstantArrayFieldCopier extends GenericRecordFieldCopier { private final long multiplier; - public GenericRecordInstantArrayFieldCopier(final String fieldPathStr, final Pattern separator, final Schema schema, final long multiplier) { + + public GenericRecordInstantArrayFieldCopier(final String fieldPathStr, final Pattern separator, final Schema schema, + final long multiplier) { super(fieldPathStr, separator, schema); this.multiplier = multiplier; } diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordIntFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordIntFieldCopier.java index 98b14b2ebe8..37d07867876 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordIntFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordIntFieldCopier.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenericRecordCharFieldCopier and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit GenericRecordCharFieldCopier and run "./gradlew replicateKafka" to regenerate +// +// @formatter:off package io.deephaven.kafka.ingest; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordLongFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordLongFieldCopier.java index 41d80f07475..4b01f597374 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordLongFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordLongFieldCopier.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenericRecordCharFieldCopier and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit GenericRecordCharFieldCopier and run "./gradlew replicateKafka" to regenerate +// +// @formatter:off package io.deephaven.kafka.ingest; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordLongFieldCopierWithMultiplier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordLongFieldCopierWithMultiplier.java index 85c5abeba24..17b2145039b 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordLongFieldCopierWithMultiplier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordLongFieldCopierWithMultiplier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordObjectFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordObjectFieldCopier.java index 452bf8f67bb..e712d697dfe 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordObjectFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordObjectFieldCopier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordShortFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordShortFieldCopier.java index 77448bf79de..f35277a1f2e 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordShortFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordShortFieldCopier.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit GenericRecordCharFieldCopier and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit GenericRecordCharFieldCopier and run "./gradlew replicateKafka" to regenerate +// +// @formatter:off package io.deephaven.kafka.ingest; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordStringFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordStringFieldCopier.java index faaeb2dc863..57af908f842 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordStringFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordStringFieldCopier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.chunk.ObjectChunk; @@ -27,7 +27,7 @@ public void copyField( final int length) { final WritableObjectChunk output = publisherChunk.asWritableObjectChunk(); for (int ii = 0; ii < length; ++ii) { - final GenericRecord record = (GenericRecord)inputChunk.get(ii + sourceOffset); + final GenericRecord record = (GenericRecord) inputChunk.get(ii + sourceOffset); final Object value = GenericRecordUtil.getPath(record, fieldPath); output.set(ii + destOffset, value == null ? null : Objects.toString(value)); } diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordUtil.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordUtil.java index fea4ab7fc5e..1a84607d0d6 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordUtil.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/GenericRecordUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.kafka.KafkaSchemaUtils; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeBooleanFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeBooleanFieldCopier.java index 0f6d6892640..3ab70b5736c 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeBooleanFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeBooleanFieldCopier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import com.fasterxml.jackson.core.JsonPointer; @@ -34,7 +34,7 @@ public void copyField( if (valueAsString == null) { valueAsBoolean = null; } else { - switch(valueAsString.trim()) { + switch (valueAsString.trim()) { case "TRUE": case "True": case "true": @@ -54,7 +54,8 @@ public void copyField( valueAsBoolean = null; break; default: - throw new UncheckedDeephavenException("value " + valueAsString + " not recognized as Boolean for field " + fieldPointer); + throw new UncheckedDeephavenException( + "value " + valueAsString + " not recognized as Boolean for field " + fieldPointer); } } output.set(ii + destOffset, BooleanUtils.booleanAsByte(valueAsBoolean)); diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeByteFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeByteFieldCopier.java index 1ea019fb5f3..c4a1260c69c 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeByteFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeByteFieldCopier.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit JsonNodeCharFieldCopier and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit JsonNodeCharFieldCopier and run "./gradlew replicateKafka" to regenerate +// +// @formatter:off package io.deephaven.kafka.ingest; import com.fasterxml.jackson.core.JsonPointer; @@ -25,8 +24,7 @@ public JsonNodeByteFieldCopier(final String fieldPointerStr) { @Override public void copyField( final ObjectChunk inputChunk, final WritableChunk publisherChunk, - final int sourceOffset, final int destOffset, final int length - ) { + final int sourceOffset, final int destOffset, final int length) { final WritableByteChunk output = publisherChunk.asWritableByteChunk(); for (int ii = 0; ii < length; ++ii) { final JsonNode node = (JsonNode) inputChunk.get(ii + sourceOffset); diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeCharFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeCharFieldCopier.java index 4a2c586cd88..630ec8ce5d1 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeCharFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeCharFieldCopier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import com.fasterxml.jackson.core.JsonPointer; @@ -20,8 +20,7 @@ public JsonNodeCharFieldCopier(final String fieldPointerStr) { @Override public void copyField( final ObjectChunk inputChunk, final WritableChunk publisherChunk, - final int sourceOffset, final int destOffset, final int length - ) { + final int sourceOffset, final int destOffset, final int length) { final WritableCharChunk output = publisherChunk.asWritableCharChunk(); for (int ii = 0; ii < length; ++ii) { final JsonNode node = (JsonNode) inputChunk.get(ii + sourceOffset); diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeChunkAdapter.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeChunkAdapter.java index 948fa416775..4b2e18b0fa7 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeChunkAdapter.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeChunkAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.UncheckedDeephavenException; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeDoubleFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeDoubleFieldCopier.java index c6672418740..a58e5a93ac4 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeDoubleFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeDoubleFieldCopier.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit JsonNodeCharFieldCopier and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit JsonNodeCharFieldCopier and run "./gradlew replicateKafka" to regenerate +// +// @formatter:off package io.deephaven.kafka.ingest; import com.fasterxml.jackson.core.JsonPointer; @@ -25,8 +24,7 @@ public JsonNodeDoubleFieldCopier(final String fieldPointerStr) { @Override public void copyField( final ObjectChunk inputChunk, final WritableChunk publisherChunk, - final int sourceOffset, final int destOffset, final int length - ) { + final int sourceOffset, final int destOffset, final int length) { final WritableDoubleChunk output = publisherChunk.asWritableDoubleChunk(); for (int ii = 0; ii < length; ++ii) { final JsonNode node = (JsonNode) inputChunk.get(ii + sourceOffset); diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeFloatFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeFloatFieldCopier.java index f21899af906..9e608eff309 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeFloatFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeFloatFieldCopier.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit JsonNodeCharFieldCopier and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit JsonNodeCharFieldCopier and run "./gradlew replicateKafka" to regenerate +// +// @formatter:off package io.deephaven.kafka.ingest; import com.fasterxml.jackson.core.JsonPointer; @@ -25,8 +24,7 @@ public JsonNodeFloatFieldCopier(final String fieldPointerStr) { @Override public void copyField( final ObjectChunk inputChunk, final WritableChunk publisherChunk, - final int sourceOffset, final int destOffset, final int length - ) { + final int sourceOffset, final int destOffset, final int length) { final WritableFloatChunk output = publisherChunk.asWritableFloatChunk(); for (int ii = 0; ii < length; ++ii) { final JsonNode node = (JsonNode) inputChunk.get(ii + sourceOffset); diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeInstantFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeInstantFieldCopier.java index aabcb904dc4..4844460f796 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeInstantFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeInstantFieldCopier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import com.fasterxml.jackson.core.JsonPointer; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeIntFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeIntFieldCopier.java index d4fcd624102..4e193728522 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeIntFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeIntFieldCopier.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit JsonNodeCharFieldCopier and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit JsonNodeCharFieldCopier and run "./gradlew replicateKafka" to regenerate +// +// @formatter:off package io.deephaven.kafka.ingest; import com.fasterxml.jackson.core.JsonPointer; @@ -25,8 +24,7 @@ public JsonNodeIntFieldCopier(final String fieldPointerStr) { @Override public void copyField( final ObjectChunk inputChunk, final WritableChunk publisherChunk, - final int sourceOffset, final int destOffset, final int length - ) { + final int sourceOffset, final int destOffset, final int length) { final WritableIntChunk output = publisherChunk.asWritableIntChunk(); for (int ii = 0; ii < length; ++ii) { final JsonNode node = (JsonNode) inputChunk.get(ii + sourceOffset); diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeJsonNodeFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeJsonNodeFieldCopier.java index 5bcabe10f51..8346c3889a9 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeJsonNodeFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeJsonNodeFieldCopier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import com.fasterxml.jackson.core.JsonPointer; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeLongFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeLongFieldCopier.java index 51fdb700a29..50e222c43f6 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeLongFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeLongFieldCopier.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit JsonNodeCharFieldCopier and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit JsonNodeCharFieldCopier and run "./gradlew replicateKafka" to regenerate +// +// @formatter:off package io.deephaven.kafka.ingest; import com.fasterxml.jackson.core.JsonPointer; @@ -25,8 +24,7 @@ public JsonNodeLongFieldCopier(final String fieldPointerStr) { @Override public void copyField( final ObjectChunk inputChunk, final WritableChunk publisherChunk, - final int sourceOffset, final int destOffset, final int length - ) { + final int sourceOffset, final int destOffset, final int length) { final WritableLongChunk output = publisherChunk.asWritableLongChunk(); for (int ii = 0; ii < length; ++ii) { final JsonNode node = (JsonNode) inputChunk.get(ii + sourceOffset); diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeShortFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeShortFieldCopier.java index 111e0cea429..29e7b5513a9 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeShortFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeShortFieldCopier.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit JsonNodeCharFieldCopier and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit JsonNodeCharFieldCopier and run "./gradlew replicateKafka" to regenerate +// +// @formatter:off package io.deephaven.kafka.ingest; import com.fasterxml.jackson.core.JsonPointer; @@ -25,8 +24,7 @@ public JsonNodeShortFieldCopier(final String fieldPointerStr) { @Override public void copyField( final ObjectChunk inputChunk, final WritableChunk publisherChunk, - final int sourceOffset, final int destOffset, final int length - ) { + final int sourceOffset, final int destOffset, final int length) { final WritableShortChunk output = publisherChunk.asWritableShortChunk(); for (int ii = 0; ii < length; ++ii) { final JsonNode node = (JsonNode) inputChunk.get(ii + sourceOffset); diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeStringFieldCopier.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeStringFieldCopier.java index 3760a0da1fe..e97ded25730 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeStringFieldCopier.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeStringFieldCopier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import com.fasterxml.jackson.core.JsonPointer; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeUtil.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeUtil.java index 556814fdd2b..3899daca950 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeUtil.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/JsonNodeUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import com.fasterxml.jackson.core.JsonPointer; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KafkaIngester.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KafkaIngester.java index 49927217503..4f09a3f2cfe 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KafkaIngester.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KafkaIngester.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import gnu.trove.map.hash.TIntObjectHashMap; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KafkaIngesterException.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KafkaIngesterException.java index fb17db9bede..4ba340be4e4 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KafkaIngesterException.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KafkaIngesterException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.UncheckedDeephavenException; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KafkaRecordConsumer.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KafkaRecordConsumer.java index 2c6c6da8639..e3fe7dda254 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KafkaRecordConsumer.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KafkaRecordConsumer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.stream.StreamFailureConsumer; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KafkaStreamPublisher.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KafkaStreamPublisher.java index 229f6a0e98d..1972a29330e 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KafkaStreamPublisher.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KafkaStreamPublisher.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.base.Pair; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KeyOrValueProcessor.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KeyOrValueProcessor.java index 64a41e6b6ea..fcb95e0617c 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KeyOrValueProcessor.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/KeyOrValueProcessor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/MultiFieldChunkAdapter.java b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/MultiFieldChunkAdapter.java index 62cb34b637d..06e5cd27c8d 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/MultiFieldChunkAdapter.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/ingest/MultiFieldChunkAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import gnu.trove.map.TObjectIntMap; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/DescriptorMessageClass.java b/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/DescriptorMessageClass.java index ef69e1fcb10..ab07bff5dfb 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/DescriptorMessageClass.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/DescriptorMessageClass.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.protobuf; import com.google.protobuf.Message; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/DescriptorProvider.java b/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/DescriptorProvider.java index 61b0d2806ce..1e9416d882b 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/DescriptorProvider.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/DescriptorProvider.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.protobuf; /** diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/DescriptorSchemaRegistry.java b/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/DescriptorSchemaRegistry.java index 99f8f5eb3ba..8181b7e88b7 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/DescriptorSchemaRegistry.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/DescriptorSchemaRegistry.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.protobuf; import com.google.protobuf.Descriptors.Descriptor; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/ProtobufConsumeOptions.java b/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/ProtobufConsumeOptions.java index 900d29e00bd..725d4691b21 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/ProtobufConsumeOptions.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/ProtobufConsumeOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.protobuf; import com.google.protobuf.Descriptors.Descriptor; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/Protocol.java b/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/Protocol.java index 1600d5f4371..ffc3f058125 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/Protocol.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/protobuf/Protocol.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.protobuf; /** diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/publish/GenericRecordKeyOrValueSerializer.java b/extensions/kafka/src/main/java/io/deephaven/kafka/publish/GenericRecordKeyOrValueSerializer.java index f124ba9aa1d..bc06d0bc100 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/publish/GenericRecordKeyOrValueSerializer.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/publish/GenericRecordKeyOrValueSerializer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.publish; import io.deephaven.base.clock.Clock; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/publish/JsonKeyOrValueSerializer.java b/extensions/kafka/src/main/java/io/deephaven/kafka/publish/JsonKeyOrValueSerializer.java index 895d6571464..d084747c564 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/publish/JsonKeyOrValueSerializer.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/publish/JsonKeyOrValueSerializer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.publish; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/publish/KafkaPublisherException.java b/extensions/kafka/src/main/java/io/deephaven/kafka/publish/KafkaPublisherException.java index 19366ff0d89..bf563c7f7b2 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/publish/KafkaPublisherException.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/publish/KafkaPublisherException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.publish; import io.deephaven.UncheckedDeephavenException; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/publish/KeyOrValueSerializer.java b/extensions/kafka/src/main/java/io/deephaven/kafka/publish/KeyOrValueSerializer.java index 6a3bb515323..3dcfa8914b0 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/publish/KeyOrValueSerializer.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/publish/KeyOrValueSerializer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.publish; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/publish/PublishToKafka.java b/extensions/kafka/src/main/java/io/deephaven/kafka/publish/PublishToKafka.java index c1759855889..d3b311323ba 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/publish/PublishToKafka.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/publish/PublishToKafka.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.publish; import io.deephaven.api.ColumnName; diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/publish/SimpleKeyOrValueSerializer.java b/extensions/kafka/src/main/java/io/deephaven/kafka/publish/SimpleKeyOrValueSerializer.java index 7c469b6b853..03b897d5a07 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/publish/SimpleKeyOrValueSerializer.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/publish/SimpleKeyOrValueSerializer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.publish; import io.deephaven.chunk.attributes.Values; diff --git a/extensions/kafka/src/test/java/io/deephaven/kafka/KafkaPublishOptionsTest.java b/extensions/kafka/src/test/java/io/deephaven/kafka/KafkaPublishOptionsTest.java index b6d351e7d33..3c3daa01c99 100644 --- a/extensions/kafka/src/test/java/io/deephaven/kafka/KafkaPublishOptionsTest.java +++ b/extensions/kafka/src/test/java/io/deephaven/kafka/KafkaPublishOptionsTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.deephaven.api.ColumnName; diff --git a/extensions/kafka/src/test/java/io/deephaven/kafka/KafkaToolsTest.java b/extensions/kafka/src/test/java/io/deephaven/kafka/KafkaToolsTest.java index c8bed180b82..c30b9941553 100644 --- a/extensions/kafka/src/test/java/io/deephaven/kafka/KafkaToolsTest.java +++ b/extensions/kafka/src/test/java/io/deephaven/kafka/KafkaToolsTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.deephaven.engine.table.ColumnDefinition; diff --git a/extensions/kafka/src/test/java/io/deephaven/kafka/SimpleImplTest.java b/extensions/kafka/src/test/java/io/deephaven/kafka/SimpleImplTest.java index a038a5450c4..ac8f7f18fa1 100644 --- a/extensions/kafka/src/test/java/io/deephaven/kafka/SimpleImplTest.java +++ b/extensions/kafka/src/test/java/io/deephaven/kafka/SimpleImplTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka; import io.deephaven.UncheckedDeephavenException; diff --git a/extensions/kafka/src/test/java/io/deephaven/kafka/ingest/TestAvroAdapter.java b/extensions/kafka/src/test/java/io/deephaven/kafka/ingest/TestAvroAdapter.java index fce56f3b70d..70aa5566cce 100644 --- a/extensions/kafka/src/test/java/io/deephaven/kafka/ingest/TestAvroAdapter.java +++ b/extensions/kafka/src/test/java/io/deephaven/kafka/ingest/TestAvroAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.kafka.ingest; import io.deephaven.chunk.attributes.Values; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/AbstractBulkValuesWriter.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/AbstractBulkValuesWriter.java index 1b9e85ba542..6b218d8781d 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/AbstractBulkValuesWriter.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/AbstractBulkValuesWriter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import io.deephaven.util.QueryConstants; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/BulkWriter.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/BulkWriter.java index 15af6538e94..4d4dfddc3e3 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/BulkWriter.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/BulkWriter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import org.apache.parquet.column.statistics.Statistics; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnChunkReader.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnChunkReader.java index 2f13ec64802..1310eed4f75 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnChunkReader.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnChunkReader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import io.deephaven.util.channel.SeekableChannelContext; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnChunkReaderImpl.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnChunkReaderImpl.java index eb01e2f0b79..e553331daa7 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnChunkReaderImpl.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnChunkReaderImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import io.deephaven.UncheckedDeephavenException; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnPageReader.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnPageReader.java index b3192fda9bc..920638969df 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnPageReader.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnPageReader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnPageReaderImpl.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnPageReaderImpl.java index 8bbbe661945..1ea65635481 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnPageReaderImpl.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnPageReaderImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import io.deephaven.base.Pair; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnWriter.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnWriter.java index 8725a9a1424..5f812d6b6d0 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnWriter.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnWriter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import io.deephaven.util.SafeCloseable; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnWriterImpl.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnWriterImpl.java index 6d1a39e2641..87573502117 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnWriterImpl.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ColumnWriterImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import org.apache.parquet.format.converter.ParquetMetadataConverter; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/DataWithMultiLevelOffsets.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/DataWithMultiLevelOffsets.java index ac8222f3db1..3ac1830e21f 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/DataWithMultiLevelOffsets.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/DataWithMultiLevelOffsets.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import java.nio.IntBuffer; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/DataWithOffsets.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/DataWithOffsets.java index 829e795d0f3..d1915781fa1 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/DataWithOffsets.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/DataWithOffsets.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import java.nio.IntBuffer; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/Helpers.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/Helpers.java index 2aea8f7bab1..3698a652430 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/Helpers.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/Helpers.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import org.apache.parquet.bytes.BytesInput; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/InvalidParquetFileException.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/InvalidParquetFileException.java index f67da0928f4..8dd27ff5835 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/InvalidParquetFileException.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/InvalidParquetFileException.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; /** diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/KeyIndexReader.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/KeyIndexReader.java index cdd748e94cd..dc7e09f7ca3 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/KeyIndexReader.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/KeyIndexReader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import org.apache.parquet.column.values.ValuesReader; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/LevelsController.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/LevelsController.java index b6e1cd89799..46c51971f91 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/LevelsController.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/LevelsController.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import io.deephaven.base.Pair; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/NullStatistics.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/NullStatistics.java index 694b028971b..0fa7814e99c 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/NullStatistics.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/NullStatistics.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import org.apache.parquet.column.statistics.IntStatistics; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PageMaterializer.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PageMaterializer.java index 2460ceb1dfb..d3c69138f47 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PageMaterializer.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PageMaterializer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import org.apache.parquet.column.values.ValuesReader; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PageMaterializerFactory.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PageMaterializerFactory.java index 721d6c59bde..04bbe4ed49a 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PageMaterializerFactory.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PageMaterializerFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import org.apache.parquet.column.values.ValuesReader; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ParquetFileReader.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ParquetFileReader.java index f11f7ad21fa..3a2971b02fe 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ParquetFileReader.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ParquetFileReader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import io.deephaven.util.channel.SeekableChannelContext; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ParquetFileReaderException.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ParquetFileReaderException.java index af8c2124df9..57d3d454024 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ParquetFileReaderException.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ParquetFileReaderException.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import java.io.IOException; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ParquetFileWriter.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ParquetFileWriter.java index db4515ed364..0ef81d8a2fd 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ParquetFileWriter.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/ParquetFileWriter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import org.apache.parquet.format.converter.ParquetMetadataConverter; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainBinaryChunkedWriter.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainBinaryChunkedWriter.java index 9c3725700f6..d91463c8e36 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainBinaryChunkedWriter.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainBinaryChunkedWriter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import io.deephaven.base.ArrayUtil; @@ -89,8 +89,8 @@ public String memUsageString(String prefix) { @Override public void writeBulk(@NotNull Binary[] bulkValues, - final int rowCount, - @NotNull final Statistics statistics) { + final int rowCount, + @NotNull final Statistics statistics) { for (int i = 0; i < rowCount; i++) { final Binary v = bulkValues[i]; writeBytes(v); @@ -101,9 +101,9 @@ public void writeBulk(@NotNull Binary[] bulkValues, @NotNull @Override public WriteResult writeBulkFilterNulls(@NotNull final Binary[] bulkValues, - @NotNull final RunLengthBitPackingHybridEncoder dlEncoder, - final int rowCount, - @NotNull final Statistics statistics) throws IOException { + @NotNull final RunLengthBitPackingHybridEncoder dlEncoder, + final int rowCount, + @NotNull final Statistics statistics) throws IOException { for (int i = 0; i < rowCount; i++) { if (bulkValues[i] != null) { final Binary v = bulkValues[i]; @@ -120,8 +120,8 @@ public WriteResult writeBulkFilterNulls(@NotNull final Binary[] bulkValues, @Override public @NotNull WriteResult writeBulkVectorFilterNulls(@NotNull Binary[] bulkValues, - final int nonNullLeafCount, - @NotNull final Statistics statistics) { + final int nonNullLeafCount, + @NotNull final Statistics statistics) { nullOffsets.clear(); for (int i = 0; i < nonNullLeafCount; i++) { if (bulkValues[i] != null) { @@ -144,9 +144,10 @@ private void ensureCapacityFor(@NotNull final Binary v) { final int currentCapacity = innerBuffer.capacity(); final int currentPosition = innerBuffer.position(); - final long requiredCapacity = (long)currentPosition + v.length() + Integer.BYTES; + final long requiredCapacity = (long) currentPosition + v.length() + Integer.BYTES; if (requiredCapacity > MAXIMUM_TOTAL_CAPACITY) { - throw new IllegalStateException("Unable to write " + requiredCapacity + " values. (Maximum capacity: " + MAXIMUM_TOTAL_CAPACITY + ".)"); + throw new IllegalStateException("Unable to write " + requiredCapacity + " values. (Maximum capacity: " + + MAXIMUM_TOTAL_CAPACITY + ".)"); } int newCapacity = currentCapacity; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainBooleanChunkedWriter.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainBooleanChunkedWriter.java index 451e6edb9f6..8afbdd5d862 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainBooleanChunkedWriter.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainBooleanChunkedWriter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import io.deephaven.util.QueryConstants; @@ -74,8 +74,8 @@ public String memUsageString(String prefix) { @Override public void writeBulk(@NotNull ByteBuffer bulkValues, - final int rowCount, - @NotNull final Statistics statistics) { + final int rowCount, + @NotNull final Statistics statistics) { while (bulkValues.hasRemaining()) { final boolean v = bulkValues.get() == 1; writeBoolean(v); @@ -86,9 +86,9 @@ public void writeBulk(@NotNull ByteBuffer bulkValues, @NotNull @Override public WriteResult writeBulkFilterNulls(@NotNull ByteBuffer bulkValues, - @NotNull RunLengthBitPackingHybridEncoder dlEncoder, - final int rowCount, - @NotNull final Statistics statistics) throws IOException { + @NotNull RunLengthBitPackingHybridEncoder dlEncoder, + final int rowCount, + @NotNull final Statistics statistics) throws IOException { while (bulkValues.hasRemaining()) { final byte next = bulkValues.get(); if (next != QueryConstants.NULL_BYTE) { @@ -106,8 +106,8 @@ public WriteResult writeBulkFilterNulls(@NotNull ByteBuffer bulkValues, @Override public @NotNull WriteResult writeBulkVectorFilterNulls(@NotNull ByteBuffer bulkValues, - final int rowCount, - @NotNull final Statistics statistics) { + final int rowCount, + @NotNull final Statistics statistics) { nullOffsets.clear(); int i = 0; while (bulkValues.hasRemaining()) { diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainDoubleChunkedWriter.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainDoubleChunkedWriter.java index f90386ddbdb..1a2b5f0d689 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainDoubleChunkedWriter.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainDoubleChunkedWriter.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit PlainIntChunkedWriter and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit PlainIntChunkedWriter and run "./gradlew replicateParquetChunkedWriters" to regenerate +// +// @formatter:off package io.deephaven.parquet.base; import io.deephaven.util.QueryConstants; @@ -91,8 +90,8 @@ public String memUsageString(String prefix) { @Override public void writeBulk(@NotNull DoubleBuffer bulkValues, - final int rowCount, - @NotNull final Statistics statistics) { + final int rowCount, + @NotNull final Statistics statistics) { ensureCapacityFor(bulkValues); // Generate statistics before we perform the bulk write. for (int i = 0; i < rowCount; i++) { @@ -104,9 +103,9 @@ public void writeBulk(@NotNull DoubleBuffer bulkValues, @NotNull @Override public WriteResult writeBulkFilterNulls(@NotNull final DoubleBuffer bulkValues, - @NotNull final RunLengthBitPackingHybridEncoder dlEncoder, - final int rowCount, - @NotNull final Statistics statistics) throws IOException { + @NotNull final RunLengthBitPackingHybridEncoder dlEncoder, + final int rowCount, + @NotNull final Statistics statistics) throws IOException { ensureCapacityFor(bulkValues); while (bulkValues.hasRemaining()) { final double v = bulkValues.get(); @@ -125,8 +124,8 @@ public WriteResult writeBulkFilterNulls(@NotNull final DoubleBuffer bulkValues, @NotNull @Override public WriteResult writeBulkVectorFilterNulls(@NotNull final DoubleBuffer bulkValues, - final int rowCount, - @NotNull final Statistics statistics) { + final int rowCount, + @NotNull final Statistics statistics) { ensureCapacityFor(bulkValues); int i = 0; nullOffsets.clear(); @@ -158,7 +157,8 @@ private void ensureCapacityFor(@NotNull final DoubleBuffer valuesToAdd) { } if (requiredCapacity > MAXIMUM_TOTAL_CAPACITY) { - throw new IllegalStateException("Unable to write " + requiredCapacity + " values. (Maximum capacity: " + MAXIMUM_TOTAL_CAPACITY + ".)"); + throw new IllegalStateException("Unable to write " + requiredCapacity + " values. (Maximum capacity: " + + MAXIMUM_TOTAL_CAPACITY + ".)"); } int newCapacity = currentCapacity; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainFloatChunkedWriter.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainFloatChunkedWriter.java index 22b4c02d078..111e47d81ae 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainFloatChunkedWriter.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainFloatChunkedWriter.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit PlainIntChunkedWriter and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit PlainIntChunkedWriter and run "./gradlew replicateParquetChunkedWriters" to regenerate +// +// @formatter:off package io.deephaven.parquet.base; import io.deephaven.util.QueryConstants; @@ -90,8 +89,8 @@ public String memUsageString(String prefix) { @Override public void writeBulk(@NotNull FloatBuffer bulkValues, - final int rowCount, - @NotNull final Statistics statistics) { + final int rowCount, + @NotNull final Statistics statistics) { ensureCapacityFor(bulkValues); // Generate statistics before we perform the bulk write. for (int i = 0; i < rowCount; i++) { @@ -103,9 +102,9 @@ public void writeBulk(@NotNull FloatBuffer bulkValues, @NotNull @Override public WriteResult writeBulkFilterNulls(@NotNull final FloatBuffer bulkValues, - @NotNull final RunLengthBitPackingHybridEncoder dlEncoder, - final int rowCount, - @NotNull final Statistics statistics) throws IOException { + @NotNull final RunLengthBitPackingHybridEncoder dlEncoder, + final int rowCount, + @NotNull final Statistics statistics) throws IOException { ensureCapacityFor(bulkValues); while (bulkValues.hasRemaining()) { final float v = bulkValues.get(); @@ -124,8 +123,8 @@ public WriteResult writeBulkFilterNulls(@NotNull final FloatBuffer bulkValues, @NotNull @Override public WriteResult writeBulkVectorFilterNulls(@NotNull final FloatBuffer bulkValues, - final int rowCount, - @NotNull final Statistics statistics) { + final int rowCount, + @NotNull final Statistics statistics) { ensureCapacityFor(bulkValues); int i = 0; nullOffsets.clear(); @@ -157,7 +156,8 @@ private void ensureCapacityFor(@NotNull final FloatBuffer valuesToAdd) { } if (requiredCapacity > MAXIMUM_TOTAL_CAPACITY) { - throw new IllegalStateException("Unable to write " + requiredCapacity + " values. (Maximum capacity: " + MAXIMUM_TOTAL_CAPACITY + ".)"); + throw new IllegalStateException("Unable to write " + requiredCapacity + " values. (Maximum capacity: " + + MAXIMUM_TOTAL_CAPACITY + ".)"); } int newCapacity = currentCapacity; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainIntChunkedWriter.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainIntChunkedWriter.java index e16b71724de..9ec4df765a1 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainIntChunkedWriter.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainIntChunkedWriter.java @@ -1,6 +1,6 @@ -/* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import io.deephaven.util.QueryConstants; @@ -96,8 +96,8 @@ public String memUsageString(String prefix) { @Override public void writeBulk(@NotNull IntBuffer bulkValues, - final int rowCount, - @NotNull final Statistics statistics) { + final int rowCount, + @NotNull final Statistics statistics) { ensureCapacityFor(bulkValues); // Generate statistics before we perform the bulk write. for (int i = 0; i < rowCount; i++) { @@ -109,9 +109,9 @@ public void writeBulk(@NotNull IntBuffer bulkValues, @NotNull @Override public WriteResult writeBulkFilterNulls(@NotNull final IntBuffer bulkValues, - @NotNull final RunLengthBitPackingHybridEncoder dlEncoder, - final int rowCount, - @NotNull final Statistics statistics) throws IOException { + @NotNull final RunLengthBitPackingHybridEncoder dlEncoder, + final int rowCount, + @NotNull final Statistics statistics) throws IOException { ensureCapacityFor(bulkValues); while (bulkValues.hasRemaining()) { final int v = bulkValues.get(); @@ -130,8 +130,8 @@ public WriteResult writeBulkFilterNulls(@NotNull final IntBuffer bulkValues, @NotNull @Override public WriteResult writeBulkVectorFilterNulls(@NotNull final IntBuffer bulkValues, - final int rowCount, - @NotNull final Statistics statistics) { + final int rowCount, + @NotNull final Statistics statistics) { ensureCapacityFor(bulkValues); int i = 0; nullOffsets.clear(); @@ -163,7 +163,8 @@ private void ensureCapacityFor(@NotNull final IntBuffer valuesToAdd) { } if (requiredCapacity > MAXIMUM_TOTAL_CAPACITY) { - throw new IllegalStateException("Unable to write " + requiredCapacity + " values. (Maximum capacity: " + MAXIMUM_TOTAL_CAPACITY + ".)"); + throw new IllegalStateException("Unable to write " + requiredCapacity + " values. (Maximum capacity: " + + MAXIMUM_TOTAL_CAPACITY + ".)"); } int newCapacity = currentCapacity; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainLongChunkedWriter.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainLongChunkedWriter.java index 7c763ff6900..21be9101e80 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainLongChunkedWriter.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PlainLongChunkedWriter.java @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit PlainIntChunkedWriter and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit PlainIntChunkedWriter and run "./gradlew replicateParquetChunkedWriters" to regenerate +// +// @formatter:off package io.deephaven.parquet.base; import io.deephaven.util.QueryConstants; @@ -90,8 +89,8 @@ public String memUsageString(String prefix) { @Override public void writeBulk(@NotNull LongBuffer bulkValues, - final int rowCount, - @NotNull final Statistics statistics) { + final int rowCount, + @NotNull final Statistics statistics) { ensureCapacityFor(bulkValues); // Generate statistics before we perform the bulk write. for (int i = 0; i < rowCount; i++) { @@ -103,9 +102,9 @@ public void writeBulk(@NotNull LongBuffer bulkValues, @NotNull @Override public WriteResult writeBulkFilterNulls(@NotNull final LongBuffer bulkValues, - @NotNull final RunLengthBitPackingHybridEncoder dlEncoder, - final int rowCount, - @NotNull final Statistics statistics) throws IOException { + @NotNull final RunLengthBitPackingHybridEncoder dlEncoder, + final int rowCount, + @NotNull final Statistics statistics) throws IOException { ensureCapacityFor(bulkValues); while (bulkValues.hasRemaining()) { final long v = bulkValues.get(); @@ -124,8 +123,8 @@ public WriteResult writeBulkFilterNulls(@NotNull final LongBuffer bulkValues, @NotNull @Override public WriteResult writeBulkVectorFilterNulls(@NotNull final LongBuffer bulkValues, - final int rowCount, - @NotNull final Statistics statistics) { + final int rowCount, + @NotNull final Statistics statistics) { ensureCapacityFor(bulkValues); int i = 0; nullOffsets.clear(); @@ -157,7 +156,8 @@ private void ensureCapacityFor(@NotNull final LongBuffer valuesToAdd) { } if (requiredCapacity > MAXIMUM_TOTAL_CAPACITY) { - throw new IllegalStateException("Unable to write " + requiredCapacity + " values. (Maximum capacity: " + MAXIMUM_TOTAL_CAPACITY + ".)"); + throw new IllegalStateException("Unable to write " + requiredCapacity + " values. (Maximum capacity: " + + MAXIMUM_TOTAL_CAPACITY + ".)"); } int newCapacity = currentCapacity; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PositionedBufferedOutputStream.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PositionedBufferedOutputStream.java index f343f0bcb2e..719bd8f7194 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PositionedBufferedOutputStream.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/PositionedBufferedOutputStream.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import java.io.BufferedOutputStream; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RleIntChunkedWriter.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RleIntChunkedWriter.java index 6d5d782f49c..3db0a298f3b 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RleIntChunkedWriter.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RleIntChunkedWriter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import io.deephaven.util.QueryConstants; @@ -24,7 +24,8 @@ * Plain encoding except for booleans */ final class RleIntChunkedWriter extends AbstractBulkValuesWriter { - private static final Logger LOG = LoggerFactory.getLogger(org.apache.parquet.column.values.plain.PlainValuesWriter.class); + private static final Logger LOG = + LoggerFactory.getLogger(org.apache.parquet.column.values.plain.PlainValuesWriter.class); private final RunLengthBitPackingHybridEncoder encoder; private final byte bitWidth; @@ -53,7 +54,7 @@ public long getBufferedSize() { @Override public BytesInput getBytes() { try { - byte[] bytesHeader = new byte[]{bitWidth}; + byte[] bytesHeader = new byte[] {bitWidth}; BytesInput rleEncodedBytes = encoder.toBytes(); LOG.debug("rle encoded bytes {}", rleEncodedBytes.size()); return concat(BytesInput.from(bytesHeader), rleEncodedBytes); @@ -98,8 +99,8 @@ public String memUsageString(String prefix) { @Override public void writeBulk(@NotNull IntBuffer bulkValues, - final int rowCount, - @Nullable final Statistics statistics) { + final int rowCount, + @Nullable final Statistics statistics) { // Track statistics while we write the values. for (int i = 0; i < rowCount; i++) { final int v = bulkValues.get(); @@ -111,9 +112,9 @@ public void writeBulk(@NotNull IntBuffer bulkValues, @NotNull @Override public WriteResult writeBulkFilterNulls(@NotNull IntBuffer bulkValues, - @NotNull RunLengthBitPackingHybridEncoder dlEncoder, - final int rowCount, - @NotNull final Statistics statistics) throws IOException { + @NotNull RunLengthBitPackingHybridEncoder dlEncoder, + final int rowCount, + @NotNull final Statistics statistics) throws IOException { while (bulkValues.hasRemaining()) { int v = bulkValues.get(); if (v != QueryConstants.NULL_INT) { @@ -130,8 +131,8 @@ public WriteResult writeBulkFilterNulls(@NotNull IntBuffer bulkValues, @Override public @NotNull WriteResult writeBulkVectorFilterNulls(@NotNull IntBuffer bulkValues, - final int rowCount, - @NotNull final Statistics statistics) { + final int rowCount, + @NotNull final Statistics statistics) { nullOffsets.clear(); int i = 0; while (bulkValues.hasRemaining()) { diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RowGroupReader.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RowGroupReader.java index 71f02961ca3..2be283eb575 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RowGroupReader.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RowGroupReader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import io.deephaven.util.channel.SeekableChannelContext; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RowGroupReaderImpl.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RowGroupReaderImpl.java index 3bbba1aa586..f9d81a6f607 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RowGroupReaderImpl.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RowGroupReaderImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import io.deephaven.util.channel.SeekableChannelsProvider; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RowGroupWriter.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RowGroupWriter.java index 1e859c5cfb0..4cecf8586b4 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RowGroupWriter.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RowGroupWriter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import org.apache.parquet.hadoop.metadata.BlockMetaData; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RowGroupWriterImpl.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RowGroupWriterImpl.java index 1697fe5f9a3..c873f15d495 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RowGroupWriterImpl.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RowGroupWriterImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; import io.deephaven.parquet.compress.CompressorAdapter; diff --git a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RunLengthBitPackingHybridBufferDecoder.java b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RunLengthBitPackingHybridBufferDecoder.java index 1ddb268b498..659265c28ca 100644 --- a/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RunLengthBitPackingHybridBufferDecoder.java +++ b/extensions/parquet/base/src/main/java/io/deephaven/parquet/base/RunLengthBitPackingHybridBufferDecoder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.base; diff --git a/extensions/parquet/benchmark/src/benchmark/java/io/deephaven/benchmark/parquet/table/TableWriteBenchmark.java b/extensions/parquet/benchmark/src/benchmark/java/io/deephaven/benchmark/parquet/table/TableWriteBenchmark.java index fa0613c7227..57f01185faa 100644 --- a/extensions/parquet/benchmark/src/benchmark/java/io/deephaven/benchmark/parquet/table/TableWriteBenchmark.java +++ b/extensions/parquet/benchmark/src/benchmark/java/io/deephaven/benchmark/parquet/table/TableWriteBenchmark.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.benchmark.parquet.table; import io.deephaven.base.FileUtils; diff --git a/extensions/parquet/compression/src/main/java/io/deephaven/parquet/compress/CompressorAdapter.java b/extensions/parquet/compression/src/main/java/io/deephaven/parquet/compress/CompressorAdapter.java index 585a0ecadef..56f557ce8b5 100644 --- a/extensions/parquet/compression/src/main/java/io/deephaven/parquet/compress/CompressorAdapter.java +++ b/extensions/parquet/compression/src/main/java/io/deephaven/parquet/compress/CompressorAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.compress; import io.deephaven.util.SafeCloseable; diff --git a/extensions/parquet/compression/src/main/java/io/deephaven/parquet/compress/DeephavenCompressorAdapterFactory.java b/extensions/parquet/compression/src/main/java/io/deephaven/parquet/compress/DeephavenCompressorAdapterFactory.java index 2d0ee895fd7..1fc9cd3afdf 100644 --- a/extensions/parquet/compression/src/main/java/io/deephaven/parquet/compress/DeephavenCompressorAdapterFactory.java +++ b/extensions/parquet/compression/src/main/java/io/deephaven/parquet/compress/DeephavenCompressorAdapterFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.compress; import com.google.common.io.ByteStreams; diff --git a/extensions/parquet/compression/src/main/java/io/deephaven/parquet/compress/LZ4WithLZ4RawBackupCompressorAdapter.java b/extensions/parquet/compression/src/main/java/io/deephaven/parquet/compress/LZ4WithLZ4RawBackupCompressorAdapter.java index fb08e723cdd..9abb8ebd457 100644 --- a/extensions/parquet/compression/src/main/java/io/deephaven/parquet/compress/LZ4WithLZ4RawBackupCompressorAdapter.java +++ b/extensions/parquet/compression/src/main/java/io/deephaven/parquet/compress/LZ4WithLZ4RawBackupCompressorAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.compress; import org.apache.hadoop.io.compress.CompressionCodec; diff --git a/extensions/parquet/table/src/brotliTest/java/io/deephaven/parquet/table/BrotliParquetTableReadWriteTest.java b/extensions/parquet/table/src/brotliTest/java/io/deephaven/parquet/table/BrotliParquetTableReadWriteTest.java index 68bca70ff5c..4b7aa5b4feb 100644 --- a/extensions/parquet/table/src/brotliTest/java/io/deephaven/parquet/table/BrotliParquetTableReadWriteTest.java +++ b/extensions/parquet/table/src/brotliTest/java/io/deephaven/parquet/table/BrotliParquetTableReadWriteTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; import io.deephaven.api.Selectable; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/BigDecimalParquetBytesCodec.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/BigDecimalParquetBytesCodec.java index 502eb7bdc67..940d0643c4c 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/BigDecimalParquetBytesCodec.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/BigDecimalParquetBytesCodec.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; import io.deephaven.datastructures.util.CollectionUtil; @@ -30,7 +30,7 @@ public class BigDecimalParquetBytesCodec implements ObjectCodec { * precision. */ public BigDecimalParquetBytesCodec(final int precision, final int scale, final int encodedSizeInBytes, - final RoundingMode roundingMode) { + final RoundingMode roundingMode) { if (precision <= 0) { throw new IllegalArgumentException("precision (=" + precision + ") should be > 0"); } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/BigIntegerParquetBytesCodec.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/BigIntegerParquetBytesCodec.java index 149d9397d26..c8cd436e566 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/BigIntegerParquetBytesCodec.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/BigIntegerParquetBytesCodec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; import io.deephaven.datastructures.util.CollectionUtil; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/DictionarySizeExceededException.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/DictionarySizeExceededException.java index f4aab5025c3..a58a03d3e95 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/DictionarySizeExceededException.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/DictionarySizeExceededException.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; import io.deephaven.UncheckedDeephavenException; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/MappedSchema.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/MappedSchema.java index afcf4ca927c..d818443bb58 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/MappedSchema.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/MappedSchema.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; import io.deephaven.engine.rowset.RowSet; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetCacheTags.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetCacheTags.java index 58c927634bc..e1a76ca5fe4 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetCacheTags.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetCacheTags.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; public enum ParquetCacheTags { diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetInstructions.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetInstructions.java index b209af59c32..ba2e77e3b52 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetInstructions.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetInstructions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; import io.deephaven.base.verify.Require; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetSchemaReader.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetSchemaReader.java index d6bb66d7c10..6178a0bae7e 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetSchemaReader.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetSchemaReader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; import io.deephaven.UncheckedDeephavenException; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetTableWriter.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetTableWriter.java index 34b6983c727..f2b470f9be7 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetTableWriter.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetTableWriter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; import io.deephaven.UncheckedDeephavenException; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetTools.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetTools.java index 5ea3e1ca9ba..2e5fceb7e3b 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetTools.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/ParquetTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; import io.deephaven.UncheckedDeephavenException; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/SchemaMappingException.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/SchemaMappingException.java index a927617ab34..079d8eb612d 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/SchemaMappingException.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/SchemaMappingException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; public class SchemaMappingException extends Exception { diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/TypeInfos.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/TypeInfos.java index 48d43f44dc4..dfb18f8889a 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/TypeInfos.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/TypeInfos.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; import io.deephaven.engine.rowset.RowSet; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/DeephavenNestedPartitionLayout.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/DeephavenNestedPartitionLayout.java index 79f8ee18a1e..056312818c7 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/DeephavenNestedPartitionLayout.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/DeephavenNestedPartitionLayout.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.layout; import io.deephaven.engine.table.impl.locations.TableDataException; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/LocationTableBuilderCsv.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/LocationTableBuilderCsv.java index c08daeaf752..051a3db9033 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/LocationTableBuilderCsv.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/LocationTableBuilderCsv.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.layout; import io.deephaven.csv.CsvTools; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetFileHelper.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetFileHelper.java index 86dbc5ad3fa..1c9c0edd907 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetFileHelper.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetFileHelper.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.layout; import io.deephaven.parquet.table.ParquetTableWriter; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetFlatPartitionedLayout.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetFlatPartitionedLayout.java index bbaefc5d971..8d758b82118 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetFlatPartitionedLayout.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetFlatPartitionedLayout.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.layout; import io.deephaven.engine.table.impl.locations.TableDataException; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetKeyValuePartitionedLayout.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetKeyValuePartitionedLayout.java index b1ea92a4b70..6d5226d1313 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetKeyValuePartitionedLayout.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetKeyValuePartitionedLayout.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.layout; import io.deephaven.csv.CsvTools; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetMetadataFileLayout.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetMetadataFileLayout.java index a7ed9a754c3..b27e28d3311 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetMetadataFileLayout.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetMetadataFileLayout.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.layout; import gnu.trove.list.TIntList; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetSingleFileLayout.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetSingleFileLayout.java index 8cfd5466df0..cc328eaba63 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetSingleFileLayout.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/layout/ParquetSingleFileLayout.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.layout; import io.deephaven.engine.table.impl.locations.impl.TableLocationKeyFinder; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location/ParquetColumnLocation.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location/ParquetColumnLocation.java index d5182938617..801f8e214b0 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location/ParquetColumnLocation.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location/ParquetColumnLocation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.location; import io.deephaven.base.verify.Assert; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location/ParquetTableLocation.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location/ParquetTableLocation.java index d3652947bc3..8c045150819 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location/ParquetTableLocation.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location/ParquetTableLocation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.location; import io.deephaven.engine.table.impl.locations.TableKey; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location/ParquetTableLocationFactory.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location/ParquetTableLocationFactory.java index e06608a97e3..b90e335290f 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location/ParquetTableLocationFactory.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location/ParquetTableLocationFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.location; import io.deephaven.engine.table.impl.locations.TableKey; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location/ParquetTableLocationKey.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location/ParquetTableLocationKey.java index f8f4a24556e..04ab35607c2 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location/ParquetTableLocationKey.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location/ParquetTableLocationKey.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.location; import io.deephaven.engine.table.impl.locations.local.URITableLocationKey; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/metadata/CodecInfo.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/metadata/CodecInfo.java index 0f823f89640..d7b15d75bc3 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/metadata/CodecInfo.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/metadata/CodecInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.metadata; import com.fasterxml.jackson.annotation.JsonInclude; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/metadata/ColumnTypeInfo.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/metadata/ColumnTypeInfo.java index 7b4fd9138c5..35660652f1a 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/metadata/ColumnTypeInfo.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/metadata/ColumnTypeInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.metadata; import com.fasterxml.jackson.annotation.JsonInclude; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/metadata/GroupingColumnInfo.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/metadata/GroupingColumnInfo.java index 59f047b7627..fdcc7c5da1c 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/metadata/GroupingColumnInfo.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/metadata/GroupingColumnInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.metadata; import com.fasterxml.jackson.annotation.JsonInclude; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/metadata/TableInfo.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/metadata/TableInfo.java index fb6b8da2002..de7cbe2187e 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/metadata/TableInfo.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/metadata/TableInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.metadata; import com.fasterxml.jackson.annotation.JsonInclude; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/ColumnChunkPageStore.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/ColumnChunkPageStore.java index d7f384f5260..699a9cf3712 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/ColumnChunkPageStore.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/ColumnChunkPageStore.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore; import io.deephaven.base.verify.Require; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/OffsetIndexBasedColumnChunkPageStore.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/OffsetIndexBasedColumnChunkPageStore.java index 807837d13aa..9c5b6bb778c 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/OffsetIndexBasedColumnChunkPageStore.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/OffsetIndexBasedColumnChunkPageStore.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore; import io.deephaven.base.verify.Assert; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/PageCache.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/PageCache.java index 5e73757f8c9..fd971793845 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/PageCache.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/PageCache.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore; import io.deephaven.chunk.attributes.Any; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/VariablePageSizeColumnChunkPageStore.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/VariablePageSizeColumnChunkPageStore.java index 1a2e0f1ff62..3071c157edd 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/VariablePageSizeColumnChunkPageStore.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/VariablePageSizeColumnChunkPageStore.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore; import io.deephaven.base.verify.Assert; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ChunkDictionary.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ChunkDictionary.java index ac57f7686e9..56bccb4e4a0 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ChunkDictionary.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ChunkDictionary.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import gnu.trove.map.TObjectIntMap; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToArrayPage.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToArrayPage.java index 667c119e1f1..579f8278b9e 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToArrayPage.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToArrayPage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.attributes.Any; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBigDecimalBase.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBigDecimalBase.java index 2cb41a041a7..d2a63f2593a 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBigDecimalBase.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBigDecimalBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.ChunkType; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBigDecimalFromIntPage.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBigDecimalFromIntPage.java index c50a5187a05..347f942894b 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBigDecimalFromIntPage.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBigDecimalFromIntPage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.attributes.Any; @@ -15,8 +15,7 @@ public class ToBigDecimalFromIntPage extends ToBigDecimalBase< public static ToPage create( @NotNull final Class nativeType, final int precision, - final int scale - ) { + final int scale) { return new ToBigDecimalFromIntPage(nativeType, precision, scale); } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBigDecimalFromLongPage.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBigDecimalFromLongPage.java index 392dc956e25..84c9bad2808 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBigDecimalFromLongPage.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBigDecimalFromLongPage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.attributes.Any; @@ -15,8 +15,7 @@ public class ToBigDecimalFromLongPage extends ToBigDecimalBase public static ToPage create( @NotNull final Class nativeType, final int precision, - final int scale - ) { + final int scale) { return new ToBigDecimalFromLongPage(nativeType, precision, scale); } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBooleanAsBytePage.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBooleanAsBytePage.java index aea41095f12..f7e13a3e036 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBooleanAsBytePage.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBooleanAsBytePage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.attributes.Any; @@ -18,15 +18,15 @@ public class ToBooleanAsBytePage implements ToPage ToBooleanAsBytePage create(Class nativeType) { if (nativeType == null || Boolean.class.equals(nativeType)) { - //noinspection unchecked + // noinspection unchecked return INSTANCE; } - throw new IllegalArgumentException("The native type for a BooleanAsByte column is " + nativeType.getCanonicalName()); + throw new IllegalArgumentException( + "The native type for a BooleanAsByte column is " + nativeType.getCanonicalName()); } - private ToBooleanAsBytePage() - {} + private ToBooleanAsBytePage() {} @Override @NotNull diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBytePageFromInt.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBytePageFromInt.java index 5cdb88ca1c0..a8ce4677508 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBytePageFromInt.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToBytePageFromInt.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ToCharPageFromInt and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ToCharPageFromInt and run "./gradlew replicateToPage" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.ChunkType; @@ -22,7 +21,7 @@ public class ToBytePageFromInt implements ToPage public static ToBytePageFromInt create(Class nativeType) { if (nativeType == null || byte.class.equals(nativeType)) { - //noinspection unchecked + // noinspection unchecked return INSTANCE; } @@ -52,8 +51,8 @@ public final Object nullValue() { @Override @NotNull public final byte[] convertResult(Object result) { - int [] from = (int []) result; - byte [] to = new byte [from.length]; + int[] from = (int[]) result; + byte[] to = new byte[from.length]; for (int i = 0; i < from.length; ++i) { to[i] = (byte) from[i]; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToCharPageFromInt.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToCharPageFromInt.java index 3a6326c9e1f..42d820ac711 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToCharPageFromInt.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToCharPageFromInt.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.ChunkType; @@ -17,7 +17,7 @@ public class ToCharPageFromInt implements ToPage public static ToCharPageFromInt create(Class nativeType) { if (nativeType == null || char.class.equals(nativeType)) { - //noinspection unchecked + // noinspection unchecked return INSTANCE; } @@ -47,8 +47,8 @@ public final Object nullValue() { @Override @NotNull public final char[] convertResult(Object result) { - int [] from = (int []) result; - char [] to = new char [from.length]; + int[] from = (int[]) result; + char[] to = new char[from.length]; for (int i = 0; i < from.length; ++i) { to[i] = (char) from[i]; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToDatePageFromInt.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToDatePageFromInt.java index eec5e11c596..1f141cf46b9 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToDatePageFromInt.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToDatePageFromInt.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.ChunkType; @@ -18,7 +18,7 @@ public class ToDatePageFromInt implements ToPage ToDatePageFromInt create(final Class nativeType) { if (nativeType == null || LocalDate.class.equals(nativeType)) { - //noinspection unchecked + // noinspection unchecked return INSTANCE; } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToDoublePage.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToDoublePage.java index 6b60b4b1d31..9526766d522 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToDoublePage.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToDoublePage.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ToIntPage and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ToIntPage and run "./gradlew replicateToPage" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.ChunkType; @@ -20,7 +19,7 @@ public class ToDoublePage implements ToPage { public static ToDoublePage create(Class nativeType) { if (nativeType == null || double.class.equals(nativeType)) { - //noinspection unchecked + // noinspection unchecked return INSTANCE; } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToFloatPage.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToFloatPage.java index 5e491883c8b..944e32645c8 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToFloatPage.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToFloatPage.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ToIntPage and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ToIntPage and run "./gradlew replicateToPage" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.ChunkType; @@ -20,7 +19,7 @@ public class ToFloatPage implements ToPage { public static ToFloatPage create(Class nativeType) { if (nativeType == null || float.class.equals(nativeType)) { - //noinspection unchecked + // noinspection unchecked return INSTANCE; } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToInstantPage.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToInstantPage.java index 97522a6c84a..1df34a35b89 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToInstantPage.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToInstantPage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.attributes.Any; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToInstantPageFromInt96.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToInstantPageFromInt96.java index 16d2ca9e397..5d42a8f922b 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToInstantPageFromInt96.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToInstantPageFromInt96.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.attributes.Any; @@ -19,16 +19,15 @@ import static io.deephaven.util.QueryConstants.NULL_LONG; /** - * Parquet {@link ToPage} implementation for {@link Instant}s stored as Int96s representing an Impala - * format Timestamp (nanoseconds of day and Julian date encoded as 8 bytes and 4 bytes, respectively) + * Parquet {@link ToPage} implementation for {@link Instant}s stored as Int96s representing an Impala format Timestamp + * (nanoseconds of day and Julian date encoded as 8 bytes and 4 bytes, respectively) * */ public class ToInstantPageFromInt96 implements ToPage { /* - * Potential references/points of comparison for this algorithm: - * https://github.com/apache/iceberg/pull/1184/files - * https://github.com/apache/arrow/blob/master/cpp/src/parquet/types.h - * (last retrieved as https://github.com/apache/arrow/blob/d5a2aa2ffb1c2fc4f3ca48c829fcdba80ec67916/cpp/src/parquet/types.h) + * Potential references/points of comparison for this algorithm: https://github.com/apache/iceberg/pull/1184/files + * https://github.com/apache/arrow/blob/master/cpp/src/parquet/types.h (last retrieved as + * https://github.com/apache/arrow/blob/d5a2aa2ffb1c2fc4f3ca48c829fcdba80ec67916/cpp/src/parquet/types.h) */ @SuppressWarnings("rawtypes") private static final ToInstantPageFromInt96 INSTANCE = new ToInstantPageFromInt96<>(); @@ -36,32 +35,32 @@ public class ToInstantPageFromInt96 implements ToPage ToInstantPageFromInt96 create(@NotNull Class nativeType) { if (Instant.class.equals(nativeType)) { - //noinspection unchecked + // noinspection unchecked return INSTANCE; } throw new IllegalArgumentException("The native type foran Instant column is " + nativeType.getCanonicalName()); } - private ToInstantPageFromInt96() { - } + private ToInstantPageFromInt96() {} /** - * Allows overriding the time zone to be used when interpreting Int96 timestamp values. - * Default is UTC. Can be set globally with the parameter deephaven.parquet.referenceTimeZone. - * Valid values are time zone Strings which would be used in {@link DateTimeUtils#parseInstant(String) parseInstant}, - * such as NY. + * Allows overriding the time zone to be used when interpreting Int96 timestamp values. Default is UTC. Can be set + * globally with the parameter deephaven.parquet.referenceTimeZone. Valid values are time zone Strings which would + * be used in {@link DateTimeUtils#parseInstant(String) parseInstant}, such as NY. * * @param timeZone */ public static void setReferenceTimeZone(@NotNull final String timeZone) { - offset = DateTimeUtils.nanosOfDay(DateTimeUtils.parseInstant("1970-01-01T00:00:00 " + timeZone), ZoneId.of("UTC")); + offset = DateTimeUtils.nanosOfDay(DateTimeUtils.parseInstant("1970-01-01T00:00:00 " + timeZone), + ZoneId.of("UTC")); } @Override @@ -77,7 +76,9 @@ public final ChunkType getChunkType() { } @Override - public Object nullValue() { return null; } + public Object nullValue() { + return null; + } @Override @NotNull @@ -88,7 +89,7 @@ public final Class getNativeComponentType() { @Override public final long[] convertResult(@NotNull final Object result) { // result is delivered as an array of Binary[12] - final Binary[] results = (Binary[])result; + final Binary[] results = (Binary[]) result; final int resultLength = results.length; final long[] resultLongs = new long[resultLength]; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToIntPage.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToIntPage.java index cd5c43fb0bd..68f4a96b8d2 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToIntPage.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToIntPage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.ChunkType; @@ -15,7 +15,7 @@ public class ToIntPage implements ToPage { public static ToIntPage create(Class nativeType) { if (nativeType == null || int.class.equals(nativeType)) { - //noinspection unchecked + // noinspection unchecked return INSTANCE; } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToLocalDateTimePage.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToLocalDateTimePage.java index 356d547c74e..1cf593e2354 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToLocalDateTimePage.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToLocalDateTimePage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.ChunkType; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToLongPage.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToLongPage.java index 51548edfb3a..0acaaab2d91 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToLongPage.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToLongPage.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ToIntPage and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ToIntPage and run "./gradlew replicateToPage" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.ChunkType; @@ -20,7 +19,7 @@ public class ToLongPage implements ToPage { public static ToLongPage create(Class nativeType) { if (nativeType == null || long.class.equals(nativeType)) { - //noinspection unchecked + // noinspection unchecked return INSTANCE; } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToObjectPage.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToObjectPage.java index c2b0e667d27..e13c7b9fe7f 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToObjectPage.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToObjectPage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.attributes.Any; @@ -19,14 +19,13 @@ public class ToObjectPage implements ToPage { private final Class nativeType; private final ObjectCodec codec; - public static - ToPage create( + public static ToPage create( final Class nativeType, @NotNull final ObjectCodec codec, final Function dictionarySupplier) { if (!nativeType.isPrimitive()) { - return dictionarySupplier == null ? new ToObjectPage<>(nativeType, codec) : - new ToPageWithDictionary<>( + return dictionarySupplier == null ? new ToObjectPage<>(nativeType, codec) + : new ToPageWithDictionary<>( nativeType, new ChunkDictionary<>( (dictionary, key) -> { @@ -63,9 +62,10 @@ public final T[] convertResult(Object result) { return convertResult(nativeType, codec, result); } - private static T2[] convertResult(final Class nativeType, final ObjectCodec codec, final Object result) { + private static T2[] convertResult(final Class nativeType, final ObjectCodec codec, + final Object result) { Binary[] from = (Binary[]) result; - //noinspection unchecked + // noinspection unchecked T2[] to = (T2[]) Array.newInstance(nativeType, from.length); for (int ri = 0; ri < to.length; ++ri) { diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToPage.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToPage.java index e3098678084..c8bf4476115 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToPage.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToPage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.attributes.Any; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToPageWithDictionary.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToPageWithDictionary.java index c947b281c82..94cb1ccc415 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToPageWithDictionary.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToPageWithDictionary.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.util.channel.SeekableChannelContext; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToShortPageFromInt.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToShortPageFromInt.java index 29c70cbdecf..ff1e32286fc 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToShortPageFromInt.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToShortPageFromInt.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ToCharPageFromInt and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ToCharPageFromInt and run "./gradlew replicateToPage" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.ChunkType; @@ -22,7 +21,7 @@ public class ToShortPageFromInt implements ToPage ToShortPageFromInt create(Class nativeType) { if (nativeType == null || short.class.equals(nativeType)) { - //noinspection unchecked + // noinspection unchecked return INSTANCE; } @@ -52,8 +51,8 @@ public final Object nullValue() { @Override @NotNull public final short[] convertResult(Object result) { - int [] from = (int []) result; - short [] to = new short [from.length]; + int[] from = (int[]) result; + short[] to = new short[from.length]; for (int i = 0; i < from.length; ++i) { to[i] = (short) from[i]; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToStringPage.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToStringPage.java index 2b3a61e97f6..56945287c82 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToStringPage.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToStringPage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.attributes.Any; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToStringSetPage.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToStringSetPage.java index 7a69cb2f2cc..66172e40c47 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToStringSetPage.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToStringSetPage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.attributes.Any; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToTimePage.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToTimePage.java index fd64896b4c8..d164557a358 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToTimePage.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToTimePage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.ChunkType; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToVectorPage.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToVectorPage.java index e66763ce87e..32e436c288e 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToVectorPage.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/pagestore/topage/ToVectorPage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.pagestore.topage; import io.deephaven.chunk.attributes.Any; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegion.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegion.java index a5ec3b688c0..cecf21223b3 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegion.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegion.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.region; import io.deephaven.chunk.attributes.Any; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionBase.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionBase.java index 2b135085501..6973e32c607 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionBase.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.region; import io.deephaven.base.verify.Require; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionByte.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionByte.java index a734279cec7..2895afe592b 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionByte.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionByte.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ParquetColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ParquetColumnRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.region; import io.deephaven.chunk.WritableByteChunk; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionChar.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionChar.java index 93a08222476..e4506ec7e2c 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionChar.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionChar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.region; import io.deephaven.engine.table.impl.locations.TableDataException; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionDouble.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionDouble.java index 7198855c27e..71cf5616ca9 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionDouble.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionDouble.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ParquetColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ParquetColumnRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.region; import io.deephaven.engine.table.impl.locations.TableDataException; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionFloat.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionFloat.java index b01e8eab937..57d5e4f4e07 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionFloat.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionFloat.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ParquetColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ParquetColumnRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.region; import io.deephaven.engine.table.impl.locations.TableDataException; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionInt.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionInt.java index fbc6d5ab223..261cfffbdd8 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionInt.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionInt.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ParquetColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ParquetColumnRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.region; import io.deephaven.engine.table.impl.locations.TableDataException; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionLong.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionLong.java index 0104dbd4d50..08a3f35aeb5 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionLong.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionLong.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ParquetColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ParquetColumnRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.region; import io.deephaven.engine.table.impl.locations.TableDataException; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionObject.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionObject.java index b52d882f4e5..44f5c6379c2 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionObject.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.region; import io.deephaven.engine.table.impl.locations.TableDataException; @@ -17,8 +17,8 @@ import java.util.function.Supplier; /** - * {@link ColumnRegionObject} implementation for regions that support fetching objects from - * {@link ColumnChunkPageStore column chunk page stores}. + * {@link ColumnRegionObject} implementation for regions that support fetching objects from {@link ColumnChunkPageStore + * column chunk page stores}. */ public final class ParquetColumnRegionObject extends ParquetColumnRegionBase implements ColumnRegionObject, ParquetColumnRegion { @@ -30,8 +30,8 @@ public final class ParquetColumnRegionObject extend private ColumnRegionObject dictionaryValuesRegion; public ParquetColumnRegionObject(@NotNull final ColumnChunkPageStore columnChunkPageStore, - @NotNull final Supplier> dictionaryKeysRegionSupplier, - @NotNull final Supplier> dictionaryValuesRegionSupplier) { + @NotNull final Supplier> dictionaryKeysRegionSupplier, + @NotNull final Supplier> dictionaryValuesRegionSupplier) { super(columnChunkPageStore.mask(), columnChunkPageStore); this.dictionaryKeysRegionSupplier = dictionaryKeysRegionSupplier; this.dictionaryValuesRegionSupplier = dictionaryValuesRegionSupplier; @@ -42,7 +42,8 @@ public DATA_TYPE getObject(final long rowKey) { try { return page.asObjectChunk().get(page.getChunkOffset(rowKey)); } catch (Exception e) { - throw new TableDataException("Error retrieving object at Object row key " + rowKey + " from a parquet table", e); + throw new TableDataException( + "Error retrieving object at Object row key " + rowKey + " from a parquet table", e); } } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionShort.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionShort.java index 9686cb1390f..813d15731f2 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionShort.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/region/ParquetColumnRegionShort.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ParquetColumnRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ParquetColumnRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.region; import io.deephaven.engine.table.impl.locations.TableDataException; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ArrayAndVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ArrayAndVectorTransfer.java index 351250c5903..f4133e97e75 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ArrayAndVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ArrayAndVectorTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/BooleanArrayTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/BooleanArrayTransfer.java index af042ca57d1..ea1ea9ebd0a 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/BooleanArrayTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/BooleanArrayTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; @@ -15,8 +15,9 @@ final class BooleanArrayTransfer extends PrimitiveArrayAndVectorTransfer columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { super(columnSource, tableRowSet, targetPageSizeInBytes * NUM_BIT_PACKED_BOOLEANS_PER_BYTE, targetPageSizeInBytes * NUM_BIT_PACKED_BOOLEANS_PER_BYTE, ByteBuffer.allocate(targetPageSizeInBytes * NUM_BIT_PACKED_BOOLEANS_PER_BYTE), diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/BooleanTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/BooleanTransfer.java index cf8ef4ad45b..31d83ee2cca 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/BooleanTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/BooleanTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.chunk.WritableByteChunk; @@ -16,7 +16,7 @@ final class BooleanTransfer extends FillingPrimitiveTransfer columnSource, @NotNull final RowSet tableRowSet, - int targetPageSizeInBytes) { + int targetPageSizeInBytes) { final int NUM_BIT_PACKED_BOOLEANS_PER_BYTE = 8; final int targetElementsPerPage = Math.toIntExact(Math.min(tableRowSet.size(), (long) targetPageSizeInBytes * NUM_BIT_PACKED_BOOLEANS_PER_BYTE)); diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/BooleanVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/BooleanVectorTransfer.java index a9447c6820f..26a089ba69d 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/BooleanVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/BooleanVectorTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.primitive.iterator.CloseableIterator; @@ -17,8 +17,9 @@ final class BooleanVectorTransfer extends PrimitiveVectorTransfer columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { super(columnSource, tableRowSet, targetPageSizeInBytes * NUM_BIT_PACKED_BOOLEANS_PER_BYTE, targetPageSizeInBytes * NUM_BIT_PACKED_BOOLEANS_PER_BYTE, ByteBuffer.allocate(targetPageSizeInBytes * NUM_BIT_PACKED_BOOLEANS_PER_BYTE), diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ByteArrayTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ByteArrayTransfer.java index 530b33d7e46..e20c26990cf 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ByteArrayTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ByteArrayTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharArrayTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharArrayTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; @@ -16,7 +15,7 @@ final class ByteArrayTransfer extends PrimitiveArrayAndVectorTransfer { ByteArrayTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { // We encode primitive bytes as primitive ints super(columnSource, tableRowSet, targetPageSizeInBytes / Integer.BYTES, targetPageSizeInBytes, IntBuffer.allocate(targetPageSizeInBytes / Integer.BYTES), Integer.BYTES); diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ByteTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ByteTransfer.java index 97cb21bb3bb..6e2d763501c 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ByteTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ByteTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.chunk.ByteChunk; @@ -15,7 +14,8 @@ import org.jetbrains.annotations.NotNull; final class ByteTransfer extends IntCastablePrimitiveTransfer> { - ByteTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSet tableRowSet, final int targetPageSizeInBytes) { + ByteTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSet tableRowSet, + final int targetPageSizeInBytes) { super(columnSource, tableRowSet, targetPageSizeInBytes); } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ByteVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ByteVectorTransfer.java index 7bb12ec2a26..6b6979cfd32 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ByteVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ByteVectorTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfByte; @@ -18,7 +17,7 @@ final class ByteVectorTransfer extends PrimitiveVectorTransfer { ByteVectorTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { // We encode primitive bytes as primitive ints super(columnSource, tableRowSet, targetPageSizeInBytes / Integer.BYTES, targetPageSizeInBytes, IntBuffer.allocate(targetPageSizeInBytes / Integer.BYTES), Integer.BYTES); @@ -35,4 +34,4 @@ void copyToBuffer(@NotNull final EncodedData data) { dataIterator.forEachRemaining((byte value) -> buffer.put(value)); } } -} \ No newline at end of file +} diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CharArrayTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CharArrayTransfer.java index eff48818342..69d606597a0 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CharArrayTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CharArrayTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; @@ -11,7 +11,7 @@ final class CharArrayTransfer extends PrimitiveArrayAndVectorTransfer { CharArrayTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { // We encode primitive chars as primitive ints super(columnSource, tableRowSet, targetPageSizeInBytes / Integer.BYTES, targetPageSizeInBytes, IntBuffer.allocate(targetPageSizeInBytes / Integer.BYTES), Integer.BYTES); diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CharTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CharTransfer.java index f680f9f0f40..e3e4ac17d10 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CharTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CharTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.chunk.CharChunk; @@ -10,7 +10,8 @@ import org.jetbrains.annotations.NotNull; final class CharTransfer extends IntCastablePrimitiveTransfer> { - CharTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSet tableRowSet, final int targetPageSizeInBytes) { + CharTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSet tableRowSet, + final int targetPageSizeInBytes) { super(columnSource, tableRowSet, targetPageSizeInBytes); } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CharVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CharVectorTransfer.java index 20e179d0d9c..2e4b3617fa4 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CharVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CharVectorTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfChar; @@ -13,7 +13,7 @@ final class CharVectorTransfer extends PrimitiveVectorTransfer { CharVectorTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { // We encode primitive chars as primitive ints super(columnSource, tableRowSet, targetPageSizeInBytes / Integer.BYTES, targetPageSizeInBytes, IntBuffer.allocate(targetPageSizeInBytes / Integer.BYTES), Integer.BYTES); @@ -30,4 +30,4 @@ void copyToBuffer(@NotNull final EncodedData data) { dataIterator.forEachRemaining((char value) -> buffer.put(value)); } } -} \ No newline at end of file +} diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CodecArrayTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CodecArrayTransfer.java index 2034d87d59b..726d4b71882 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CodecArrayTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CodecArrayTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CodecTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CodecTransfer.java index da8438a6ff3..4f71aa5f74e 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CodecTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CodecTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CodecVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CodecVectorTransfer.java index 30ac3f8e3c2..bd1df9a8b11 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CodecVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/CodecVectorTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DateArrayTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DateArrayTransfer.java index 199f3d9714d..c2e532cc7d7 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DateArrayTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DateArrayTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit InstantArrayTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit InstantArrayTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DateTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DateTransfer.java index ea124380b33..81a40c575ba 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DateTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DateTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DateVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DateVectorTransfer.java index d57f3d90334..a9c3b49dc49 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DateVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DateVectorTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit InstantVectorTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit InstantVectorTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.engine.primitive.iterator.CloseableIterator; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DictEncodedStringArrayAndVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DictEncodedStringArrayAndVectorTransfer.java index 3dd2610f449..dbe0e8a2fd7 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DictEncodedStringArrayAndVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DictEncodedStringArrayAndVectorTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DictEncodedStringArrayTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DictEncodedStringArrayTransfer.java index 761cb27fa14..e9a83d02fb2 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DictEncodedStringArrayTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DictEncodedStringArrayTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DictEncodedStringTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DictEncodedStringTransfer.java index 1435b14bf9d..4208030c1ec 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DictEncodedStringTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DictEncodedStringTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DictEncodedStringVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DictEncodedStringVectorTransfer.java index 074dc61b301..97722551c49 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DictEncodedStringVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DictEncodedStringVectorTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.primitive.iterator.CloseableIterator; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DoubleArrayTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DoubleArrayTransfer.java index 1491d199368..66fa189f989 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DoubleArrayTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DoubleArrayTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit IntArrayTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntArrayTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; @@ -16,7 +15,7 @@ final class DoubleArrayTransfer extends PrimitiveArrayAndVectorTransfer { DoubleArrayTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { super(columnSource, tableRowSet, targetPageSizeInBytes / Double.BYTES, targetPageSizeInBytes, DoubleBuffer.allocate(targetPageSizeInBytes / Double.BYTES), Double.BYTES); } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DoubleTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DoubleTransfer.java index 84ecbc8bf64..7e851bfda52 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DoubleTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DoubleTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit IntTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.chunk.WritableDoubleChunk; @@ -19,8 +18,9 @@ final class DoubleTransfer extends FillingPrimitiveTransfer, DoubleBuffer> { static DoubleTransfer create(@NotNull final ColumnSource columnSource, @NotNull final RowSet tableRowSet, - final int targetPageSizeInBytes) { - final int targetElementsPerPage = Math.toIntExact(Math.min(tableRowSet.size(), targetPageSizeInBytes / Double.BYTES)); + final int targetPageSizeInBytes) { + final int targetElementsPerPage = + Math.toIntExact(Math.min(tableRowSet.size(), targetPageSizeInBytes / Double.BYTES)); final double[] backingArray = new double[targetElementsPerPage]; return new DoubleTransfer( columnSource, diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DoubleVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DoubleVectorTransfer.java index eb9c014ea42..730b3f0960b 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DoubleVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/DoubleVectorTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit IntVectorTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntVectorTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfDouble; @@ -18,7 +17,7 @@ final class DoubleVectorTransfer extends PrimitiveVectorTransfer { DoubleVectorTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { super(columnSource, tableRowSet, targetPageSizeInBytes / Double.BYTES, targetPageSizeInBytes, DoubleBuffer.allocate(targetPageSizeInBytes / Double.BYTES), Double.BYTES); } @@ -34,4 +33,4 @@ void copyToBuffer(@NotNull final EncodedData data) { dataIterator.forEachRemaining((double value) -> buffer.put(value)); } } -} \ No newline at end of file +} diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/FillingPrimitiveTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/FillingPrimitiveTransfer.java index 12a195b5097..b9421044368 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/FillingPrimitiveTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/FillingPrimitiveTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.base.verify.Assert; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/FloatArrayTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/FloatArrayTransfer.java index ce33222dbbb..e342d06f8d7 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/FloatArrayTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/FloatArrayTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit IntArrayTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntArrayTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; @@ -16,7 +15,7 @@ final class FloatArrayTransfer extends PrimitiveArrayAndVectorTransfer { FloatArrayTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { super(columnSource, tableRowSet, targetPageSizeInBytes / Float.BYTES, targetPageSizeInBytes, FloatBuffer.allocate(targetPageSizeInBytes / Float.BYTES), Float.BYTES); } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/FloatTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/FloatTransfer.java index 00f088de577..ad2199fc75e 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/FloatTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/FloatTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit IntTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.chunk.WritableFloatChunk; @@ -19,8 +18,9 @@ final class FloatTransfer extends FillingPrimitiveTransfer, FloatBuffer> { static FloatTransfer create(@NotNull final ColumnSource columnSource, @NotNull final RowSet tableRowSet, - final int targetPageSizeInBytes) { - final int targetElementsPerPage = Math.toIntExact(Math.min(tableRowSet.size(), targetPageSizeInBytes / Float.BYTES)); + final int targetPageSizeInBytes) { + final int targetElementsPerPage = + Math.toIntExact(Math.min(tableRowSet.size(), targetPageSizeInBytes / Float.BYTES)); final float[] backingArray = new float[targetElementsPerPage]; return new FloatTransfer( columnSource, diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/FloatVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/FloatVectorTransfer.java index d9516e69488..259e6ecda08 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/FloatVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/FloatVectorTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit IntVectorTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntVectorTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfFloat; @@ -18,7 +17,7 @@ final class FloatVectorTransfer extends PrimitiveVectorTransfer { FloatVectorTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { super(columnSource, tableRowSet, targetPageSizeInBytes / Float.BYTES, targetPageSizeInBytes, FloatBuffer.allocate(targetPageSizeInBytes / Float.BYTES), Float.BYTES); } @@ -34,4 +33,4 @@ void copyToBuffer(@NotNull final EncodedData data) { dataIterator.forEachRemaining((float value) -> buffer.put(value)); } } -} \ No newline at end of file +} diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/GettingPrimitiveTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/GettingPrimitiveTransfer.java index 123cf07645e..77dd67c37c3 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/GettingPrimitiveTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/GettingPrimitiveTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.base.verify.Assert; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/InstantArrayTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/InstantArrayTransfer.java index fea86404d7b..11ca066f6c5 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/InstantArrayTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/InstantArrayTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/InstantVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/InstantVectorTransfer.java index 88bc385153f..fe26ee80481 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/InstantVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/InstantVectorTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.primitive.iterator.CloseableIterator; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/IntArrayTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/IntArrayTransfer.java index 4bd004e1d3a..a125d1229e1 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/IntArrayTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/IntArrayTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; @@ -11,7 +11,7 @@ final class IntArrayTransfer extends PrimitiveArrayAndVectorTransfer { IntArrayTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { super(columnSource, tableRowSet, targetPageSizeInBytes / Integer.BYTES, targetPageSizeInBytes, IntBuffer.allocate(targetPageSizeInBytes / Integer.BYTES), Integer.BYTES); } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/IntCastablePrimitiveTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/IntCastablePrimitiveTransfer.java index 023793dc798..e528605b4cf 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/IntCastablePrimitiveTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/IntCastablePrimitiveTransfer.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.chunk.ChunkBase; @@ -9,13 +12,16 @@ import java.nio.IntBuffer; /** - * A transfer object base class for primitive types that can be cast to {@code int} without loss of precision. - * Uses {@link IntBuffer} as the buffer type. + * A transfer object base class for primitive types that can be cast to {@code int} without loss of precision. Uses + * {@link IntBuffer} as the buffer type. */ -abstract class IntCastablePrimitiveTransfer> extends GettingPrimitiveTransfer { - IntCastablePrimitiveTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, final int targetPageSizeInBytes) { +abstract class IntCastablePrimitiveTransfer> + extends GettingPrimitiveTransfer { + IntCastablePrimitiveTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, + final int targetPageSizeInBytes) { super(columnSource, tableRowSet, - IntBuffer.allocate(Math.toIntExact(Math.min(tableRowSet.size(), targetPageSizeInBytes / Integer.BYTES))), + IntBuffer + .allocate(Math.toIntExact(Math.min(tableRowSet.size(), targetPageSizeInBytes / Integer.BYTES))), Math.toIntExact(Math.min(tableRowSet.size(), targetPageSizeInBytes / Integer.BYTES))); } } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/IntTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/IntTransfer.java index 87d8f3f817a..a4856cc2c72 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/IntTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/IntTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.chunk.WritableIntChunk; @@ -14,8 +14,9 @@ final class IntTransfer extends FillingPrimitiveTransfer, IntBuffer> { static IntTransfer create(@NotNull final ColumnSource columnSource, @NotNull final RowSet tableRowSet, - final int targetPageSizeInBytes) { - final int targetElementsPerPage = Math.toIntExact(Math.min(tableRowSet.size(), targetPageSizeInBytes / Integer.BYTES)); + final int targetPageSizeInBytes) { + final int targetElementsPerPage = + Math.toIntExact(Math.min(tableRowSet.size(), targetPageSizeInBytes / Integer.BYTES)); final int[] backingArray = new int[targetElementsPerPage]; return new IntTransfer( columnSource, diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/IntVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/IntVectorTransfer.java index fb496d789c1..afe7834fcc1 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/IntVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/IntVectorTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfInt; @@ -13,7 +13,7 @@ final class IntVectorTransfer extends PrimitiveVectorTransfer { IntVectorTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { super(columnSource, tableRowSet, targetPageSizeInBytes / Integer.BYTES, targetPageSizeInBytes, IntBuffer.allocate(targetPageSizeInBytes / Integer.BYTES), Integer.BYTES); } @@ -29,4 +29,4 @@ void copyToBuffer(@NotNull final EncodedData data) { dataIterator.forEachRemaining((int value) -> buffer.put(value)); } } -} \ No newline at end of file +} diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LocalDateTimeArrayTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LocalDateTimeArrayTransfer.java index f625be53321..51f8d83d7f0 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LocalDateTimeArrayTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LocalDateTimeArrayTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit InstantArrayTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit InstantArrayTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LocalDateTimeTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LocalDateTimeTransfer.java index b5e91a05a17..618cb2e56cb 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LocalDateTimeTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LocalDateTimeTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TimeTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit TimeTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LocalDateTimeVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LocalDateTimeVectorTransfer.java index d23edc7c76b..b468c359574 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LocalDateTimeVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LocalDateTimeVectorTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit InstantVectorTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit InstantVectorTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.engine.primitive.iterator.CloseableIterator; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LongArrayTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LongArrayTransfer.java index 34b9b102e47..7ad4322cb3a 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LongArrayTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LongArrayTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit IntArrayTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntArrayTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; @@ -16,7 +15,7 @@ final class LongArrayTransfer extends PrimitiveArrayAndVectorTransfer { LongArrayTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { super(columnSource, tableRowSet, targetPageSizeInBytes / Long.BYTES, targetPageSizeInBytes, LongBuffer.allocate(targetPageSizeInBytes / Long.BYTES), Long.BYTES); } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LongTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LongTransfer.java index 3fb5069d8a9..a1b24fe5736 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LongTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LongTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit IntTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.chunk.WritableLongChunk; @@ -19,8 +18,9 @@ final class LongTransfer extends FillingPrimitiveTransfer, LongBuffer> { static LongTransfer create(@NotNull final ColumnSource columnSource, @NotNull final RowSet tableRowSet, - final int targetPageSizeInBytes) { - final int targetElementsPerPage = Math.toIntExact(Math.min(tableRowSet.size(), targetPageSizeInBytes / Long.BYTES)); + final int targetPageSizeInBytes) { + final int targetElementsPerPage = + Math.toIntExact(Math.min(tableRowSet.size(), targetPageSizeInBytes / Long.BYTES)); final long[] backingArray = new long[targetElementsPerPage]; return new LongTransfer( columnSource, diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LongVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LongVectorTransfer.java index 62a9dfcf3f8..f5948204578 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LongVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/LongVectorTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit IntVectorTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit IntVectorTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfLong; @@ -18,7 +17,7 @@ final class LongVectorTransfer extends PrimitiveVectorTransfer { LongVectorTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { super(columnSource, tableRowSet, targetPageSizeInBytes / Long.BYTES, targetPageSizeInBytes, LongBuffer.allocate(targetPageSizeInBytes / Long.BYTES), Long.BYTES); } @@ -34,4 +33,4 @@ void copyToBuffer(@NotNull final EncodedData data) { dataIterator.forEachRemaining((long value) -> buffer.put(value)); } } -} \ No newline at end of file +} diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ObjectArrayAndVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ObjectArrayAndVectorTransfer.java index 0c3983ae459..c5d7003f100 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ObjectArrayAndVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ObjectArrayAndVectorTransfer.java @@ -1,20 +1,21 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; - import io.deephaven.base.verify.Assert; - import io.deephaven.engine.rowset.RowSequence; - import io.deephaven.engine.table.ColumnSource; - import org.apache.parquet.io.api.Binary; - import org.jetbrains.annotations.NotNull; +import io.deephaven.base.verify.Assert; +import io.deephaven.engine.rowset.RowSequence; +import io.deephaven.engine.table.ColumnSource; +import org.apache.parquet.io.api.Binary; +import org.jetbrains.annotations.NotNull; - import java.util.Arrays; - import java.util.function.Supplier; +import java.util.Arrays; +import java.util.function.Supplier; /** * Used as a base class of arrays/vectors of transfer objects for types like strings or big integers that need * specialized encoding. + * * @param The type of the data in the column, could be an array/vector * @param The type of the values in the array/vector */ @@ -37,7 +38,7 @@ abstract class ObjectArrayAndVectorTransfer private int encodedDataBufLen; ObjectArrayAndVectorTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSize) { + final int targetPageSize) { super(columnSource, tableRowSet, targetPageSize, targetPageSize, new Binary[targetPageSize]); bufferedDataCount = 0; numBytesBuffered = 0; @@ -67,7 +68,7 @@ final int getNumBytesBuffered() { } final void encodeDataForBufferingHelper(@NotNull final Supplier objectSupplier, final int numObjects, - @NotNull final EncodedData encodedData) { + @NotNull final EncodedData encodedData) { // Allocate a new buffer if needed, or clear the existing one if (numObjects > encodedDataBuf.length) { encodedDataBuf = new Binary[numObjects]; @@ -98,7 +99,7 @@ final boolean addEncodedDataToBuffer(@NotNull final EncodedData data, if (force && (repeatCounts.position() != 0 || bufferedDataCount != 0)) { // This should never happen, because "force" is only set by the caller when adding the very first // array/vector - //noinspection ThrowableNotThrown + // noinspection ThrowableNotThrown Assert.statementNeverExecuted(); return false; } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ObjectArrayTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ObjectArrayTransfer.java index 67c6aad129e..c9df1c84143 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ObjectArrayTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ObjectArrayTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; @@ -16,13 +16,14 @@ abstract class ObjectArrayTransfer extends ObjectArrayAndVectorTrans private final ArrayDataSupplier supplier; ObjectArrayTransfer(final @NotNull ColumnSource columnSource, final @NotNull RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { super(columnSource, tableRowSet, targetPageSizeInBytes); supplier = new ArrayDataSupplier<>(); } @Override - final void encodeDataForBuffering(final VALUE_TYPE @NotNull [] data, @NotNull final EncodedData encodedData) { + final void encodeDataForBuffering(final VALUE_TYPE @NotNull [] data, + @NotNull final EncodedData encodedData) { supplier.fill(data); encodeDataForBufferingHelper(supplier, data.length, encodedData); } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ObjectTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ObjectTransfer.java index 9fbc821e953..e1ff50fad8e 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ObjectTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ObjectTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.base.verify.Assert; @@ -25,8 +25,9 @@ abstract class ObjectTransfer extends VariableWidthTransfer columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { - super(columnSource, tableRowSet, targetPageSizeInBytes, targetPageSizeInBytes, new Binary[targetPageSizeInBytes]); + final int targetPageSizeInBytes) { + super(columnSource, tableRowSet, targetPageSizeInBytes, targetPageSizeInBytes, + new Binary[targetPageSizeInBytes]); bufferedDataCount = 0; numBytesBuffered = 0; } @@ -66,7 +67,7 @@ final boolean addNullToBuffer() { final boolean addEncodedDataToBuffer(@NotNull final EncodedData data, final boolean force) { if (force && bufferedDataCount != 0) { // This should never happen, because "force" is only set by the caller when adding the very first object - //noinspection ThrowableNotThrown + // noinspection ThrowableNotThrown Assert.statementNeverExecuted(); return false; } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ObjectVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ObjectVectorTransfer.java index 31440eb1f3f..f3f0a05f655 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ObjectVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ObjectVectorTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.primitive.iterator.CloseableIterator; @@ -19,13 +19,13 @@ abstract class ObjectVectorTransfer extends ObjectArrayAndVectorTransfer, VALUE_TYPE> { ObjectVectorTransfer(final @NotNull ColumnSource columnSource, final @NotNull RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { super(columnSource, tableRowSet, targetPageSizeInBytes); } @Override final void encodeDataForBuffering(final @NotNull ObjectVector data, - @NotNull final EncodedData encodedData) { + @NotNull final EncodedData encodedData) { try (CloseableIterator iter = data.iterator()) { Supplier supplier = iter::next; encodeDataForBufferingHelper(supplier, data.intSize(), encodedData); diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/PrimitiveArrayAndVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/PrimitiveArrayAndVectorTransfer.java index 25cafec9c9d..d73eb3a2df0 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/PrimitiveArrayAndVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/PrimitiveArrayAndVectorTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.base.verify.Assert; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/PrimitiveVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/PrimitiveVectorTransfer.java index 8af14cd49bf..426ac1f21a1 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/PrimitiveVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/PrimitiveVectorTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ShortArrayTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ShortArrayTransfer.java index 086c279e7a0..878e43f4273 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ShortArrayTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ShortArrayTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharArrayTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharArrayTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; @@ -16,7 +15,7 @@ final class ShortArrayTransfer extends PrimitiveArrayAndVectorTransfer { ShortArrayTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { // We encode primitive shorts as primitive ints super(columnSource, tableRowSet, targetPageSizeInBytes / Integer.BYTES, targetPageSizeInBytes, IntBuffer.allocate(targetPageSizeInBytes / Integer.BYTES), Integer.BYTES); diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ShortTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ShortTransfer.java index 213aa3284f3..e21afd399e6 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ShortTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ShortTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.chunk.ShortChunk; @@ -15,7 +14,8 @@ import org.jetbrains.annotations.NotNull; final class ShortTransfer extends IntCastablePrimitiveTransfer> { - ShortTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSet tableRowSet, final int targetPageSizeInBytes) { + ShortTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSet tableRowSet, + final int targetPageSizeInBytes) { super(columnSource, tableRowSet, targetPageSizeInBytes); } diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ShortVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ShortVectorTransfer.java index 04e096eef8d..abb10134830 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ShortVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/ShortVectorTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharVectorTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharVectorTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfShort; @@ -18,7 +17,7 @@ final class ShortVectorTransfer extends PrimitiveVectorTransfer { ShortVectorTransfer(@NotNull final ColumnSource columnSource, @NotNull final RowSequence tableRowSet, - final int targetPageSizeInBytes) { + final int targetPageSizeInBytes) { // We encode primitive shorts as primitive ints super(columnSource, tableRowSet, targetPageSizeInBytes / Integer.BYTES, targetPageSizeInBytes, IntBuffer.allocate(targetPageSizeInBytes / Integer.BYTES), Integer.BYTES); @@ -35,4 +34,4 @@ void copyToBuffer(@NotNull final EncodedData data) { dataIterator.forEachRemaining((short value) -> buffer.put(value)); } } -} \ No newline at end of file +} diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/StringArrayTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/StringArrayTransfer.java index 6b491f909f8..08fc05c36b7 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/StringArrayTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/StringArrayTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/StringDictionary.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/StringDictionary.java index 1b8524611f3..9604c991305 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/StringDictionary.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/StringDictionary.java @@ -1,7 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import gnu.trove.impl.Constants; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/StringTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/StringTransfer.java index fce4dd99482..d00a0b79e30 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/StringTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/StringTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/StringVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/StringVectorTransfer.java index 0eb369eb437..0ee195d8e32 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/StringVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/StringVectorTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/TimeArrayTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/TimeArrayTransfer.java index 6664a68fe31..d67421885b1 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/TimeArrayTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/TimeArrayTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit InstantArrayTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit InstantArrayTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSequence; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/TimeTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/TimeTransfer.java index 48c396a99a4..35f6538215d 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/TimeTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/TimeTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.chunk.ObjectChunk; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/TimeVectorTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/TimeVectorTransfer.java index d0936e27ddd..8dcdba0990e 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/TimeVectorTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/TimeVectorTransfer.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit InstantVectorTransfer and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit InstantVectorTransfer and run "./gradlew replicateParquetTransferObjects" to regenerate +// +// @formatter:off package io.deephaven.parquet.table.transfer; import io.deephaven.engine.primitive.iterator.CloseableIterator; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/TransferObject.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/TransferObject.java index 61dcc3d6688..a40fb3f086b 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/TransferObject.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/TransferObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.engine.rowset.RowSet; @@ -25,8 +25,8 @@ import java.util.Map; /** - * Classes that implement this interface are responsible for converting data from individual DH columns into buffers - * to be written out to the Parquet file. + * Classes that implement this interface are responsible for converting data from individual DH columns into buffers to + * be written out to the Parquet file. * * @param The type of the buffer to be written out to the Parquet file */ @@ -47,7 +47,8 @@ static TransferObject create( if (columnType == Instant.class) { // noinspection unchecked final ColumnSource longColumnSource = - (ColumnSource) ReinterpretUtils.instantToLongSource((ColumnSource) columnSource); + (ColumnSource) ReinterpretUtils + .instantToLongSource((ColumnSource) columnSource); return LongTransfer.create(longColumnSource, tableRowSet, instructions.getTargetPageSize()); } if (columnType == double.class) { @@ -59,7 +60,8 @@ static TransferObject create( if (columnType == Boolean.class) { // noinspection unchecked final ColumnSource byteColumnSource = - (ColumnSource) ReinterpretUtils.booleanToByteSource((ColumnSource) columnSource); + (ColumnSource) ReinterpretUtils + .booleanToByteSource((ColumnSource) columnSource); return BooleanTransfer.create(byteColumnSource, tableRowSet, instructions.getTargetPageSize()); } if (columnType == short.class) { @@ -80,13 +82,13 @@ static TransferObject create( return new CodecTransfer<>(columnSource, codec, tableRowSet, instructions.getTargetPageSize()); } if (columnType == BigDecimal.class) { - // noinspection unchecked - final ColumnSource bigDecimalColumnSource = (ColumnSource) columnSource; - final BigDecimalUtils.PrecisionAndScale precisionAndScale = TypeInfos.getPrecisionAndScale( - computedCache, columnName, tableRowSet, () -> bigDecimalColumnSource); - final ObjectCodec codec = new BigDecimalParquetBytesCodec( - precisionAndScale.precision, precisionAndScale.scale, -1); - return new CodecTransfer<>(bigDecimalColumnSource, codec, tableRowSet, instructions.getTargetPageSize()); + // noinspection unchecked + final ColumnSource bigDecimalColumnSource = (ColumnSource) columnSource; + final BigDecimalUtils.PrecisionAndScale precisionAndScale = TypeInfos.getPrecisionAndScale( + computedCache, columnName, tableRowSet, () -> bigDecimalColumnSource); + final ObjectCodec codec = new BigDecimalParquetBytesCodec( + precisionAndScale.precision, precisionAndScale.scale, -1); + return new CodecTransfer<>(bigDecimalColumnSource, codec, tableRowSet, instructions.getTargetPageSize()); } if (columnType == BigInteger.class) { return new CodecTransfer<>(columnSource, new BigIntegerParquetBytesCodec(-1), tableRowSet, @@ -102,7 +104,8 @@ static TransferObject create( return new LocalDateTimeTransfer(columnSource, tableRowSet, instructions.getTargetPageSize()); } - @Nullable final Class componentType = columnSource.getComponentType(); + @Nullable + final Class componentType = columnSource.getComponentType(); if (columnType.isArray()) { if (componentType == int.class) { return new IntArrayTransfer(columnSource, tableRowSet, instructions.getTargetPageSize()); @@ -153,7 +156,7 @@ static TransferObject create( if (componentType == int.class) { return new IntVectorTransfer(columnSource, tableRowSet, instructions.getTargetPageSize()); } - if (componentType ==long.class) { + if (componentType == long.class) { return new LongVectorTransfer(columnSource, tableRowSet, instructions.getTargetPageSize()); } if (componentType == double.class) { @@ -204,8 +207,10 @@ static TransferObject create( static @NotNull TransferObject createDictEncodedStringTransfer( @NotNull final RowSet tableRowSet, @NotNull final ColumnSource columnSource, final int targetPageSize, @NotNull final StringDictionary dictionary) { - @Nullable final Class dataType = columnSource.getType(); - @Nullable final Class componentType = columnSource.getComponentType(); + @Nullable + final Class dataType = columnSource.getType(); + @Nullable + final Class componentType = columnSource.getComponentType(); if (dataType == String.class) { return new DictEncodedStringTransfer(columnSource, tableRowSet, targetPageSize, dictionary); } @@ -221,12 +226,12 @@ static TransferObject create( /** * Transfer one page size worth of fetched data into an internal buffer, which can then be accessed using - * {@link TransferObject#getBuffer()}. The target page size is passed in the constructor. - * For dictionary encoded string transfers, this method also updates the dictionary with the strings encountered. + * {@link TransferObject#getBuffer()}. The target page size is passed in the constructor. For dictionary encoded + * string transfers, this method also updates the dictionary with the strings encountered. * - * @return The number of fetched data entries copied into the buffer. This can be different from the total - * number of entries fetched in case of variable-width types (e.g. strings) when used with additional - * page size limits while copying. + * @return The number of fetched data entries copied into the buffer. This can be different from the total number of + * entries fetched in case of variable-width types (e.g. strings) when used with additional page size limits + * while copying. */ int transferOnePageToBuffer(); diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/VariableWidthTransfer.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/VariableWidthTransfer.java index db1b06dd039..49b3488d76d 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/VariableWidthTransfer.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/transfer/VariableWidthTransfer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.transfer; import io.deephaven.base.verify.Require; diff --git a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/util/TransferUtils.java b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/util/TransferUtils.java index ab231f07dfe..7bcb0af3525 100644 --- a/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/util/TransferUtils.java +++ b/extensions/parquet/table/src/main/java/io/deephaven/parquet/table/util/TransferUtils.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table.util; import io.deephaven.time.DateTimeUtils; diff --git a/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/BigDecimalParquetBytesCodecTest.java b/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/BigDecimalParquetBytesCodecTest.java index 50034bf4703..658a7f6ade6 100644 --- a/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/BigDecimalParquetBytesCodecTest.java +++ b/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/BigDecimalParquetBytesCodecTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; import org.junit.Test; @@ -68,11 +71,13 @@ private static BigDecimalParquetBytesCodec codec(int precision, int scale) { return new BigDecimalParquetBytesCodec(precision, scale, -1); } - private static void checkNoRounding(BigDecimalParquetBytesCodec codec, BigDecimal input, BigInteger expectedEncoding) { + private static void checkNoRounding(BigDecimalParquetBytesCodec codec, BigDecimal input, + BigInteger expectedEncoding) { check(codec, input, expectedEncoding, input); } - private static void check(BigDecimalParquetBytesCodec codec, BigDecimal input, BigInteger expectedEncoding, BigDecimal expectedDecoding) { + private static void check(BigDecimalParquetBytesCodec codec, BigDecimal input, BigInteger expectedEncoding, + BigDecimal expectedDecoding) { checkEncoding(codec, input, expectedEncoding); checkDecoding(codec, expectedEncoding, expectedDecoding); // Check negative @@ -80,12 +85,14 @@ private static void check(BigDecimalParquetBytesCodec codec, BigDecimal input, B checkDecoding(codec, expectedEncoding.negate(), expectedDecoding.negate()); } - private static void checkEncoding(BigDecimalParquetBytesCodec codec, BigDecimal input, BigInteger expectedEncoding) { + private static void checkEncoding(BigDecimalParquetBytesCodec codec, BigDecimal input, + BigInteger expectedEncoding) { final byte[] inputEncoded = codec.encode(input); assertArrayEquals(expectedEncoding.toByteArray(), inputEncoded); } - private static void checkDecoding(BigDecimalParquetBytesCodec codec, BigInteger encoding, BigDecimal expectedDecoding) { + private static void checkDecoding(BigDecimalParquetBytesCodec codec, BigInteger encoding, + BigDecimal expectedDecoding) { if (expectedDecoding.precision() > codec.getPrecision()) { throw new IllegalStateException(); } diff --git a/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/ParquetTableReadWriteTest.java b/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/ParquetTableReadWriteTest.java index 1c10cad04c8..de729369f55 100644 --- a/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/ParquetTableReadWriteTest.java +++ b/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/ParquetTableReadWriteTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; import io.deephaven.UncheckedDeephavenException; diff --git a/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/TestParquetGrouping.java b/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/TestParquetGrouping.java index 1daa67cffd9..bfe4b05ebfa 100644 --- a/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/TestParquetGrouping.java +++ b/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/TestParquetGrouping.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; import io.deephaven.base.FileUtils; diff --git a/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/TestParquetTools.java b/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/TestParquetTools.java index 38d45d69208..a8fd6d885d3 100644 --- a/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/TestParquetTools.java +++ b/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/TestParquetTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; import io.deephaven.UncheckedDeephavenException; diff --git a/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/TestSymbolTableSource.java b/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/TestSymbolTableSource.java index 3c0a52d6b36..ee7d67eb265 100644 --- a/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/TestSymbolTableSource.java +++ b/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/TestSymbolTableSource.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; import io.deephaven.base.FileUtils; diff --git a/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/TestTransferUtils.java b/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/TestTransferUtils.java index 03a9ab96b62..b48360c41c2 100644 --- a/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/TestTransferUtils.java +++ b/extensions/parquet/table/src/test/java/io/deephaven/parquet/table/TestTransferUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.parquet.table; import io.deephaven.parquet.table.util.TransferUtils; diff --git a/extensions/performance/src/main/java/io/deephaven/engine/table/impl/util/PerformanceQueries.java b/extensions/performance/src/main/java/io/deephaven/engine/table/impl/util/PerformanceQueries.java index 0ec22a8b8bb..b51002c653a 100644 --- a/extensions/performance/src/main/java/io/deephaven/engine/table/impl/util/PerformanceQueries.java +++ b/extensions/performance/src/main/java/io/deephaven/engine/table/impl/util/PerformanceQueries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import com.google.auto.service.AutoService; diff --git a/extensions/performance/src/main/java/io/deephaven/engine/table/impl/util/PerformanceQueriesGeneral.java b/extensions/performance/src/main/java/io/deephaven/engine/table/impl/util/PerformanceQueriesGeneral.java index 7943037b5af..dd9d19d6626 100644 --- a/extensions/performance/src/main/java/io/deephaven/engine/table/impl/util/PerformanceQueriesGeneral.java +++ b/extensions/performance/src/main/java/io/deephaven/engine/table/impl/util/PerformanceQueriesGeneral.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.engine.table.impl.util; import com.google.common.collect.Sets; diff --git a/extensions/protobuf/src/main/java/io/deephaven/protobuf/Box.java b/extensions/protobuf/src/main/java/io/deephaven/protobuf/Box.java index f146ef99eab..3b7133f872d 100644 --- a/extensions/protobuf/src/main/java/io/deephaven/protobuf/Box.java +++ b/extensions/protobuf/src/main/java/io/deephaven/protobuf/Box.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.protobuf; import io.deephaven.function.ToBooleanFunction; diff --git a/extensions/protobuf/src/main/java/io/deephaven/protobuf/Builtin.java b/extensions/protobuf/src/main/java/io/deephaven/protobuf/Builtin.java index 65794fa64c3..e4e70e2cadf 100644 --- a/extensions/protobuf/src/main/java/io/deephaven/protobuf/Builtin.java +++ b/extensions/protobuf/src/main/java/io/deephaven/protobuf/Builtin.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.protobuf; import com.google.protobuf.Any; diff --git a/extensions/protobuf/src/main/java/io/deephaven/protobuf/BypassOnNull.java b/extensions/protobuf/src/main/java/io/deephaven/protobuf/BypassOnNull.java index e8f0226f629..b4359f89275 100644 --- a/extensions/protobuf/src/main/java/io/deephaven/protobuf/BypassOnNull.java +++ b/extensions/protobuf/src/main/java/io/deephaven/protobuf/BypassOnNull.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.protobuf; import io.deephaven.function.ToBooleanFunction; diff --git a/extensions/protobuf/src/main/java/io/deephaven/protobuf/FieldNumberPath.java b/extensions/protobuf/src/main/java/io/deephaven/protobuf/FieldNumberPath.java index 8f2267f58ea..e654711541c 100644 --- a/extensions/protobuf/src/main/java/io/deephaven/protobuf/FieldNumberPath.java +++ b/extensions/protobuf/src/main/java/io/deephaven/protobuf/FieldNumberPath.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.protobuf; import io.deephaven.annotations.SimpleStyle; diff --git a/extensions/protobuf/src/main/java/io/deephaven/protobuf/FieldOptions.java b/extensions/protobuf/src/main/java/io/deephaven/protobuf/FieldOptions.java index 69a9c9befde..ed4012cb26f 100644 --- a/extensions/protobuf/src/main/java/io/deephaven/protobuf/FieldOptions.java +++ b/extensions/protobuf/src/main/java/io/deephaven/protobuf/FieldOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.protobuf; import io.deephaven.annotations.BuildableStyle; diff --git a/extensions/protobuf/src/main/java/io/deephaven/protobuf/FieldPath.java b/extensions/protobuf/src/main/java/io/deephaven/protobuf/FieldPath.java index 4e80d4b629f..5f804bae350 100644 --- a/extensions/protobuf/src/main/java/io/deephaven/protobuf/FieldPath.java +++ b/extensions/protobuf/src/main/java/io/deephaven/protobuf/FieldPath.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.protobuf; import com.google.protobuf.Descriptors.FieldDescriptor; diff --git a/extensions/protobuf/src/main/java/io/deephaven/protobuf/MessageParser.java b/extensions/protobuf/src/main/java/io/deephaven/protobuf/MessageParser.java index 6b94d9a3615..a362ced2ca3 100644 --- a/extensions/protobuf/src/main/java/io/deephaven/protobuf/MessageParser.java +++ b/extensions/protobuf/src/main/java/io/deephaven/protobuf/MessageParser.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.protobuf; import com.google.protobuf.Descriptors.Descriptor; diff --git a/extensions/protobuf/src/main/java/io/deephaven/protobuf/MessageParserSingle.java b/extensions/protobuf/src/main/java/io/deephaven/protobuf/MessageParserSingle.java index 0516c31afaf..cdf7be75627 100644 --- a/extensions/protobuf/src/main/java/io/deephaven/protobuf/MessageParserSingle.java +++ b/extensions/protobuf/src/main/java/io/deephaven/protobuf/MessageParserSingle.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.protobuf; import com.google.protobuf.Descriptors.Descriptor; diff --git a/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufDescriptorParser.java b/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufDescriptorParser.java index 9884b1d542d..240b97250f9 100644 --- a/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufDescriptorParser.java +++ b/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufDescriptorParser.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.protobuf; import com.google.protobuf.Descriptors.Descriptor; diff --git a/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufDescriptorParserImpl.java b/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufDescriptorParserImpl.java index a8528646917..a2365ea853e 100644 --- a/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufDescriptorParserImpl.java +++ b/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufDescriptorParserImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.protobuf; import com.google.protobuf.ByteString; diff --git a/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufDescriptorParserOptions.java b/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufDescriptorParserOptions.java index fe652e886e1..cae8d51dc1f 100644 --- a/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufDescriptorParserOptions.java +++ b/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufDescriptorParserOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.protobuf; import com.google.protobuf.Descriptors.Descriptor; diff --git a/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufFunction.java b/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufFunction.java index 71558061048..f4097689c76 100644 --- a/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufFunction.java +++ b/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufFunction.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.protobuf; import com.google.protobuf.Message; diff --git a/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufFunctions.java b/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufFunctions.java index 27cfff94662..30385c2db6b 100644 --- a/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufFunctions.java +++ b/extensions/protobuf/src/main/java/io/deephaven/protobuf/ProtobufFunctions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.protobuf; import com.google.protobuf.Message; diff --git a/extensions/protobuf/src/test/java/io/deephaven/protobuf/ByteWrapperCustomType.java b/extensions/protobuf/src/test/java/io/deephaven/protobuf/ByteWrapperCustomType.java index 28269711953..29a27eec98e 100644 --- a/extensions/protobuf/src/test/java/io/deephaven/protobuf/ByteWrapperCustomType.java +++ b/extensions/protobuf/src/test/java/io/deephaven/protobuf/ByteWrapperCustomType.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.protobuf; import com.google.auto.service.AutoService; diff --git a/extensions/protobuf/src/test/java/io/deephaven/protobuf/FieldPathTest.java b/extensions/protobuf/src/test/java/io/deephaven/protobuf/FieldPathTest.java index 92671c75f06..2068305eb56 100644 --- a/extensions/protobuf/src/test/java/io/deephaven/protobuf/FieldPathTest.java +++ b/extensions/protobuf/src/test/java/io/deephaven/protobuf/FieldPathTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.protobuf; import com.google.protobuf.Descriptors.FieldDescriptor; diff --git a/extensions/protobuf/src/test/java/io/deephaven/protobuf/ProtobufDescriptorParserTest.java b/extensions/protobuf/src/test/java/io/deephaven/protobuf/ProtobufDescriptorParserTest.java index 508b253078d..975f13fa6c1 100644 --- a/extensions/protobuf/src/test/java/io/deephaven/protobuf/ProtobufDescriptorParserTest.java +++ b/extensions/protobuf/src/test/java/io/deephaven/protobuf/ProtobufDescriptorParserTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.protobuf; import com.google.protobuf.Any; diff --git a/extensions/s3/src/main/java/io/deephaven/extensions/s3/AnonymousCredentials.java b/extensions/s3/src/main/java/io/deephaven/extensions/s3/AnonymousCredentials.java index a52a4598b76..b637a61f770 100644 --- a/extensions/s3/src/main/java/io/deephaven/extensions/s3/AnonymousCredentials.java +++ b/extensions/s3/src/main/java/io/deephaven/extensions/s3/AnonymousCredentials.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; import software.amazon.awssdk.auth.credentials.AnonymousCredentialsProvider; diff --git a/extensions/s3/src/main/java/io/deephaven/extensions/s3/AwsSdkV2Credentials.java b/extensions/s3/src/main/java/io/deephaven/extensions/s3/AwsSdkV2Credentials.java index 60b5cbfbde6..c7936e0daa2 100644 --- a/extensions/s3/src/main/java/io/deephaven/extensions/s3/AwsSdkV2Credentials.java +++ b/extensions/s3/src/main/java/io/deephaven/extensions/s3/AwsSdkV2Credentials.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; import software.amazon.awssdk.auth.credentials.AwsCredentialsProvider; diff --git a/extensions/s3/src/main/java/io/deephaven/extensions/s3/BasicCredentials.java b/extensions/s3/src/main/java/io/deephaven/extensions/s3/BasicCredentials.java index c7acd7dad99..b058426987b 100644 --- a/extensions/s3/src/main/java/io/deephaven/extensions/s3/BasicCredentials.java +++ b/extensions/s3/src/main/java/io/deephaven/extensions/s3/BasicCredentials.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; import io.deephaven.annotations.SimpleStyle; diff --git a/extensions/s3/src/main/java/io/deephaven/extensions/s3/BufferPool.java b/extensions/s3/src/main/java/io/deephaven/extensions/s3/BufferPool.java index 38d4ba03d08..4180da8f922 100644 --- a/extensions/s3/src/main/java/io/deephaven/extensions/s3/BufferPool.java +++ b/extensions/s3/src/main/java/io/deephaven/extensions/s3/BufferPool.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; import io.deephaven.base.reference.PooledObjectReference; diff --git a/extensions/s3/src/main/java/io/deephaven/extensions/s3/Credentials.java b/extensions/s3/src/main/java/io/deephaven/extensions/s3/Credentials.java index 429067fbdf1..597c0435bb0 100644 --- a/extensions/s3/src/main/java/io/deephaven/extensions/s3/Credentials.java +++ b/extensions/s3/src/main/java/io/deephaven/extensions/s3/Credentials.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; public interface Credentials { diff --git a/extensions/s3/src/main/java/io/deephaven/extensions/s3/DefaultCredentials.java b/extensions/s3/src/main/java/io/deephaven/extensions/s3/DefaultCredentials.java index 200c34a570a..07936577e52 100644 --- a/extensions/s3/src/main/java/io/deephaven/extensions/s3/DefaultCredentials.java +++ b/extensions/s3/src/main/java/io/deephaven/extensions/s3/DefaultCredentials.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; import software.amazon.awssdk.auth.credentials.AwsCredentialsProvider; diff --git a/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3ChannelContext.java b/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3ChannelContext.java index 1d7eec74ec9..ed41b56d35f 100644 --- a/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3ChannelContext.java +++ b/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3ChannelContext.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; import io.deephaven.base.reference.PooledObjectReference; diff --git a/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3Instructions.java b/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3Instructions.java index 59ee16c504c..9906cac288b 100644 --- a/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3Instructions.java +++ b/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3Instructions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; import io.deephaven.configuration.Configuration; diff --git a/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3SeekableByteChannel.java b/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3SeekableByteChannel.java index d4c743dc4ce..279117d8dec 100644 --- a/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3SeekableByteChannel.java +++ b/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3SeekableByteChannel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; import io.deephaven.base.verify.Assert; diff --git a/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3SeekableChannelProvider.java b/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3SeekableChannelProvider.java index 7739633bc3d..18fe36761fe 100644 --- a/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3SeekableChannelProvider.java +++ b/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3SeekableChannelProvider.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; import io.deephaven.util.channel.Channels; diff --git a/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3SeekableChannelProviderPlugin.java b/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3SeekableChannelProviderPlugin.java index 69144f5062e..28eb3c1cc5e 100644 --- a/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3SeekableChannelProviderPlugin.java +++ b/extensions/s3/src/main/java/io/deephaven/extensions/s3/S3SeekableChannelProviderPlugin.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; import com.google.auto.service.AutoService; diff --git a/extensions/s3/src/test/java/io/deephaven/extensions/s3/CredentialsTest.java b/extensions/s3/src/test/java/io/deephaven/extensions/s3/CredentialsTest.java index 313bf185f71..07e9b825563 100644 --- a/extensions/s3/src/test/java/io/deephaven/extensions/s3/CredentialsTest.java +++ b/extensions/s3/src/test/java/io/deephaven/extensions/s3/CredentialsTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; diff --git a/extensions/s3/src/test/java/io/deephaven/extensions/s3/S3InstructionsTest.java b/extensions/s3/src/test/java/io/deephaven/extensions/s3/S3InstructionsTest.java index 943cf02bf24..aa92e3464ac 100644 --- a/extensions/s3/src/test/java/io/deephaven/extensions/s3/S3InstructionsTest.java +++ b/extensions/s3/src/test/java/io/deephaven/extensions/s3/S3InstructionsTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; import org.junit.jupiter.api.Test; diff --git a/extensions/s3/src/test/java/io/deephaven/extensions/s3/S3SeekableChannelLocalStackTest.java b/extensions/s3/src/test/java/io/deephaven/extensions/s3/S3SeekableChannelLocalStackTest.java index 5027516dce8..63c47e5d498 100644 --- a/extensions/s3/src/test/java/io/deephaven/extensions/s3/S3SeekableChannelLocalStackTest.java +++ b/extensions/s3/src/test/java/io/deephaven/extensions/s3/S3SeekableChannelLocalStackTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; diff --git a/extensions/s3/src/test/java/io/deephaven/extensions/s3/S3SeekableChannelMinIOTest.java b/extensions/s3/src/test/java/io/deephaven/extensions/s3/S3SeekableChannelMinIOTest.java index 94266f4af1c..b7c2464c4c7 100644 --- a/extensions/s3/src/test/java/io/deephaven/extensions/s3/S3SeekableChannelMinIOTest.java +++ b/extensions/s3/src/test/java/io/deephaven/extensions/s3/S3SeekableChannelMinIOTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; diff --git a/extensions/s3/src/test/java/io/deephaven/extensions/s3/S3SeekableChannelTestBase.java b/extensions/s3/src/test/java/io/deephaven/extensions/s3/S3SeekableChannelTestBase.java index 10692cb122e..41a788ea634 100644 --- a/extensions/s3/src/test/java/io/deephaven/extensions/s3/S3SeekableChannelTestBase.java +++ b/extensions/s3/src/test/java/io/deephaven/extensions/s3/S3SeekableChannelTestBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; diff --git a/extensions/s3/src/test/java/io/deephaven/extensions/s3/SingletonContainers.java b/extensions/s3/src/test/java/io/deephaven/extensions/s3/SingletonContainers.java index a00086de78b..f4432b6e1e4 100644 --- a/extensions/s3/src/test/java/io/deephaven/extensions/s3/SingletonContainers.java +++ b/extensions/s3/src/test/java/io/deephaven/extensions/s3/SingletonContainers.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.s3; import org.testcontainers.DockerClientFactory; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageBoolean.java b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageBoolean.java index ea57d014848..f78fcacdc9c 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageBoolean.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageBoolean.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ChunkHolderPageChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ChunkHolderPageChar and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.generic.page; import io.deephaven.base.verify.Assert; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageByte.java b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageByte.java index 47f836fe05f..b35c6fe110f 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageByte.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageByte.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ChunkHolderPageChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ChunkHolderPageChar and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.generic.page; import io.deephaven.base.verify.Assert; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageChar.java b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageChar.java index 35276bed24b..bbd15f6f26b 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageChar.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageChar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.generic.page; import io.deephaven.base.verify.Assert; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageDouble.java b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageDouble.java index 74f3a8a6a1c..6aefa0604d8 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageDouble.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageDouble.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ChunkHolderPageChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ChunkHolderPageChar and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.generic.page; import io.deephaven.base.verify.Assert; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageFloat.java b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageFloat.java index 887d6b4b342..2e37925dae4 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageFloat.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageFloat.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ChunkHolderPageChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ChunkHolderPageChar and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.generic.page; import io.deephaven.base.verify.Assert; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageInt.java b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageInt.java index 96b17de1c5a..b4fa626264f 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageInt.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageInt.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ChunkHolderPageChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ChunkHolderPageChar and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.generic.page; import io.deephaven.base.verify.Assert; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageLong.java b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageLong.java index 4d48a3c2534..ce3e8eacc37 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageLong.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageLong.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ChunkHolderPageChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ChunkHolderPageChar and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.generic.page; import io.deephaven.base.verify.Assert; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageObject.java b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageObject.java index ec7cf91af3a..5b8d4d4bab8 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageObject.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageObject.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ChunkHolderPageChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ChunkHolderPageChar and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.generic.page; import io.deephaven.base.verify.Assert; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageShort.java b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageShort.java index 2a56e53e9a1..8e7cd0ac2ba 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageShort.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/page/ChunkHolderPageShort.java @@ -1,11 +1,10 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ChunkHolderPageChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ChunkHolderPageChar and run "./gradlew replicateSourcesAndChunks" to regenerate +// +// @formatter:off package io.deephaven.generic.page; import io.deephaven.base.verify.Assert; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionByte.java b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionByte.java index 4bf4236e132..5ba245b3a17 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionByte.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionByte.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AppendOnlyFixedSizePageRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AppendOnlyFixedSizePageRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.generic.region; import io.deephaven.chunk.WritableByteChunk; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionChar.java b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionChar.java index 8c415e1d0e4..ed102b4961c 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionChar.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionChar.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.generic.region; import io.deephaven.base.MathUtil; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionDouble.java b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionDouble.java index c58ebd2f01f..7da4930b3f4 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionDouble.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionDouble.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AppendOnlyFixedSizePageRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AppendOnlyFixedSizePageRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.generic.region; import io.deephaven.base.MathUtil; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionFloat.java b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionFloat.java index 8556260ef45..33589ba9022 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionFloat.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionFloat.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AppendOnlyFixedSizePageRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AppendOnlyFixedSizePageRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.generic.region; import io.deephaven.base.MathUtil; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionInt.java b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionInt.java index 3a510bdfb73..6c8923b1f25 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionInt.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionInt.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AppendOnlyFixedSizePageRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AppendOnlyFixedSizePageRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.generic.region; import io.deephaven.base.MathUtil; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionLong.java b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionLong.java index 39e8aaba8d3..b5528c66016 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionLong.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionLong.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AppendOnlyFixedSizePageRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AppendOnlyFixedSizePageRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.generic.region; import io.deephaven.base.MathUtil; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionObject.java b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionObject.java index 8c3526fcc6a..64f9081e0a5 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionObject.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionObject.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AppendOnlyFixedSizePageRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AppendOnlyFixedSizePageRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.generic.region; import io.deephaven.base.MathUtil; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionShort.java b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionShort.java index 99d2d605c42..37d5ca8826a 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionShort.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionShort.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit AppendOnlyFixedSizePageRegionChar and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit AppendOnlyFixedSizePageRegionChar and run "./gradlew replicateRegionsAndRegionedSources" to regenerate +// +// @formatter:off package io.deephaven.generic.region; import io.deephaven.base.MathUtil; diff --git a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyRegionAccessor.java b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyRegionAccessor.java index 9d8fc8be51a..84649c93ec7 100644 --- a/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyRegionAccessor.java +++ b/extensions/source-support/src/main/java/io/deephaven/generic/region/AppendOnlyRegionAccessor.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.generic.region; import io.deephaven.chunk.WritableChunk; diff --git a/extensions/source-support/src/test/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionTest.java b/extensions/source-support/src/test/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionTest.java index f438df72d3c..6e23ee92523 100644 --- a/extensions/source-support/src/test/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionTest.java +++ b/extensions/source-support/src/test/java/io/deephaven/generic/region/AppendOnlyFixedSizePageRegionTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.generic.region; import io.deephaven.engine.context.ExecutionContext; diff --git a/extensions/suanshu/src/main/java/io/deephaven/numerics/suanshu/SuanShuIntegration.java b/extensions/suanshu/src/main/java/io/deephaven/numerics/suanshu/SuanShuIntegration.java index 01678e53a93..9492ef93f47 100644 --- a/extensions/suanshu/src/main/java/io/deephaven/numerics/suanshu/SuanShuIntegration.java +++ b/extensions/suanshu/src/main/java/io/deephaven/numerics/suanshu/SuanShuIntegration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.numerics.suanshu; import com.google.auto.service.AutoService; diff --git a/extensions/suanshu/src/test/java/io/deephaven/numerics/suanshu/TestSuanShuIntegration.java b/extensions/suanshu/src/test/java/io/deephaven/numerics/suanshu/TestSuanShuIntegration.java index 1b4d4ac0117..7f27b97b4ac 100644 --- a/extensions/suanshu/src/test/java/io/deephaven/numerics/suanshu/TestSuanShuIntegration.java +++ b/extensions/suanshu/src/test/java/io/deephaven/numerics/suanshu/TestSuanShuIntegration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.numerics.suanshu; import io.deephaven.base.testing.BaseArrayTestCase; diff --git a/extensions/trackedfile/src/main/java/io/deephaven/extensions/trackedfile/TrackedSeekableChannelsProvider.java b/extensions/trackedfile/src/main/java/io/deephaven/extensions/trackedfile/TrackedSeekableChannelsProvider.java index fece237fa89..77a68e8cbc9 100644 --- a/extensions/trackedfile/src/main/java/io/deephaven/extensions/trackedfile/TrackedSeekableChannelsProvider.java +++ b/extensions/trackedfile/src/main/java/io/deephaven/extensions/trackedfile/TrackedSeekableChannelsProvider.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.trackedfile; import io.deephaven.base.verify.Assert; diff --git a/extensions/trackedfile/src/main/java/io/deephaven/extensions/trackedfile/TrackedSeekableChannelsProviderPlugin.java b/extensions/trackedfile/src/main/java/io/deephaven/extensions/trackedfile/TrackedSeekableChannelsProviderPlugin.java index e33529147f3..74a751c9947 100644 --- a/extensions/trackedfile/src/main/java/io/deephaven/extensions/trackedfile/TrackedSeekableChannelsProviderPlugin.java +++ b/extensions/trackedfile/src/main/java/io/deephaven/extensions/trackedfile/TrackedSeekableChannelsProviderPlugin.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.extensions.trackedfile; import com.google.auto.service.AutoService; diff --git a/hotspot-impl/src/main/java/io/deephaven/hotspot/impl/HotSpotImpl.java b/hotspot-impl/src/main/java/io/deephaven/hotspot/impl/HotSpotImpl.java index fa3ebf65ef4..6e4e1f3ba8f 100644 --- a/hotspot-impl/src/main/java/io/deephaven/hotspot/impl/HotSpotImpl.java +++ b/hotspot-impl/src/main/java/io/deephaven/hotspot/impl/HotSpotImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.hotspot.impl; import com.google.auto.service.AutoService; diff --git a/hotspot/src/main/java/io/deephaven/hotspot/HotSpot.java b/hotspot/src/main/java/io/deephaven/hotspot/HotSpot.java index 61ce5494de8..02faa4f9e66 100644 --- a/hotspot/src/main/java/io/deephaven/hotspot/HotSpot.java +++ b/hotspot/src/main/java/io/deephaven/hotspot/HotSpot.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.hotspot; import java.util.Iterator; diff --git a/hotspot/src/main/java/io/deephaven/hotspot/JvmIntrospectionContext.java b/hotspot/src/main/java/io/deephaven/hotspot/JvmIntrospectionContext.java index 3db7232500e..0b92c7ce741 100644 --- a/hotspot/src/main/java/io/deephaven/hotspot/JvmIntrospectionContext.java +++ b/hotspot/src/main/java/io/deephaven/hotspot/JvmIntrospectionContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.hotspot; /** diff --git a/java-client/barrage-dagger/src/main/java/io/deephaven/client/impl/BarrageFactoryBuilderModule.java b/java-client/barrage-dagger/src/main/java/io/deephaven/client/impl/BarrageFactoryBuilderModule.java index 93d88cb807f..6e400aa1176 100644 --- a/java-client/barrage-dagger/src/main/java/io/deephaven/client/impl/BarrageFactoryBuilderModule.java +++ b/java-client/barrage-dagger/src/main/java/io/deephaven/client/impl/BarrageFactoryBuilderModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import dagger.Module; diff --git a/java-client/barrage-dagger/src/main/java/io/deephaven/client/impl/BarrageSessionModule.java b/java-client/barrage-dagger/src/main/java/io/deephaven/client/impl/BarrageSessionModule.java index bae3be898c7..f986afc93f1 100644 --- a/java-client/barrage-dagger/src/main/java/io/deephaven/client/impl/BarrageSessionModule.java +++ b/java-client/barrage-dagger/src/main/java/io/deephaven/client/impl/BarrageSessionModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import dagger.Module; diff --git a/java-client/barrage-dagger/src/main/java/io/deephaven/client/impl/BarrageSubcomponent.java b/java-client/barrage-dagger/src/main/java/io/deephaven/client/impl/BarrageSubcomponent.java index 75ed86e9535..b1bc8bf3807 100644 --- a/java-client/barrage-dagger/src/main/java/io/deephaven/client/impl/BarrageSubcomponent.java +++ b/java-client/barrage-dagger/src/main/java/io/deephaven/client/impl/BarrageSubcomponent.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import dagger.BindsInstance; diff --git a/java-client/barrage-dagger/src/main/java/io/deephaven/client/impl/DeephavenBarrageRoot.java b/java-client/barrage-dagger/src/main/java/io/deephaven/client/impl/DeephavenBarrageRoot.java index f8c7ef2b6c9..ac21187c6d9 100644 --- a/java-client/barrage-dagger/src/main/java/io/deephaven/client/impl/DeephavenBarrageRoot.java +++ b/java-client/barrage-dagger/src/main/java/io/deephaven/client/impl/DeephavenBarrageRoot.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import dagger.Component; diff --git a/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/BarrageClientExampleBase.java b/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/BarrageClientExampleBase.java index f1ee1e040aa..cba2ae4c048 100644 --- a/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/BarrageClientExampleBase.java +++ b/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/BarrageClientExampleBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.BarrageSession; diff --git a/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SnapshotExampleBase.java b/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SnapshotExampleBase.java index dd76d7664f8..288c22e23ba 100644 --- a/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SnapshotExampleBase.java +++ b/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SnapshotExampleBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.*; diff --git a/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SnapshotTable.java b/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SnapshotTable.java index aecb8b33ef4..17f79c793a0 100644 --- a/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SnapshotTable.java +++ b/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SnapshotTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.base.system.AsyncSystem; diff --git a/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SubscribeExampleBase.java b/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SubscribeExampleBase.java index 248a44df45c..0474785125e 100644 --- a/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SubscribeExampleBase.java +++ b/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SubscribeExampleBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.BarrageSession; diff --git a/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SubscribeQST.java b/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SubscribeQST.java index 88922b9558d..ad698b82b4a 100644 --- a/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SubscribeQST.java +++ b/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SubscribeQST.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.base.system.AsyncSystem; diff --git a/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SubscribeTable.java b/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SubscribeTable.java index ea9635dd12b..e3d437c20d7 100644 --- a/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SubscribeTable.java +++ b/java-client/barrage-examples/src/main/java/io/deephaven/client/examples/SubscribeTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.base.system.AsyncSystem; diff --git a/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSession.java b/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSession.java index fbd8e6c5c25..7b2de55bcc6 100644 --- a/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSession.java +++ b/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSession.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.extensions.barrage.BarrageSnapshotOptions; diff --git a/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSessionFactory.java b/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSessionFactory.java index 54fe0c0e7dd..c29b017212c 100644 --- a/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSessionFactory.java +++ b/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSessionFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; public interface BarrageSessionFactory { diff --git a/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSessionFactoryBuilder.java b/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSessionFactoryBuilder.java index 3a2a0c70994..e7da1937151 100644 --- a/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSessionFactoryBuilder.java +++ b/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSessionFactoryBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.grpc.ManagedChannel; diff --git a/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshot.java b/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshot.java index 9003f7517e0..c5de529f369 100644 --- a/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshot.java +++ b/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshot.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.engine.rowset.RowSet; diff --git a/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshotImpl.java b/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshotImpl.java index 3965540ad01..af863f5cd7f 100644 --- a/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshotImpl.java +++ b/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshotImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import com.google.flatbuffers.FlatBufferBuilder; diff --git a/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscription.java b/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscription.java index 7fca15aa115..1a210c714d6 100644 --- a/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscription.java +++ b/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscription.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.engine.liveness.LivenessScope; diff --git a/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscriptionImpl.java b/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscriptionImpl.java index 69d05206b16..6e0456d1ba3 100644 --- a/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscriptionImpl.java +++ b/java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscriptionImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import com.google.flatbuffers.FlatBufferBuilder; diff --git a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/ApplicationField.java b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/ApplicationField.java index ba8f8086714..ccea26351fb 100644 --- a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/ApplicationField.java +++ b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/ApplicationField.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.ApplicationFieldId; diff --git a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/AuthenticationOptions.java b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/AuthenticationOptions.java index d7a95a34183..0f5927a18fd 100644 --- a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/AuthenticationOptions.java +++ b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/AuthenticationOptions.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import picocli.CommandLine.Option; diff --git a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/ConnectOptions.java b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/ConnectOptions.java index 34e5e2b0ab6..30b20e8e9ff 100644 --- a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/ConnectOptions.java +++ b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/ConnectOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.ChannelHelper; diff --git a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/DeephavenTargetConverter.java b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/DeephavenTargetConverter.java index 3c448c577cd..aa17e283ada 100644 --- a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/DeephavenTargetConverter.java +++ b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/DeephavenTargetConverter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.uri.DeephavenTarget; diff --git a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/Path.java b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/Path.java index 714c25e0336..fc89fb14162 100644 --- a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/Path.java +++ b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/Path.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.HasPathId; diff --git a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/RawTicket.java b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/RawTicket.java index b3f49cacc00..4d4c8475bbd 100644 --- a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/RawTicket.java +++ b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/RawTicket.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.HasTicketId; diff --git a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/SSLConverter.java b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/SSLConverter.java index 79d910d3577..8c196af4976 100644 --- a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/SSLConverter.java +++ b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/SSLConverter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.ssl.config.SSLConfig; diff --git a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/ScopeField.java b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/ScopeField.java index 55bc73de604..d5e9cec6910 100644 --- a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/ScopeField.java +++ b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/ScopeField.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.HasPathId; diff --git a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/Ticket.java b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/Ticket.java index a21771f04ff..3d12563d078 100644 --- a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/Ticket.java +++ b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/Ticket.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.HasPathId; diff --git a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/TypedTicketConverter.java b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/TypedTicketConverter.java index f1e33bbd9d9..43fcfbc816d 100644 --- a/java-client/example-utilities/src/main/java/io/deephaven/client/examples/TypedTicketConverter.java +++ b/java-client/example-utilities/src/main/java/io/deephaven/client/examples/TypedTicketConverter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.TicketId; diff --git a/java-client/flight-dagger/src/main/java/io/deephaven/client/impl/DeephavenFlightRoot.java b/java-client/flight-dagger/src/main/java/io/deephaven/client/impl/DeephavenFlightRoot.java index d28e0237e21..94866580543 100644 --- a/java-client/flight-dagger/src/main/java/io/deephaven/client/impl/DeephavenFlightRoot.java +++ b/java-client/flight-dagger/src/main/java/io/deephaven/client/impl/DeephavenFlightRoot.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import dagger.Component; diff --git a/java-client/flight-dagger/src/main/java/io/deephaven/client/impl/FlightSessionModule.java b/java-client/flight-dagger/src/main/java/io/deephaven/client/impl/FlightSessionModule.java index bab46124548..5d536b13b44 100644 --- a/java-client/flight-dagger/src/main/java/io/deephaven/client/impl/FlightSessionModule.java +++ b/java-client/flight-dagger/src/main/java/io/deephaven/client/impl/FlightSessionModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import dagger.Module; diff --git a/java-client/flight-dagger/src/main/java/io/deephaven/client/impl/FlightSubcomponent.java b/java-client/flight-dagger/src/main/java/io/deephaven/client/impl/FlightSubcomponent.java index d9aff3a0cbc..c3abd2c6e31 100644 --- a/java-client/flight-dagger/src/main/java/io/deephaven/client/impl/FlightSubcomponent.java +++ b/java-client/flight-dagger/src/main/java/io/deephaven/client/impl/FlightSubcomponent.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import dagger.BindsInstance; diff --git a/java-client/flight-dagger/src/test/java/io/deephaven/client/DeephavenFlightSessionTest.java b/java-client/flight-dagger/src/test/java/io/deephaven/client/DeephavenFlightSessionTest.java index 143ce4a6e04..354fed038c8 100644 --- a/java-client/flight-dagger/src/test/java/io/deephaven/client/DeephavenFlightSessionTest.java +++ b/java-client/flight-dagger/src/test/java/io/deephaven/client/DeephavenFlightSessionTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.api.TableOperations; diff --git a/java-client/flight-dagger/src/test/java/io/deephaven/client/DeephavenFlightSessionTestBase.java b/java-client/flight-dagger/src/test/java/io/deephaven/client/DeephavenFlightSessionTestBase.java index b648f5b6993..88ba50b9688 100644 --- a/java-client/flight-dagger/src/test/java/io/deephaven/client/DeephavenFlightSessionTestBase.java +++ b/java-client/flight-dagger/src/test/java/io/deephaven/client/DeephavenFlightSessionTestBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.client.impl.DaggerDeephavenFlightRoot; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/AddToInputTable.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/AddToInputTable.java index b4934fb11e5..bf308f6cf1c 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/AddToInputTable.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/AddToInputTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.api.agg.Aggregation; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/AggByExample.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/AggByExample.java index 752a9f2ff64..1c93203f94e 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/AggByExample.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/AggByExample.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.qst.table.LabeledTables; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/AggInputBase.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/AggInputBase.java index 6c882ef15ca..59e14357388 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/AggInputBase.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/AggInputBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.FlightSession; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/AggregateAllExample.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/AggregateAllExample.java index 08237b7b473..aaec5af578b 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/AggregateAllExample.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/AggregateAllExample.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.api.agg.spec.AggSpec; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/ConvertToTable.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/ConvertToTable.java index 050bddb7686..1a85fdab2b3 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/ConvertToTable.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/ConvertToTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.ServerData; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/DoExchange.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/DoExchange.java index 767fe8525cc..61ff7d96b58 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/DoExchange.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/DoExchange.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import com.google.flatbuffers.FlatBufferBuilder; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/DoPutNew.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/DoPutNew.java index c5c0609ce1b..d375cc7b7fd 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/DoPutNew.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/DoPutNew.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.ExportId; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/DoPutSpray.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/DoPutSpray.java index f640a2c1453..bb4dd535afa 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/DoPutSpray.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/DoPutSpray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.DaggerDeephavenFlightRoot; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/DoPutTable.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/DoPutTable.java index 33254c905e5..10e0e64e8fc 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/DoPutTable.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/DoPutTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.ExportId; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/Example1.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/Example1.java index ad9f673c5df..bca8a9fcaa3 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/Example1.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/Example1.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.api.ColumnName; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/Example2.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/Example2.java index 0ab3029045f..be863336a7a 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/Example2.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/Example2.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.api.ColumnName; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/Example3.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/Example3.java index 4b7dee5b91e..c175045eb97 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/Example3.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/Example3.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.api.ColumnName; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/ExampleExcessive.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/ExampleExcessive.java index 0c027434752..14bf85fa551 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/ExampleExcessive.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/ExampleExcessive.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.api.TableOperations; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/FlightCannedTableBase.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/FlightCannedTableBase.java index 010d5b18f2b..70eff6daaf9 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/FlightCannedTableBase.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/FlightCannedTableBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.FlightSession; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/FlightExampleBase.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/FlightExampleBase.java index 8d07eb78258..7e8ea63d14d 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/FlightExampleBase.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/FlightExampleBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.DaggerDeephavenFlightRoot; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/GetDirectSchema.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/GetDirectSchema.java index 1823103df50..389c2ebcd1c 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/GetDirectSchema.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/GetDirectSchema.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.FlightSession; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/GetDirectTable.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/GetDirectTable.java index 9431d5005c6..e79ff2e1b67 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/GetDirectTable.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/GetDirectTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.FlightSession; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/GetTsv.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/GetTsv.java index d5611e01a52..493dcb39733 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/GetTsv.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/GetTsv.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.qst.TableCreationLogic; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/KeyValueInputTable.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/KeyValueInputTable.java index cf30269c54e..44166e90416 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/KeyValueInputTable.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/KeyValueInputTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.FlightSession; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/ListTables.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/ListTables.java index 6639c41b723..05a94c794e8 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/ListTables.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/ListTables.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.FlightSession; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/PollTsv.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/PollTsv.java index c4f81814a43..4a3e2e78a73 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/PollTsv.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/PollTsv.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.FlightSession; diff --git a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/Sum.java b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/Sum.java index 1283a2dfa17..9591b7765df 100644 --- a/java-client/flight-examples/src/main/java/io/deephaven/client/examples/Sum.java +++ b/java-client/flight-examples/src/main/java/io/deephaven/client/examples/Sum.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.api.TableOperations; diff --git a/java-client/flight/src/main/java/io/deephaven/client/impl/BearerMiddlewear.java b/java-client/flight/src/main/java/io/deephaven/client/impl/BearerMiddlewear.java index 6d0b33b17b4..ae13b9efe01 100644 --- a/java-client/flight/src/main/java/io/deephaven/client/impl/BearerMiddlewear.java +++ b/java-client/flight/src/main/java/io/deephaven/client/impl/BearerMiddlewear.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import org.apache.arrow.flight.CallHeaders; diff --git a/java-client/flight/src/main/java/io/deephaven/client/impl/FieldAdapter.java b/java-client/flight/src/main/java/io/deephaven/client/impl/FieldAdapter.java index 71864d6fadb..d2d6850ee9f 100644 --- a/java-client/flight/src/main/java/io/deephaven/client/impl/FieldAdapter.java +++ b/java-client/flight/src/main/java/io/deephaven/client/impl/FieldAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.qst.column.header.ColumnHeader; diff --git a/java-client/flight/src/main/java/io/deephaven/client/impl/FieldVectorAdapter.java b/java-client/flight/src/main/java/io/deephaven/client/impl/FieldVectorAdapter.java index 1f41cdf2c8b..f370b53bb87 100644 --- a/java-client/flight/src/main/java/io/deephaven/client/impl/FieldVectorAdapter.java +++ b/java-client/flight/src/main/java/io/deephaven/client/impl/FieldVectorAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.qst.array.Array; diff --git a/java-client/flight/src/main/java/io/deephaven/client/impl/FlightClientHelper.java b/java-client/flight/src/main/java/io/deephaven/client/impl/FlightClientHelper.java index a829854962f..4c4e7835d65 100644 --- a/java-client/flight/src/main/java/io/deephaven/client/impl/FlightClientHelper.java +++ b/java-client/flight/src/main/java/io/deephaven/client/impl/FlightClientHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.qst.table.NewTable; diff --git a/java-client/flight/src/main/java/io/deephaven/client/impl/FlightSession.java b/java-client/flight/src/main/java/io/deephaven/client/impl/FlightSession.java index 459dbf08373..e6a7d2a4f18 100644 --- a/java-client/flight/src/main/java/io/deephaven/client/impl/FlightSession.java +++ b/java-client/flight/src/main/java/io/deephaven/client/impl/FlightSession.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.impl.TableHandle.TableHandleException; diff --git a/java-client/flight/src/main/java/io/deephaven/client/impl/FlightSessionFactory.java b/java-client/flight/src/main/java/io/deephaven/client/impl/FlightSessionFactory.java index 938e2367ad9..e7746201f6a 100644 --- a/java-client/flight/src/main/java/io/deephaven/client/impl/FlightSessionFactory.java +++ b/java-client/flight/src/main/java/io/deephaven/client/impl/FlightSessionFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; public interface FlightSessionFactory { diff --git a/java-client/flight/src/main/java/io/deephaven/client/impl/SchemaAdapter.java b/java-client/flight/src/main/java/io/deephaven/client/impl/SchemaAdapter.java index 9b67a4a2089..94701c125e3 100644 --- a/java-client/flight/src/main/java/io/deephaven/client/impl/SchemaAdapter.java +++ b/java-client/flight/src/main/java/io/deephaven/client/impl/SchemaAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.qst.column.header.ColumnHeader; diff --git a/java-client/flight/src/main/java/io/deephaven/client/impl/SchemaBytesImpl.java b/java-client/flight/src/main/java/io/deephaven/client/impl/SchemaBytesImpl.java index ff20fc133e2..65564d66dbe 100644 --- a/java-client/flight/src/main/java/io/deephaven/client/impl/SchemaBytesImpl.java +++ b/java-client/flight/src/main/java/io/deephaven/client/impl/SchemaBytesImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import com.google.auto.service.AutoService; diff --git a/java-client/flight/src/main/java/io/deephaven/client/impl/SessionMiddleware.java b/java-client/flight/src/main/java/io/deephaven/client/impl/SessionMiddleware.java index 441e661e96e..9bae2297119 100644 --- a/java-client/flight/src/main/java/io/deephaven/client/impl/SessionMiddleware.java +++ b/java-client/flight/src/main/java/io/deephaven/client/impl/SessionMiddleware.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import org.apache.arrow.flight.CallInfo; diff --git a/java-client/flight/src/main/java/io/deephaven/client/impl/VectorHelper.java b/java-client/flight/src/main/java/io/deephaven/client/impl/VectorHelper.java index 0509a03bfe7..b81e14c916e 100644 --- a/java-client/flight/src/main/java/io/deephaven/client/impl/VectorHelper.java +++ b/java-client/flight/src/main/java/io/deephaven/client/impl/VectorHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.qst.array.BooleanArray; diff --git a/java-client/flight/src/main/java/io/deephaven/client/impl/VectorSchemaRootAdapter.java b/java-client/flight/src/main/java/io/deephaven/client/impl/VectorSchemaRootAdapter.java index 7ec5981c006..7f157c352a4 100644 --- a/java-client/flight/src/main/java/io/deephaven/client/impl/VectorSchemaRootAdapter.java +++ b/java-client/flight/src/main/java/io/deephaven/client/impl/VectorSchemaRootAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.qst.column.Column; diff --git a/java-client/flight/src/main/java/org/apache/arrow/flight/FlightGrpcUtilsExtension.java b/java-client/flight/src/main/java/org/apache/arrow/flight/FlightGrpcUtilsExtension.java index dade90ea45e..cfd7a6af474 100644 --- a/java-client/flight/src/main/java/org/apache/arrow/flight/FlightGrpcUtilsExtension.java +++ b/java-client/flight/src/main/java/org/apache/arrow/flight/FlightGrpcUtilsExtension.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package org.apache.arrow.flight; import io.grpc.ManagedChannel; diff --git a/java-client/session-dagger/src/main/java/io/deephaven/client/ClientDefaultsModule.java b/java-client/session-dagger/src/main/java/io/deephaven/client/ClientDefaultsModule.java index 4f5860fa2bb..35d6d15b2d9 100644 --- a/java-client/session-dagger/src/main/java/io/deephaven/client/ClientDefaultsModule.java +++ b/java-client/session-dagger/src/main/java/io/deephaven/client/ClientDefaultsModule.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import dagger.Module; diff --git a/java-client/session-dagger/src/main/java/io/deephaven/client/DeephavenSessionRoot.java b/java-client/session-dagger/src/main/java/io/deephaven/client/DeephavenSessionRoot.java index 4a01a7cf959..6b8c4ac8e96 100644 --- a/java-client/session-dagger/src/main/java/io/deephaven/client/DeephavenSessionRoot.java +++ b/java-client/session-dagger/src/main/java/io/deephaven/client/DeephavenSessionRoot.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import dagger.Component; diff --git a/java-client/session-dagger/src/main/java/io/deephaven/client/SessionImplModule.java b/java-client/session-dagger/src/main/java/io/deephaven/client/SessionImplModule.java index 8c2f3a2dc7a..cfdba83d842 100644 --- a/java-client/session-dagger/src/main/java/io/deephaven/client/SessionImplModule.java +++ b/java-client/session-dagger/src/main/java/io/deephaven/client/SessionImplModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import dagger.Binds; diff --git a/java-client/session-dagger/src/main/java/io/deephaven/client/SessionSubcomponent.java b/java-client/session-dagger/src/main/java/io/deephaven/client/SessionSubcomponent.java index 369d3146725..8f2cf21e401 100644 --- a/java-client/session-dagger/src/main/java/io/deephaven/client/SessionSubcomponent.java +++ b/java-client/session-dagger/src/main/java/io/deephaven/client/SessionSubcomponent.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import dagger.BindsInstance; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/AggAllBySessionTest.java b/java-client/session-dagger/src/test/java/io/deephaven/client/AggAllBySessionTest.java index 0622a8b8b38..39ac0994eab 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/AggAllBySessionTest.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/AggAllBySessionTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.api.ColumnName; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/AggBySessionTest.java b/java-client/session-dagger/src/test/java/io/deephaven/client/AggBySessionTest.java index 355f5c438cb..15b8a2adc9a 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/AggBySessionTest.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/AggBySessionTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.api.ColumnName; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/AnnotatedTable.java b/java-client/session-dagger/src/test/java/io/deephaven/client/AnnotatedTable.java index b407ab8ff7a..0dcc7042993 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/AnnotatedTable.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/AnnotatedTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.qst.TableCreationLogic; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/AnnotatedTableTest.java b/java-client/session-dagger/src/test/java/io/deephaven/client/AnnotatedTableTest.java index 907634ca8f7..cd7b8b90ec3 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/AnnotatedTableTest.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/AnnotatedTableTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.client.impl.SchemaAdapter; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/AnnotatedTables.java b/java-client/session-dagger/src/test/java/io/deephaven/client/AnnotatedTables.java index 20080d93ac2..1f28c12bb7a 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/AnnotatedTables.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/AnnotatedTables.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.api.TableOperations; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/DeephavenSessionTestBase.java b/java-client/session-dagger/src/test/java/io/deephaven/client/DeephavenSessionTestBase.java index d5ea32d9615..50c6df35606 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/DeephavenSessionTestBase.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/DeephavenSessionTestBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.base.verify.Require; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/ObjectServiceTest.java b/java-client/session-dagger/src/test/java/io/deephaven/client/ObjectServiceTest.java index 03a3401b840..f01626e045c 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/ObjectServiceTest.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/ObjectServiceTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import com.google.auto.service.AutoService; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/SessionBatchMixinTest.java b/java-client/session-dagger/src/test/java/io/deephaven/client/SessionBatchMixinTest.java index 2c78551b3d1..ba55016ee7e 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/SessionBatchMixinTest.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/SessionBatchMixinTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.api.TableOperations; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/SessionTableServicesTest.java b/java-client/session-dagger/src/test/java/io/deephaven/client/SessionTableServicesTest.java index 947304021f5..dc291f5ddd4 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/SessionTableServicesTest.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/SessionTableServicesTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.client.impl.TableHandle; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotHistorySessionTest.java b/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotHistorySessionTest.java index e32a171c29a..d0d428f74cf 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotHistorySessionTest.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotHistorySessionTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.api.snapshot.SnapshotWhenOptions; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotIncrementalSessionTest.java b/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotIncrementalSessionTest.java index 0f97f9c3ffe..77607efb908 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotIncrementalSessionTest.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotIncrementalSessionTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.api.snapshot.SnapshotWhenOptions; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotSessionTest.java b/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotSessionTest.java index 5a48a3e1181..a60b7789ff3 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotSessionTest.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotSessionTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.qst.table.EmptyTable; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotWhenSessionTest.java b/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotWhenSessionTest.java index e2798e4fbd9..aaa043e0544 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotWhenSessionTest.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotWhenSessionTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.api.snapshot.SnapshotWhenOptions; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotWhenSessionTestBase.java b/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotWhenSessionTestBase.java index 76e09353d60..f42bdaba468 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotWhenSessionTestBase.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/SnapshotWhenSessionTestBase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.api.ColumnName; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/TableSpecTestBase.java b/java-client/session-dagger/src/test/java/io/deephaven/client/TableSpecTestBase.java index e5bf0ab532d..add39280fa8 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/TableSpecTestBase.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/TableSpecTestBase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.client.impl.TableHandle; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/UpdateOrSelectSessionTest.java b/java-client/session-dagger/src/test/java/io/deephaven/client/UpdateOrSelectSessionTest.java index bb5368a7b87..16056b44cc9 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/UpdateOrSelectSessionTest.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/UpdateOrSelectSessionTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.client.impl.TableHandle; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/WhereInSessionTest.java b/java-client/session-dagger/src/test/java/io/deephaven/client/WhereInSessionTest.java index 4231cf6bc59..3fcdc527178 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/WhereInSessionTest.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/WhereInSessionTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.client.impl.TableHandle; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/WhereSessionTest.java b/java-client/session-dagger/src/test/java/io/deephaven/client/WhereSessionTest.java index a15d078fe4f..1537408d745 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/WhereSessionTest.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/WhereSessionTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client; import io.deephaven.api.ColumnName; diff --git a/java-client/session-dagger/src/test/java/io/deephaven/client/impl/TableServiceAsyncTest.java b/java-client/session-dagger/src/test/java/io/deephaven/client/impl/TableServiceAsyncTest.java index 1e8b7f188d7..9c5cbd03822 100644 --- a/java-client/session-dagger/src/test/java/io/deephaven/client/impl/TableServiceAsyncTest.java +++ b/java-client/session-dagger/src/test/java/io/deephaven/client/impl/TableServiceAsyncTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.DeephavenSessionTestBase; diff --git a/java-client/session-examples/src/main/java/io/deephaven/client/examples/ConnectCheck.java b/java-client/session-examples/src/main/java/io/deephaven/client/examples/ConnectCheck.java index e1c1e6ce84d..a6f955b6afe 100644 --- a/java-client/session-examples/src/main/java/io/deephaven/client/examples/ConnectCheck.java +++ b/java-client/session-examples/src/main/java/io/deephaven/client/examples/ConnectCheck.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.Session; diff --git a/java-client/session-examples/src/main/java/io/deephaven/client/examples/ConsoleExampleBase.java b/java-client/session-examples/src/main/java/io/deephaven/client/examples/ConsoleExampleBase.java index 233555bc3fe..0339c12b74e 100644 --- a/java-client/session-examples/src/main/java/io/deephaven/client/examples/ConsoleExampleBase.java +++ b/java-client/session-examples/src/main/java/io/deephaven/client/examples/ConsoleExampleBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.ConsoleSession; diff --git a/java-client/session-examples/src/main/java/io/deephaven/client/examples/ExecuteCode.java b/java-client/session-examples/src/main/java/io/deephaven/client/examples/ExecuteCode.java index 9ebad29d52f..ba159f155fd 100644 --- a/java-client/session-examples/src/main/java/io/deephaven/client/examples/ExecuteCode.java +++ b/java-client/session-examples/src/main/java/io/deephaven/client/examples/ExecuteCode.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.ConsoleSession; diff --git a/java-client/session-examples/src/main/java/io/deephaven/client/examples/ExecuteScript.java b/java-client/session-examples/src/main/java/io/deephaven/client/examples/ExecuteScript.java index f75b51a1403..4ae681dbd0e 100644 --- a/java-client/session-examples/src/main/java/io/deephaven/client/examples/ExecuteScript.java +++ b/java-client/session-examples/src/main/java/io/deephaven/client/examples/ExecuteScript.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.ConsoleSession; diff --git a/java-client/session-examples/src/main/java/io/deephaven/client/examples/FetchObject.java b/java-client/session-examples/src/main/java/io/deephaven/client/examples/FetchObject.java index e6cdde72515..a5412b3f847 100644 --- a/java-client/session-examples/src/main/java/io/deephaven/client/examples/FetchObject.java +++ b/java-client/session-examples/src/main/java/io/deephaven/client/examples/FetchObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.ServerData; diff --git a/java-client/session-examples/src/main/java/io/deephaven/client/examples/FilterTable.java b/java-client/session-examples/src/main/java/io/deephaven/client/examples/FilterTable.java index 046102b5f5f..530b438e470 100644 --- a/java-client/session-examples/src/main/java/io/deephaven/client/examples/FilterTable.java +++ b/java-client/session-examples/src/main/java/io/deephaven/client/examples/FilterTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.api.filter.Filter; diff --git a/java-client/session-examples/src/main/java/io/deephaven/client/examples/MessageStreamSendReceive.java b/java-client/session-examples/src/main/java/io/deephaven/client/examples/MessageStreamSendReceive.java index e26265089b2..617975929ab 100644 --- a/java-client/session-examples/src/main/java/io/deephaven/client/examples/MessageStreamSendReceive.java +++ b/java-client/session-examples/src/main/java/io/deephaven/client/examples/MessageStreamSendReceive.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.ClientData; diff --git a/java-client/session-examples/src/main/java/io/deephaven/client/examples/Publish.java b/java-client/session-examples/src/main/java/io/deephaven/client/examples/Publish.java index 4daa800c610..de6ec04a416 100644 --- a/java-client/session-examples/src/main/java/io/deephaven/client/examples/Publish.java +++ b/java-client/session-examples/src/main/java/io/deephaven/client/examples/Publish.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.Session; diff --git a/java-client/session-examples/src/main/java/io/deephaven/client/examples/SessionExampleBase.java b/java-client/session-examples/src/main/java/io/deephaven/client/examples/SessionExampleBase.java index bfc3970bbcd..a5935db0ef7 100644 --- a/java-client/session-examples/src/main/java/io/deephaven/client/examples/SessionExampleBase.java +++ b/java-client/session-examples/src/main/java/io/deephaven/client/examples/SessionExampleBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.DaggerDeephavenSessionRoot; diff --git a/java-client/session-examples/src/main/java/io/deephaven/client/examples/SingleSessionExampleBase.java b/java-client/session-examples/src/main/java/io/deephaven/client/examples/SingleSessionExampleBase.java index d157177010d..9263b35942d 100644 --- a/java-client/session-examples/src/main/java/io/deephaven/client/examples/SingleSessionExampleBase.java +++ b/java-client/session-examples/src/main/java/io/deephaven/client/examples/SingleSessionExampleBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.Session; diff --git a/java-client/session-examples/src/main/java/io/deephaven/client/examples/SubscribeToFields.java b/java-client/session-examples/src/main/java/io/deephaven/client/examples/SubscribeToFields.java index f413cc37d83..6d1261cccab 100644 --- a/java-client/session-examples/src/main/java/io/deephaven/client/examples/SubscribeToFields.java +++ b/java-client/session-examples/src/main/java/io/deephaven/client/examples/SubscribeToFields.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.ApplicationService.Cancel; diff --git a/java-client/session-examples/src/main/java/io/deephaven/client/examples/SubscribeToLogs.java b/java-client/session-examples/src/main/java/io/deephaven/client/examples/SubscribeToLogs.java index fb2524a7bfa..83a6be730e7 100644 --- a/java-client/session-examples/src/main/java/io/deephaven/client/examples/SubscribeToLogs.java +++ b/java-client/session-examples/src/main/java/io/deephaven/client/examples/SubscribeToLogs.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.Session; diff --git a/java-client/session-examples/src/main/java/io/deephaven/client/examples/TableManagerExample.java b/java-client/session-examples/src/main/java/io/deephaven/client/examples/TableManagerExample.java index d29b10b8bfa..981e116bf37 100644 --- a/java-client/session-examples/src/main/java/io/deephaven/client/examples/TableManagerExample.java +++ b/java-client/session-examples/src/main/java/io/deephaven/client/examples/TableManagerExample.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.api.ColumnName; diff --git a/java-client/session-examples/src/main/java/io/deephaven/client/examples/UnreferenceableTableExample.java b/java-client/session-examples/src/main/java/io/deephaven/client/examples/UnreferenceableTableExample.java index 6aea47cf0f3..5aee0c27936 100644 --- a/java-client/session-examples/src/main/java/io/deephaven/client/examples/UnreferenceableTableExample.java +++ b/java-client/session-examples/src/main/java/io/deephaven/client/examples/UnreferenceableTableExample.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.client.impl.Session; diff --git a/java-client/session-examples/src/main/java/io/deephaven/client/examples/WriteExampleQsts.java b/java-client/session-examples/src/main/java/io/deephaven/client/examples/WriteExampleQsts.java index 05e6e2c3c82..ec0277c6915 100644 --- a/java-client/session-examples/src/main/java/io/deephaven/client/examples/WriteExampleQsts.java +++ b/java-client/session-examples/src/main/java/io/deephaven/client/examples/WriteExampleQsts.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.examples; import io.deephaven.qst.table.TableSpec; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/AggSpecBuilder.java b/java-client/session/src/main/java/io/deephaven/client/impl/AggSpecBuilder.java index facd9ccc186..7047ae5a86c 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/AggSpecBuilder.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/AggSpecBuilder.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import com.google.protobuf.MessageOrBuilder; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/AggregationBuilder.java b/java-client/session/src/main/java/io/deephaven/client/impl/AggregationBuilder.java index a1a15bbfab4..e44adc6f33a 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/AggregationBuilder.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/AggregationBuilder.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.api.Strings; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ApplicationFieldId.java b/java-client/session/src/main/java/io/deephaven/client/impl/ApplicationFieldId.java index 899af7fb62d..d3d30017776 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ApplicationFieldId.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ApplicationFieldId.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.proto.util.ApplicationTicketHelper; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ApplicationService.java b/java-client/session/src/main/java/io/deephaven/client/impl/ApplicationService.java index 4656a8860d4..a43e5c3188c 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ApplicationService.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ApplicationService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; public interface ApplicationService { diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/Authentication.java b/java-client/session/src/main/java/io/deephaven/client/impl/Authentication.java index 2c6dec097fb..3953c78cfa7 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/Authentication.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/Authentication.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.proto.DeephavenChannel; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/AuthenticationCallCredentials.java b/java-client/session/src/main/java/io/deephaven/client/impl/AuthenticationCallCredentials.java index 864f2f1244c..fbba6431510 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/AuthenticationCallCredentials.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/AuthenticationCallCredentials.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.grpc.CallCredentials; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/AuthenticationInfo.java b/java-client/session/src/main/java/io/deephaven/client/impl/AuthenticationInfo.java index 71d4ec4bcbc..62ed4179f68 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/AuthenticationInfo.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/AuthenticationInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.annotations.SimpleStyle; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/BatchTableRequestBuilder.java b/java-client/session/src/main/java/io/deephaven/client/impl/BatchTableRequestBuilder.java index 7f92e29850a..ee3888560de 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/BatchTableRequestBuilder.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/BatchTableRequestBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import com.google.protobuf.ByteStringAccess; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/BearerHandler.java b/java-client/session/src/main/java/io/deephaven/client/impl/BearerHandler.java index 8c1d3e3ff46..0b4a7037487 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/BearerHandler.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/BearerHandler.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import com.google.common.annotations.VisibleForTesting; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ChannelHelper.java b/java-client/session/src/main/java/io/deephaven/client/impl/ChannelHelper.java index dbee20f2267..7dacfc0fbdd 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ChannelHelper.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ChannelHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.ssl.config.SSLConfig; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ClientChannelFactory.java b/java-client/session/src/main/java/io/deephaven/client/impl/ClientChannelFactory.java index 5cbf0157570..e4831e86ab0 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ClientChannelFactory.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ClientChannelFactory.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.grpc.ManagedChannel; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ClientConfig.java b/java-client/session/src/main/java/io/deephaven/client/impl/ClientConfig.java index b5a10f56754..3b746beaa3a 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ClientConfig.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ClientConfig.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.annotations.BuildableStyle; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ClientData.java b/java-client/session/src/main/java/io/deephaven/client/impl/ClientData.java index e8699f1baf0..6e431b06242 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ClientData.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ClientData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import com.google.protobuf.ByteString; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ConfigService.java b/java-client/session/src/main/java/io/deephaven/client/impl/ConfigService.java index 1badab197a1..415eed53aa5 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ConfigService.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ConfigService.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.proto.backplane.grpc.ConfigValue; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ConsoleService.java b/java-client/session/src/main/java/io/deephaven/client/impl/ConsoleService.java index 4c364734149..a6cbf86fdbe 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ConsoleService.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ConsoleService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import java.util.concurrent.CompletableFuture; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ConsoleSession.java b/java-client/session/src/main/java/io/deephaven/client/impl/ConsoleSession.java index d8c01ec4a42..dea939e2d34 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ConsoleSession.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ConsoleSession.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.impl.script.Changes; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/CustomObject.java b/java-client/session/src/main/java/io/deephaven/client/impl/CustomObject.java index c18fb679f8b..ad733f3bf5c 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/CustomObject.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/CustomObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.impl.ObjectService.Bidirectional; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/DeephavenTargetNameResolverProviders.java b/java-client/session/src/main/java/io/deephaven/client/impl/DeephavenTargetNameResolverProviders.java index fbf9a81fa6c..dc4a2ed7ab8 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/DeephavenTargetNameResolverProviders.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/DeephavenTargetNameResolverProviders.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import com.google.auto.service.AutoService; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/Export.java b/java-client/session/src/main/java/io/deephaven/client/impl/Export.java index af6264c9da9..6ac13710030 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/Export.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/Export.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.impl.ExportRequest.Listener; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ExportId.java b/java-client/session/src/main/java/io/deephaven/client/impl/ExportId.java index 735c7b98b70..08dfbf20541 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ExportId.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ExportId.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.proto.util.ExportTicketHelper; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ExportRequest.java b/java-client/session/src/main/java/io/deephaven/client/impl/ExportRequest.java index 4c5a2abd281..e6464efd309 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ExportRequest.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ExportRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.annotations.SimpleStyle; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ExportService.java b/java-client/session/src/main/java/io/deephaven/client/impl/ExportService.java index 76b3a3adfe0..6bc27ff269a 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ExportService.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ExportService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; /** diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ExportServiceRequest.java b/java-client/session/src/main/java/io/deephaven/client/impl/ExportServiceRequest.java index 5f7b19ec386..72a5fbfe408 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ExportServiceRequest.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ExportServiceRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import java.io.Closeable; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ExportStates.java b/java-client/session/src/main/java/io/deephaven/client/impl/ExportStates.java index 18456c55424..e2a4db64970 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ExportStates.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ExportStates.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import com.google.common.annotations.VisibleForTesting; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ExportTicketCreator.java b/java-client/session/src/main/java/io/deephaven/client/impl/ExportTicketCreator.java index b5faf4ade17..985950f3e76 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ExportTicketCreator.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ExportTicketCreator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import java.util.Objects; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ExportsRequest.java b/java-client/session/src/main/java/io/deephaven/client/impl/ExportsRequest.java index 8427fb0ed02..ff9d4698461 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ExportsRequest.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ExportsRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.annotations.BuildableStyle; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/FieldChanges.java b/java-client/session/src/main/java/io/deephaven/client/impl/FieldChanges.java index 8ba9813b74e..7bee8e46dc1 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/FieldChanges.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/FieldChanges.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.proto.backplane.grpc.FieldsChangeUpdate; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/FieldInfo.java b/java-client/session/src/main/java/io/deephaven/client/impl/FieldInfo.java index 5e97f116a8c..35b19e6c043 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/FieldInfo.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/FieldInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import java.util.Objects; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/FutureHelper.java b/java-client/session/src/main/java/io/deephaven/client/impl/FutureHelper.java index 6848a9f1b79..739aec03e1f 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/FutureHelper.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/FutureHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import java.time.Duration; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/HasExportId.java b/java-client/session/src/main/java/io/deephaven/client/impl/HasExportId.java index a438937201a..e47f5394b0e 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/HasExportId.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/HasExportId.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; public interface HasExportId extends HasTypedTicket, HasPathId { diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/HasPathId.java b/java-client/session/src/main/java/io/deephaven/client/impl/HasPathId.java index 3085a0b1914..2a6d1ee50a7 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/HasPathId.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/HasPathId.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; public interface HasPathId { diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/HasTicketId.java b/java-client/session/src/main/java/io/deephaven/client/impl/HasTicketId.java index 4f85ea6370d..e4e950c5304 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/HasTicketId.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/HasTicketId.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; public interface HasTicketId { diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/HasTypedTicket.java b/java-client/session/src/main/java/io/deephaven/client/impl/HasTypedTicket.java index ee93424dc4b..470af82aa5a 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/HasTypedTicket.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/HasTypedTicket.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; public interface HasTypedTicket extends HasTicketId { diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/InputTableService.java b/java-client/session/src/main/java/io/deephaven/client/impl/InputTableService.java index 2e9c424c35b..e2396c7107e 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/InputTableService.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/InputTableService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import java.util.concurrent.CompletableFuture; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ObjectService.java b/java-client/session/src/main/java/io/deephaven/client/impl/ObjectService.java index d641ca80620..7e81e077534 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ObjectService.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ObjectService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import java.util.concurrent.CompletableFuture; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/PathId.java b/java-client/session/src/main/java/io/deephaven/client/impl/PathId.java index 44d8ea13c02..3cb90726654 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/PathId.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/PathId.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import java.util.List; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/SchemaBytes.java b/java-client/session/src/main/java/io/deephaven/client/impl/SchemaBytes.java index d30e51d6cc3..cafe0342d72 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/SchemaBytes.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/SchemaBytes.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.qst.table.TableHeader; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ScopeId.java b/java-client/session/src/main/java/io/deephaven/client/impl/ScopeId.java index f729249f5a6..0b5e4248ab2 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ScopeId.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ScopeId.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.proto.util.ScopeTicketHelper; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ServerData.java b/java-client/session/src/main/java/io/deephaven/client/impl/ServerData.java index 35edf03cb5d..d77c8d1c22c 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ServerData.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ServerData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import com.google.protobuf.ByteString; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ServerObject.java b/java-client/session/src/main/java/io/deephaven/client/impl/ServerObject.java index 3d53c704ff6..b758688f3cf 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ServerObject.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ServerObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import java.io.Closeable; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/ServerObjectBase.java b/java-client/session/src/main/java/io/deephaven/client/impl/ServerObjectBase.java index 74567a35dec..c0864e00304 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/ServerObjectBase.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/ServerObjectBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import java.util.Objects; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/Session.java b/java-client/session/src/main/java/io/deephaven/client/impl/Session.java index eaa050e2ca3..b6de5083c80 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/Session.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/Session.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.proto.DeephavenChannel; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/SessionBase.java b/java-client/session/src/main/java/io/deephaven/client/impl/SessionBase.java index fbd20522f48..45df93d6fff 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/SessionBase.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/SessionBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; public abstract class SessionBase extends TableServiceDelegateBase implements Session { diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/SessionFactory.java b/java-client/session/src/main/java/io/deephaven/client/impl/SessionFactory.java index 9c81ebc4905..1fe25ed84b0 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/SessionFactory.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/SessionFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; public interface SessionFactory { diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/SessionImpl.java b/java-client/session/src/main/java/io/deephaven/client/impl/SessionImpl.java index 683f78e472d..22320f60c3d 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/SessionImpl.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/SessionImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.impl.script.Changes; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/SessionImplConfig.java b/java-client/session/src/main/java/io/deephaven/client/impl/SessionImplConfig.java index faf294a0141..8111448a891 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/SessionImplConfig.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/SessionImplConfig.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.annotations.BuildableStyle; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/TableHandle.java b/java-client/session/src/main/java/io/deephaven/client/impl/TableHandle.java index 0aec2b73844..3fc9930c6e7 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/TableHandle.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/TableHandle.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.impl.ExportRequest.Listener; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManager.java b/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManager.java index ee1bb4ac381..1ea66a2df73 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManager.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManager.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.impl.TableHandle.TableHandleException; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManagerBase.java b/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManagerBase.java index a0b12a27f34..eb07aade9c2 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManagerBase.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManagerBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.impl.TableHandle.TableHandleException; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManagerBatch.java b/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManagerBatch.java index b974b3094af..f97a43cbcb2 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManagerBatch.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManagerBatch.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.impl.TableHandle.TableHandleException; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManagerDelegate.java b/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManagerDelegate.java index 5bed3941dec..4bb73bef7c1 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManagerDelegate.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManagerDelegate.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.impl.TableHandle.TableHandleException; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManagerSerial.java b/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManagerSerial.java index df85d2b617a..2c593435c5a 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManagerSerial.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/TableHandleManagerSerial.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.impl.TableServiceImpl.Lifecycle; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/TableObject.java b/java-client/session/src/main/java/io/deephaven/client/impl/TableObject.java index dad03b814e2..be02cbdf9a9 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/TableObject.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/TableObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.impl.TableHandle.TableHandleException; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/TableService.java b/java-client/session/src/main/java/io/deephaven/client/impl/TableService.java index 24612fa7eac..d539b3d38fe 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/TableService.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/TableService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.qst.TableCreationLogic; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/TableServiceAsyncImpl.java b/java-client/session/src/main/java/io/deephaven/client/impl/TableServiceAsyncImpl.java index 524750d3b26..1ff17086f54 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/TableServiceAsyncImpl.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/TableServiceAsyncImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.impl.ExportRequest.Listener; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/TableServiceDelegateBase.java b/java-client/session/src/main/java/io/deephaven/client/impl/TableServiceDelegateBase.java index 59245981876..70d41d22ec1 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/TableServiceDelegateBase.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/TableServiceDelegateBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.qst.table.TableSpec; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/TableServiceImpl.java b/java-client/session/src/main/java/io/deephaven/client/impl/TableServiceImpl.java index f66f3f2330f..88245340451 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/TableServiceImpl.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/TableServiceImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.impl.TableHandle.TableHandleException; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/TicketId.java b/java-client/session/src/main/java/io/deephaven/client/impl/TicketId.java index b20eaafaca6..a8d679900d6 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/TicketId.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/TicketId.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import com.google.protobuf.ByteStringAccess; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/TypedTicket.java b/java-client/session/src/main/java/io/deephaven/client/impl/TypedTicket.java index 918e9c65a06..8904c2a827d 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/TypedTicket.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/TypedTicket.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/UnaryGrpcFuture.java b/java-client/session/src/main/java/io/deephaven/client/impl/UnaryGrpcFuture.java index cb30d71b78d..0739a3c3eaf 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/UnaryGrpcFuture.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/UnaryGrpcFuture.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.grpc.stub.ClientCallStreamObserver; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/UnknownObject.java b/java-client/session/src/main/java/io/deephaven/client/impl/UnknownObject.java index 42cc0e0efbe..08fdef85390 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/UnknownObject.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/UnknownObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.impl.ObjectService.Bidirectional; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/UpdateByBuilder.java b/java-client/session/src/main/java/io/deephaven/client/impl/UpdateByBuilder.java index 148bcc98483..f41161b048b 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/UpdateByBuilder.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/UpdateByBuilder.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.api.ColumnName; diff --git a/java-client/session/src/main/java/io/deephaven/client/impl/script/Changes.java b/java-client/session/src/main/java/io/deephaven/client/impl/script/Changes.java index f5b8c01e552..a7453aa6f3c 100644 --- a/java-client/session/src/main/java/io/deephaven/client/impl/script/Changes.java +++ b/java-client/session/src/main/java/io/deephaven/client/impl/script/Changes.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl.script; import io.deephaven.annotations.BuildableStyle; diff --git a/java-client/session/src/test/java/io/deephaven/client/impl/ExportStatesTest.java b/java-client/session/src/test/java/io/deephaven/client/impl/ExportStatesTest.java index ea8c3313580..1a4e45e185d 100644 --- a/java-client/session/src/test/java/io/deephaven/client/impl/ExportStatesTest.java +++ b/java-client/session/src/test/java/io/deephaven/client/impl/ExportStatesTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.client.impl.ExportRequest.Listener; diff --git a/java-client/session/src/test/java/io/deephaven/client/impl/UpdateByControlBuilderTest.java b/java-client/session/src/test/java/io/deephaven/client/impl/UpdateByControlBuilderTest.java index ac093a43f73..9780b21be34 100644 --- a/java-client/session/src/test/java/io/deephaven/client/impl/UpdateByControlBuilderTest.java +++ b/java-client/session/src/test/java/io/deephaven/client/impl/UpdateByControlBuilderTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.api.updateby.UpdateByControl; diff --git a/java-client/session/src/test/java/io/deephaven/client/impl/UpdateByOperationBuilderTest.java b/java-client/session/src/test/java/io/deephaven/client/impl/UpdateByOperationBuilderTest.java index 1bf30ea5ed0..8da2a26d345 100644 --- a/java-client/session/src/test/java/io/deephaven/client/impl/UpdateByOperationBuilderTest.java +++ b/java-client/session/src/test/java/io/deephaven/client/impl/UpdateByOperationBuilderTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.api.ColumnName; diff --git a/java-client/session/src/test/java/io/deephaven/client/impl/UpdateBySpecBuilderTest.java b/java-client/session/src/test/java/io/deephaven/client/impl/UpdateBySpecBuilderTest.java index 4c9e7bd4d04..1259378abd4 100644 --- a/java-client/session/src/test/java/io/deephaven/client/impl/UpdateBySpecBuilderTest.java +++ b/java-client/session/src/test/java/io/deephaven/client/impl/UpdateBySpecBuilderTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.client.impl; import io.deephaven.api.updateby.BadDataBehavior; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/ApplicationUri.java b/java-client/uri/src/main/java/io/deephaven/uri/ApplicationUri.java index 9c0b20314f9..9c406c63276 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/ApplicationUri.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/ApplicationUri.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import io.deephaven.annotations.SimpleStyle; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/CustomUri.java b/java-client/uri/src/main/java/io/deephaven/uri/CustomUri.java index 150a82bc96d..1fcc7c9b974 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/CustomUri.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/CustomUri.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import io.deephaven.annotations.SimpleStyle; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/DeephavenTarget.java b/java-client/uri/src/main/java/io/deephaven/uri/DeephavenTarget.java index 2239315a15d..8dca2d78124 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/DeephavenTarget.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/DeephavenTarget.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import io.deephaven.annotations.BuildableStyle; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/DeephavenUri.java b/java-client/uri/src/main/java/io/deephaven/uri/DeephavenUri.java index 5cfed6d8fba..d075b61fb5c 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/DeephavenUri.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/DeephavenUri.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; /** diff --git a/java-client/uri/src/main/java/io/deephaven/uri/DeephavenUriBase.java b/java-client/uri/src/main/java/io/deephaven/uri/DeephavenUriBase.java index 12f16500ff5..7351d58cf63 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/DeephavenUriBase.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/DeephavenUriBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import java.net.URI; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/FieldUri.java b/java-client/uri/src/main/java/io/deephaven/uri/FieldUri.java index 299b5aeeea9..ab8f31a393b 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/FieldUri.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/FieldUri.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import io.deephaven.annotations.SimpleStyle; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/QueryScopeUri.java b/java-client/uri/src/main/java/io/deephaven/uri/QueryScopeUri.java index 1dfafe7051d..487d6314e63 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/QueryScopeUri.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/QueryScopeUri.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import io.deephaven.annotations.SimpleStyle; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/RemoteApplicationUri.java b/java-client/uri/src/main/java/io/deephaven/uri/RemoteApplicationUri.java index dba4efeb9fb..163ede07145 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/RemoteApplicationUri.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/RemoteApplicationUri.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import java.net.URI; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/RemoteFieldUri.java b/java-client/uri/src/main/java/io/deephaven/uri/RemoteFieldUri.java index 69b0423f1eb..f3533a01937 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/RemoteFieldUri.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/RemoteFieldUri.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import java.net.URI; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/RemoteProxiedUri.java b/java-client/uri/src/main/java/io/deephaven/uri/RemoteProxiedUri.java index 38b5cbf8dbc..79b20b31ed4 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/RemoteProxiedUri.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/RemoteProxiedUri.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import java.io.UnsupportedEncodingException; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/RemoteQueryScopeUri.java b/java-client/uri/src/main/java/io/deephaven/uri/RemoteQueryScopeUri.java index 8d4e3fddb88..af20da20a17 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/RemoteQueryScopeUri.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/RemoteQueryScopeUri.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import java.net.URI; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/RemoteUri.java b/java-client/uri/src/main/java/io/deephaven/uri/RemoteUri.java index 26080f4b07f..7e4ba541e8c 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/RemoteUri.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/RemoteUri.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import io.deephaven.annotations.SimpleStyle; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/ResolveTools.java b/java-client/uri/src/main/java/io/deephaven/uri/ResolveTools.java index 45e8bd237fa..d927bdb193f 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/ResolveTools.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/ResolveTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import io.deephaven.uri.resolver.UriResolver; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/StructuredUri.java b/java-client/uri/src/main/java/io/deephaven/uri/StructuredUri.java index 38f66ff7594..69e71244915 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/StructuredUri.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/StructuredUri.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import java.net.URI; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/StructuredUriBase.java b/java-client/uri/src/main/java/io/deephaven/uri/StructuredUriBase.java index 400eae7efce..b5d54f446e6 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/StructuredUriBase.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/StructuredUriBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; public abstract class StructuredUriBase implements StructuredUri { diff --git a/java-client/uri/src/main/java/io/deephaven/uri/UriHelper.java b/java-client/uri/src/main/java/io/deephaven/uri/UriHelper.java index db87f939d50..6cc218cb006 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/UriHelper.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/UriHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import java.io.UnsupportedEncodingException; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/resolver/UriResolver.java b/java-client/uri/src/main/java/io/deephaven/uri/resolver/UriResolver.java index f7426524977..0552aa5cb60 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/resolver/UriResolver.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/resolver/UriResolver.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri.resolver; import java.net.URI; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/resolver/UriResolvers.java b/java-client/uri/src/main/java/io/deephaven/uri/resolver/UriResolvers.java index a0d41bf1e1c..5ad3df9df86 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/resolver/UriResolvers.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/resolver/UriResolvers.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri.resolver; import java.net.URI; diff --git a/java-client/uri/src/main/java/io/deephaven/uri/resolver/UriResolversInstance.java b/java-client/uri/src/main/java/io/deephaven/uri/resolver/UriResolversInstance.java index 365f17549a0..8df1a26c2a7 100644 --- a/java-client/uri/src/main/java/io/deephaven/uri/resolver/UriResolversInstance.java +++ b/java-client/uri/src/main/java/io/deephaven/uri/resolver/UriResolversInstance.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri.resolver; import java.util.Objects; diff --git a/java-client/uri/src/test/java/io/deephaven/uri/ApplicationUriTest.java b/java-client/uri/src/test/java/io/deephaven/uri/ApplicationUriTest.java index b2310766387..5285be8aa12 100644 --- a/java-client/uri/src/test/java/io/deephaven/uri/ApplicationUriTest.java +++ b/java-client/uri/src/test/java/io/deephaven/uri/ApplicationUriTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import org.junit.jupiter.api.Test; diff --git a/java-client/uri/src/test/java/io/deephaven/uri/CustomUriTest.java b/java-client/uri/src/test/java/io/deephaven/uri/CustomUriTest.java index 9ed05e70163..f4d679af747 100644 --- a/java-client/uri/src/test/java/io/deephaven/uri/CustomUriTest.java +++ b/java-client/uri/src/test/java/io/deephaven/uri/CustomUriTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import org.junit.jupiter.api.Test; diff --git a/java-client/uri/src/test/java/io/deephaven/uri/DeephavenTargetTest.java b/java-client/uri/src/test/java/io/deephaven/uri/DeephavenTargetTest.java index bfcabcbcc2c..e87202acf4e 100644 --- a/java-client/uri/src/test/java/io/deephaven/uri/DeephavenTargetTest.java +++ b/java-client/uri/src/test/java/io/deephaven/uri/DeephavenTargetTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import org.junit.jupiter.api.Test; diff --git a/java-client/uri/src/test/java/io/deephaven/uri/FieldUriTest.java b/java-client/uri/src/test/java/io/deephaven/uri/FieldUriTest.java index f5158fd03c9..f969ccc00a1 100644 --- a/java-client/uri/src/test/java/io/deephaven/uri/FieldUriTest.java +++ b/java-client/uri/src/test/java/io/deephaven/uri/FieldUriTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import org.junit.jupiter.api.Test; diff --git a/java-client/uri/src/test/java/io/deephaven/uri/QueryScopeUriTest.java b/java-client/uri/src/test/java/io/deephaven/uri/QueryScopeUriTest.java index 6c40d583ab5..ab9715f0f3b 100644 --- a/java-client/uri/src/test/java/io/deephaven/uri/QueryScopeUriTest.java +++ b/java-client/uri/src/test/java/io/deephaven/uri/QueryScopeUriTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import org.junit.jupiter.api.Test; diff --git a/java-client/uri/src/test/java/io/deephaven/uri/RemoteUriTest.java b/java-client/uri/src/test/java/io/deephaven/uri/RemoteUriTest.java index 6ddf7077535..a4e71351842 100644 --- a/java-client/uri/src/test/java/io/deephaven/uri/RemoteUriTest.java +++ b/java-client/uri/src/test/java/io/deephaven/uri/RemoteUriTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import org.junit.jupiter.api.Test; diff --git a/java-client/uri/src/test/java/io/deephaven/uri/UriHelperTest.java b/java-client/uri/src/test/java/io/deephaven/uri/UriHelperTest.java index f0daba3392c..994e799a9eb 100644 --- a/java-client/uri/src/test/java/io/deephaven/uri/UriHelperTest.java +++ b/java-client/uri/src/test/java/io/deephaven/uri/UriHelperTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.uri; import org.junit.jupiter.api.Test; diff --git a/log-factory/examples/example-base/src/main/java/io/deephaven/internal/example/LogExampleMain.java b/log-factory/examples/example-base/src/main/java/io/deephaven/internal/example/LogExampleMain.java index e085803e35d..28c91027aaa 100644 --- a/log-factory/examples/example-base/src/main/java/io/deephaven/internal/example/LogExampleMain.java +++ b/log-factory/examples/example-base/src/main/java/io/deephaven/internal/example/LogExampleMain.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.internal.example; import io.deephaven.io.logger.Logger; diff --git a/log-factory/examples/example-base/src/main/java/io/example/noisy/ThirdPartyLibrary.java b/log-factory/examples/example-base/src/main/java/io/example/noisy/ThirdPartyLibrary.java index c7cfac9cc9e..63c22b1e59e 100644 --- a/log-factory/examples/example-base/src/main/java/io/example/noisy/ThirdPartyLibrary.java +++ b/log-factory/examples/example-base/src/main/java/io/example/noisy/ThirdPartyLibrary.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.example.noisy; import org.slf4j.Logger; diff --git a/log-factory/sinks/log-to-file/src/main/java/io/deephaven/internal/log/LoggerFactoryFile.java b/log-factory/sinks/log-to-file/src/main/java/io/deephaven/internal/log/LoggerFactoryFile.java index f86569b7882..834e03c03d2 100644 --- a/log-factory/sinks/log-to-file/src/main/java/io/deephaven/internal/log/LoggerFactoryFile.java +++ b/log-factory/sinks/log-to-file/src/main/java/io/deephaven/internal/log/LoggerFactoryFile.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.internal.log; import com.google.auto.service.AutoService; diff --git a/log-factory/sinks/log-to-logbuffer/src/main/java/io/deephaven/internal/log/LogToLogBuffer.java b/log-factory/sinks/log-to-logbuffer/src/main/java/io/deephaven/internal/log/LogToLogBuffer.java index fa1ef858c6f..a9c521461dc 100644 --- a/log-factory/sinks/log-to-logbuffer/src/main/java/io/deephaven/internal/log/LogToLogBuffer.java +++ b/log-factory/sinks/log-to-logbuffer/src/main/java/io/deephaven/internal/log/LogToLogBuffer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.internal.log; import com.google.auto.service.AutoService; diff --git a/log-factory/sinks/log-to-slf4j/src/main/java/io/deephaven/internal/log/LoggerFactorySlf4j.java b/log-factory/sinks/log-to-slf4j/src/main/java/io/deephaven/internal/log/LoggerFactorySlf4j.java index 2aa1fedb557..e9bd22de3b4 100644 --- a/log-factory/sinks/log-to-slf4j/src/main/java/io/deephaven/internal/log/LoggerFactorySlf4j.java +++ b/log-factory/sinks/log-to-slf4j/src/main/java/io/deephaven/internal/log/LoggerFactorySlf4j.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.internal.log; import com.google.auto.service.AutoService; diff --git a/log-factory/sinks/log-to-slf4j/src/main/java/io/deephaven/internal/log/LoggerSlf4j.java b/log-factory/sinks/log-to-slf4j/src/main/java/io/deephaven/internal/log/LoggerSlf4j.java index 4721f1f97fd..c4c2c762ddf 100644 --- a/log-factory/sinks/log-to-slf4j/src/main/java/io/deephaven/internal/log/LoggerSlf4j.java +++ b/log-factory/sinks/log-to-slf4j/src/main/java/io/deephaven/internal/log/LoggerSlf4j.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.internal.log; import io.deephaven.base.ArrayUtil; diff --git a/log-factory/sinks/log-to-stream/src/main/java/io/deephaven/internal/log/LoggerFactoryStream.java b/log-factory/sinks/log-to-stream/src/main/java/io/deephaven/internal/log/LoggerFactoryStream.java index 698a92ba6f8..39bcd1cbe0a 100644 --- a/log-factory/sinks/log-to-stream/src/main/java/io/deephaven/internal/log/LoggerFactoryStream.java +++ b/log-factory/sinks/log-to-stream/src/main/java/io/deephaven/internal/log/LoggerFactoryStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.internal.log; import com.google.auto.service.AutoService; diff --git a/log-factory/sinks/logback-logbuffer/src/main/java/io/deephaven/logback/LogBufferAppender.java b/log-factory/sinks/logback-logbuffer/src/main/java/io/deephaven/logback/LogBufferAppender.java index e84d22d4e8b..c52520aa469 100644 --- a/log-factory/sinks/logback-logbuffer/src/main/java/io/deephaven/logback/LogBufferAppender.java +++ b/log-factory/sinks/logback-logbuffer/src/main/java/io/deephaven/logback/LogBufferAppender.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.logback; import ch.qos.logback.classic.Level; diff --git a/log-factory/sinks/logback-print-stream-globals/src/main/java/io/deephaven/logback/PrintStreamGlobalsConsole.java b/log-factory/sinks/logback-print-stream-globals/src/main/java/io/deephaven/logback/PrintStreamGlobalsConsole.java index e36b9e557a0..5e9c660e963 100644 --- a/log-factory/sinks/logback-print-stream-globals/src/main/java/io/deephaven/logback/PrintStreamGlobalsConsole.java +++ b/log-factory/sinks/logback-print-stream-globals/src/main/java/io/deephaven/logback/PrintStreamGlobalsConsole.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.logback; import ch.qos.logback.core.OutputStreamAppender; diff --git a/log-factory/sources/slf4j-to-log/src/main/java/io/deephaven/internal/DeephavenLogger.java b/log-factory/sources/slf4j-to-log/src/main/java/io/deephaven/internal/DeephavenLogger.java index 0a38a9c7401..8b4dd9758ed 100644 --- a/log-factory/sources/slf4j-to-log/src/main/java/io/deephaven/internal/DeephavenLogger.java +++ b/log-factory/sources/slf4j-to-log/src/main/java/io/deephaven/internal/DeephavenLogger.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.internal; import io.deephaven.io.log.LogLevel; diff --git a/log-factory/sources/slf4j-to-log/src/main/java/io/deephaven/internal/DeephavenLoggerFactory.java b/log-factory/sources/slf4j-to-log/src/main/java/io/deephaven/internal/DeephavenLoggerFactory.java index c5b1ceda12d..2bfa4420d80 100644 --- a/log-factory/sources/slf4j-to-log/src/main/java/io/deephaven/internal/DeephavenLoggerFactory.java +++ b/log-factory/sources/slf4j-to-log/src/main/java/io/deephaven/internal/DeephavenLoggerFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.internal; import io.deephaven.internal.log.LoggerFactory; diff --git a/log-factory/sources/slf4j-to-log/src/main/java/io/deephaven/internal/DeephavenLoggerServiceProvider.java b/log-factory/sources/slf4j-to-log/src/main/java/io/deephaven/internal/DeephavenLoggerServiceProvider.java index efffdb75de0..784742fa9ad 100644 --- a/log-factory/sources/slf4j-to-log/src/main/java/io/deephaven/internal/DeephavenLoggerServiceProvider.java +++ b/log-factory/sources/slf4j-to-log/src/main/java/io/deephaven/internal/DeephavenLoggerServiceProvider.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.internal; import com.google.auto.service.AutoService; diff --git a/log-factory/src/main/java/io/deephaven/internal/log/Bootstrap.java b/log-factory/src/main/java/io/deephaven/internal/log/Bootstrap.java index 0d87f3136be..9c2f1ecc6c2 100644 --- a/log-factory/src/main/java/io/deephaven/internal/log/Bootstrap.java +++ b/log-factory/src/main/java/io/deephaven/internal/log/Bootstrap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.internal.log; import java.util.Optional; diff --git a/log-factory/src/main/java/io/deephaven/internal/log/InitSink.java b/log-factory/src/main/java/io/deephaven/internal/log/InitSink.java index afc4b193f17..51536c4a4b3 100644 --- a/log-factory/src/main/java/io/deephaven/internal/log/InitSink.java +++ b/log-factory/src/main/java/io/deephaven/internal/log/InitSink.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.internal.log; import io.deephaven.io.log.LogSink; diff --git a/log-factory/src/main/java/io/deephaven/internal/log/LoggerFactory.java b/log-factory/src/main/java/io/deephaven/internal/log/LoggerFactory.java index 5903ff28fd5..ccb91ca5112 100644 --- a/log-factory/src/main/java/io/deephaven/internal/log/LoggerFactory.java +++ b/log-factory/src/main/java/io/deephaven/internal/log/LoggerFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.internal.log; import io.deephaven.io.logger.Logger; diff --git a/log-factory/src/main/java/io/deephaven/internal/log/LoggerFactoryServiceLoaderImpl.java b/log-factory/src/main/java/io/deephaven/internal/log/LoggerFactoryServiceLoaderImpl.java index ff8767964e2..711d7a65b43 100644 --- a/log-factory/src/main/java/io/deephaven/internal/log/LoggerFactoryServiceLoaderImpl.java +++ b/log-factory/src/main/java/io/deephaven/internal/log/LoggerFactoryServiceLoaderImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.internal.log; import java.util.Iterator; diff --git a/log-factory/src/main/java/io/deephaven/internal/log/LoggerFactorySingleCache.java b/log-factory/src/main/java/io/deephaven/internal/log/LoggerFactorySingleCache.java index a5a409290ba..bd370cc8c0b 100644 --- a/log-factory/src/main/java/io/deephaven/internal/log/LoggerFactorySingleCache.java +++ b/log-factory/src/main/java/io/deephaven/internal/log/LoggerFactorySingleCache.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.internal.log; import io.deephaven.io.logger.Logger; diff --git a/open-api/lang-parser/src/main/java/io/deephaven/lang/api/AbstractChunkerInvokable.java b/open-api/lang-parser/src/main/java/io/deephaven/lang/api/AbstractChunkerInvokable.java index aa96484c568..b4590a0d30e 100644 --- a/open-api/lang-parser/src/main/java/io/deephaven/lang/api/AbstractChunkerInvokable.java +++ b/open-api/lang-parser/src/main/java/io/deephaven/lang/api/AbstractChunkerInvokable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.api; import io.deephaven.lang.generated.Chunker; diff --git a/open-api/lang-parser/src/main/java/io/deephaven/lang/api/ChunkerInvokable.java b/open-api/lang-parser/src/main/java/io/deephaven/lang/api/ChunkerInvokable.java index 56e727e3d0c..dd847036bcd 100644 --- a/open-api/lang-parser/src/main/java/io/deephaven/lang/api/ChunkerInvokable.java +++ b/open-api/lang-parser/src/main/java/io/deephaven/lang/api/ChunkerInvokable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.api; import io.deephaven.lang.generated.ChunkerConstants; diff --git a/open-api/lang-parser/src/main/java/io/deephaven/lang/api/HasScope.java b/open-api/lang-parser/src/main/java/io/deephaven/lang/api/HasScope.java index bf63ddb5571..ae4eaae985e 100644 --- a/open-api/lang-parser/src/main/java/io/deephaven/lang/api/HasScope.java +++ b/open-api/lang-parser/src/main/java/io/deephaven/lang/api/HasScope.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.api; import io.deephaven.lang.generated.Node; diff --git a/open-api/lang-parser/src/main/java/io/deephaven/lang/api/IsScope.java b/open-api/lang-parser/src/main/java/io/deephaven/lang/api/IsScope.java index 08c0c4eec12..7e22b720bff 100644 --- a/open-api/lang-parser/src/main/java/io/deephaven/lang/api/IsScope.java +++ b/open-api/lang-parser/src/main/java/io/deephaven/lang/api/IsScope.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.api; import io.deephaven.lang.generated.*; diff --git a/open-api/lang-parser/src/main/java/io/deephaven/lang/api/ParseCancelled.java b/open-api/lang-parser/src/main/java/io/deephaven/lang/api/ParseCancelled.java index dd422e3535e..a08eaad77a3 100644 --- a/open-api/lang-parser/src/main/java/io/deephaven/lang/api/ParseCancelled.java +++ b/open-api/lang-parser/src/main/java/io/deephaven/lang/api/ParseCancelled.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.api; /** diff --git a/open-api/lang-parser/src/main/java/io/deephaven/lang/api/ParseState.java b/open-api/lang-parser/src/main/java/io/deephaven/lang/api/ParseState.java index 45bc379e922..6b4503a9156 100644 --- a/open-api/lang-parser/src/main/java/io/deephaven/lang/api/ParseState.java +++ b/open-api/lang-parser/src/main/java/io/deephaven/lang/api/ParseState.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.api; import io.deephaven.lang.generated.Node; diff --git a/open-api/lang-parser/src/main/java/io/deephaven/lang/parse/CompletionParser.java b/open-api/lang-parser/src/main/java/io/deephaven/lang/parse/CompletionParser.java index 31c49c8a570..8623fdf1f70 100644 --- a/open-api/lang-parser/src/main/java/io/deephaven/lang/parse/CompletionParser.java +++ b/open-api/lang-parser/src/main/java/io/deephaven/lang/parse/CompletionParser.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.parse; import io.deephaven.internal.log.LoggerFactory; diff --git a/open-api/lang-parser/src/main/java/io/deephaven/lang/parse/LspTools.java b/open-api/lang-parser/src/main/java/io/deephaven/lang/parse/LspTools.java index 02acbc8cd7b..17e04cab2a6 100644 --- a/open-api/lang-parser/src/main/java/io/deephaven/lang/parse/LspTools.java +++ b/open-api/lang-parser/src/main/java/io/deephaven/lang/parse/LspTools.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.parse; import io.deephaven.proto.backplane.script.grpc.DocumentRange; diff --git a/open-api/lang-parser/src/main/java/io/deephaven/lang/parse/ParsedDocument.java b/open-api/lang-parser/src/main/java/io/deephaven/lang/parse/ParsedDocument.java index 7f1166b5b67..93f3269a790 100644 --- a/open-api/lang-parser/src/main/java/io/deephaven/lang/parse/ParsedDocument.java +++ b/open-api/lang-parser/src/main/java/io/deephaven/lang/parse/ParsedDocument.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.parse; import io.deephaven.base.Lazy; diff --git a/open-api/lang-parser/src/main/java/io/deephaven/lang/parse/PendingParse.java b/open-api/lang-parser/src/main/java/io/deephaven/lang/parse/PendingParse.java index 31644110242..32183423f06 100644 --- a/open-api/lang-parser/src/main/java/io/deephaven/lang/parse/PendingParse.java +++ b/open-api/lang-parser/src/main/java/io/deephaven/lang/parse/PendingParse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.parse; import io.deephaven.internal.log.LoggerFactory; diff --git a/open-api/lang-parser/src/main/java/io/deephaven/lang/shared/lsp/CompletionCancelled.java b/open-api/lang-parser/src/main/java/io/deephaven/lang/shared/lsp/CompletionCancelled.java index 235d067d3c8..14cd8d54f2c 100644 --- a/open-api/lang-parser/src/main/java/io/deephaven/lang/shared/lsp/CompletionCancelled.java +++ b/open-api/lang-parser/src/main/java/io/deephaven/lang/shared/lsp/CompletionCancelled.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.shared.lsp; /** diff --git a/open-api/lang-parser/src/main/java/io/deephaven/lang/shared/lsp/DiagnosticCode.java b/open-api/lang-parser/src/main/java/io/deephaven/lang/shared/lsp/DiagnosticCode.java index be0a376495e..081ccf12923 100644 --- a/open-api/lang-parser/src/main/java/io/deephaven/lang/shared/lsp/DiagnosticCode.java +++ b/open-api/lang-parser/src/main/java/io/deephaven/lang/shared/lsp/DiagnosticCode.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.shared.lsp; /** diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/ChunkerCompleter.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/ChunkerCompleter.java index 258c4861c35..a97c5b584da 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/ChunkerCompleter.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/ChunkerCompleter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion; import io.deephaven.engine.context.QueryScope; diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionFragment.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionFragment.java index e71047ff07c..57c9e27ca0f 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionFragment.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionFragment.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion; /** diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionHandler.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionHandler.java index 8d25ba056de..bac2e66f5a8 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionHandler.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionHandler.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion; import io.deephaven.lang.parse.ParsedDocument; diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionLookups.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionLookups.java index 4e2625a8c47..554c043458e 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionLookups.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionLookups.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion; import io.deephaven.base.Lazy; diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionOptions.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionOptions.java index ad82238f1ba..96b3b8bb769 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionOptions.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion; import java.util.Arrays; diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionRequest.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionRequest.java index 7c30c33f89f..49dbc92497f 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionRequest.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CompletionRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion; import io.deephaven.base.verify.Require; diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CustomCompletion.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CustomCompletion.java index 0f7b2719b12..f1095962a77 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CustomCompletion.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/CustomCompletion.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion; import io.deephaven.engine.table.TableDefinition; diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/DelegatingCompletionHandler.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/DelegatingCompletionHandler.java index 50472fbfa21..af3cfaf9eee 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/DelegatingCompletionHandler.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/DelegatingCompletionHandler.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion; import io.deephaven.internal.log.LoggerFactory; diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/DelegatingCustomCompletion.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/DelegatingCustomCompletion.java index 648d25d0834..48f6d072625 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/DelegatingCustomCompletion.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/DelegatingCustomCompletion.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion; import io.deephaven.engine.table.TableDefinition; diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteAssignment.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteAssignment.java index 1b407bfa9f3..7285281078b 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteAssignment.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteAssignment.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion.results; import io.deephaven.lang.completion.ChunkerCompleter; diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteColumnExpression.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteColumnExpression.java index f450272430a..650807959aa 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteColumnExpression.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteColumnExpression.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion.results; import io.deephaven.lang.completion.ChunkerCompleter; diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteColumnName.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteColumnName.java index a134d50a88e..c363efb1cdf 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteColumnName.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteColumnName.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion.results; import io.deephaven.lang.completion.ChunkerCompleter; diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteInvocation.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteInvocation.java index d43d970283d..e7e70f7dcbf 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteInvocation.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteInvocation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion.results; import io.deephaven.lang.completion.ChunkerCompleter; diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteTableName.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteTableName.java index 2594a4151e0..0d4a6b9742d 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteTableName.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteTableName.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion.results; import io.deephaven.lang.completion.ChunkerCompleter; diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteTableNamespace.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteTableNamespace.java index cebd783e244..9736777931b 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteTableNamespace.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteTableNamespace.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion.results; import io.deephaven.lang.completion.ChunkerCompleter; diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteVarName.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteVarName.java index 5f1bd2a492a..8b2e09814ab 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteVarName.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompleteVarName.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion.results; import io.deephaven.lang.completion.ChunkerCompleter; diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompletionBuilder.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompletionBuilder.java index cb9b1d7746b..58d72603ebf 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompletionBuilder.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/CompletionBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion.results; import io.deephaven.lang.completion.ChunkerCompleter; diff --git a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/FuzzyList.java b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/FuzzyList.java index 34c28e5adf6..96689398f2f 100644 --- a/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/FuzzyList.java +++ b/open-api/lang-tools/src/main/java/io/deephaven/lang/completion/results/FuzzyList.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion.results; import io.deephaven.web.shared.fu.MappedIterable; diff --git a/open-api/lang-tools/src/test/groovy/io/deephaven/lang/completion/AllTokenIterableImpl.java b/open-api/lang-tools/src/test/groovy/io/deephaven/lang/completion/AllTokenIterableImpl.java index ae64209b1a1..1179bc91a35 100644 --- a/open-api/lang-tools/src/test/groovy/io/deephaven/lang/completion/AllTokenIterableImpl.java +++ b/open-api/lang-tools/src/test/groovy/io/deephaven/lang/completion/AllTokenIterableImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.lang.completion; import io.deephaven.lang.generated.Token; diff --git a/open-api/shared-fu/src/main/java/io/deephaven/web/shared/cmd/ServerReplyHandle.java b/open-api/shared-fu/src/main/java/io/deephaven/web/shared/cmd/ServerReplyHandle.java index fd2405d7d33..ee37682a7e0 100644 --- a/open-api/shared-fu/src/main/java/io/deephaven/web/shared/cmd/ServerReplyHandle.java +++ b/open-api/shared-fu/src/main/java/io/deephaven/web/shared/cmd/ServerReplyHandle.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.cmd; import java.io.Serializable; diff --git a/open-api/shared-fu/src/main/java/io/deephaven/web/shared/fu/LinkedIterable.java b/open-api/shared-fu/src/main/java/io/deephaven/web/shared/fu/LinkedIterable.java index 76bff831811..88293d8de2b 100644 --- a/open-api/shared-fu/src/main/java/io/deephaven/web/shared/fu/LinkedIterable.java +++ b/open-api/shared-fu/src/main/java/io/deephaven/web/shared/fu/LinkedIterable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.fu; import java.util.Iterator; diff --git a/open-api/shared-fu/src/main/java/io/deephaven/web/shared/fu/MappedIterable.java b/open-api/shared-fu/src/main/java/io/deephaven/web/shared/fu/MappedIterable.java index 04334f5bcb7..564befe35fa 100644 --- a/open-api/shared-fu/src/main/java/io/deephaven/web/shared/fu/MappedIterable.java +++ b/open-api/shared-fu/src/main/java/io/deephaven/web/shared/fu/MappedIterable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.fu; import java.util.*; diff --git a/open-api/shared-fu/src/main/java/io/deephaven/web/shared/fu/ReverseListIterable.java b/open-api/shared-fu/src/main/java/io/deephaven/web/shared/fu/ReverseListIterable.java index aa568d2661f..0d6df5428f0 100644 --- a/open-api/shared-fu/src/main/java/io/deephaven/web/shared/fu/ReverseListIterable.java +++ b/open-api/shared-fu/src/main/java/io/deephaven/web/shared/fu/ReverseListIterable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.fu; import java.util.Iterator; diff --git a/plugin/dagger/src/main/java/io/deephaven/plugin/PluginModule.java b/plugin/dagger/src/main/java/io/deephaven/plugin/PluginModule.java index 47f4bfcb124..025ed7ccff4 100644 --- a/plugin/dagger/src/main/java/io/deephaven/plugin/PluginModule.java +++ b/plugin/dagger/src/main/java/io/deephaven/plugin/PluginModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin; import dagger.Module; diff --git a/plugin/dagger/src/test/java/io/deephaven/plugin/PluginModuleTest.java b/plugin/dagger/src/test/java/io/deephaven/plugin/PluginModuleTest.java index ff1b0a38bc7..f3d44522cd7 100644 --- a/plugin/dagger/src/test/java/io/deephaven/plugin/PluginModuleTest.java +++ b/plugin/dagger/src/test/java/io/deephaven/plugin/PluginModuleTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin; import com.google.auto.service.AutoService; diff --git a/plugin/echo/src/main/java/io/deephaven/plugin/EchoObjectType.java b/plugin/echo/src/main/java/io/deephaven/plugin/EchoObjectType.java index 84e5ac6dad9..b3dffaaf69e 100644 --- a/plugin/echo/src/main/java/io/deephaven/plugin/EchoObjectType.java +++ b/plugin/echo/src/main/java/io/deephaven/plugin/EchoObjectType.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin; import com.google.auto.service.AutoService; diff --git a/plugin/figure/src/main/java/io/deephaven/figure/FigureWidgetTranslator.java b/plugin/figure/src/main/java/io/deephaven/figure/FigureWidgetTranslator.java index 7579534a194..2acd47bd13a 100644 --- a/plugin/figure/src/main/java/io/deephaven/figure/FigureWidgetTranslator.java +++ b/plugin/figure/src/main/java/io/deephaven/figure/FigureWidgetTranslator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.figure; import io.deephaven.api.Selectable; diff --git a/plugin/figure/src/main/java/io/deephaven/figure/FigureWidgetTypePlugin.java b/plugin/figure/src/main/java/io/deephaven/figure/FigureWidgetTypePlugin.java index ccb39a2702e..07d1c14cb11 100644 --- a/plugin/figure/src/main/java/io/deephaven/figure/FigureWidgetTypePlugin.java +++ b/plugin/figure/src/main/java/io/deephaven/figure/FigureWidgetTypePlugin.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.figure; import com.google.auto.service.AutoService; diff --git a/plugin/gc-app/src/main/java/io/deephaven/app/GcApplication.java b/plugin/gc-app/src/main/java/io/deephaven/app/GcApplication.java index 3a2daf65cb7..4b847bb3644 100644 --- a/plugin/gc-app/src/main/java/io/deephaven/app/GcApplication.java +++ b/plugin/gc-app/src/main/java/io/deephaven/app/GcApplication.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.app; import com.sun.management.GarbageCollectionNotificationInfo; diff --git a/plugin/gc-app/src/main/java/io/deephaven/app/GcNotificationPublisher.java b/plugin/gc-app/src/main/java/io/deephaven/app/GcNotificationPublisher.java index 6726c66e0f6..d0bbfe4bdcb 100644 --- a/plugin/gc-app/src/main/java/io/deephaven/app/GcNotificationPublisher.java +++ b/plugin/gc-app/src/main/java/io/deephaven/app/GcNotificationPublisher.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.app; import com.sun.management.GarbageCollectionNotificationInfo; diff --git a/plugin/gc-app/src/main/java/io/deephaven/app/GcPoolsPublisher.java b/plugin/gc-app/src/main/java/io/deephaven/app/GcPoolsPublisher.java index 0c3be2b729e..7791f42494c 100644 --- a/plugin/gc-app/src/main/java/io/deephaven/app/GcPoolsPublisher.java +++ b/plugin/gc-app/src/main/java/io/deephaven/app/GcPoolsPublisher.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.app; import com.sun.management.GcInfo; diff --git a/plugin/hierarchicaltable/src/main/java/io/deephaven/hierarchicaltable/HierarchicalTableTypePlugin.java b/plugin/hierarchicaltable/src/main/java/io/deephaven/hierarchicaltable/HierarchicalTableTypePlugin.java index 3bd36a74075..14f76a56cce 100644 --- a/plugin/hierarchicaltable/src/main/java/io/deephaven/hierarchicaltable/HierarchicalTableTypePlugin.java +++ b/plugin/hierarchicaltable/src/main/java/io/deephaven/hierarchicaltable/HierarchicalTableTypePlugin.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.hierarchicaltable; import com.google.auto.service.AutoService; diff --git a/plugin/partitionedtable/src/main/java/io/deephaven/partitionedtable/PartitionedTableTypePlugin.java b/plugin/partitionedtable/src/main/java/io/deephaven/partitionedtable/PartitionedTableTypePlugin.java index ff394a8b189..3fb978bc5a7 100644 --- a/plugin/partitionedtable/src/main/java/io/deephaven/partitionedtable/PartitionedTableTypePlugin.java +++ b/plugin/partitionedtable/src/main/java/io/deephaven/partitionedtable/PartitionedTableTypePlugin.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.partitionedtable; import com.google.auto.service.AutoService; diff --git a/plugin/src/main/java/io/deephaven/plugin/Plugin.java b/plugin/src/main/java/io/deephaven/plugin/Plugin.java index 3dbfcd2409a..729c059656d 100644 --- a/plugin/src/main/java/io/deephaven/plugin/Plugin.java +++ b/plugin/src/main/java/io/deephaven/plugin/Plugin.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin; import io.deephaven.plugin.js.JsPlugin; diff --git a/plugin/src/main/java/io/deephaven/plugin/PluginBase.java b/plugin/src/main/java/io/deephaven/plugin/PluginBase.java index e6e016d05fa..2c148db28e2 100644 --- a/plugin/src/main/java/io/deephaven/plugin/PluginBase.java +++ b/plugin/src/main/java/io/deephaven/plugin/PluginBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin; public abstract class PluginBase implements Plugin { diff --git a/plugin/src/main/java/io/deephaven/plugin/Registration.java b/plugin/src/main/java/io/deephaven/plugin/Registration.java index 4ce903de824..ea25645fd80 100644 --- a/plugin/src/main/java/io/deephaven/plugin/Registration.java +++ b/plugin/src/main/java/io/deephaven/plugin/Registration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin; /** diff --git a/plugin/src/main/java/io/deephaven/plugin/js/JsPlugin.java b/plugin/src/main/java/io/deephaven/plugin/js/JsPlugin.java index 1996b9c6290..d7ecf2b2650 100644 --- a/plugin/src/main/java/io/deephaven/plugin/js/JsPlugin.java +++ b/plugin/src/main/java/io/deephaven/plugin/js/JsPlugin.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin.js; import io.deephaven.annotations.BuildableStyle; diff --git a/plugin/src/main/java/io/deephaven/plugin/js/JsPluginRegistration.java b/plugin/src/main/java/io/deephaven/plugin/js/JsPluginRegistration.java index 2271aad2d57..742df91f3fb 100644 --- a/plugin/src/main/java/io/deephaven/plugin/js/JsPluginRegistration.java +++ b/plugin/src/main/java/io/deephaven/plugin/js/JsPluginRegistration.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin.js; /** diff --git a/plugin/src/main/java/io/deephaven/plugin/js/Paths.java b/plugin/src/main/java/io/deephaven/plugin/js/Paths.java index 9bee0545ce6..786b2d9d689 100644 --- a/plugin/src/main/java/io/deephaven/plugin/js/Paths.java +++ b/plugin/src/main/java/io/deephaven/plugin/js/Paths.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin.js; import java.nio.file.Path; diff --git a/plugin/src/main/java/io/deephaven/plugin/js/PathsAll.java b/plugin/src/main/java/io/deephaven/plugin/js/PathsAll.java index dc9909923b3..ac70a0ae06b 100644 --- a/plugin/src/main/java/io/deephaven/plugin/js/PathsAll.java +++ b/plugin/src/main/java/io/deephaven/plugin/js/PathsAll.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin.js; import java.nio.file.Path; diff --git a/plugin/src/main/java/io/deephaven/plugin/js/PathsInternal.java b/plugin/src/main/java/io/deephaven/plugin/js/PathsInternal.java index 70b777aef01..32b9941c855 100644 --- a/plugin/src/main/java/io/deephaven/plugin/js/PathsInternal.java +++ b/plugin/src/main/java/io/deephaven/plugin/js/PathsInternal.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin.js; import java.nio.file.PathMatcher; diff --git a/plugin/src/main/java/io/deephaven/plugin/js/PathsPrefixes.java b/plugin/src/main/java/io/deephaven/plugin/js/PathsPrefixes.java index affb0331054..d5856a3cad5 100644 --- a/plugin/src/main/java/io/deephaven/plugin/js/PathsPrefixes.java +++ b/plugin/src/main/java/io/deephaven/plugin/js/PathsPrefixes.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin.js; import io.deephaven.annotations.BuildableStyle; diff --git a/plugin/src/main/java/io/deephaven/plugin/type/Exporter.java b/plugin/src/main/java/io/deephaven/plugin/type/Exporter.java index 48e8bee4c99..38c7ff2ed97 100644 --- a/plugin/src/main/java/io/deephaven/plugin/type/Exporter.java +++ b/plugin/src/main/java/io/deephaven/plugin/type/Exporter.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin.type; import java.io.ByteArrayOutputStream; diff --git a/plugin/src/main/java/io/deephaven/plugin/type/ObjectCommunicationException.java b/plugin/src/main/java/io/deephaven/plugin/type/ObjectCommunicationException.java index 1cfcac40209..c21a300e344 100644 --- a/plugin/src/main/java/io/deephaven/plugin/type/ObjectCommunicationException.java +++ b/plugin/src/main/java/io/deephaven/plugin/type/ObjectCommunicationException.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin.type; /** diff --git a/plugin/src/main/java/io/deephaven/plugin/type/ObjectType.java b/plugin/src/main/java/io/deephaven/plugin/type/ObjectType.java index 1538eb7401e..35a3d4c0448 100644 --- a/plugin/src/main/java/io/deephaven/plugin/type/ObjectType.java +++ b/plugin/src/main/java/io/deephaven/plugin/type/ObjectType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin.type; import io.deephaven.plugin.Plugin; diff --git a/plugin/src/main/java/io/deephaven/plugin/type/ObjectTypeBase.java b/plugin/src/main/java/io/deephaven/plugin/type/ObjectTypeBase.java index bea1c30da4a..3f8e04d9712 100644 --- a/plugin/src/main/java/io/deephaven/plugin/type/ObjectTypeBase.java +++ b/plugin/src/main/java/io/deephaven/plugin/type/ObjectTypeBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin.type; import io.deephaven.plugin.PluginBase; diff --git a/plugin/src/main/java/io/deephaven/plugin/type/ObjectTypeClassBase.java b/plugin/src/main/java/io/deephaven/plugin/type/ObjectTypeClassBase.java index b61b6acb667..ff7cf3ba485 100644 --- a/plugin/src/main/java/io/deephaven/plugin/type/ObjectTypeClassBase.java +++ b/plugin/src/main/java/io/deephaven/plugin/type/ObjectTypeClassBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin.type; import java.io.IOException; diff --git a/plugin/src/main/java/io/deephaven/plugin/type/ObjectTypeLookup.java b/plugin/src/main/java/io/deephaven/plugin/type/ObjectTypeLookup.java index 75c62376a3e..16f06227f19 100644 --- a/plugin/src/main/java/io/deephaven/plugin/type/ObjectTypeLookup.java +++ b/plugin/src/main/java/io/deephaven/plugin/type/ObjectTypeLookup.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin.type; import java.util.Optional; diff --git a/plugin/src/main/java/io/deephaven/plugin/type/ObjectTypeRegistration.java b/plugin/src/main/java/io/deephaven/plugin/type/ObjectTypeRegistration.java index 0ebf1c52352..0c9952c9a4c 100644 --- a/plugin/src/main/java/io/deephaven/plugin/type/ObjectTypeRegistration.java +++ b/plugin/src/main/java/io/deephaven/plugin/type/ObjectTypeRegistration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.plugin.type; /** diff --git a/props/test-configs/src/main/java/io/deephaven/fishconfig/PropertyInputStreamLoaderResourcesOnly.java b/props/test-configs/src/main/java/io/deephaven/fishconfig/PropertyInputStreamLoaderResourcesOnly.java index 7bdb8723288..ea39eb4d759 100644 --- a/props/test-configs/src/main/java/io/deephaven/fishconfig/PropertyInputStreamLoaderResourcesOnly.java +++ b/props/test-configs/src/main/java/io/deephaven/fishconfig/PropertyInputStreamLoaderResourcesOnly.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.fishconfig; import com.google.auto.service.AutoService; diff --git a/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/ArrowHelper.java b/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/ArrowHelper.java index 4be36c6cbd6..539b27d7eee 100644 --- a/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/ArrowHelper.java +++ b/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/ArrowHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto.flight.util; import org.apache.arrow.flight.FlightDescriptor; diff --git a/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/FlightExportTicketHelper.java b/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/FlightExportTicketHelper.java index 9c22e2a0252..33cda4f0839 100644 --- a/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/FlightExportTicketHelper.java +++ b/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/FlightExportTicketHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto.flight.util; import com.google.protobuf.ByteStringAccess; diff --git a/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/MessageHelper.java b/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/MessageHelper.java index 71703a75676..b757e6d9bfe 100644 --- a/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/MessageHelper.java +++ b/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/MessageHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto.flight.util; import com.google.flatbuffers.FlatBufferBuilder; diff --git a/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/SchemaHelper.java b/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/SchemaHelper.java index 6d8f1e446a1..28233898cf1 100644 --- a/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/SchemaHelper.java +++ b/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/SchemaHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto.flight.util; import io.deephaven.proto.backplane.grpc.ExportedTableCreationResponse; diff --git a/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/TicketRouterHelper.java b/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/TicketRouterHelper.java index db445372697..91b8f7a5854 100644 --- a/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/TicketRouterHelper.java +++ b/proto/proto-backplane-grpc-flight/src/main/java/io/deephaven/proto/flight/util/TicketRouterHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto.flight.util; import com.google.rpc.Code; diff --git a/proto/proto-backplane-grpc/src/main/java/com/google/protobuf/ByteStringAccess.java b/proto/proto-backplane-grpc/src/main/java/com/google/protobuf/ByteStringAccess.java index 8656a6ed92d..0174747bc33 100644 --- a/proto/proto-backplane-grpc/src/main/java/com/google/protobuf/ByteStringAccess.java +++ b/proto/proto-backplane-grpc/src/main/java/com/google/protobuf/ByteStringAccess.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package com.google.protobuf; import java.nio.ByteBuffer; diff --git a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannel.java b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannel.java index 5f1454d1632..442d1f5f15b 100644 --- a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannel.java +++ b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto; import io.deephaven.proto.backplane.grpc.ApplicationServiceGrpc.ApplicationServiceBlockingStub; diff --git a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannelImpl.java b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannelImpl.java index f88c29790cc..b80b38f6c4f 100644 --- a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannelImpl.java +++ b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannelImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto; import io.deephaven.proto.backplane.grpc.ApplicationServiceGrpc; diff --git a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannelMixin.java b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannelMixin.java index f0dfda4422a..26282299cd1 100644 --- a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannelMixin.java +++ b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannelMixin.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto; import io.deephaven.proto.backplane.grpc.ApplicationServiceGrpc.ApplicationServiceBlockingStub; diff --git a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannelWithCallCredentials.java b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannelWithCallCredentials.java index ec57c31b563..99afa6e8906 100644 --- a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannelWithCallCredentials.java +++ b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannelWithCallCredentials.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto; import io.grpc.CallCredentials; diff --git a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannelWithClientInterceptors.java b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannelWithClientInterceptors.java index 615828b5aab..76b91fdc0d4 100644 --- a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannelWithClientInterceptors.java +++ b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/DeephavenChannelWithClientInterceptors.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto; import io.grpc.Channel; diff --git a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/ApplicationTicketHelper.java b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/ApplicationTicketHelper.java index 68f89e00133..d8e9374503d 100644 --- a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/ApplicationTicketHelper.java +++ b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/ApplicationTicketHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto.util; import java.nio.charset.StandardCharsets; diff --git a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/ByteHelper.java b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/ByteHelper.java index b2e0fcd1468..8136cb31801 100644 --- a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/ByteHelper.java +++ b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/ByteHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto.util; import java.nio.ByteBuffer; diff --git a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/Exceptions.java b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/Exceptions.java index 2e08492823f..3a1d98610b9 100644 --- a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/Exceptions.java +++ b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/Exceptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto.util; import com.google.rpc.Code; diff --git a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/ExportTicketHelper.java b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/ExportTicketHelper.java index 5317c9f050c..66350f873bf 100644 --- a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/ExportTicketHelper.java +++ b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/ExportTicketHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto.util; import com.google.protobuf.ByteStringAccess; diff --git a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/OperationHelper.java b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/OperationHelper.java index b0f5c02d2b9..25b82cdf97a 100644 --- a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/OperationHelper.java +++ b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/OperationHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto.util; import io.deephaven.proto.backplane.grpc.BatchTableRequest.Operation; diff --git a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/ScopeTicketHelper.java b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/ScopeTicketHelper.java index c9af501099a..34538e8a251 100644 --- a/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/ScopeTicketHelper.java +++ b/proto/proto-backplane-grpc/src/main/java/io/deephaven/proto/util/ScopeTicketHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto.util; import java.nio.charset.StandardCharsets; diff --git a/proto/proto-backplane-grpc/src/test/java/io/deephaven/proto/util/OperationHelperTest.java b/proto/proto-backplane-grpc/src/test/java/io/deephaven/proto/util/OperationHelperTest.java index 07134d67b09..4d2fb1488c4 100644 --- a/proto/proto-backplane-grpc/src/test/java/io/deephaven/proto/util/OperationHelperTest.java +++ b/proto/proto-backplane-grpc/src/test/java/io/deephaven/proto/util/OperationHelperTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.proto.util; import com.google.protobuf.UnknownFieldSet; diff --git a/py/client/examples/demo_asof_join.py b/py/client/examples/demo_asof_join.py index 4bbfa44ab9d..4de3f9c7ef8 100644 --- a/py/client/examples/demo_asof_join.py +++ b/py/client/examples/demo_asof_join.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ Demo a as-of join on two time tables.""" diff --git a/py/client/examples/demo_merge_tables.py b/py/client/examples/demo_merge_tables.py index 19aef22a3af..16f1b5960ca 100644 --- a/py/client/examples/demo_merge_tables.py +++ b/py/client/examples/demo_merge_tables.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ Demo how to merge tables in Deephaven.""" diff --git a/py/client/examples/demo_query.py b/py/client/examples/demo_query.py index 6ef75a746e1..32740b9bdd5 100644 --- a/py/client/examples/demo_query.py +++ b/py/client/examples/demo_query.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """Demo how to build and run a query on a Deephaven server.""" diff --git a/py/client/examples/demo_run_script.py b/py/client/examples/demo_run_script.py index 991642372f3..fd6c17692df 100644 --- a/py/client/examples/demo_run_script.py +++ b/py/client/examples/demo_run_script.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """Demo how to run a Python script on the server and open a table generated by the script.""" diff --git a/py/client/examples/demo_table_ops.py b/py/client/examples/demo_table_ops.py index dfbde8e3a2e..22cda11a641 100644 --- a/py/client/examples/demo_table_ops.py +++ b/py/client/examples/demo_table_ops.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """Demo how to chain table operations.""" diff --git a/py/client/examples/file_downloader.py b/py/client/examples/file_downloader.py index ce82e23443f..d2c52a28a65 100644 --- a/py/client/examples/file_downloader.py +++ b/py/client/examples/file_downloader.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import os.path diff --git a/py/client/examples/import_test_data.py b/py/client/examples/import_test_data.py index bdfc10f74f0..91e8f9f714e 100644 --- a/py/client/examples/import_test_data.py +++ b/py/client/examples/import_test_data.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ Demo the steps to upload CSV data into Deephaven diff --git a/py/client/pydeephaven/__init__.py b/py/client/pydeephaven/__init__.py index 24e1cde1fb9..2998064f16f 100644 --- a/py/client/pydeephaven/__init__.py +++ b/py/client/pydeephaven/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """Deephaven Python Client (`pydeephaven`) is a Python API built on top of Deephaven's highly efficient Open API which is diff --git a/py/client/pydeephaven/_app_service.py b/py/client/pydeephaven/_app_service.py index 53c3f65412d..5ee5387d563 100644 --- a/py/client/pydeephaven/_app_service.py +++ b/py/client/pydeephaven/_app_service.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # from typing import Any diff --git a/py/client/pydeephaven/_arrow.py b/py/client/pydeephaven/_arrow.py index 6d89903938d..62e9f40f716 100644 --- a/py/client/pydeephaven/_arrow.py +++ b/py/client/pydeephaven/_arrow.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # from typing import Dict diff --git a/py/client/pydeephaven/_arrow_flight_service.py b/py/client/pydeephaven/_arrow_flight_service.py index 3ca1e2ca390..ed52c14bde5 100644 --- a/py/client/pydeephaven/_arrow_flight_service.py +++ b/py/client/pydeephaven/_arrow_flight_service.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import pyarrow as pa diff --git a/py/client/pydeephaven/_batch_assembler.py b/py/client/pydeephaven/_batch_assembler.py index fbcf0483518..5192c62c237 100644 --- a/py/client/pydeephaven/_batch_assembler.py +++ b/py/client/pydeephaven/_batch_assembler.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # from pydeephaven._table_ops import * diff --git a/py/client/pydeephaven/_config_service.py b/py/client/pydeephaven/_config_service.py index f16df6813ac..5395efe6831 100644 --- a/py/client/pydeephaven/_config_service.py +++ b/py/client/pydeephaven/_config_service.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # from typing import Any, Dict diff --git a/py/client/pydeephaven/_console_service.py b/py/client/pydeephaven/_console_service.py index c7d403f5d6a..4633eda706a 100644 --- a/py/client/pydeephaven/_console_service.py +++ b/py/client/pydeephaven/_console_service.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # from typing import Any diff --git a/py/client/pydeephaven/_input_table_service.py b/py/client/pydeephaven/_input_table_service.py index ee85cdb2ff5..d1ca21d9b80 100644 --- a/py/client/pydeephaven/_input_table_service.py +++ b/py/client/pydeephaven/_input_table_service.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # from pydeephaven.table import Table from pydeephaven.dherror import DHError diff --git a/py/client/pydeephaven/_plugin_obj_service.py b/py/client/pydeephaven/_plugin_obj_service.py index 3e5fa75db9f..a31c7ae0fd6 100644 --- a/py/client/pydeephaven/_plugin_obj_service.py +++ b/py/client/pydeephaven/_plugin_obj_service.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import io from typing import Any diff --git a/py/client/pydeephaven/_session_service.py b/py/client/pydeephaven/_session_service.py index 87d07999540..7e6b7aec975 100644 --- a/py/client/pydeephaven/_session_service.py +++ b/py/client/pydeephaven/_session_service.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import grpc diff --git a/py/client/pydeephaven/_table_interface.py b/py/client/pydeephaven/_table_interface.py index fc3e0b3a5c3..cc11eecf872 100644 --- a/py/client/pydeephaven/_table_interface.py +++ b/py/client/pydeephaven/_table_interface.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # from __future__ import annotations diff --git a/py/client/pydeephaven/_table_ops.py b/py/client/pydeephaven/_table_ops.py index abba8282b9e..f8e339e3517 100644 --- a/py/client/pydeephaven/_table_ops.py +++ b/py/client/pydeephaven/_table_ops.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # from abc import ABC, abstractmethod from enum import Enum diff --git a/py/client/pydeephaven/_table_service.py b/py/client/pydeephaven/_table_service.py index d8966b741d4..0218378fd60 100644 --- a/py/client/pydeephaven/_table_service.py +++ b/py/client/pydeephaven/_table_service.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # from typing import Union, List diff --git a/py/client/pydeephaven/_utils.py b/py/client/pydeephaven/_utils.py index 2323db0f82b..fa601a7a93d 100644 --- a/py/client/pydeephaven/_utils.py +++ b/py/client/pydeephaven/_utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # from typing import Union, TypeVar, List diff --git a/py/client/pydeephaven/agg.py b/py/client/pydeephaven/agg.py index 3dca2783650..5d95004231b 100644 --- a/py/client/pydeephaven/agg.py +++ b/py/client/pydeephaven/agg.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module defines the Aggregation class and provides factory functions to create specific Aggregation instances.""" diff --git a/py/client/pydeephaven/dherror.py b/py/client/pydeephaven/dherror.py index 8014fb6ca09..7a9d47013b7 100644 --- a/py/client/pydeephaven/dherror.py +++ b/py/client/pydeephaven/dherror.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module defines a custom exception class for the package.""" diff --git a/py/client/pydeephaven/experimental/__init__.py b/py/client/pydeephaven/experimental/__init__.py index 90897369d67..c79ac7c8e21 100644 --- a/py/client/pydeephaven/experimental/__init__.py +++ b/py/client/pydeephaven/experimental/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ diff --git a/py/client/pydeephaven/experimental/plugin_client.py b/py/client/pydeephaven/experimental/plugin_client.py index 3e8917dfd44..84d3221bc7a 100644 --- a/py/client/pydeephaven/experimental/plugin_client.py +++ b/py/client/pydeephaven/experimental/plugin_client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ diff --git a/py/client/pydeephaven/experimental/server_object.py b/py/client/pydeephaven/experimental/server_object.py index 4c151113e2b..337d73916e0 100644 --- a/py/client/pydeephaven/experimental/server_object.py +++ b/py/client/pydeephaven/experimental/server_object.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import dataclasses diff --git a/py/client/pydeephaven/proto/__init__.py b/py/client/pydeephaven/proto/__init__.py index f2e2c332f9d..1cfb81b0580 100644 --- a/py/client/pydeephaven/proto/__init__.py +++ b/py/client/pydeephaven/proto/__init__.py @@ -1,4 +1,4 @@ # -# Copyright (c) 2016-2021 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # diff --git a/py/client/pydeephaven/query.py b/py/client/pydeephaven/query.py index 10db3a3402c..ccabac46918 100644 --- a/py/client/pydeephaven/query.py +++ b/py/client/pydeephaven/query.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module implements the Query class that can be used to execute a chained set of Table operations in one batch.""" diff --git a/py/client/pydeephaven/session.py b/py/client/pydeephaven/session.py index df4d4107f79..ccc9a56b075 100644 --- a/py/client/pydeephaven/session.py +++ b/py/client/pydeephaven/session.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module implements the Session class which provides methods to connect to and interact with the Deephaven server.""" diff --git a/py/client/pydeephaven/table.py b/py/client/pydeephaven/table.py index 4251639731f..6339a7199c3 100644 --- a/py/client/pydeephaven/table.py +++ b/py/client/pydeephaven/table.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module implements the Table and InputTable classes which are the main instruments to work with Deephaven data.""" diff --git a/py/client/pydeephaven/updateby.py b/py/client/pydeephaven/updateby.py index 09f37e081d3..1e5f8db1563 100644 --- a/py/client/pydeephaven/updateby.py +++ b/py/client/pydeephaven/updateby.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module defines the UpdateByOperation and provides factory functions to create specific UpdateByOperations instances.""" diff --git a/py/client/pydeephaven/utils.py b/py/client/pydeephaven/utils.py index 4b06a9b64a9..6d59a59f496 100644 --- a/py/client/pydeephaven/utils.py +++ b/py/client/pydeephaven/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module hosts helper functions for use with the Deephaven Python Client API.""" diff --git a/py/client/tests/__init__.py b/py/client/tests/__init__.py index d58bb460f30..702851fae5c 100644 --- a/py/client/tests/__init__.py +++ b/py/client/tests/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # # \ No newline at end of file diff --git a/py/client/tests/gen_test_data.py b/py/client/tests/gen_test_data.py index 19c3ec2bb6e..a72d72970e3 100644 --- a/py/client/tests/gen_test_data.py +++ b/py/client/tests/gen_test_data.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import io diff --git a/py/client/tests/suite.py b/py/client/tests/suite.py index 0bf86ae78cc..73f31ac3a9d 100644 --- a/py/client/tests/suite.py +++ b/py/client/tests/suite.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/client/tests/test_console.py b/py/client/tests/test_console.py index a34c796ca51..51f98fb331e 100644 --- a/py/client/tests/test_console.py +++ b/py/client/tests/test_console.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/client/tests/test_multi_session.py b/py/client/tests/test_multi_session.py index 366638b9126..a89407ce644 100644 --- a/py/client/tests/test_multi_session.py +++ b/py/client/tests/test_multi_session.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/client/tests/test_plugin_client.py b/py/client/tests/test_plugin_client.py index 77fc17d86ce..a34d1f18a16 100644 --- a/py/client/tests/test_plugin_client.py +++ b/py/client/tests/test_plugin_client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/client/tests/test_query.py b/py/client/tests/test_query.py index b08ad2c9128..337e83af33f 100644 --- a/py/client/tests/test_query.py +++ b/py/client/tests/test_query.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import time diff --git a/py/client/tests/test_session.py b/py/client/tests/test_session.py index b5b71bc83d5..ae434a6e3a6 100644 --- a/py/client/tests/test_session.py +++ b/py/client/tests/test_session.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/client/tests/test_table.py b/py/client/tests/test_table.py index 14374898c02..36d53f3fc0c 100644 --- a/py/client/tests/test_table.py +++ b/py/client/tests/test_table.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import time diff --git a/py/client/tests/test_updateby.py b/py/client/tests/test_updateby.py index 87341640a4d..d8c11f5c54a 100644 --- a/py/client/tests/test_updateby.py +++ b/py/client/tests/test_updateby.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/client/tests/testbase.py b/py/client/tests/testbase.py index 7ab848dc4a1..34b7c80baeb 100644 --- a/py/client/tests/testbase.py +++ b/py/client/tests/testbase.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/embedded-server/deephaven_server/__init__.py b/py/embedded-server/deephaven_server/__init__.py index d464ac2cb4b..a80c9c9b238 100644 --- a/py/embedded-server/deephaven_server/__init__.py +++ b/py/embedded-server/deephaven_server/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import importlib.metadata diff --git a/py/embedded-server/deephaven_server/server.py b/py/embedded-server/deephaven_server/server.py index 58e5260a721..eddeefd65f5 100644 --- a/py/embedded-server/deephaven_server/server.py +++ b/py/embedded-server/deephaven_server/server.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # from typing import Dict, List, Optional diff --git a/py/embedded-server/deephaven_server/start_jvm.py b/py/embedded-server/deephaven_server/start_jvm.py index dac3e7b4210..e07412e333b 100644 --- a/py/embedded-server/deephaven_server/start_jvm.py +++ b/py/embedded-server/deephaven_server/start_jvm.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import glob diff --git a/py/embedded-server/java-runtime/src/main/java/io/deephaven/python/server/EmbeddedPyLogModule.java b/py/embedded-server/java-runtime/src/main/java/io/deephaven/python/server/EmbeddedPyLogModule.java index 903ae81fa27..9e864e05ab3 100644 --- a/py/embedded-server/java-runtime/src/main/java/io/deephaven/python/server/EmbeddedPyLogModule.java +++ b/py/embedded-server/java-runtime/src/main/java/io/deephaven/python/server/EmbeddedPyLogModule.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.python.server; import dagger.Module; diff --git a/py/embedded-server/java-runtime/src/main/java/io/deephaven/python/server/EmbeddedServer.java b/py/embedded-server/java-runtime/src/main/java/io/deephaven/python/server/EmbeddedServer.java index c81f408a88d..0cd0d6a6e8c 100644 --- a/py/embedded-server/java-runtime/src/main/java/io/deephaven/python/server/EmbeddedServer.java +++ b/py/embedded-server/java-runtime/src/main/java/io/deephaven/python/server/EmbeddedServer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.python.server; import dagger.Component; diff --git a/py/jpy-config/src/main/java/io/deephaven/jpy/JpyConfig.java b/py/jpy-config/src/main/java/io/deephaven/jpy/JpyConfig.java index bec239802e8..1d63c42a2a5 100644 --- a/py/jpy-config/src/main/java/io/deephaven/jpy/JpyConfig.java +++ b/py/jpy-config/src/main/java/io/deephaven/jpy/JpyConfig.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import java.nio.file.Path; diff --git a/py/jpy-config/src/main/java/io/deephaven/jpy/JpyConfigFromSubprocess.java b/py/jpy-config/src/main/java/io/deephaven/jpy/JpyConfigFromSubprocess.java index 1b753d30180..2f30b70768e 100644 --- a/py/jpy-config/src/main/java/io/deephaven/jpy/JpyConfigFromSubprocess.java +++ b/py/jpy-config/src/main/java/io/deephaven/jpy/JpyConfigFromSubprocess.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import io.deephaven.jpy.JpyConfigSource.FromProperties; diff --git a/py/jpy-config/src/main/java/io/deephaven/jpy/JpyConfigSource.java b/py/jpy-config/src/main/java/io/deephaven/jpy/JpyConfigSource.java index 67aefc2d6b0..cbfec5da3d3 100644 --- a/py/jpy-config/src/main/java/io/deephaven/jpy/JpyConfigSource.java +++ b/py/jpy-config/src/main/java/io/deephaven/jpy/JpyConfigSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import io.deephaven.jpy.JpyConfig.Flag; diff --git a/py/jpy-ext/src/main/java/io/deephaven/jpy/BuiltinsModule.java b/py/jpy-ext/src/main/java/io/deephaven/jpy/BuiltinsModule.java index 028531218ea..d3fd7df8d74 100644 --- a/py/jpy-ext/src/main/java/io/deephaven/jpy/BuiltinsModule.java +++ b/py/jpy-ext/src/main/java/io/deephaven/jpy/BuiltinsModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import org.jpy.PyLib; diff --git a/py/jpy-ext/src/main/java/io/deephaven/jpy/GcModule.java b/py/jpy-ext/src/main/java/io/deephaven/jpy/GcModule.java index 19a888a0b16..eef2fd14075 100644 --- a/py/jpy-ext/src/main/java/io/deephaven/jpy/GcModule.java +++ b/py/jpy-ext/src/main/java/io/deephaven/jpy/GcModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import org.jpy.PyModule; diff --git a/py/jpy-ext/src/main/java/io/deephaven/jpy/IntIdentity.java b/py/jpy-ext/src/main/java/io/deephaven/jpy/IntIdentity.java index 0b12aa2ad39..d3224602b3b 100644 --- a/py/jpy-ext/src/main/java/io/deephaven/jpy/IntIdentity.java +++ b/py/jpy-ext/src/main/java/io/deephaven/jpy/IntIdentity.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import org.jpy.CreateModule; diff --git a/py/jpy-ext/src/main/java/io/deephaven/jpy/JpyConfigExt.java b/py/jpy-ext/src/main/java/io/deephaven/jpy/JpyConfigExt.java index c860899b019..d4a90550dfc 100644 --- a/py/jpy-ext/src/main/java/io/deephaven/jpy/JpyConfigExt.java +++ b/py/jpy-ext/src/main/java/io/deephaven/jpy/JpyConfigExt.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import io.deephaven.jpy.JpyConfig.Flag; diff --git a/py/jpy-ext/src/main/java/io/deephaven/jpy/JpyModule.java b/py/jpy-ext/src/main/java/io/deephaven/jpy/JpyModule.java index 277335cf531..8730884c287 100644 --- a/py/jpy-ext/src/main/java/io/deephaven/jpy/JpyModule.java +++ b/py/jpy-ext/src/main/java/io/deephaven/jpy/JpyModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import io.deephaven.jpy.JpyConfig.Flag; diff --git a/py/jpy-ext/src/main/java/io/deephaven/jpy/PyObjectIdentity.java b/py/jpy-ext/src/main/java/io/deephaven/jpy/PyObjectIdentity.java index 473ed2cd222..7f83dcd2a5b 100644 --- a/py/jpy-ext/src/main/java/io/deephaven/jpy/PyObjectIdentity.java +++ b/py/jpy-ext/src/main/java/io/deephaven/jpy/PyObjectIdentity.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import org.jpy.CreateModule; diff --git a/py/jpy-ext/src/main/java/io/deephaven/jpy/SysModule.java b/py/jpy-ext/src/main/java/io/deephaven/jpy/SysModule.java index 88979aa0b66..c7e9a9277e5 100644 --- a/py/jpy-ext/src/main/java/io/deephaven/jpy/SysModule.java +++ b/py/jpy-ext/src/main/java/io/deephaven/jpy/SysModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import org.jpy.PyModule; diff --git a/py/jpy-ext/src/main/java/io/deephaven/util/ArrayType.java b/py/jpy-ext/src/main/java/io/deephaven/util/ArrayType.java index d50ec655a1d..1cebf9378e8 100644 --- a/py/jpy-ext/src/main/java/io/deephaven/util/ArrayType.java +++ b/py/jpy-ext/src/main/java/io/deephaven/util/ArrayType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.util; import java.lang.reflect.Array; diff --git a/py/jpy-ext/src/main/java/io/deephaven/util/PrimitiveArrayType.java b/py/jpy-ext/src/main/java/io/deephaven/util/PrimitiveArrayType.java index 596cb0ecf04..42202c55f42 100644 --- a/py/jpy-ext/src/main/java/io/deephaven/util/PrimitiveArrayType.java +++ b/py/jpy-ext/src/main/java/io/deephaven/util/PrimitiveArrayType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.util; import java.util.Arrays; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/BuiltinsModuleTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/BuiltinsModuleTest.java index f8edfb9c512..692730bf288 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/BuiltinsModuleTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/BuiltinsModuleTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import org.jpy.PyObject; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/CreateModuleTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/CreateModuleTest.java index e79b9e9a823..7ef0c951508 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/CreateModuleTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/CreateModuleTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import org.jpy.IdentityModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/DictTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/DictTest.java index 19a6c970e2a..6b2f5753e03 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/DictTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/DictTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import io.deephaven.jpy.integration.ReferenceCounting; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/GcModuleTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/GcModuleTest.java index d4f93defc7b..2d273e0e5b2 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/GcModuleTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/GcModuleTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import org.junit.After; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleArrayTestBase.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleArrayTestBase.java index e3bed8020c6..e37a97cd28d 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleArrayTestBase.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleArrayTestBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import io.deephaven.util.PrimitiveArrayType; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleBooleanArrayTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleBooleanArrayTest.java index 743d6a64950..755c594449b 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleBooleanArrayTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleBooleanArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import io.deephaven.util.PrimitiveArrayType; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleByteArrayTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleByteArrayTest.java index 2b0a818c490..e44afe5117a 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleByteArrayTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleByteArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import io.deephaven.util.PrimitiveArrayType; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleCharArrayTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleCharArrayTest.java index 9e7ca535008..4dc99011339 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleCharArrayTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleCharArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import io.deephaven.util.PrimitiveArrayType; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleDoubleArrayTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleDoubleArrayTest.java index 48e60e7b326..8b64366f07c 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleDoubleArrayTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleDoubleArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import io.deephaven.util.PrimitiveArrayType; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleFloatArrayTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleFloatArrayTest.java index 75b5f425771..758db41ea4e 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleFloatArrayTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleFloatArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import io.deephaven.util.PrimitiveArrayType; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleIntArrayTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleIntArrayTest.java index 09926e81a81..57d51e8f3ef 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleIntArrayTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleIntArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import io.deephaven.util.PrimitiveArrayType; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleLongArrayTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleLongArrayTest.java index 2fddc634f5a..fa00a813a98 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleLongArrayTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleLongArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import io.deephaven.util.PrimitiveArrayType; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleShortArrayTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleShortArrayTest.java index 7d3a128736e..267f7e84876 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleShortArrayTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleShortArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import io.deephaven.util.PrimitiveArrayType; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleTest.java index dc79edd489e..29dde668f61 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/JpyModuleTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import org.junit.After; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/PyProxyTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/PyProxyTest.java index 88338bf8f4b..c7ccbdd3686 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/PyProxyTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/PyProxyTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import io.deephaven.jpy.integration.ReferenceCounting; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/PythonResource.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/PythonResource.java index 65a0d518c1d..d270b4ef8c7 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/PythonResource.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/PythonResource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import java.time.Duration; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/PythonTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/PythonTest.java index 9b6aa4a42a3..2c8cf06a7e3 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/PythonTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/PythonTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import io.deephaven.jpy.PythonResource.StartStopRule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/SysModuleTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/SysModuleTest.java index faf0b96b594..c84d69f9323 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/SysModuleTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/SysModuleTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy; import org.junit.After; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ArgTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ArgTest.java index 903435f6b8c..71496ef015a 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ArgTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ArgTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.JpyModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ConversionTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ConversionTest.java index ec1bd828703..661de032595 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ConversionTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ConversionTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.JpyModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/DestructorModuleParent.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/DestructorModuleParent.java index c8d758cb724..79d45eaf56e 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/DestructorModuleParent.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/DestructorModuleParent.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import org.jpy.CreateModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ErrorOutTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ErrorOutTest.java index 437e6cdeab5..41d4a96ea6e 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ErrorOutTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ErrorOutTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.JpyModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/IdentityOut.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/IdentityOut.java index a0df0b382bc..ddaa1395a93 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/IdentityOut.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/IdentityOut.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import org.jpy.CreateModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/IntArrayOutTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/IntArrayOutTest.java index 3b91adb95de..5ff0cc5bb27 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/IntArrayOutTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/IntArrayOutTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.JpyModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/IntOutTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/IntOutTest.java index 927d30dea87..bdd194bb758 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/IntOutTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/IntOutTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.JpyModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/IntegerOutTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/IntegerOutTest.java index 9d619512b25..ac6ebdcb74e 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/IntegerOutTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/IntegerOutTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.JpyModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyClass.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyClass.java index 98e420b2e8f..a8e2697be31 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyClass.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyClass.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; public interface MyClass { diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyNumbersBoxed.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyNumbersBoxed.java index b921a697b29..8a68bc40d7f 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyNumbersBoxed.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyNumbersBoxed.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; public interface MyNumbersBoxed { diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyNumbersNumber.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyNumbersNumber.java index a1811968b2b..e8848f52f46 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyNumbersNumber.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyNumbersNumber.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; public interface MyNumbersNumber { diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyNumbersObject.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyNumbersObject.java index 562f302a3aa..a830c3f1413 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyNumbersObject.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyNumbersObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; public interface MyNumbersObject { diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyNumbersPrimitive.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyNumbersPrimitive.java index ffea96ada3d..775139aa6c1 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyNumbersPrimitive.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/MyNumbersPrimitive.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; public interface MyNumbersPrimitive { diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/NoopModule.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/NoopModule.java index 6f84d6c25fa..2d9831d9a00 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/NoopModule.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/NoopModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import org.jpy.CreateModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PrimitiveArrayBufferProtocolTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PrimitiveArrayBufferProtocolTest.java index 4381dcaab7a..29a57e9d846 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PrimitiveArrayBufferProtocolTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PrimitiveArrayBufferProtocolTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.BuiltinsModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PrimitiveArrayTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PrimitiveArrayTest.java index f520a21a57e..f7dc32c1049 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PrimitiveArrayTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PrimitiveArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.BuiltinsModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyDebug.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyDebug.java index b130d0dd668..7a3fd98b397 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyDebug.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyDebug.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.JpyConfigExt; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyDictTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyDictTest.java index 14a0f335588..3e9ddf1209f 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyDictTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyDictTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.PythonTest; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyLibNullArgTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyLibNullArgTest.java index 1365ad67127..2b08c4a8552 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyLibNullArgTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyLibNullArgTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.PythonTest; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyLibTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyLibTest.java index ad17c5ef4d6..c90c3908a20 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyLibTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyLibTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.PythonTest; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyObjectIdentityOut.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyObjectIdentityOut.java index eac476b97f3..bad1bddaed5 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyObjectIdentityOut.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PyObjectIdentityOut.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.integration.SomeJavaClassOutTest.SomeJavaClass; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PySysPath.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PySysPath.java index c1834c00130..30da3c6cd57 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PySysPath.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/PySysPath.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.JpyConfigExt; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/RefcountModule.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/RefcountModule.java index 26f2d024ed9..3a6b6863a6e 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/RefcountModule.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/RefcountModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import org.jpy.CreateModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ReferenceCounting.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ReferenceCounting.java index a6a51f5a7f8..d8e4945e40d 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ReferenceCounting.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ReferenceCounting.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.GcModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ReferenceCountingTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ReferenceCountingTest.java index 87c4d59c5d9..d937361e72c 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ReferenceCountingTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/ReferenceCountingTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.BuiltinsModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/SimpleObject.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/SimpleObject.java index 120dc1b5406..9c829cc5345 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/SimpleObject.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/SimpleObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import org.jpy.CreateModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/SomeJavaClassOutTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/SomeJavaClassOutTest.java index f00deec7a85..02f355c708e 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/SomeJavaClassOutTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/SomeJavaClassOutTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.JpyModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/StringOutTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/StringOutTest.java index d9aad4a5781..f8722b1fcb9 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/StringOutTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/StringOutTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.JpyModule; diff --git a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/TypeTest.java b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/TypeTest.java index c5912b2e196..ea7b7ba892a 100644 --- a/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/TypeTest.java +++ b/py/jpy-integration/src/javaToPython/java/io/deephaven/jpy/integration/TypeTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import io.deephaven.jpy.PythonTest; diff --git a/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/Echo.java b/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/Echo.java index 5f1e1101429..f18e4bf8f03 100644 --- a/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/Echo.java +++ b/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/Echo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import org.jpy.PyObject; diff --git a/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/Empty.java b/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/Empty.java index d7c6cf2cce6..020b1633388 100644 --- a/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/Empty.java +++ b/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/Empty.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; class Empty { diff --git a/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/PassPyObjectToJava.java b/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/PassPyObjectToJava.java index 11d318dffca..0315782804d 100644 --- a/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/PassPyObjectToJava.java +++ b/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/PassPyObjectToJava.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import org.jpy.PyObject; diff --git a/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/ReenterPython.java b/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/ReenterPython.java index 125c1ab1076..d8359c2c311 100644 --- a/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/ReenterPython.java +++ b/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/ReenterPython.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import org.jpy.PyInputMode; diff --git a/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/SomeJavaInterface.java b/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/SomeJavaInterface.java index e8b4b7c6367..13b011b6a13 100644 --- a/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/SomeJavaInterface.java +++ b/py/jpy-integration/src/pythonToJava/java/io/deephaven/jpy/integration/SomeJavaInterface.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import org.jpy.PyObject; diff --git a/py/jpy-integration/src/test/java/io/deephaven/jpy/integration/PingPongStack.java b/py/jpy-integration/src/test/java/io/deephaven/jpy/integration/PingPongStack.java index 203b00aff52..50b27e4aec4 100644 --- a/py/jpy-integration/src/test/java/io/deephaven/jpy/integration/PingPongStack.java +++ b/py/jpy-integration/src/test/java/io/deephaven/jpy/integration/PingPongStack.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.jpy.integration; import org.jpy.CreateModule; diff --git a/py/server/deephaven/__init__.py b/py/server/deephaven/__init__.py index bcc1845cd44..986ea2c347e 100644 --- a/py/server/deephaven/__init__.py +++ b/py/server/deephaven/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """Deephaven Python Integration Package provides the ability to access the Deephaven's query engine natively and thus diff --git a/py/server/deephaven/_dep.py b/py/server/deephaven/_dep.py index 7fa9c1fa728..16a0fdefad3 100644 --- a/py/server/deephaven/_dep.py +++ b/py/server/deephaven/_dep.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module is an internal module to support dependency management""" diff --git a/py/server/deephaven/_gc.py b/py/server/deephaven/_gc.py index d2cbc27bc8d..593df09227a 100644 --- a/py/server/deephaven/_gc.py +++ b/py/server/deephaven/_gc.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module defines a convenience function for running both Python and Java garbage collection utilities.""" diff --git a/py/server/deephaven/_jpy.py b/py/server/deephaven/_jpy.py index a033ceaf231..9811edcf8b7 100644 --- a/py/server/deephaven/_jpy.py +++ b/py/server/deephaven/_jpy.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module is an internal module to simplify usage patterns around jpy. diff --git a/py/server/deephaven/_udf.py b/py/server/deephaven/_udf.py index 787f467a02a..45e7e5c46b1 100644 --- a/py/server/deephaven/_udf.py +++ b/py/server/deephaven/_udf.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import inspect diff --git a/py/server/deephaven/_wrapper.py b/py/server/deephaven/_wrapper.py index 47ed18dd019..cc11e7e835f 100644 --- a/py/server/deephaven/_wrapper.py +++ b/py/server/deephaven/_wrapper.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module defines an Abstract Class for Java object wrappers. diff --git a/py/server/deephaven/agg.py b/py/server/deephaven/agg.py index 97c1d4855d1..a8af429fc6a 100644 --- a/py/server/deephaven/agg.py +++ b/py/server/deephaven/agg.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module implement various aggregations that can be used in deephaven table's aggregation operations.""" diff --git a/py/server/deephaven/appmode.py b/py/server/deephaven/appmode.py index f1dead9bdd0..a49196d4c67 100644 --- a/py/server/deephaven/appmode.py +++ b/py/server/deephaven/appmode.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module supports writing Deephaven application mode Python scripts. """ diff --git a/py/server/deephaven/arrow.py b/py/server/deephaven/arrow.py index 09fb8d73808..eff57a0666e 100644 --- a/py/server/deephaven/arrow.py +++ b/py/server/deephaven/arrow.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module supports conversions between pyarrow tables and Deephaven tables.""" diff --git a/py/server/deephaven/calendar.py b/py/server/deephaven/calendar.py index 9815dd2e9e3..e9261fbdfc4 100644 --- a/py/server/deephaven/calendar.py +++ b/py/server/deephaven/calendar.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module defines functions for working with business calendars. """ diff --git a/py/server/deephaven/column.py b/py/server/deephaven/column.py index 4554d92f43b..7bdd38ce417 100644 --- a/py/server/deephaven/column.py +++ b/py/server/deephaven/column.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module implements the Column class and functions that work with Columns. """ diff --git a/py/server/deephaven/constants.py b/py/server/deephaven/constants.py index 979661ebd88..260632ecbca 100644 --- a/py/server/deephaven/constants.py +++ b/py/server/deephaven/constants.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ The module defines the global constants including Deephaven's special numerical values. Other constants are defined diff --git a/py/server/deephaven/csv.py b/py/server/deephaven/csv.py index 3ad38f84557..5c6dc25102d 100644 --- a/py/server/deephaven/csv.py +++ b/py/server/deephaven/csv.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ The deephaven.csv module supports reading an external CSV file into a Deephaven table and writing a diff --git a/py/server/deephaven/dbc/__init__.py b/py/server/deephaven/dbc/__init__.py index 8ec73080a79..4b64a81ec5d 100644 --- a/py/server/deephaven/dbc/__init__.py +++ b/py/server/deephaven/dbc/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """The dbc package includes the modules and functions for using external databases with Deephaven.""" from typing import Any, Literal diff --git a/py/server/deephaven/dbc/adbc.py b/py/server/deephaven/dbc/adbc.py index 63b3263556d..6cc1b5b79bc 100644 --- a/py/server/deephaven/dbc/adbc.py +++ b/py/server/deephaven/dbc/adbc.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module supports ingesting data from external databases (relational and other types) into Deephaven via the Python DB-API 2.0 (PEP 249) and the Apache Arrow Database Connectivity (ADBC) interfaces. (Please refer to diff --git a/py/server/deephaven/dbc/odbc.py b/py/server/deephaven/dbc/odbc.py index e9773a276d5..672e76f94f2 100644 --- a/py/server/deephaven/dbc/odbc.py +++ b/py/server/deephaven/dbc/odbc.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module supports ingesting data from external relational databases into Deephaven via the Python DB-API 2.0 (PEP 249) and the Open Database Connectivity (ODBC) interfaces by using the Turbodbc module. diff --git a/py/server/deephaven/dherror.py b/py/server/deephaven/dherror.py index ab7816bcd72..d32796f2260 100644 --- a/py/server/deephaven/dherror.py +++ b/py/server/deephaven/dherror.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module defines a custom exception for the Deephaven Python Integration Package. diff --git a/py/server/deephaven/dtypes.py b/py/server/deephaven/dtypes.py index 2c8e09369c8..b4a367c98ee 100644 --- a/py/server/deephaven/dtypes.py +++ b/py/server/deephaven/dtypes.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module defines the data types supported by the Deephaven engine. diff --git a/py/server/deephaven/execution_context.py b/py/server/deephaven/execution_context.py index 87e334d2576..435461b57b9 100644 --- a/py/server/deephaven/execution_context.py +++ b/py/server/deephaven/execution_context.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module gives users the ability to directly manage the Deephaven query execution context on threads, which is critical for applications to correctly launch deferred query evaluations, such as table update operations in threads. diff --git a/py/server/deephaven/experimental/__init__.py b/py/server/deephaven/experimental/__init__.py index 1b66188a734..7c9b59c9cb6 100644 --- a/py/server/deephaven/experimental/__init__.py +++ b/py/server/deephaven/experimental/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This package is a place for Deephaven experimental features. """ diff --git a/py/server/deephaven/experimental/ema.py b/py/server/deephaven/experimental/ema.py index b2ea19d8dde..c41ce09cbd5 100644 --- a/py/server/deephaven/experimental/ema.py +++ b/py/server/deephaven/experimental/ema.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This modules allows users to define exponential moving averages that can be used in the Deephaven query language.""" diff --git a/py/server/deephaven/experimental/outer_joins.py b/py/server/deephaven/experimental/outer_joins.py index f475449cc44..6dfacd8bbb0 100644 --- a/py/server/deephaven/experimental/outer_joins.py +++ b/py/server/deephaven/experimental/outer_joins.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # # diff --git a/py/server/deephaven/experimental/s3.py b/py/server/deephaven/experimental/s3.py index 6feb6de5d65..77867f599b3 100644 --- a/py/server/deephaven/experimental/s3.py +++ b/py/server/deephaven/experimental/s3.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import datetime from typing import Optional, Union diff --git a/py/server/deephaven/experimental/sql.py b/py/server/deephaven/experimental/sql.py index d18ca389df6..f0e27ae0c9f 100644 --- a/py/server/deephaven/experimental/sql.py +++ b/py/server/deephaven/experimental/sql.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import contextlib import inspect diff --git a/py/server/deephaven/filters.py b/py/server/deephaven/filters.py index c55e920f665..f132a62ef94 100644 --- a/py/server/deephaven/filters.py +++ b/py/server/deephaven/filters.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module implement various filters that can be used in deephaven table's filter operations.""" diff --git a/py/server/deephaven/html.py b/py/server/deephaven/html.py index af22843379a..4a2f5521c9e 100644 --- a/py/server/deephaven/html.py +++ b/py/server/deephaven/html.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module supports exporting Deephaven data in the HTML format. """ diff --git a/py/server/deephaven/jcompat.py b/py/server/deephaven/jcompat.py index c1d54a2f443..a4fb34c2495 100644 --- a/py/server/deephaven/jcompat.py +++ b/py/server/deephaven/jcompat.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module provides Java compatibility support including convenience functions to create some widely used Java diff --git a/py/server/deephaven/learn/__init__.py b/py/server/deephaven/learn/__init__.py index e652e49a101..54261ad1d21 100644 --- a/py/server/deephaven/learn/__init__.py +++ b/py/server/deephaven/learn/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ Deephaven's learn module provides utilities for efficient data transfer between Deephaven tables and Python objects, diff --git a/py/server/deephaven/learn/gather.py b/py/server/deephaven/learn/gather.py index fb3a4556bad..dd4a374aa79 100644 --- a/py/server/deephaven/learn/gather.py +++ b/py/server/deephaven/learn/gather.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ Utilities for gathering Deephaven table data into Python objects """ diff --git a/py/server/deephaven/liveness_scope.py b/py/server/deephaven/liveness_scope.py index 296e99588e8..c215f625967 100644 --- a/py/server/deephaven/liveness_scope.py +++ b/py/server/deephaven/liveness_scope.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module gives the users a finer degree of control over when to clean up unreferenced nodes in the query update diff --git a/py/server/deephaven/numpy.py b/py/server/deephaven/numpy.py index 28218c2792f..4143638c669 100644 --- a/py/server/deephaven/numpy.py +++ b/py/server/deephaven/numpy.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module supports the conversion between Deephaven tables and numpy arrays. """ diff --git a/py/server/deephaven/pandas.py b/py/server/deephaven/pandas.py index 8626b999e11..778b1144624 100644 --- a/py/server/deephaven/pandas.py +++ b/py/server/deephaven/pandas.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module supports the conversion between Deephaven tables and pandas DataFrames. """ diff --git a/py/server/deephaven/pandasplugin/__init__.py b/py/server/deephaven/pandasplugin/__init__.py index b28a6255b29..34fd1de3ebb 100644 --- a/py/server/deephaven/pandasplugin/__init__.py +++ b/py/server/deephaven/pandasplugin/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # from deephaven.plugin import Registration, Callback diff --git a/py/server/deephaven/pandasplugin/pandas_as_table.py b/py/server/deephaven/pandasplugin/pandas_as_table.py index a6b2ddc1dc4..e36982e1b00 100644 --- a/py/server/deephaven/pandasplugin/pandas_as_table.py +++ b/py/server/deephaven/pandasplugin/pandas_as_table.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # from deephaven.pandas import to_table diff --git a/py/server/deephaven/parquet.py b/py/server/deephaven/parquet.py index 053da2b1c76..4da7874ff7a 100644 --- a/py/server/deephaven/parquet.py +++ b/py/server/deephaven/parquet.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module supports reading an external Parquet files into Deephaven tables and writing Deephaven tables out as diff --git a/py/server/deephaven/perfmon.py b/py/server/deephaven/perfmon.py index 4f9b76c1483..b709da864ce 100644 --- a/py/server/deephaven/perfmon.py +++ b/py/server/deephaven/perfmon.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ Tools to obtain internal, Deephaven logs as tables, and tools to analyze the performance of the Deephaven diff --git a/py/server/deephaven/plot/__init__.py b/py/server/deephaven/plot/__init__.py index 7ed71890104..d2fd6620d0e 100644 --- a/py/server/deephaven/plot/__init__.py +++ b/py/server/deephaven/plot/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ The plot package includes all the modules for creating plots. """ diff --git a/py/server/deephaven/plot/axisformat.py b/py/server/deephaven/plot/axisformat.py index ec5a0fe7c7b..81d52b1757f 100644 --- a/py/server/deephaven/plot/axisformat.py +++ b/py/server/deephaven/plot/axisformat.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module implements the AxisFormat class that can be applied to format axis tick labels on a plot. """ diff --git a/py/server/deephaven/plot/axistransform.py b/py/server/deephaven/plot/axistransform.py index 9a7ac02b1ec..61519fda682 100644 --- a/py/server/deephaven/plot/axistransform.py +++ b/py/server/deephaven/plot/axistransform.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module implements the AxisTransform class for performing axis transformation on plots before rendering. """ diff --git a/py/server/deephaven/plot/color.py b/py/server/deephaven/plot/color.py index 96b9913b489..c8d173b2ec8 100644 --- a/py/server/deephaven/plot/color.py +++ b/py/server/deephaven/plot/color.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module implements the Color class and provides a list of predefined colors that can be used to paint a plot. diff --git a/py/server/deephaven/plot/figure.py b/py/server/deephaven/plot/figure.py index 62d47b9ae5c..fdd0a422a69 100644 --- a/py/server/deephaven/plot/figure.py +++ b/py/server/deephaven/plot/figure.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # ###################################################################################################################### diff --git a/py/server/deephaven/plot/font.py b/py/server/deephaven/plot/font.py index 1ceab01d7f5..1fbca64006c 100644 --- a/py/server/deephaven/plot/font.py +++ b/py/server/deephaven/plot/font.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module implements the Font class that can be used to set the fonts on a plot. """ diff --git a/py/server/deephaven/plot/linestyle.py b/py/server/deephaven/plot/linestyle.py index ea8f297747b..9bd210340f7 100644 --- a/py/server/deephaven/plot/linestyle.py +++ b/py/server/deephaven/plot/linestyle.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ The module implements the LineStyle class that can be used to define the line style of a plot. """ diff --git a/py/server/deephaven/plot/plotstyle.py b/py/server/deephaven/plot/plotstyle.py index f2ebf144031..65c85e9383f 100644 --- a/py/server/deephaven/plot/plotstyle.py +++ b/py/server/deephaven/plot/plotstyle.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module provides support for different plot styles (e.g. line, bar, area, etc.). """ diff --git a/py/server/deephaven/plot/selectable_dataset.py b/py/server/deephaven/plot/selectable_dataset.py index de9cc6f6dd5..fbea2a46363 100644 --- a/py/server/deephaven/plot/selectable_dataset.py +++ b/py/server/deephaven/plot/selectable_dataset.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module defines the SelectableDateSet which is used to provides a view of a selectable subset of a table. diff --git a/py/server/deephaven/plot/shape.py b/py/server/deephaven/plot/shape.py index b08925e3c3a..21dd7c96080 100644 --- a/py/server/deephaven/plot/shape.py +++ b/py/server/deephaven/plot/shape.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module defines the Shape enum for all supported shapes that are used to paint points on a plot. """ diff --git a/py/server/deephaven/query_library.py b/py/server/deephaven/query_library.py index 4b753f56f90..5e4b6cca7a0 100644 --- a/py/server/deephaven/query_library.py +++ b/py/server/deephaven/query_library.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module allows users to import Java classes or packages into the query library for the Deephaven query engine. diff --git a/py/server/deephaven/replay.py b/py/server/deephaven/replay.py index 44ec6c47a22..78c8e018af1 100644 --- a/py/server/deephaven/replay.py +++ b/py/server/deephaven/replay.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module provides support for replaying historical data. """ diff --git a/py/server/deephaven/server/__init__.py b/py/server/deephaven/server/__init__.py index 44416871bef..702851fae5c 100644 --- a/py/server/deephaven/server/__init__.py +++ b/py/server/deephaven/server/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # # \ No newline at end of file diff --git a/py/server/deephaven/server/executors.py b/py/server/deephaven/server/executors.py index 1f446346264..6b604ddcbc3 100644 --- a/py/server/deephaven/server/executors.py +++ b/py/server/deephaven/server/executors.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ Support for running operations on JVM server threads, so that they can be given work from python. Initially, there diff --git a/py/server/deephaven/stream/__init__.py b/py/server/deephaven/stream/__init__.py index 026cdbc60a4..e0442a1831d 100644 --- a/py/server/deephaven/stream/__init__.py +++ b/py/server/deephaven/stream/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ Utility module for the stream subpackage. """ diff --git a/py/server/deephaven/stream/kafka/__init__.py b/py/server/deephaven/stream/kafka/__init__.py index 52919884ca7..4b8b0da3a0e 100644 --- a/py/server/deephaven/stream/kafka/__init__.py +++ b/py/server/deephaven/stream/kafka/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ The kafka module provides the utilities to both consume and produce Kakfa streams. """ diff --git a/py/server/deephaven/stream/kafka/cdc.py b/py/server/deephaven/stream/kafka/cdc.py index 4aa70d8f2e5..fa265865651 100644 --- a/py/server/deephaven/stream/kafka/cdc.py +++ b/py/server/deephaven/stream/kafka/cdc.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module provides Change Data Capture(CDC) support for streaming relational database changes into Deephaven diff --git a/py/server/deephaven/stream/kafka/consumer.py b/py/server/deephaven/stream/kafka/consumer.py index adb15a07238..35f8623648a 100644 --- a/py/server/deephaven/stream/kafka/consumer.py +++ b/py/server/deephaven/stream/kafka/consumer.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ The kafka.consumer module supports consuming a Kakfa topic as a Deephaven live table. """ diff --git a/py/server/deephaven/stream/kafka/producer.py b/py/server/deephaven/stream/kafka/producer.py index 0b814ee8e8d..6d41ceef7af 100644 --- a/py/server/deephaven/stream/kafka/producer.py +++ b/py/server/deephaven/stream/kafka/producer.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ The kafka.producer module supports publishing Deephaven tables to Kafka streams. """ diff --git a/py/server/deephaven/stream/table_publisher.py b/py/server/deephaven/stream/table_publisher.py index 4a1d327ffdb..cb0d1073de8 100644 --- a/py/server/deephaven/stream/table_publisher.py +++ b/py/server/deephaven/stream/table_publisher.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """The table_publisher module supports publishing Deephaven Tables into blink Tables.""" diff --git a/py/server/deephaven/table.py b/py/server/deephaven/table.py index 5508a543a4b..526e0819e31 100644 --- a/py/server/deephaven/table.py +++ b/py/server/deephaven/table.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module implements the Table, PartitionedTable and PartitionedTableProxy classes which are the main diff --git a/py/server/deephaven/table_factory.py b/py/server/deephaven/table_factory.py index 52d6fa2b892..ee2a0e59d23 100644 --- a/py/server/deephaven/table_factory.py +++ b/py/server/deephaven/table_factory.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module provides various ways to make a Deephaven table. """ diff --git a/py/server/deephaven/table_listener.py b/py/server/deephaven/table_listener.py index 45f7bd6c239..d1c2a5bed2b 100644 --- a/py/server/deephaven/table_listener.py +++ b/py/server/deephaven/table_listener.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module provides utilities for listening to table changes. """ diff --git a/py/server/deephaven/time.py b/py/server/deephaven/time.py index bac848f57e1..d3789aa1be1 100644 --- a/py/server/deephaven/time.py +++ b/py/server/deephaven/time.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module defines functions for handling Deephaven date/time data. """ diff --git a/py/server/deephaven/update_graph.py b/py/server/deephaven/update_graph.py index 1a1333bc1bd..dbd798989f2 100644 --- a/py/server/deephaven/update_graph.py +++ b/py/server/deephaven/update_graph.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module provides access to the Update Graph (UG)'s locks that must be acquired to perform certain table operations. When working with refreshing tables, UG locks must be held in order to have a consistent view of diff --git a/py/server/deephaven/updateby.py b/py/server/deephaven/updateby.py index bfd6d9d1860..ef2f04b32d4 100644 --- a/py/server/deephaven/updateby.py +++ b/py/server/deephaven/updateby.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """This module supports building various operations for use with the update-by Table operation.""" from enum import Enum diff --git a/py/server/deephaven/uri.py b/py/server/deephaven/uri.py index a70181c1356..0dbf315ecfd 100644 --- a/py/server/deephaven/uri.py +++ b/py/server/deephaven/uri.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ Tools for resolving Uniform Resource Identifiers (URIs) into objects. """ diff --git a/py/server/deephaven_internal/__init__.py b/py/server/deephaven_internal/__init__.py index daee65bf8f1..702851fae5c 100644 --- a/py/server/deephaven_internal/__init__.py +++ b/py/server/deephaven_internal/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # # \ No newline at end of file diff --git a/py/server/deephaven_internal/auto_completer/__init__.py b/py/server/deephaven_internal/auto_completer/__init__.py index 36bf7141eba..ffb6eea0888 100644 --- a/py/server/deephaven_internal/auto_completer/__init__.py +++ b/py/server/deephaven_internal/auto_completer/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module allows the user to configure if and how we use jedi to perform autocompletion. diff --git a/py/server/deephaven_internal/auto_completer/_completer.py b/py/server/deephaven_internal/auto_completer/_completer.py index 0887b4a7372..f87c3c0b56c 100644 --- a/py/server/deephaven_internal/auto_completer/_completer.py +++ b/py/server/deephaven_internal/auto_completer/_completer.py @@ -1,4 +1,6 @@ -# only python 3.8 needs this, but it must be the first expression in the file, so we can't predicate it +# +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +# from __future__ import annotations from enum import Enum from typing import Any, Union, List diff --git a/py/server/deephaven_internal/java_threads.py b/py/server/deephaven_internal/java_threads.py index 5fd80956da6..7d5042c2842 100644 --- a/py/server/deephaven_internal/java_threads.py +++ b/py/server/deephaven_internal/java_threads.py @@ -1,3 +1,6 @@ +# +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +# import threading diff --git a/py/server/deephaven_internal/jvm/__init__.py b/py/server/deephaven_internal/jvm/__init__.py index 93073e380ad..b11265444dd 100644 --- a/py/server/deephaven_internal/jvm/__init__.py +++ b/py/server/deephaven_internal/jvm/__init__.py @@ -1,3 +1,6 @@ +# +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +# _is_ready = False diff --git a/py/server/deephaven_internal/plugin/__init__.py b/py/server/deephaven_internal/plugin/__init__.py index bffb501b30e..c09d28f26d0 100644 --- a/py/server/deephaven_internal/plugin/__init__.py +++ b/py/server/deephaven_internal/plugin/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import jpy diff --git a/py/server/deephaven_internal/plugin/js/__init__.py b/py/server/deephaven_internal/plugin/js/__init__.py index b0f18f3a8da..1780dce8dac 100644 --- a/py/server/deephaven_internal/plugin/js/__init__.py +++ b/py/server/deephaven_internal/plugin/js/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import jpy diff --git a/py/server/deephaven_internal/plugin/object/__init__.py b/py/server/deephaven_internal/plugin/object/__init__.py index a927b06e5de..9a7676ab32f 100644 --- a/py/server/deephaven_internal/plugin/object/__init__.py +++ b/py/server/deephaven_internal/plugin/object/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import jpy diff --git a/py/server/deephaven_internal/plugin/register.py b/py/server/deephaven_internal/plugin/register.py index 91ec3c20e4e..aa879dff0fa 100644 --- a/py/server/deephaven_internal/plugin/register.py +++ b/py/server/deephaven_internal/plugin/register.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import jpy diff --git a/py/server/deephaven_internal/script_session/__init__.py b/py/server/deephaven_internal/script_session/__init__.py index 2032c5ec2b7..859d64b1c79 100644 --- a/py/server/deephaven_internal/script_session/__init__.py +++ b/py/server/deephaven_internal/script_session/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # # Implementation utilities for io.deephaven.engine.util.PythonDeephavenSession diff --git a/py/server/deephaven_internal/stream.py b/py/server/deephaven_internal/stream.py index aaf87603842..846d5aeeaa9 100644 --- a/py/server/deephaven_internal/stream.py +++ b/py/server/deephaven_internal/stream.py @@ -1,3 +1,6 @@ +# +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +# import io diff --git a/py/server/test_helper/__init__.py b/py/server/test_helper/__init__.py index d0059083dc7..434371c411e 100644 --- a/py/server/test_helper/__init__.py +++ b/py/server/test_helper/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # """ This module supports bootstrapping a Deephaven Python Script session from Python.""" diff --git a/py/server/tests/__init__.py b/py/server/tests/__init__.py index 022c04cbbe0..7cac7d46bd0 100644 --- a/py/server/tests/__init__.py +++ b/py/server/tests/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # from test_helper import start_jvm_for_tests diff --git a/py/server/tests/test_arrow.py b/py/server/tests/test_arrow.py index b56418a2d69..d93f986b988 100644 --- a/py/server/tests/test_arrow.py +++ b/py/server/tests/test_arrow.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import os import unittest diff --git a/py/server/tests/test_calendar.py b/py/server/tests/test_calendar.py index a2a4813c4f3..d6be672abc0 100644 --- a/py/server/tests/test_calendar.py +++ b/py/server/tests/test_calendar.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_column.py b/py/server/tests/test_column.py index 20db59971ff..727aad754e6 100644 --- a/py/server/tests/test_column.py +++ b/py/server/tests/test_column.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import datetime import time diff --git a/py/server/tests/test_constants.py b/py/server/tests/test_constants.py index 13c8a77d4a0..51cfbed062f 100644 --- a/py/server/tests/test_constants.py +++ b/py/server/tests/test_constants.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # from deephaven import empty_table diff --git a/py/server/tests/test_csv.py b/py/server/tests/test_csv.py index 821f694c3e3..a4ad3330f17 100644 --- a/py/server/tests/test_csv.py +++ b/py/server/tests/test_csv.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_dbc.py b/py/server/tests/test_dbc.py index 40cfe230c3a..9b79b9cf697 100644 --- a/py/server/tests/test_dbc.py +++ b/py/server/tests/test_dbc.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import platform import unittest diff --git a/py/server/tests/test_dtypes.py b/py/server/tests/test_dtypes.py index d74f5e21b87..20ad31e99b9 100644 --- a/py/server/tests/test_dtypes.py +++ b/py/server/tests/test_dtypes.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import functools diff --git a/py/server/tests/test_exec_ctx.py b/py/server/tests/test_exec_ctx.py index d955236f966..01855bd62e3 100644 --- a/py/server/tests/test_exec_ctx.py +++ b/py/server/tests/test_exec_ctx.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import concurrent.futures import threading diff --git a/py/server/tests/test_experiments.py b/py/server/tests/test_experiments.py index e86dbd95043..6de28871a98 100644 --- a/py/server/tests/test_experiments.py +++ b/py/server/tests/test_experiments.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_filters.py b/py/server/tests/test_filters.py index ad8c0edf8a9..21d9fd6471c 100644 --- a/py/server/tests/test_filters.py +++ b/py/server/tests/test_filters.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_function_generated_table.py b/py/server/tests/test_function_generated_table.py index 2da6d1f48b6..cc44fe3c139 100644 --- a/py/server/tests/test_function_generated_table.py +++ b/py/server/tests/test_function_generated_table.py @@ -1,3 +1,6 @@ +# +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +# from typing import Any import deephaven.dtypes as dht diff --git a/py/server/tests/test_gc.py b/py/server/tests/test_gc.py index db1aadb3254..656139dfabc 100644 --- a/py/server/tests/test_gc.py +++ b/py/server/tests/test_gc.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_jcompat.py b/py/server/tests/test_jcompat.py index e7bbd03fb09..bcea58d112c 100644 --- a/py/server/tests/test_jcompat.py +++ b/py/server/tests/test_jcompat.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_kafka_consumer.py b/py/server/tests/test_kafka_consumer.py index 089944dc38a..4a354ce2633 100644 --- a/py/server/tests/test_kafka_consumer.py +++ b/py/server/tests/test_kafka_consumer.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import os diff --git a/py/server/tests/test_kafka_producer.py b/py/server/tests/test_kafka_producer.py index d71b8ca8960..c1854ea3e3c 100644 --- a/py/server/tests/test_kafka_producer.py +++ b/py/server/tests/test_kafka_producer.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import os diff --git a/py/server/tests/test_learn_gather.py b/py/server/tests/test_learn_gather.py index f0caff9d059..31d7f8d4e69 100644 --- a/py/server/tests/test_learn_gather.py +++ b/py/server/tests/test_learn_gather.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_liveness.py b/py/server/tests/test_liveness.py index 6b4ab3724fd..08c4f009197 100644 --- a/py/server/tests/test_liveness.py +++ b/py/server/tests/test_liveness.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_multijoin.py b/py/server/tests/test_multijoin.py index 2a4bc50c623..28cf93bb505 100644 --- a/py/server/tests/test_multijoin.py +++ b/py/server/tests/test_multijoin.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_numba_guvectorize.py b/py/server/tests/test_numba_guvectorize.py index b47261fcfd8..096d88902f3 100644 --- a/py/server/tests/test_numba_guvectorize.py +++ b/py/server/tests/test_numba_guvectorize.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_numba_vectorized_column.py b/py/server/tests/test_numba_vectorized_column.py index 6f14eb7b659..eb5d2d7cfc0 100644 --- a/py/server/tests/test_numba_vectorized_column.py +++ b/py/server/tests/test_numba_vectorized_column.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_numba_vectorized_filter.py b/py/server/tests/test_numba_vectorized_filter.py index 468cc9e04c3..7feabf405e5 100644 --- a/py/server/tests/test_numba_vectorized_filter.py +++ b/py/server/tests/test_numba_vectorized_filter.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_numpy.py b/py/server/tests/test_numpy.py index 2790ae18c66..13111e318af 100644 --- a/py/server/tests/test_numpy.py +++ b/py/server/tests/test_numpy.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_pandas.py b/py/server/tests/test_pandas.py index 2e78809f85a..e69017f1cb6 100644 --- a/py/server/tests/test_pandas.py +++ b/py/server/tests/test_pandas.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_parquet.py b/py/server/tests/test_parquet.py index 496d485b790..782048e45f3 100644 --- a/py/server/tests/test_parquet.py +++ b/py/server/tests/test_parquet.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import os diff --git a/py/server/tests/test_partitioned_table.py b/py/server/tests/test_partitioned_table.py index c54558b176a..8da63d726a8 100644 --- a/py/server/tests/test_partitioned_table.py +++ b/py/server/tests/test_partitioned_table.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_perfmon.py b/py/server/tests/test_perfmon.py index 60b864cd696..45ce74d4d75 100644 --- a/py/server/tests/test_perfmon.py +++ b/py/server/tests/test_perfmon.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_plot/__init__.py b/py/server/tests/test_plot/__init__.py index cf1dc1e16f4..5f1d8655a69 100644 --- a/py/server/tests/test_plot/__init__.py +++ b/py/server/tests/test_plot/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # # diff --git a/py/server/tests/test_plot/test_color.py b/py/server/tests/test_plot/test_color.py index 23f0cd40688..19645309f3a 100644 --- a/py/server/tests/test_plot/test_color.py +++ b/py/server/tests/test_plot/test_color.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_plot/test_figure.py b/py/server/tests/test_plot/test_figure.py index 5b110f5d69a..7fa6dfe3a28 100644 --- a/py/server/tests/test_plot/test_figure.py +++ b/py/server/tests/test_plot/test_figure.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_plot/test_font.py b/py/server/tests/test_plot/test_font.py index 41025c34283..d38ec2a609c 100644 --- a/py/server/tests/test_plot/test_font.py +++ b/py/server/tests/test_plot/test_font.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_plot/test_linestyle.py b/py/server/tests/test_plot/test_linestyle.py index 2dab3d32f69..0eb57d29057 100644 --- a/py/server/tests/test_plot/test_linestyle.py +++ b/py/server/tests/test_plot/test_linestyle.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import random diff --git a/py/server/tests/test_plot/test_plot.py b/py/server/tests/test_plot/test_plot.py index 6c95bfd4d06..b9c0060f3ef 100644 --- a/py/server/tests/test_plot/test_plot.py +++ b/py/server/tests/test_plot/test_plot.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_plot/test_selectable_dataset.py b/py/server/tests/test_plot/test_selectable_dataset.py index c8558e51ea1..ef15056ae3a 100644 --- a/py/server/tests/test_plot/test_selectable_dataset.py +++ b/py/server/tests/test_plot/test_selectable_dataset.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_pt_proxy.py b/py/server/tests/test_pt_proxy.py index 99c7414aa55..982a582fa6f 100644 --- a/py/server/tests/test_pt_proxy.py +++ b/py/server/tests/test_pt_proxy.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_query_library.py b/py/server/tests/test_query_library.py index 3ee9343ebbb..108b7b251af 100644 --- a/py/server/tests/test_query_library.py +++ b/py/server/tests/test_query_library.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_replay.py b/py/server/tests/test_replay.py index db0a2242285..1e5b5e1d1e9 100644 --- a/py/server/tests/test_replay.py +++ b/py/server/tests/test_replay.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_rollup_tree_table.py b/py/server/tests/test_rollup_tree_table.py index 1aa158640a6..2f1d76bdafd 100644 --- a/py/server/tests/test_rollup_tree_table.py +++ b/py/server/tests/test_rollup_tree_table.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_sql.py b/py/server/tests/test_sql.py index 8db0cf0e11a..684378a74b3 100644 --- a/py/server/tests/test_sql.py +++ b/py/server/tests/test_sql.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import jpy diff --git a/py/server/tests/test_table.py b/py/server/tests/test_table.py index b2392e84591..5e30966d906 100644 --- a/py/server/tests/test_table.py +++ b/py/server/tests/test_table.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest from types import SimpleNamespace diff --git a/py/server/tests/test_table_factory.py b/py/server/tests/test_table_factory.py index c909b0f8492..3045f5bae6a 100644 --- a/py/server/tests/test_table_factory.py +++ b/py/server/tests/test_table_factory.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_table_listener.py b/py/server/tests/test_table_listener.py index 2be8169ece2..4b9110ca226 100644 --- a/py/server/tests/test_table_listener.py +++ b/py/server/tests/test_table_listener.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import time diff --git a/py/server/tests/test_table_publisher.py b/py/server/tests/test_table_publisher.py index b34d319a253..48a5ae2892f 100644 --- a/py/server/tests/test_table_publisher.py +++ b/py/server/tests/test_table_publisher.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_time.py b/py/server/tests/test_time.py index a7ce18d46ae..371d85fca8d 100644 --- a/py/server/tests/test_time.py +++ b/py/server/tests/test_time.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_udf_numpy_args.py b/py/server/tests/test_udf_numpy_args.py index 0ad89c841e0..f77bc615def 100644 --- a/py/server/tests/test_udf_numpy_args.py +++ b/py/server/tests/test_udf_numpy_args.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import typing from typing import Optional, Union, Any diff --git a/py/server/tests/test_udf_return_java_values.py b/py/server/tests/test_udf_return_java_values.py index 5a89a8a75e4..7c1f55c5827 100644 --- a/py/server/tests/test_udf_return_java_values.py +++ b/py/server/tests/test_udf_return_java_values.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import datetime import typing diff --git a/py/server/tests/test_update_graph.py b/py/server/tests/test_update_graph.py index 4da6db8e058..1fa1b4ae11d 100644 --- a/py/server/tests/test_update_graph.py +++ b/py/server/tests/test_update_graph.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_updateby.py b/py/server/tests/test_updateby.py index a3660676154..e4ecbc2aae2 100644 --- a/py/server/tests/test_updateby.py +++ b/py/server/tests/test_updateby.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_uri.py b/py/server/tests/test_uri.py index 2b26bd48ca1..dd7a1f7f0eb 100644 --- a/py/server/tests/test_uri.py +++ b/py/server/tests/test_uri.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/test_vectorization.py b/py/server/tests/test_vectorization.py index 7123276591e..d7532647640 100644 --- a/py/server/tests/test_vectorization.py +++ b/py/server/tests/test_vectorization.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import random import unittest diff --git a/py/server/tests/test_wrapper.py b/py/server/tests/test_wrapper.py index df6b339b53b..de1dbc5e6d7 100644 --- a/py/server/tests/test_wrapper.py +++ b/py/server/tests/test_wrapper.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import unittest diff --git a/py/server/tests/testbase.py b/py/server/tests/testbase.py index 939f4e909f7..14049a62be5 100644 --- a/py/server/tests/testbase.py +++ b/py/server/tests/testbase.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending +# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending # import time diff --git a/qst/graphviz/src/main/java/io/deephaven/graphviz/AppendLinks.java b/qst/graphviz/src/main/java/io/deephaven/graphviz/AppendLinks.java index 01379365630..5c429819643 100644 --- a/qst/graphviz/src/main/java/io/deephaven/graphviz/AppendLinks.java +++ b/qst/graphviz/src/main/java/io/deephaven/graphviz/AppendLinks.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.graphviz; import guru.nidi.graphviz.attribute.Label; diff --git a/qst/graphviz/src/main/java/io/deephaven/graphviz/GraphVizBuilder.java b/qst/graphviz/src/main/java/io/deephaven/graphviz/GraphVizBuilder.java index 405ea694b5b..1d5eeae51e4 100644 --- a/qst/graphviz/src/main/java/io/deephaven/graphviz/GraphVizBuilder.java +++ b/qst/graphviz/src/main/java/io/deephaven/graphviz/GraphVizBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.graphviz; import guru.nidi.graphviz.attribute.Label; diff --git a/qst/graphviz/src/main/java/io/deephaven/graphviz/GraphVizMain.java b/qst/graphviz/src/main/java/io/deephaven/graphviz/GraphVizMain.java index d38e0049d9e..44ae70161e0 100644 --- a/qst/graphviz/src/main/java/io/deephaven/graphviz/GraphVizMain.java +++ b/qst/graphviz/src/main/java/io/deephaven/graphviz/GraphVizMain.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.graphviz; import guru.nidi.graphviz.engine.Format; diff --git a/qst/graphviz/src/test/java/io/deephaven/graphviz/GraphVizBuilderTest.java b/qst/graphviz/src/test/java/io/deephaven/graphviz/GraphVizBuilderTest.java index d99f4de1374..2c169036d45 100644 --- a/qst/graphviz/src/test/java/io/deephaven/graphviz/GraphVizBuilderTest.java +++ b/qst/graphviz/src/test/java/io/deephaven/graphviz/GraphVizBuilderTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.graphviz; import guru.nidi.graphviz.engine.Format; diff --git a/qst/src/main/java/io/deephaven/annotations/AllowNulls.java b/qst/src/main/java/io/deephaven/annotations/AllowNulls.java index 40471c8d33f..90e3af0e571 100644 --- a/qst/src/main/java/io/deephaven/annotations/AllowNulls.java +++ b/qst/src/main/java/io/deephaven/annotations/AllowNulls.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.annotations; import java.lang.annotation.ElementType; diff --git a/qst/src/main/java/io/deephaven/annotations/LeafStyle.java b/qst/src/main/java/io/deephaven/annotations/LeafStyle.java index dac6e80e8d6..6226a6c4f09 100644 --- a/qst/src/main/java/io/deephaven/annotations/LeafStyle.java +++ b/qst/src/main/java/io/deephaven/annotations/LeafStyle.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.annotations; import org.immutables.value.Value; diff --git a/qst/src/main/java/io/deephaven/annotations/NodeStyle.java b/qst/src/main/java/io/deephaven/annotations/NodeStyle.java index 4e52af3877f..c676cf6cfaa 100644 --- a/qst/src/main/java/io/deephaven/annotations/NodeStyle.java +++ b/qst/src/main/java/io/deephaven/annotations/NodeStyle.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.annotations; import org.immutables.value.Value; diff --git a/qst/src/main/java/io/deephaven/qst/LabeledValue.java b/qst/src/main/java/io/deephaven/qst/LabeledValue.java index dfe509bb6e8..7970e55d353 100644 --- a/qst/src/main/java/io/deephaven/qst/LabeledValue.java +++ b/qst/src/main/java/io/deephaven/qst/LabeledValue.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/src/main/java/io/deephaven/qst/LabeledValues.java b/qst/src/main/java/io/deephaven/qst/LabeledValues.java index 01c22f6a584..67948f13575 100644 --- a/qst/src/main/java/io/deephaven/qst/LabeledValues.java +++ b/qst/src/main/java/io/deephaven/qst/LabeledValues.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst; import io.deephaven.annotations.BuildableStyle; diff --git a/qst/src/main/java/io/deephaven/qst/TableAdapterImpl.java b/qst/src/main/java/io/deephaven/qst/TableAdapterImpl.java index d4e01d985ba..b065b14d69c 100644 --- a/qst/src/main/java/io/deephaven/qst/TableAdapterImpl.java +++ b/qst/src/main/java/io/deephaven/qst/TableAdapterImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst; import io.deephaven.api.ColumnName; diff --git a/qst/src/main/java/io/deephaven/qst/TableAdapterResults.java b/qst/src/main/java/io/deephaven/qst/TableAdapterResults.java index a1fda9f5271..98c0838910c 100644 --- a/qst/src/main/java/io/deephaven/qst/TableAdapterResults.java +++ b/qst/src/main/java/io/deephaven/qst/TableAdapterResults.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst; import io.deephaven.annotations.BuildableStyle; diff --git a/qst/src/main/java/io/deephaven/qst/TableCreationLabeledLogic.java b/qst/src/main/java/io/deephaven/qst/TableCreationLabeledLogic.java index 5b0c11c8970..f7dcae2b69b 100644 --- a/qst/src/main/java/io/deephaven/qst/TableCreationLabeledLogic.java +++ b/qst/src/main/java/io/deephaven/qst/TableCreationLabeledLogic.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst; import io.deephaven.api.TableOperations; diff --git a/qst/src/main/java/io/deephaven/qst/TableCreationLogic.java b/qst/src/main/java/io/deephaven/qst/TableCreationLogic.java index 0d41faef51f..8b0e6ffd523 100644 --- a/qst/src/main/java/io/deephaven/qst/TableCreationLogic.java +++ b/qst/src/main/java/io/deephaven/qst/TableCreationLogic.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst; import io.deephaven.api.TableOperations; diff --git a/qst/src/main/java/io/deephaven/qst/TableCreationLogic1Input.java b/qst/src/main/java/io/deephaven/qst/TableCreationLogic1Input.java index 9e7a8b04231..8618b4a4996 100644 --- a/qst/src/main/java/io/deephaven/qst/TableCreationLogic1Input.java +++ b/qst/src/main/java/io/deephaven/qst/TableCreationLogic1Input.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst; import io.deephaven.api.TableOperations; diff --git a/qst/src/main/java/io/deephaven/qst/TableCreationLogic2Inputs.java b/qst/src/main/java/io/deephaven/qst/TableCreationLogic2Inputs.java index 8c90b0305eb..b1e06615f51 100644 --- a/qst/src/main/java/io/deephaven/qst/TableCreationLogic2Inputs.java +++ b/qst/src/main/java/io/deephaven/qst/TableCreationLogic2Inputs.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst; import io.deephaven.api.TableOperations; diff --git a/qst/src/main/java/io/deephaven/qst/TableCreationLogicAndThen.java b/qst/src/main/java/io/deephaven/qst/TableCreationLogicAndThen.java index 2cd687e4c2d..5f341764239 100644 --- a/qst/src/main/java/io/deephaven/qst/TableCreationLogicAndThen.java +++ b/qst/src/main/java/io/deephaven/qst/TableCreationLogicAndThen.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst; import io.deephaven.api.TableOperations; diff --git a/qst/src/main/java/io/deephaven/qst/TableCreator.java b/qst/src/main/java/io/deephaven/qst/TableCreator.java index 681772a2b2f..eecf72c1baa 100644 --- a/qst/src/main/java/io/deephaven/qst/TableCreator.java +++ b/qst/src/main/java/io/deephaven/qst/TableCreator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst; import io.deephaven.api.TableOperations; diff --git a/qst/src/main/java/io/deephaven/qst/array/Array.java b/qst/src/main/java/io/deephaven/qst/array/Array.java index a29de23e009..05241fcd15c 100644 --- a/qst/src/main/java/io/deephaven/qst/array/Array.java +++ b/qst/src/main/java/io/deephaven/qst/array/Array.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.qst.type.Type; diff --git a/qst/src/main/java/io/deephaven/qst/array/ArrayBuilder.java b/qst/src/main/java/io/deephaven/qst/array/ArrayBuilder.java index ef37626e490..55585e15c61 100644 --- a/qst/src/main/java/io/deephaven/qst/array/ArrayBuilder.java +++ b/qst/src/main/java/io/deephaven/qst/array/ArrayBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; public interface ArrayBuilder, SELF extends ArrayBuilder> { diff --git a/qst/src/main/java/io/deephaven/qst/array/BooleanArray.java b/qst/src/main/java/io/deephaven/qst/array/BooleanArray.java index f898a91f0bf..64fe3e37e6a 100644 --- a/qst/src/main/java/io/deephaven/qst/array/BooleanArray.java +++ b/qst/src/main/java/io/deephaven/qst/array/BooleanArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.qst.type.BooleanType; diff --git a/qst/src/main/java/io/deephaven/qst/array/ByteArray.java b/qst/src/main/java/io/deephaven/qst/array/ByteArray.java index 5294f2ffa27..baeb597d688 100644 --- a/qst/src/main/java/io/deephaven/qst/array/ByteArray.java +++ b/qst/src/main/java/io/deephaven/qst/array/ByteArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.qst.type.ByteType; diff --git a/qst/src/main/java/io/deephaven/qst/array/CharArray.java b/qst/src/main/java/io/deephaven/qst/array/CharArray.java index fc5011dcab3..62e448af595 100644 --- a/qst/src/main/java/io/deephaven/qst/array/CharArray.java +++ b/qst/src/main/java/io/deephaven/qst/array/CharArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.qst.type.CharType; diff --git a/qst/src/main/java/io/deephaven/qst/array/DoubleArray.java b/qst/src/main/java/io/deephaven/qst/array/DoubleArray.java index 5dd3a63857c..19fa8f27a8f 100644 --- a/qst/src/main/java/io/deephaven/qst/array/DoubleArray.java +++ b/qst/src/main/java/io/deephaven/qst/array/DoubleArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.qst.type.DoubleType; diff --git a/qst/src/main/java/io/deephaven/qst/array/FloatArray.java b/qst/src/main/java/io/deephaven/qst/array/FloatArray.java index d7882df60f4..a9d7fa46424 100644 --- a/qst/src/main/java/io/deephaven/qst/array/FloatArray.java +++ b/qst/src/main/java/io/deephaven/qst/array/FloatArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.qst.type.FloatType; diff --git a/qst/src/main/java/io/deephaven/qst/array/GenericArray.java b/qst/src/main/java/io/deephaven/qst/array/GenericArray.java index b645cd49dfe..aa09f52c0f9 100644 --- a/qst/src/main/java/io/deephaven/qst/array/GenericArray.java +++ b/qst/src/main/java/io/deephaven/qst/array/GenericArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.annotations.AllowNulls; diff --git a/qst/src/main/java/io/deephaven/qst/array/IntArray.java b/qst/src/main/java/io/deephaven/qst/array/IntArray.java index 84e0d5d93ea..69c8e756dac 100644 --- a/qst/src/main/java/io/deephaven/qst/array/IntArray.java +++ b/qst/src/main/java/io/deephaven/qst/array/IntArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.qst.type.IntType; diff --git a/qst/src/main/java/io/deephaven/qst/array/LongArray.java b/qst/src/main/java/io/deephaven/qst/array/LongArray.java index c341d1eb4c2..2abe020cddc 100644 --- a/qst/src/main/java/io/deephaven/qst/array/LongArray.java +++ b/qst/src/main/java/io/deephaven/qst/array/LongArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.qst.type.LongType; diff --git a/qst/src/main/java/io/deephaven/qst/array/PrimitiveArray.java b/qst/src/main/java/io/deephaven/qst/array/PrimitiveArray.java index 81ebf12a2c0..8d9f48d7c25 100644 --- a/qst/src/main/java/io/deephaven/qst/array/PrimitiveArray.java +++ b/qst/src/main/java/io/deephaven/qst/array/PrimitiveArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.qst.type.PrimitiveType; diff --git a/qst/src/main/java/io/deephaven/qst/array/PrimitiveArrayBase.java b/qst/src/main/java/io/deephaven/qst/array/PrimitiveArrayBase.java index 60a3070ef78..c4b2d090e96 100644 --- a/qst/src/main/java/io/deephaven/qst/array/PrimitiveArrayBase.java +++ b/qst/src/main/java/io/deephaven/qst/array/PrimitiveArrayBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; public abstract class PrimitiveArrayBase implements PrimitiveArray { diff --git a/qst/src/main/java/io/deephaven/qst/array/PrimitiveArrayHelper.java b/qst/src/main/java/io/deephaven/qst/array/PrimitiveArrayHelper.java index ca89a171786..35b4fcad181 100644 --- a/qst/src/main/java/io/deephaven/qst/array/PrimitiveArrayHelper.java +++ b/qst/src/main/java/io/deephaven/qst/array/PrimitiveArrayHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import java.util.Objects; diff --git a/qst/src/main/java/io/deephaven/qst/array/ShortArray.java b/qst/src/main/java/io/deephaven/qst/array/ShortArray.java index a4485de9a26..1c04be847db 100644 --- a/qst/src/main/java/io/deephaven/qst/array/ShortArray.java +++ b/qst/src/main/java/io/deephaven/qst/array/ShortArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.qst.type.ShortType; diff --git a/qst/src/main/java/io/deephaven/qst/array/TypeToArrayBuilder.java b/qst/src/main/java/io/deephaven/qst/array/TypeToArrayBuilder.java index c8c5f398e2c..f71c5e272c4 100644 --- a/qst/src/main/java/io/deephaven/qst/array/TypeToArrayBuilder.java +++ b/qst/src/main/java/io/deephaven/qst/array/TypeToArrayBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.qst.type.ArrayType; diff --git a/qst/src/main/java/io/deephaven/qst/array/Util.java b/qst/src/main/java/io/deephaven/qst/array/Util.java index 526460cf4db..6f54a99c571 100644 --- a/qst/src/main/java/io/deephaven/qst/array/Util.java +++ b/qst/src/main/java/io/deephaven/qst/array/Util.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.util.BooleanUtils; diff --git a/qst/src/main/java/io/deephaven/qst/column/Column.java b/qst/src/main/java/io/deephaven/qst/column/Column.java index b7a2e06963c..a36fa438278 100644 --- a/qst/src/main/java/io/deephaven/qst/column/Column.java +++ b/qst/src/main/java/io/deephaven/qst/column/Column.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.column; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeader.java b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeader.java index 6984f6d33ea..4497fe99221 100644 --- a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeader.java +++ b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.column.header; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders2.java b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders2.java index fe398c775e3..2462a022e68 100644 --- a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders2.java +++ b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders2.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.column.header; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders3.java b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders3.java index 5b2bd7d9cac..dfcffcaf65c 100644 --- a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders3.java +++ b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders3.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.column.header; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders4.java b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders4.java index 2a6047b9347..6d50fbcd068 100644 --- a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders4.java +++ b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders4.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.column.header; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders5.java b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders5.java index ee06b4c9c86..ddae5561ccb 100644 --- a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders5.java +++ b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders5.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.column.header; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders6.java b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders6.java index 349a061bd18..6d755bd7dbd 100644 --- a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders6.java +++ b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders6.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.column.header; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders7.java b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders7.java index 6f0fa725016..f46099ca95a 100644 --- a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders7.java +++ b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders7.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.column.header; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders8.java b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders8.java index e000ec573e8..45fabbcce71 100644 --- a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders8.java +++ b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders8.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.column.header; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders9.java b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders9.java index 261f5c1dc25..53241fa8dcd 100644 --- a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders9.java +++ b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeaders9.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.column.header; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeadersN.java b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeadersN.java index 079b741977e..045b86aee1b 100644 --- a/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeadersN.java +++ b/qst/src/main/java/io/deephaven/qst/column/header/ColumnHeadersN.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.column.header; import io.deephaven.annotations.BuildableStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/AggregateAllTable.java b/qst/src/main/java/io/deephaven/qst/table/AggregateAllTable.java index d476398d61b..8ccde3e9711 100644 --- a/qst/src/main/java/io/deephaven/qst/table/AggregateAllTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/AggregateAllTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/AggregateTable.java b/qst/src/main/java/io/deephaven/qst/table/AggregateTable.java index 0b3a1a44bca..eef540c81a4 100644 --- a/qst/src/main/java/io/deephaven/qst/table/AggregateTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/AggregateTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/AsOfJoinTable.java b/qst/src/main/java/io/deephaven/qst/table/AsOfJoinTable.java index 1bf535504be..a7c0bc62092 100644 --- a/qst/src/main/java/io/deephaven/qst/table/AsOfJoinTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/AsOfJoinTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/BlinkInputTable.java b/qst/src/main/java/io/deephaven/qst/table/BlinkInputTable.java index 1b8f74ba7fc..271bf74315f 100644 --- a/qst/src/main/java/io/deephaven/qst/table/BlinkInputTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/BlinkInputTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/ByTableBase.java b/qst/src/main/java/io/deephaven/qst/table/ByTableBase.java index 8333be7eac6..ff307c74eb3 100644 --- a/qst/src/main/java/io/deephaven/qst/table/ByTableBase.java +++ b/qst/src/main/java/io/deephaven/qst/table/ByTableBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.api.ColumnName; diff --git a/qst/src/main/java/io/deephaven/qst/table/Clock.java b/qst/src/main/java/io/deephaven/qst/table/Clock.java index 28baf88db5c..ecf0cdc0650 100644 --- a/qst/src/main/java/io/deephaven/qst/table/Clock.java +++ b/qst/src/main/java/io/deephaven/qst/table/Clock.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; /** diff --git a/qst/src/main/java/io/deephaven/qst/table/ClockSystem.java b/qst/src/main/java/io/deephaven/qst/table/ClockSystem.java index b73fabe50c6..52fca492d43 100644 --- a/qst/src/main/java/io/deephaven/qst/table/ClockSystem.java +++ b/qst/src/main/java/io/deephaven/qst/table/ClockSystem.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; /** diff --git a/qst/src/main/java/io/deephaven/qst/table/DropColumnsTable.java b/qst/src/main/java/io/deephaven/qst/table/DropColumnsTable.java index 25f25f85046..10d86874db3 100644 --- a/qst/src/main/java/io/deephaven/qst/table/DropColumnsTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/DropColumnsTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/EmptyTable.java b/qst/src/main/java/io/deephaven/qst/table/EmptyTable.java index c36d0cb9c2e..cc635e8146f 100644 --- a/qst/src/main/java/io/deephaven/qst/table/EmptyTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/EmptyTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.LeafStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/ExactJoinTable.java b/qst/src/main/java/io/deephaven/qst/table/ExactJoinTable.java index 30aee42adbc..6ba14dc7ad7 100644 --- a/qst/src/main/java/io/deephaven/qst/table/ExactJoinTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/ExactJoinTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/FriendlyString.java b/qst/src/main/java/io/deephaven/qst/table/FriendlyString.java index 876fcd3418f..b2dc4153b7d 100644 --- a/qst/src/main/java/io/deephaven/qst/table/FriendlyString.java +++ b/qst/src/main/java/io/deephaven/qst/table/FriendlyString.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import java.util.List; diff --git a/qst/src/main/java/io/deephaven/qst/table/Graphviz.java b/qst/src/main/java/io/deephaven/qst/table/Graphviz.java index bf94ec2e6f4..bb010b0ede0 100644 --- a/qst/src/main/java/io/deephaven/qst/table/Graphviz.java +++ b/qst/src/main/java/io/deephaven/qst/table/Graphviz.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.qst.table.LinkDescriber.LinkConsumer; diff --git a/qst/src/main/java/io/deephaven/qst/table/HeadTable.java b/qst/src/main/java/io/deephaven/qst/table/HeadTable.java index 00e6c1c2fca..ab3f5a8e573 100644 --- a/qst/src/main/java/io/deephaven/qst/table/HeadTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/HeadTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/InMemoryAppendOnlyInputTable.java b/qst/src/main/java/io/deephaven/qst/table/InMemoryAppendOnlyInputTable.java index 68d292bf563..3484587867f 100644 --- a/qst/src/main/java/io/deephaven/qst/table/InMemoryAppendOnlyInputTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/InMemoryAppendOnlyInputTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/InMemoryKeyBackedInputTable.java b/qst/src/main/java/io/deephaven/qst/table/InMemoryKeyBackedInputTable.java index 71b5ecf5446..257914077df 100644 --- a/qst/src/main/java/io/deephaven/qst/table/InMemoryKeyBackedInputTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/InMemoryKeyBackedInputTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/InputTable.java b/qst/src/main/java/io/deephaven/qst/table/InputTable.java index 43caa995f6d..53664fd7b33 100644 --- a/qst/src/main/java/io/deephaven/qst/table/InputTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/InputTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; /** diff --git a/qst/src/main/java/io/deephaven/qst/table/InputTableBase.java b/qst/src/main/java/io/deephaven/qst/table/InputTableBase.java index 5fb67ffb70f..0ac22509dd1 100644 --- a/qst/src/main/java/io/deephaven/qst/table/InputTableBase.java +++ b/qst/src/main/java/io/deephaven/qst/table/InputTableBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import java.util.UUID; diff --git a/qst/src/main/java/io/deephaven/qst/table/Join.java b/qst/src/main/java/io/deephaven/qst/table/Join.java index e2885ed2abb..29a9ce720c4 100644 --- a/qst/src/main/java/io/deephaven/qst/table/Join.java +++ b/qst/src/main/java/io/deephaven/qst/table/Join.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.api.JoinAddition; diff --git a/qst/src/main/java/io/deephaven/qst/table/JoinBase.java b/qst/src/main/java/io/deephaven/qst/table/JoinBase.java index 26dd34864cd..fe3c32620a4 100644 --- a/qst/src/main/java/io/deephaven/qst/table/JoinBase.java +++ b/qst/src/main/java/io/deephaven/qst/table/JoinBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.api.JoinAddition; diff --git a/qst/src/main/java/io/deephaven/qst/table/JoinTable.java b/qst/src/main/java/io/deephaven/qst/table/JoinTable.java index d8b255bae63..2405f625b86 100644 --- a/qst/src/main/java/io/deephaven/qst/table/JoinTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/JoinTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/LabeledTable.java b/qst/src/main/java/io/deephaven/qst/table/LabeledTable.java index 0379895ebf4..97686671f6a 100644 --- a/qst/src/main/java/io/deephaven/qst/table/LabeledTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/LabeledTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/LabeledTables.java b/qst/src/main/java/io/deephaven/qst/table/LabeledTables.java index c2ac052076a..c408c44e072 100644 --- a/qst/src/main/java/io/deephaven/qst/table/LabeledTables.java +++ b/qst/src/main/java/io/deephaven/qst/table/LabeledTables.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.BuildableStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/LazyUpdateTable.java b/qst/src/main/java/io/deephaven/qst/table/LazyUpdateTable.java index 417bb3c04b4..a0d26443933 100644 --- a/qst/src/main/java/io/deephaven/qst/table/LazyUpdateTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/LazyUpdateTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/LinkDescriber.java b/qst/src/main/java/io/deephaven/qst/table/LinkDescriber.java index fffa365d44f..601df599bfc 100644 --- a/qst/src/main/java/io/deephaven/qst/table/LinkDescriber.java +++ b/qst/src/main/java/io/deephaven/qst/table/LinkDescriber.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.qst.table.TableSchema.Visitor; diff --git a/qst/src/main/java/io/deephaven/qst/table/MergeTable.java b/qst/src/main/java/io/deephaven/qst/table/MergeTable.java index d37294bf8e9..0b481ae8dbc 100644 --- a/qst/src/main/java/io/deephaven/qst/table/MergeTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/MergeTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/NaturalJoinTable.java b/qst/src/main/java/io/deephaven/qst/table/NaturalJoinTable.java index 846aa10122a..edb43d33df5 100644 --- a/qst/src/main/java/io/deephaven/qst/table/NaturalJoinTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/NaturalJoinTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/NewTable.java b/qst/src/main/java/io/deephaven/qst/table/NewTable.java index 4d3a3394c9a..944858d1a79 100644 --- a/qst/src/main/java/io/deephaven/qst/table/NewTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/NewTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.LeafStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/OperationsToTableImpl.java b/qst/src/main/java/io/deephaven/qst/table/OperationsToTableImpl.java index 767057f5771..67efccf121a 100644 --- a/qst/src/main/java/io/deephaven/qst/table/OperationsToTableImpl.java +++ b/qst/src/main/java/io/deephaven/qst/table/OperationsToTableImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.qst.TableCreator.OperationsToTable; diff --git a/qst/src/main/java/io/deephaven/qst/table/ParentsVisitor.java b/qst/src/main/java/io/deephaven/qst/table/ParentsVisitor.java index 3618a254767..e25f5b0873f 100644 --- a/qst/src/main/java/io/deephaven/qst/table/ParentsVisitor.java +++ b/qst/src/main/java/io/deephaven/qst/table/ParentsVisitor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.qst.table.TableSpec.Visitor; diff --git a/qst/src/main/java/io/deephaven/qst/table/RangeJoinTable.java b/qst/src/main/java/io/deephaven/qst/table/RangeJoinTable.java index 1b258a0d48a..94a4b12c6ae 100644 --- a/qst/src/main/java/io/deephaven/qst/table/RangeJoinTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/RangeJoinTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/ReverseTable.java b/qst/src/main/java/io/deephaven/qst/table/ReverseTable.java index d10fe72b021..56cab755154 100644 --- a/qst/src/main/java/io/deephaven/qst/table/ReverseTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/ReverseTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/SelectDistinctTable.java b/qst/src/main/java/io/deephaven/qst/table/SelectDistinctTable.java index 133b2fa3c66..536396b88ed 100644 --- a/qst/src/main/java/io/deephaven/qst/table/SelectDistinctTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/SelectDistinctTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/SelectTable.java b/qst/src/main/java/io/deephaven/qst/table/SelectTable.java index a9f84140e7d..3d4838c86c2 100644 --- a/qst/src/main/java/io/deephaven/qst/table/SelectTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/SelectTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/SelectableTable.java b/qst/src/main/java/io/deephaven/qst/table/SelectableTable.java index 5a3c8692e27..51be34f98c6 100644 --- a/qst/src/main/java/io/deephaven/qst/table/SelectableTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/SelectableTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.api.Selectable; diff --git a/qst/src/main/java/io/deephaven/qst/table/SingleParentTable.java b/qst/src/main/java/io/deephaven/qst/table/SingleParentTable.java index 57e0050e08f..4aa091f0d25 100644 --- a/qst/src/main/java/io/deephaven/qst/table/SingleParentTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/SingleParentTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; public interface SingleParentTable extends TableSpec { diff --git a/qst/src/main/java/io/deephaven/qst/table/SnapshotTable.java b/qst/src/main/java/io/deephaven/qst/table/SnapshotTable.java index fb64a403391..02994be4236 100644 --- a/qst/src/main/java/io/deephaven/qst/table/SnapshotTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/SnapshotTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/SnapshotWhenTable.java b/qst/src/main/java/io/deephaven/qst/table/SnapshotWhenTable.java index c03341d403a..86547f56a72 100644 --- a/qst/src/main/java/io/deephaven/qst/table/SnapshotWhenTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/SnapshotWhenTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/SortTable.java b/qst/src/main/java/io/deephaven/qst/table/SortTable.java index e2437d009b2..1c39c7f6a33 100644 --- a/qst/src/main/java/io/deephaven/qst/table/SortTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/SortTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.api.SortColumn; diff --git a/qst/src/main/java/io/deephaven/qst/table/StackTraceMixIn.java b/qst/src/main/java/io/deephaven/qst/table/StackTraceMixIn.java index 2fd7a0595b0..61b14e10549 100644 --- a/qst/src/main/java/io/deephaven/qst/table/StackTraceMixIn.java +++ b/qst/src/main/java/io/deephaven/qst/table/StackTraceMixIn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.api.TableOperations; diff --git a/qst/src/main/java/io/deephaven/qst/table/StackTraceMixInCreator.java b/qst/src/main/java/io/deephaven/qst/table/StackTraceMixInCreator.java index bced0d49bec..3a7287fa1f5 100644 --- a/qst/src/main/java/io/deephaven/qst/table/StackTraceMixInCreator.java +++ b/qst/src/main/java/io/deephaven/qst/table/StackTraceMixInCreator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.api.TableOperations; diff --git a/qst/src/main/java/io/deephaven/qst/table/TableBase.java b/qst/src/main/java/io/deephaven/qst/table/TableBase.java index 5da5418c7ba..505c8fdb1e9 100644 --- a/qst/src/main/java/io/deephaven/qst/table/TableBase.java +++ b/qst/src/main/java/io/deephaven/qst/table/TableBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.api.*; diff --git a/qst/src/main/java/io/deephaven/qst/table/TableCreationLogicImpl.java b/qst/src/main/java/io/deephaven/qst/table/TableCreationLogicImpl.java index cc25542f424..238abb07fe1 100644 --- a/qst/src/main/java/io/deephaven/qst/table/TableCreationLogicImpl.java +++ b/qst/src/main/java/io/deephaven/qst/table/TableCreationLogicImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.api.TableOperations; diff --git a/qst/src/main/java/io/deephaven/qst/table/TableCreatorImpl.java b/qst/src/main/java/io/deephaven/qst/table/TableCreatorImpl.java index dc9cc350fdd..b63628d5288 100644 --- a/qst/src/main/java/io/deephaven/qst/table/TableCreatorImpl.java +++ b/qst/src/main/java/io/deephaven/qst/table/TableCreatorImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.api.TableOperations; diff --git a/qst/src/main/java/io/deephaven/qst/table/TableHeader.java b/qst/src/main/java/io/deephaven/qst/table/TableHeader.java index cd5d1f7b079..fdfccb1f77c 100644 --- a/qst/src/main/java/io/deephaven/qst/table/TableHeader.java +++ b/qst/src/main/java/io/deephaven/qst/table/TableHeader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.BuildableStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/TableLabelVisitor.java b/qst/src/main/java/io/deephaven/qst/table/TableLabelVisitor.java index ec263e5cb0a..47b3bdec247 100644 --- a/qst/src/main/java/io/deephaven/qst/table/TableLabelVisitor.java +++ b/qst/src/main/java/io/deephaven/qst/table/TableLabelVisitor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.api.SortColumn; diff --git a/qst/src/main/java/io/deephaven/qst/table/TableSchema.java b/qst/src/main/java/io/deephaven/qst/table/TableSchema.java index 331259a92c5..056dfcd3153 100644 --- a/qst/src/main/java/io/deephaven/qst/table/TableSchema.java +++ b/qst/src/main/java/io/deephaven/qst/table/TableSchema.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; /** diff --git a/qst/src/main/java/io/deephaven/qst/table/TableSpec.java b/qst/src/main/java/io/deephaven/qst/table/TableSpec.java index 4b9468e7ccb..8a2ff213ad7 100644 --- a/qst/src/main/java/io/deephaven/qst/table/TableSpec.java +++ b/qst/src/main/java/io/deephaven/qst/table/TableSpec.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.api.TableOperations; diff --git a/qst/src/main/java/io/deephaven/qst/table/TableSpecAdapter.java b/qst/src/main/java/io/deephaven/qst/table/TableSpecAdapter.java index b104a5cf918..a8e696e1b1b 100644 --- a/qst/src/main/java/io/deephaven/qst/table/TableSpecAdapter.java +++ b/qst/src/main/java/io/deephaven/qst/table/TableSpecAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.api.TableOperations; diff --git a/qst/src/main/java/io/deephaven/qst/table/TableSpecFunction.java b/qst/src/main/java/io/deephaven/qst/table/TableSpecFunction.java index 1e5ea1f0ba5..c5ed990965d 100644 --- a/qst/src/main/java/io/deephaven/qst/table/TableSpecFunction.java +++ b/qst/src/main/java/io/deephaven/qst/table/TableSpecFunction.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import java.util.function.Function; diff --git a/qst/src/main/java/io/deephaven/qst/table/TableToOperationsImpl.java b/qst/src/main/java/io/deephaven/qst/table/TableToOperationsImpl.java index 484797367c2..b0d7508f3c9 100644 --- a/qst/src/main/java/io/deephaven/qst/table/TableToOperationsImpl.java +++ b/qst/src/main/java/io/deephaven/qst/table/TableToOperationsImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.qst.TableCreator.TableToOperations; diff --git a/qst/src/main/java/io/deephaven/qst/table/TableVisitorGeneric.java b/qst/src/main/java/io/deephaven/qst/table/TableVisitorGeneric.java index c097631c83b..cc02f4f46e0 100644 --- a/qst/src/main/java/io/deephaven/qst/table/TableVisitorGeneric.java +++ b/qst/src/main/java/io/deephaven/qst/table/TableVisitorGeneric.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; public abstract class TableVisitorGeneric implements TableSpec.Visitor { diff --git a/qst/src/main/java/io/deephaven/qst/table/TailTable.java b/qst/src/main/java/io/deephaven/qst/table/TailTable.java index ae31588fb93..366403fee4f 100644 --- a/qst/src/main/java/io/deephaven/qst/table/TailTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/TailTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/TicketTable.java b/qst/src/main/java/io/deephaven/qst/table/TicketTable.java index b08f1f5d5c1..4622b0b2df2 100644 --- a/qst/src/main/java/io/deephaven/qst/table/TicketTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/TicketTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/TimeTable.java b/qst/src/main/java/io/deephaven/qst/table/TimeTable.java index 4cb67a4b8e1..16ea6d779e1 100644 --- a/qst/src/main/java/io/deephaven/qst/table/TimeTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/TimeTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.LeafStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/UngroupTable.java b/qst/src/main/java/io/deephaven/qst/table/UngroupTable.java index ff4b3f1ab2a..1f8bca018f0 100644 --- a/qst/src/main/java/io/deephaven/qst/table/UngroupTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/UngroupTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/UpdateByTable.java b/qst/src/main/java/io/deephaven/qst/table/UpdateByTable.java index 6391acc75a7..92ea4ba24a3 100644 --- a/qst/src/main/java/io/deephaven/qst/table/UpdateByTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/UpdateByTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/UpdateTable.java b/qst/src/main/java/io/deephaven/qst/table/UpdateTable.java index 3954e413bca..3d211b0d73c 100644 --- a/qst/src/main/java/io/deephaven/qst/table/UpdateTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/UpdateTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/UpdateViewTable.java b/qst/src/main/java/io/deephaven/qst/table/UpdateViewTable.java index 74985f9cf48..d247aaffa9a 100644 --- a/qst/src/main/java/io/deephaven/qst/table/UpdateViewTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/UpdateViewTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/ViewTable.java b/qst/src/main/java/io/deephaven/qst/table/ViewTable.java index 828fbf07596..73d16dbcc03 100644 --- a/qst/src/main/java/io/deephaven/qst/table/ViewTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/ViewTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/WhereInTable.java b/qst/src/main/java/io/deephaven/qst/table/WhereInTable.java index 48df200ad92..52daabcb9e0 100644 --- a/qst/src/main/java/io/deephaven/qst/table/WhereInTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/WhereInTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/main/java/io/deephaven/qst/table/WhereTable.java b/qst/src/main/java/io/deephaven/qst/table/WhereTable.java index 020a0d9f6f4..8728f8a1f00 100644 --- a/qst/src/main/java/io/deephaven/qst/table/WhereTable.java +++ b/qst/src/main/java/io/deephaven/qst/table/WhereTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.annotations.NodeStyle; diff --git a/qst/src/test/java/io/deephaven/qst/array/BooleanArrayTest.java b/qst/src/test/java/io/deephaven/qst/array/BooleanArrayTest.java index 1789a2cce7b..b46e2b23e99 100644 --- a/qst/src/test/java/io/deephaven/qst/array/BooleanArrayTest.java +++ b/qst/src/test/java/io/deephaven/qst/array/BooleanArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.util.BooleanUtils; diff --git a/qst/src/test/java/io/deephaven/qst/array/ByteArrayTest.java b/qst/src/test/java/io/deephaven/qst/array/ByteArrayTest.java index 25d64b89ce7..822c8027bf9 100644 --- a/qst/src/test/java/io/deephaven/qst/array/ByteArrayTest.java +++ b/qst/src/test/java/io/deephaven/qst/array/ByteArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.util.QueryConstants; diff --git a/qst/src/test/java/io/deephaven/qst/array/CharArrayTest.java b/qst/src/test/java/io/deephaven/qst/array/CharArrayTest.java index 501367958a1..f3093e33602 100644 --- a/qst/src/test/java/io/deephaven/qst/array/CharArrayTest.java +++ b/qst/src/test/java/io/deephaven/qst/array/CharArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.util.QueryConstants; diff --git a/qst/src/test/java/io/deephaven/qst/array/DoubleArrayTest.java b/qst/src/test/java/io/deephaven/qst/array/DoubleArrayTest.java index f085ee85549..2ab94634e9f 100644 --- a/qst/src/test/java/io/deephaven/qst/array/DoubleArrayTest.java +++ b/qst/src/test/java/io/deephaven/qst/array/DoubleArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.util.QueryConstants; diff --git a/qst/src/test/java/io/deephaven/qst/array/FloatArrayTest.java b/qst/src/test/java/io/deephaven/qst/array/FloatArrayTest.java index ed757819814..34186e978e5 100644 --- a/qst/src/test/java/io/deephaven/qst/array/FloatArrayTest.java +++ b/qst/src/test/java/io/deephaven/qst/array/FloatArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.util.QueryConstants; diff --git a/qst/src/test/java/io/deephaven/qst/array/GenericArrayBuilderTest.java b/qst/src/test/java/io/deephaven/qst/array/GenericArrayBuilderTest.java index 58259e50068..885a8383a8b 100644 --- a/qst/src/test/java/io/deephaven/qst/array/GenericArrayBuilderTest.java +++ b/qst/src/test/java/io/deephaven/qst/array/GenericArrayBuilderTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.qst.type.Type; diff --git a/qst/src/test/java/io/deephaven/qst/array/IntArrayTest.java b/qst/src/test/java/io/deephaven/qst/array/IntArrayTest.java index 5a8955d4074..76b19e85e58 100644 --- a/qst/src/test/java/io/deephaven/qst/array/IntArrayTest.java +++ b/qst/src/test/java/io/deephaven/qst/array/IntArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.util.QueryConstants; diff --git a/qst/src/test/java/io/deephaven/qst/array/LongArrayTest.java b/qst/src/test/java/io/deephaven/qst/array/LongArrayTest.java index 910a6c41674..fa4f6a94ee5 100644 --- a/qst/src/test/java/io/deephaven/qst/array/LongArrayTest.java +++ b/qst/src/test/java/io/deephaven/qst/array/LongArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.util.QueryConstants; diff --git a/qst/src/test/java/io/deephaven/qst/array/ShortArrayTest.java b/qst/src/test/java/io/deephaven/qst/array/ShortArrayTest.java index e656a878d06..35f2913229a 100644 --- a/qst/src/test/java/io/deephaven/qst/array/ShortArrayTest.java +++ b/qst/src/test/java/io/deephaven/qst/array/ShortArrayTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.array; import io.deephaven.util.QueryConstants; diff --git a/qst/src/test/java/io/deephaven/qst/column/header/ColumnHeaderTest.java b/qst/src/test/java/io/deephaven/qst/column/header/ColumnHeaderTest.java index cdf04977aa3..9a6f125ca72 100644 --- a/qst/src/test/java/io/deephaven/qst/column/header/ColumnHeaderTest.java +++ b/qst/src/test/java/io/deephaven/qst/column/header/ColumnHeaderTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.column.header; import org.junit.jupiter.api.Test; diff --git a/qst/src/test/java/io/deephaven/qst/column/header/ColumnHeadersTest.java b/qst/src/test/java/io/deephaven/qst/column/header/ColumnHeadersTest.java index a628c1b7272..a3836945484 100644 --- a/qst/src/test/java/io/deephaven/qst/column/header/ColumnHeadersTest.java +++ b/qst/src/test/java/io/deephaven/qst/column/header/ColumnHeadersTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.column.header; import io.deephaven.qst.array.BooleanArray; diff --git a/qst/src/test/java/io/deephaven/qst/examples/EmployeesExample.java b/qst/src/test/java/io/deephaven/qst/examples/EmployeesExample.java index b838cc5ca8c..7d7ac604e61 100644 --- a/qst/src/test/java/io/deephaven/qst/examples/EmployeesExample.java +++ b/qst/src/test/java/io/deephaven/qst/examples/EmployeesExample.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.examples; import io.deephaven.qst.table.NewTable; diff --git a/qst/src/test/java/io/deephaven/qst/table/FriendlyStringTest.java b/qst/src/test/java/io/deephaven/qst/table/FriendlyStringTest.java index 24c95473e77..4f916fb0ae6 100644 --- a/qst/src/test/java/io/deephaven/qst/table/FriendlyStringTest.java +++ b/qst/src/test/java/io/deephaven/qst/table/FriendlyStringTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import org.junit.jupiter.api.Test; diff --git a/qst/src/test/java/io/deephaven/qst/table/GraphvizTest.java b/qst/src/test/java/io/deephaven/qst/table/GraphvizTest.java index 7d9c893a98f..93f3d7eac32 100644 --- a/qst/src/test/java/io/deephaven/qst/table/GraphvizTest.java +++ b/qst/src/test/java/io/deephaven/qst/table/GraphvizTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import org.junit.jupiter.api.Test; diff --git a/qst/src/test/java/io/deephaven/qst/table/InMemoryAppendOnlyInputTableTest.java b/qst/src/test/java/io/deephaven/qst/table/InMemoryAppendOnlyInputTableTest.java index 125acf54801..b372e288e2c 100644 --- a/qst/src/test/java/io/deephaven/qst/table/InMemoryAppendOnlyInputTableTest.java +++ b/qst/src/test/java/io/deephaven/qst/table/InMemoryAppendOnlyInputTableTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.qst.column.header.ColumnHeader; diff --git a/qst/src/test/java/io/deephaven/qst/table/InMemoryKeyBackedInputTableTest.java b/qst/src/test/java/io/deephaven/qst/table/InMemoryKeyBackedInputTableTest.java index 505fa05bc1f..378be33f462 100644 --- a/qst/src/test/java/io/deephaven/qst/table/InMemoryKeyBackedInputTableTest.java +++ b/qst/src/test/java/io/deephaven/qst/table/InMemoryKeyBackedInputTableTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.qst.column.header.ColumnHeader; diff --git a/qst/src/test/java/io/deephaven/qst/table/NewTableTest.java b/qst/src/test/java/io/deephaven/qst/table/NewTableTest.java index b8ac020695e..2f2e9dc2b37 100644 --- a/qst/src/test/java/io/deephaven/qst/table/NewTableTest.java +++ b/qst/src/test/java/io/deephaven/qst/table/NewTableTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.qst.column.Column; diff --git a/qst/src/test/java/io/deephaven/qst/table/ParentsVisitorTest.java b/qst/src/test/java/io/deephaven/qst/table/ParentsVisitorTest.java index b6fa1bae2c4..d942ea95873 100644 --- a/qst/src/test/java/io/deephaven/qst/table/ParentsVisitorTest.java +++ b/qst/src/test/java/io/deephaven/qst/table/ParentsVisitorTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import org.junit.jupiter.api.Test; diff --git a/qst/src/test/java/io/deephaven/qst/table/StackTraceMixInTest.java b/qst/src/test/java/io/deephaven/qst/table/StackTraceMixInTest.java index 6cf0a03d86d..b849412f14e 100644 --- a/qst/src/test/java/io/deephaven/qst/table/StackTraceMixInTest.java +++ b/qst/src/test/java/io/deephaven/qst/table/StackTraceMixInTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import io.deephaven.api.TableOperations; diff --git a/qst/src/test/java/io/deephaven/qst/table/TableCreatorImplTest.java b/qst/src/test/java/io/deephaven/qst/table/TableCreatorImplTest.java index 16732f11112..59496344ed7 100644 --- a/qst/src/test/java/io/deephaven/qst/table/TableCreatorImplTest.java +++ b/qst/src/test/java/io/deephaven/qst/table/TableCreatorImplTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import static org.assertj.core.api.Assertions.assertThat; diff --git a/qst/src/test/java/io/deephaven/qst/table/TimeTableTest.java b/qst/src/test/java/io/deephaven/qst/table/TimeTableTest.java index 32b8118ae02..fc177dfd7bc 100644 --- a/qst/src/test/java/io/deephaven/qst/table/TimeTableTest.java +++ b/qst/src/test/java/io/deephaven/qst/table/TimeTableTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.table; import org.junit.jupiter.api.Test; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/ArrayType.java b/qst/type/src/main/java/io/deephaven/qst/type/ArrayType.java index 8e727ab7d33..364123d4916 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/ArrayType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/ArrayType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; /** diff --git a/qst/type/src/main/java/io/deephaven/qst/type/ArrayTypeBase.java b/qst/type/src/main/java/io/deephaven/qst/type/ArrayTypeBase.java index a7cfee381c5..1c75c47f297 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/ArrayTypeBase.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/ArrayTypeBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; public abstract class ArrayTypeBase extends GenericTypeBase diff --git a/qst/type/src/main/java/io/deephaven/qst/type/BooleanType.java b/qst/type/src/main/java/io/deephaven/qst/type/BooleanType.java index 4f5353b54ae..daef6acf178 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/BooleanType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/BooleanType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/BoxedBooleanType.java b/qst/type/src/main/java/io/deephaven/qst/type/BoxedBooleanType.java index cd5f84baade..72111b5a74b 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/BoxedBooleanType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/BoxedBooleanType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/BoxedByteType.java b/qst/type/src/main/java/io/deephaven/qst/type/BoxedByteType.java index 7cbb5b05c2b..6a16176dfdf 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/BoxedByteType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/BoxedByteType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/BoxedCharType.java b/qst/type/src/main/java/io/deephaven/qst/type/BoxedCharType.java index e1cca0be428..617255aa2c1 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/BoxedCharType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/BoxedCharType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/BoxedDoubleType.java b/qst/type/src/main/java/io/deephaven/qst/type/BoxedDoubleType.java index cf3c7cdf3c8..8517bc65018 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/BoxedDoubleType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/BoxedDoubleType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/BoxedFloatType.java b/qst/type/src/main/java/io/deephaven/qst/type/BoxedFloatType.java index 01c4256d428..94e2a24f2db 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/BoxedFloatType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/BoxedFloatType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/BoxedIntType.java b/qst/type/src/main/java/io/deephaven/qst/type/BoxedIntType.java index 08a0a35b650..8f9733ea01d 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/BoxedIntType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/BoxedIntType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/BoxedLongType.java b/qst/type/src/main/java/io/deephaven/qst/type/BoxedLongType.java index e58537dd439..3efcfddfba2 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/BoxedLongType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/BoxedLongType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/BoxedShortType.java b/qst/type/src/main/java/io/deephaven/qst/type/BoxedShortType.java index 0237ea504c8..0155a680ebb 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/BoxedShortType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/BoxedShortType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/BoxedType.java b/qst/type/src/main/java/io/deephaven/qst/type/BoxedType.java index 5ad6a6e1e6e..7caa3404f1e 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/BoxedType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/BoxedType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import java.util.stream.Stream; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/BoxedTypeBase.java b/qst/type/src/main/java/io/deephaven/qst/type/BoxedTypeBase.java index a2637233ef5..d850abca829 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/BoxedTypeBase.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/BoxedTypeBase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; public abstract class BoxedTypeBase extends GenericTypeBase implements BoxedType { diff --git a/qst/type/src/main/java/io/deephaven/qst/type/ByteType.java b/qst/type/src/main/java/io/deephaven/qst/type/ByteType.java index eeb4c84d751..0f94ada9979 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/ByteType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/ByteType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/CharType.java b/qst/type/src/main/java/io/deephaven/qst/type/CharType.java index a0fc2ea6e75..b55189ee784 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/CharType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/CharType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/ColumnTypeBase.java b/qst/type/src/main/java/io/deephaven/qst/type/ColumnTypeBase.java index 4c02d73c153..68cac8f3b23 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/ColumnTypeBase.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/ColumnTypeBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; public abstract class ColumnTypeBase implements Type { diff --git a/qst/type/src/main/java/io/deephaven/qst/type/CustomType.java b/qst/type/src/main/java/io/deephaven/qst/type/CustomType.java index 82c61eb2e90..75491a12d51 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/CustomType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/CustomType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/DoubleType.java b/qst/type/src/main/java/io/deephaven/qst/type/DoubleType.java index 750dbf8cab1..8dbb06bd37d 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/DoubleType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/DoubleType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/FloatType.java b/qst/type/src/main/java/io/deephaven/qst/type/FloatType.java index 46bc5588adf..c3100bc953d 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/FloatType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/FloatType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/GenericType.java b/qst/type/src/main/java/io/deephaven/qst/type/GenericType.java index 0b910e356d1..19bcda3ea1e 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/GenericType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/GenericType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; /** diff --git a/qst/type/src/main/java/io/deephaven/qst/type/GenericTypeBase.java b/qst/type/src/main/java/io/deephaven/qst/type/GenericTypeBase.java index 6ae2d2ee0b6..5419d07df6e 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/GenericTypeBase.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/GenericTypeBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; public abstract class GenericTypeBase extends ColumnTypeBase implements GenericType { diff --git a/qst/type/src/main/java/io/deephaven/qst/type/GenericVectorType.java b/qst/type/src/main/java/io/deephaven/qst/type/GenericVectorType.java index f3b68ac806e..b1945ee9198 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/GenericVectorType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/GenericVectorType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/InstantType.java b/qst/type/src/main/java/io/deephaven/qst/type/InstantType.java index 622c3de2780..032f7e6fbaf 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/InstantType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/InstantType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/IntType.java b/qst/type/src/main/java/io/deephaven/qst/type/IntType.java index 626c8fedfce..6f208782403 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/IntType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/IntType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/LongType.java b/qst/type/src/main/java/io/deephaven/qst/type/LongType.java index 664a72f3175..5c06da3b0e9 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/LongType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/LongType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/NativeArrayType.java b/qst/type/src/main/java/io/deephaven/qst/type/NativeArrayType.java index 88b446b9e6e..49ee5b39a69 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/NativeArrayType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/NativeArrayType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/PrimitiveType.java b/qst/type/src/main/java/io/deephaven/qst/type/PrimitiveType.java index 8b372fa6f08..b0f4e024d80 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/PrimitiveType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/PrimitiveType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import java.util.stream.Stream; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/PrimitiveTypeBase.java b/qst/type/src/main/java/io/deephaven/qst/type/PrimitiveTypeBase.java index 1d559b50bde..28b83de4039 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/PrimitiveTypeBase.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/PrimitiveTypeBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; public abstract class PrimitiveTypeBase extends ColumnTypeBase implements PrimitiveType { diff --git a/qst/type/src/main/java/io/deephaven/qst/type/PrimitiveVectorType.java b/qst/type/src/main/java/io/deephaven/qst/type/PrimitiveVectorType.java index 837eb826b80..7d006c40e5d 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/PrimitiveVectorType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/PrimitiveVectorType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SimpleStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/ShortType.java b/qst/type/src/main/java/io/deephaven/qst/type/ShortType.java index 5cba26941b5..feb078c5626 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/ShortType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/ShortType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/StringType.java b/qst/type/src/main/java/io/deephaven/qst/type/StringType.java index 2102a8c1258..d90ea035f8d 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/StringType.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/StringType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import io.deephaven.annotations.SingletonStyle; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/Type.java b/qst/type/src/main/java/io/deephaven/qst/type/Type.java index f3f70258792..0c8db1bc983 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/Type.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/Type.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import java.util.List; diff --git a/qst/type/src/main/java/io/deephaven/qst/type/TypeHelper.java b/qst/type/src/main/java/io/deephaven/qst/type/TypeHelper.java index fcbb1e9de2c..96b41f8c9b8 100644 --- a/qst/type/src/main/java/io/deephaven/qst/type/TypeHelper.java +++ b/qst/type/src/main/java/io/deephaven/qst/type/TypeHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import java.lang.reflect.InvocationTargetException; diff --git a/qst/type/src/test/java/io/deephaven/qst/type/CustomTypeTest.java b/qst/type/src/test/java/io/deephaven/qst/type/CustomTypeTest.java index b55aee0c90c..0111b0bbf4e 100644 --- a/qst/type/src/test/java/io/deephaven/qst/type/CustomTypeTest.java +++ b/qst/type/src/test/java/io/deephaven/qst/type/CustomTypeTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import static org.assertj.core.api.Assertions.failBecauseExceptionWasNotThrown; diff --git a/qst/type/src/test/java/io/deephaven/qst/type/TypeTest.java b/qst/type/src/test/java/io/deephaven/qst/type/TypeTest.java index 21f867f2ae4..1bd5a2e4df1 100644 --- a/qst/type/src/test/java/io/deephaven/qst/type/TypeTest.java +++ b/qst/type/src/test/java/io/deephaven/qst/type/TypeTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.qst.type; import org.junit.jupiter.api.Test; diff --git a/replication/reflective/src/main/java/io/deephaven/replicators/ReplicateHashTable.java b/replication/reflective/src/main/java/io/deephaven/replicators/ReplicateHashTable.java index a7054cb93bd..971675eccee 100644 --- a/replication/reflective/src/main/java/io/deephaven/replicators/ReplicateHashTable.java +++ b/replication/reflective/src/main/java/io/deephaven/replicators/ReplicateHashTable.java @@ -267,14 +267,14 @@ private static void doReplicate(final String sourceClassJavaFile, iterator.remove(); } rewrittenLines.addAll(0, Arrays.asList("//", - "// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending", - "//", - "// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY", - "// ****** Edit " + ReplicationUtils.className(sourceClassJavaFile) - + " and run \"./gradlew replicateHashTable\" to regenerate", - "//", - "// @formatter:off", - "")); + "// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending", + "//", + "// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY", + "// ****** Edit " + ReplicationUtils.className(sourceClassJavaFile) + + " and run \"./gradlew replicateHashTable\" to regenerate", + "//", + "// @formatter:off", + "")); FileUtils.writeLines(destinationFile, rewrittenLines); System.out.println("Wrote: " + destinationClassJavaFile); diff --git a/replication/static/src/main/java/io/deephaven/replicators/ReplicateDupCompactKernel.java b/replication/static/src/main/java/io/deephaven/replicators/ReplicateDupCompactKernel.java index 2d11844b6cc..29d0d5d6eca 100644 --- a/replication/static/src/main/java/io/deephaven/replicators/ReplicateDupCompactKernel.java +++ b/replication/static/src/main/java/io/deephaven/replicators/ReplicateDupCompactKernel.java @@ -132,8 +132,7 @@ private static List ascendingNameToDescendingName(String path, List line.startsWith("//")) - ).collect(Collectors.toList()); + lines.stream().dropWhile(line -> line.startsWith("//"))).collect(Collectors.toList()); return globalReplacements(lines, className, newName); } diff --git a/replication/static/src/main/java/io/deephaven/replicators/ReplicateSegmentedSortedArray.java b/replication/static/src/main/java/io/deephaven/replicators/ReplicateSegmentedSortedArray.java index aa1e742496a..6f784f3f491 100644 --- a/replication/static/src/main/java/io/deephaven/replicators/ReplicateSegmentedSortedArray.java +++ b/replication/static/src/main/java/io/deephaven/replicators/ReplicateSegmentedSortedArray.java @@ -146,8 +146,7 @@ private static void invertSense(String path, String descendingPath) throws IOExc // Skip, re-add file header lines = Stream.concat( ReplicationUtils.fileHeaderStream(TASK, ReplicationUtils.className(path)), - lines.stream().dropWhile(line -> line.startsWith("//")) - ).collect(Collectors.toList()); + lines.stream().dropWhile(line -> line.startsWith("//"))).collect(Collectors.toList()); if (path.contains("ChunkSsaStamp") || path.contains("SsaSsaStamp") || path.contains("SsaChecker")) { lines = globalReplacements(lines, "\\BSegmentedSortedArray", "ReverseSegmentedSortedArray"); @@ -177,8 +176,7 @@ private static void fixupSsaName(String path, String oldName, String newName) th // Skip, re-add file header lines = Stream.concat( ReplicationUtils.fileHeaderStream(TASK, ReplicationUtils.className(path)), - lines.stream().dropWhile(line -> line.startsWith("//")) - ).collect(Collectors.toList()); + lines.stream().dropWhile(line -> line.startsWith("//"))).collect(Collectors.toList()); lines = globalReplacements(lines, oldName, newName); FileUtils.writeLines(new File(path), lines); @@ -192,8 +190,7 @@ private static List ascendingNameToDescendingName(String path, List line.startsWith("//")) - ).collect(Collectors.toList()); + lines.stream().dropWhile(line -> line.startsWith("//"))).collect(Collectors.toList()); return globalReplacements(lines, className, newName); } diff --git a/replication/static/src/main/java/io/deephaven/replicators/ReplicateSortCheck.java b/replication/static/src/main/java/io/deephaven/replicators/ReplicateSortCheck.java index a2d4c995395..8354ad38e10 100644 --- a/replication/static/src/main/java/io/deephaven/replicators/ReplicateSortCheck.java +++ b/replication/static/src/main/java/io/deephaven/replicators/ReplicateSortCheck.java @@ -61,8 +61,7 @@ private static List ascendingNameToDescendingName(String path, List line.startsWith("//")) - ).collect(Collectors.toList()); + lines.stream().dropWhile(line -> line.startsWith("//"))).collect(Collectors.toList()); return globalReplacements(lines, className, newName); } diff --git a/replication/static/src/main/java/io/deephaven/replicators/ReplicateSortKernel.java b/replication/static/src/main/java/io/deephaven/replicators/ReplicateSortKernel.java index 8e256ef7f70..96a032e20a4 100644 --- a/replication/static/src/main/java/io/deephaven/replicators/ReplicateSortKernel.java +++ b/replication/static/src/main/java/io/deephaven/replicators/ReplicateSortKernel.java @@ -175,7 +175,8 @@ private static void fixupByteSortKernel(String byteSortKernelPath) throws IOExce private static void invertSense(String path, String descendingPath) throws IOException { final File file = new File(path); - final List lines = ascendingNameToDescendingName(path, FileUtils.readLines(file, Charset.defaultCharset())); + final List lines = + ascendingNameToDescendingName(path, FileUtils.readLines(file, Charset.defaultCharset())); FileUtils.writeLines(new File(descendingPath), invertComparisons(lines)); } @@ -186,8 +187,7 @@ private static List ascendingNameToDescendingName(String sourceFile, Lis // Skip, re-add file header lines = Stream.concat( ReplicationUtils.fileHeaderStream(TASK, ReplicationUtils.className(sourceFile)), - lines.stream().dropWhile(line -> line.startsWith("//")) - ).collect(Collectors.toList()); + lines.stream().dropWhile(line -> line.startsWith("//"))).collect(Collectors.toList()); return globalReplacements(lines, "TimsortKernel", "TimsortDescendingKernel", "\\BLongMegaMergeKernel", "LongMegaMergeDescendingKernel"); diff --git a/replication/static/src/main/java/io/deephaven/replicators/ReplicateStampKernel.java b/replication/static/src/main/java/io/deephaven/replicators/ReplicateStampKernel.java index 5aac8171ea5..29aa76ef73a 100644 --- a/replication/static/src/main/java/io/deephaven/replicators/ReplicateStampKernel.java +++ b/replication/static/src/main/java/io/deephaven/replicators/ReplicateStampKernel.java @@ -80,8 +80,7 @@ private static List ascendingNameToDescendingName(String path, List line.startsWith("//")) - ).collect(Collectors.toList()); + lines.stream().dropWhile(line -> line.startsWith("//"))).collect(Collectors.toList()); return globalReplacements(lines, className, newName); } diff --git a/replication/static/src/main/java/io/deephaven/replicators/ReplicateUpdateBy.java b/replication/static/src/main/java/io/deephaven/replicators/ReplicateUpdateBy.java index 15d8f242c16..43d66fd3158 100644 --- a/replication/static/src/main/java/io/deephaven/replicators/ReplicateUpdateBy.java +++ b/replication/static/src/main/java/io/deephaven/replicators/ReplicateUpdateBy.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.replicators; import io.deephaven.replication.ReplicatePrimitiveCode; diff --git a/replication/static/src/main/java/io/deephaven/replicators/TupleSourceCodeGenerator.java b/replication/static/src/main/java/io/deephaven/replicators/TupleSourceCodeGenerator.java index 1ee0f242dbc..5eb2f17e54c 100644 --- a/replication/static/src/main/java/io/deephaven/replicators/TupleSourceCodeGenerator.java +++ b/replication/static/src/main/java/io/deephaven/replicators/TupleSourceCodeGenerator.java @@ -246,7 +246,8 @@ private String generateTwoColumnTupleSource(@NotNull final String className, @No final String[] extraImports = new String[] {TupleCodeGenerator.getTupleImport(tupleClassName), TWO_COLUMN_FACTORY_NAME}; - code.append(ReplicationUtils.fileHeaderString("replicateTupleSources", TupleSourceCodeGenerator.class.getSimpleName())); + code.append(ReplicationUtils.fileHeaderString("replicateTupleSources", + TupleSourceCodeGenerator.class.getSimpleName())); code.append("package ").append(OUTPUT_PACKAGE).append(';').append(NEW_LINE); @@ -512,7 +513,8 @@ private String generateThreeColumnTupleSource(@NotNull final String className, final String[] extraImports = new String[] {TupleCodeGenerator.getTupleImport(tupleClassName), "io.deephaven.engine.table.impl.tuplesource.ThreeColumnTupleSourceFactory"}; - code.append(ReplicationUtils.fileHeaderString("replicateTupleSources", TupleSourceCodeGenerator.class.getSimpleName())); + code.append(ReplicationUtils.fileHeaderString("replicateTupleSources", + TupleSourceCodeGenerator.class.getSimpleName())); code.append("package ").append(OUTPUT_PACKAGE).append(';').append(NEW_LINE); diff --git a/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomApplication1.java b/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomApplication1.java index f3c04954dde..c46b2082733 100644 --- a/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomApplication1.java +++ b/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomApplication1.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.custom; import io.deephaven.appmode.ApplicationState; diff --git a/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomApplication2.java b/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomApplication2.java index 8baadb3075d..d43cd590adb 100644 --- a/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomApplication2.java +++ b/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomApplication2.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.custom; import io.deephaven.appmode.ApplicationState; diff --git a/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomAuthorization.java b/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomAuthorization.java index bec279b246e..4dbfeaa9e50 100644 --- a/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomAuthorization.java +++ b/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomAuthorization.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.custom; import io.deephaven.auth.codegen.impl.InputTableServiceContextualAuthWiring; diff --git a/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomComponentFactory.java b/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomComponentFactory.java index fdea8432af3..543514b8fee 100644 --- a/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomComponentFactory.java +++ b/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomComponentFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.custom; import dagger.Binds; diff --git a/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomMain.java b/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomMain.java index 0e54796a3a8..35684e7af1d 100644 --- a/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomMain.java +++ b/server/jetty-app-custom/src/main/java/io/deephaven/server/custom/CustomMain.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.custom; import io.deephaven.configuration.Configuration; diff --git a/server/jetty-app/src/main/java/io/deephaven/server/jetty/JettyMain.java b/server/jetty-app/src/main/java/io/deephaven/server/jetty/JettyMain.java index c0b8b1d6c23..9c78b757d59 100644 --- a/server/jetty-app/src/main/java/io/deephaven/server/jetty/JettyMain.java +++ b/server/jetty-app/src/main/java/io/deephaven/server/jetty/JettyMain.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import io.deephaven.configuration.Configuration; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/CacheFilter.java b/server/jetty/src/main/java/io/deephaven/server/jetty/CacheFilter.java index 4559512d162..deb095b5150 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/CacheFilter.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/CacheFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import jakarta.servlet.Filter; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/CommunityComponentFactory.java b/server/jetty/src/main/java/io/deephaven/server/jetty/CommunityComponentFactory.java index 4f7dac23953..9b91fd187ea 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/CommunityComponentFactory.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/CommunityComponentFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import dagger.Component; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/ControlledCacheResource.java b/server/jetty/src/main/java/io/deephaven/server/jetty/ControlledCacheResource.java index 3140ac46132..2a7dbab20d4 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/ControlledCacheResource.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/ControlledCacheResource.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import org.eclipse.jetty.util.resource.Resource; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/CopyHelper.java b/server/jetty/src/main/java/io/deephaven/server/jetty/CopyHelper.java index ccd6ab2f802..c407f5aca60 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/CopyHelper.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/CopyHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import java.io.IOException; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/DropIfModifiedSinceHeader.java b/server/jetty/src/main/java/io/deephaven/server/jetty/DropIfModifiedSinceHeader.java index 0e47bf5ce59..433a86a5327 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/DropIfModifiedSinceHeader.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/DropIfModifiedSinceHeader.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import jakarta.servlet.FilterChain; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/GrpcFilter.java b/server/jetty/src/main/java/io/deephaven/server/jetty/GrpcFilter.java index d7547d5b4b9..04e499b1175 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/GrpcFilter.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/GrpcFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import io.deephaven.configuration.Configuration; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/HomeFilter.java b/server/jetty/src/main/java/io/deephaven/server/jetty/HomeFilter.java index f04fe22da20..8bd64a49f32 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/HomeFilter.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/HomeFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import jakarta.servlet.Filter; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/JettyBackedGrpcServer.java b/server/jetty/src/main/java/io/deephaven/server/jetty/JettyBackedGrpcServer.java index 97e869601c8..6122b287bcc 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/JettyBackedGrpcServer.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/JettyBackedGrpcServer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import io.deephaven.server.browserstreaming.BrowserStreamInterceptor; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/JettyCertInterceptor.java b/server/jetty/src/main/java/io/deephaven/server/jetty/JettyCertInterceptor.java index 76e82fc36d8..eed4cc1e35c 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/JettyCertInterceptor.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/JettyCertInterceptor.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import io.deephaven.grpc.AbstractMtlsClientCertificateInterceptor; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/JettyConfig.java b/server/jetty/src/main/java/io/deephaven/server/jetty/JettyConfig.java index ed599cc9405..109cd2371d3 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/JettyConfig.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/JettyConfig.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import io.deephaven.annotations.BuildableStyle; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/JettyServerComponent.java b/server/jetty/src/main/java/io/deephaven/server/jetty/JettyServerComponent.java index b383b67cf81..eeb756a8f1b 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/JettyServerComponent.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/JettyServerComponent.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import dagger.BindsInstance; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/JettyServerModule.java b/server/jetty/src/main/java/io/deephaven/server/jetty/JettyServerModule.java index 4460ce47224..ce105435c90 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/JettyServerModule.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/JettyServerModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import dagger.Binds; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/JsPlugins.java b/server/jetty/src/main/java/io/deephaven/server/jetty/JsPlugins.java index 41f1527c52a..40017a27737 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/JsPlugins.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/JsPlugins.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import io.deephaven.plugin.js.JsPlugin; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/JsPluginsZipFilesystem.java b/server/jetty/src/main/java/io/deephaven/server/jetty/JsPluginsZipFilesystem.java index 7250a8e71b0..9e8dedded60 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/JsPluginsZipFilesystem.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/JsPluginsZipFilesystem.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import io.deephaven.configuration.CacheDir; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/Json.java b/server/jetty/src/main/java/io/deephaven/server/jetty/Json.java index dc7d0395061..8ff9b2e079e 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/Json.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/Json.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import com.fasterxml.jackson.databind.DeserializationFeature; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/NoCacheFilter.java b/server/jetty/src/main/java/io/deephaven/server/jetty/NoCacheFilter.java index 9a76d84e4aa..21d0118b69b 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/NoCacheFilter.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/NoCacheFilter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import jakarta.servlet.Filter; diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/WebsocketFactory.java b/server/jetty/src/main/java/io/deephaven/server/jetty/WebsocketFactory.java index bfe8b021189..a034239e3e2 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/WebsocketFactory.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/WebsocketFactory.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import io.grpc.servlet.web.websocket.GrpcWebsocket; diff --git a/server/jetty/src/test/java/io/deephaven/server/jetty/JettyFlightRoundTripTest.java b/server/jetty/src/test/java/io/deephaven/server/jetty/JettyFlightRoundTripTest.java index 7278b18ee3f..84a1c6b9253 100644 --- a/server/jetty/src/test/java/io/deephaven/server/jetty/JettyFlightRoundTripTest.java +++ b/server/jetty/src/test/java/io/deephaven/server/jetty/JettyFlightRoundTripTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty; import dagger.Component; diff --git a/server/jetty/src/test/java/io/deephaven/server/jetty/js/Example123Registration.java b/server/jetty/src/test/java/io/deephaven/server/jetty/js/Example123Registration.java index 9fd0e7300fb..b88294bd7dd 100644 --- a/server/jetty/src/test/java/io/deephaven/server/jetty/js/Example123Registration.java +++ b/server/jetty/src/test/java/io/deephaven/server/jetty/js/Example123Registration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty.js; import io.deephaven.plugin.Registration; diff --git a/server/jetty/src/test/java/io/deephaven/server/jetty/js/Sentinel.java b/server/jetty/src/test/java/io/deephaven/server/jetty/js/Sentinel.java index ff61539b94e..6f1e7056ba8 100644 --- a/server/jetty/src/test/java/io/deephaven/server/jetty/js/Sentinel.java +++ b/server/jetty/src/test/java/io/deephaven/server/jetty/js/Sentinel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.jetty.js; public class Sentinel { diff --git a/server/jetty/src/test/java/io/deephaven/server/plugin/js/JsPluginsManifestRegistration.java b/server/jetty/src/test/java/io/deephaven/server/plugin/js/JsPluginsManifestRegistration.java index 508eae4521e..500e7ebc0fb 100644 --- a/server/jetty/src/test/java/io/deephaven/server/plugin/js/JsPluginsManifestRegistration.java +++ b/server/jetty/src/test/java/io/deephaven/server/plugin/js/JsPluginsManifestRegistration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.js; import io.deephaven.plugin.Registration; diff --git a/server/jetty/src/test/java/io/deephaven/server/plugin/js/JsPluginsNpmPackageRegistration.java b/server/jetty/src/test/java/io/deephaven/server/plugin/js/JsPluginsNpmPackageRegistration.java index ded46d30b7d..792bf9c7bba 100644 --- a/server/jetty/src/test/java/io/deephaven/server/plugin/js/JsPluginsNpmPackageRegistration.java +++ b/server/jetty/src/test/java/io/deephaven/server/plugin/js/JsPluginsNpmPackageRegistration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.js; import io.deephaven.plugin.Registration; diff --git a/server/netty-app/src/main/java/io/deephaven/server/netty/NettyMain.java b/server/netty-app/src/main/java/io/deephaven/server/netty/NettyMain.java index bbbbc27f81a..dc0d5bbc19a 100644 --- a/server/netty-app/src/main/java/io/deephaven/server/netty/NettyMain.java +++ b/server/netty-app/src/main/java/io/deephaven/server/netty/NettyMain.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.netty; import io.deephaven.configuration.Configuration; diff --git a/server/netty/src/main/java/io/deephaven/server/netty/DeprecatedCommunityComponentFactory.java b/server/netty/src/main/java/io/deephaven/server/netty/DeprecatedCommunityComponentFactory.java index 7951b62a220..6e22f799200 100644 --- a/server/netty/src/main/java/io/deephaven/server/netty/DeprecatedCommunityComponentFactory.java +++ b/server/netty/src/main/java/io/deephaven/server/netty/DeprecatedCommunityComponentFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.netty; import dagger.BindsInstance; diff --git a/server/netty/src/main/java/io/deephaven/server/netty/NettyConfig.java b/server/netty/src/main/java/io/deephaven/server/netty/NettyConfig.java index 579c99b8e3f..8ff7f8c5c46 100644 --- a/server/netty/src/main/java/io/deephaven/server/netty/NettyConfig.java +++ b/server/netty/src/main/java/io/deephaven/server/netty/NettyConfig.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.netty; import io.deephaven.annotations.BuildableStyle; diff --git a/server/netty/src/main/java/io/deephaven/server/netty/NettyServerModule.java b/server/netty/src/main/java/io/deephaven/server/netty/NettyServerModule.java index b561b92a613..0a8aaf0e52f 100644 --- a/server/netty/src/main/java/io/deephaven/server/netty/NettyServerModule.java +++ b/server/netty/src/main/java/io/deephaven/server/netty/NettyServerModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.netty; import dagger.Binds; diff --git a/server/netty/src/test/java/io/deephaven/server/netty/NettyFlightRoundTripTest.java b/server/netty/src/test/java/io/deephaven/server/netty/NettyFlightRoundTripTest.java index 89cc9833d26..b451179d026 100644 --- a/server/netty/src/test/java/io/deephaven/server/netty/NettyFlightRoundTripTest.java +++ b/server/netty/src/test/java/io/deephaven/server/netty/NettyFlightRoundTripTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.netty; import dagger.Component; diff --git a/server/src/main/java/io/deephaven/server/appmode/AppFieldId.java b/server/src/main/java/io/deephaven/server/appmode/AppFieldId.java index e707d6028e3..96c7557e388 100644 --- a/server/src/main/java/io/deephaven/server/appmode/AppFieldId.java +++ b/server/src/main/java/io/deephaven/server/appmode/AppFieldId.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.appmode; import com.google.common.base.Objects; diff --git a/server/src/main/java/io/deephaven/server/appmode/AppModeModule.java b/server/src/main/java/io/deephaven/server/appmode/AppModeModule.java index 996b6cf08bc..dff5035e006 100644 --- a/server/src/main/java/io/deephaven/server/appmode/AppModeModule.java +++ b/server/src/main/java/io/deephaven/server/appmode/AppModeModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.appmode; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/appmode/ApplicationFactory.java b/server/src/main/java/io/deephaven/server/appmode/ApplicationFactory.java index 962db56ce6b..b66b9930258 100644 --- a/server/src/main/java/io/deephaven/server/appmode/ApplicationFactory.java +++ b/server/src/main/java/io/deephaven/server/appmode/ApplicationFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.appmode; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/appmode/ApplicationInjector.java b/server/src/main/java/io/deephaven/server/appmode/ApplicationInjector.java index e5ab2edbbde..39c9c8b037c 100644 --- a/server/src/main/java/io/deephaven/server/appmode/ApplicationInjector.java +++ b/server/src/main/java/io/deephaven/server/appmode/ApplicationInjector.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.appmode; import io.deephaven.appmode.ApplicationConfig; diff --git a/server/src/main/java/io/deephaven/server/appmode/ApplicationServiceGrpcImpl.java b/server/src/main/java/io/deephaven/server/appmode/ApplicationServiceGrpcImpl.java index c40fcf913ff..84ae62edf7d 100644 --- a/server/src/main/java/io/deephaven/server/appmode/ApplicationServiceGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/appmode/ApplicationServiceGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.appmode; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/appmode/ApplicationStates.java b/server/src/main/java/io/deephaven/server/appmode/ApplicationStates.java index 7be6080ca6c..ee27c0dc484 100644 --- a/server/src/main/java/io/deephaven/server/appmode/ApplicationStates.java +++ b/server/src/main/java/io/deephaven/server/appmode/ApplicationStates.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.appmode; import io.deephaven.appmode.ApplicationState; diff --git a/server/src/main/java/io/deephaven/server/appmode/ApplicationTicketResolver.java b/server/src/main/java/io/deephaven/server/appmode/ApplicationTicketResolver.java index e67a2f27447..cf76f5caa86 100644 --- a/server/src/main/java/io/deephaven/server/appmode/ApplicationTicketResolver.java +++ b/server/src/main/java/io/deephaven/server/appmode/ApplicationTicketResolver.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.appmode; import com.google.protobuf.ByteStringAccess; diff --git a/server/src/main/java/io/deephaven/server/appmode/ApplicationsModule.java b/server/src/main/java/io/deephaven/server/appmode/ApplicationsModule.java index 616cd217607..f57db5e3a80 100644 --- a/server/src/main/java/io/deephaven/server/appmode/ApplicationsModule.java +++ b/server/src/main/java/io/deephaven/server/appmode/ApplicationsModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.appmode; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/appmode/ScriptApplicationState.java b/server/src/main/java/io/deephaven/server/appmode/ScriptApplicationState.java index 37e2158ee66..8b62b0a8d43 100644 --- a/server/src/main/java/io/deephaven/server/appmode/ScriptApplicationState.java +++ b/server/src/main/java/io/deephaven/server/appmode/ScriptApplicationState.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.appmode; import io.deephaven.appmode.ApplicationState; diff --git a/server/src/main/java/io/deephaven/server/arrow/ArrowFlightUtil.java b/server/src/main/java/io/deephaven/server/arrow/ArrowFlightUtil.java index 68e2138dcaf..0a447636d6f 100644 --- a/server/src/main/java/io/deephaven/server/arrow/ArrowFlightUtil.java +++ b/server/src/main/java/io/deephaven/server/arrow/ArrowFlightUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.arrow; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/arrow/ArrowModule.java b/server/src/main/java/io/deephaven/server/arrow/ArrowModule.java index 0cc1e95146c..727bcf51368 100644 --- a/server/src/main/java/io/deephaven/server/arrow/ArrowModule.java +++ b/server/src/main/java/io/deephaven/server/arrow/ArrowModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.arrow; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/arrow/BrowserFlightServiceGrpcBinding.java b/server/src/main/java/io/deephaven/server/arrow/BrowserFlightServiceGrpcBinding.java index d2e3571e519..d5b9877cbdf 100644 --- a/server/src/main/java/io/deephaven/server/arrow/BrowserFlightServiceGrpcBinding.java +++ b/server/src/main/java/io/deephaven/server/arrow/BrowserFlightServiceGrpcBinding.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.arrow; import io.deephaven.flightjs.protocol.BrowserFlight; diff --git a/server/src/main/java/io/deephaven/server/arrow/FlightServiceGrpcBinding.java b/server/src/main/java/io/deephaven/server/arrow/FlightServiceGrpcBinding.java index 9c44b2fa0c1..e4a6e6b282e 100644 --- a/server/src/main/java/io/deephaven/server/arrow/FlightServiceGrpcBinding.java +++ b/server/src/main/java/io/deephaven/server/arrow/FlightServiceGrpcBinding.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.arrow; import io.deephaven.server.util.GrpcServiceOverrideBuilder; diff --git a/server/src/main/java/io/deephaven/server/arrow/FlightServiceGrpcImpl.java b/server/src/main/java/io/deephaven/server/arrow/FlightServiceGrpcImpl.java index ca0b55a69b5..ca2df8a7827 100644 --- a/server/src/main/java/io/deephaven/server/arrow/FlightServiceGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/arrow/FlightServiceGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.arrow; import com.google.protobuf.ByteString; diff --git a/server/src/main/java/io/deephaven/server/auth/AllowAllAuthorizationProvider.java b/server/src/main/java/io/deephaven/server/auth/AllowAllAuthorizationProvider.java index cd50daaf4c8..13410925b62 100644 --- a/server/src/main/java/io/deephaven/server/auth/AllowAllAuthorizationProvider.java +++ b/server/src/main/java/io/deephaven/server/auth/AllowAllAuthorizationProvider.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.auth; import io.deephaven.auth.AuthContext; diff --git a/server/src/main/java/io/deephaven/server/auth/AuthContextModule.java b/server/src/main/java/io/deephaven/server/auth/AuthContextModule.java index 2e66e798305..36517f8fcdc 100644 --- a/server/src/main/java/io/deephaven/server/auth/AuthContextModule.java +++ b/server/src/main/java/io/deephaven/server/auth/AuthContextModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.auth; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/auth/AuthorizationProvider.java b/server/src/main/java/io/deephaven/server/auth/AuthorizationProvider.java index 82823cb09cd..374229bd915 100644 --- a/server/src/main/java/io/deephaven/server/auth/AuthorizationProvider.java +++ b/server/src/main/java/io/deephaven/server/auth/AuthorizationProvider.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.auth; import io.deephaven.auth.AuthContext; diff --git a/server/src/main/java/io/deephaven/server/auth/CommunityAuthorizationModule.java b/server/src/main/java/io/deephaven/server/auth/CommunityAuthorizationModule.java index bf1e46922f7..b9742d9ae0f 100644 --- a/server/src/main/java/io/deephaven/server/auth/CommunityAuthorizationModule.java +++ b/server/src/main/java/io/deephaven/server/auth/CommunityAuthorizationModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.auth; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/auth/CommunityAuthorizationProvider.java b/server/src/main/java/io/deephaven/server/auth/CommunityAuthorizationProvider.java index 6a3be2cd15f..0894ea7b30f 100644 --- a/server/src/main/java/io/deephaven/server/auth/CommunityAuthorizationProvider.java +++ b/server/src/main/java/io/deephaven/server/auth/CommunityAuthorizationProvider.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.auth; import javax.inject.Inject; diff --git a/server/src/main/java/io/deephaven/server/barrage/BarrageClientModule.java b/server/src/main/java/io/deephaven/server/barrage/BarrageClientModule.java index 8c75096c506..2fecf1275aa 100644 --- a/server/src/main/java/io/deephaven/server/barrage/BarrageClientModule.java +++ b/server/src/main/java/io/deephaven/server/barrage/BarrageClientModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.barrage; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/barrage/BarrageMessageProducer.java b/server/src/main/java/io/deephaven/server/barrage/BarrageMessageProducer.java index 66529776278..d62d56d0445 100644 --- a/server/src/main/java/io/deephaven/server/barrage/BarrageMessageProducer.java +++ b/server/src/main/java/io/deephaven/server/barrage/BarrageMessageProducer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.barrage; import com.google.common.annotations.VisibleForTesting; diff --git a/server/src/main/java/io/deephaven/server/browserstreaming/BrowserStream.java b/server/src/main/java/io/deephaven/server/browserstreaming/BrowserStream.java index 9f0d31ef58e..f9d776fdf9b 100644 --- a/server/src/main/java/io/deephaven/server/browserstreaming/BrowserStream.java +++ b/server/src/main/java/io/deephaven/server/browserstreaming/BrowserStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.browserstreaming; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/browserstreaming/BrowserStreamInterceptor.java b/server/src/main/java/io/deephaven/server/browserstreaming/BrowserStreamInterceptor.java index 583c22bd2c0..d093d66e9ed 100644 --- a/server/src/main/java/io/deephaven/server/browserstreaming/BrowserStreamInterceptor.java +++ b/server/src/main/java/io/deephaven/server/browserstreaming/BrowserStreamInterceptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.browserstreaming; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/browserstreaming/StreamData.java b/server/src/main/java/io/deephaven/server/browserstreaming/StreamData.java index 8ded97a83d0..d31a5f8acb4 100644 --- a/server/src/main/java/io/deephaven/server/browserstreaming/StreamData.java +++ b/server/src/main/java/io/deephaven/server/browserstreaming/StreamData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.browserstreaming; import io.deephaven.proto.backplane.grpc.Ticket; diff --git a/server/src/main/java/io/deephaven/server/config/ConfigServiceGrpcImpl.java b/server/src/main/java/io/deephaven/server/config/ConfigServiceGrpcImpl.java index 5aae217fbfd..54591fa9b53 100644 --- a/server/src/main/java/io/deephaven/server/config/ConfigServiceGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/config/ConfigServiceGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.config; import io.deephaven.configuration.Configuration; diff --git a/server/src/main/java/io/deephaven/server/config/ConfigServiceModule.java b/server/src/main/java/io/deephaven/server/config/ConfigServiceModule.java index ebfda5a4a90..2790bd352c2 100644 --- a/server/src/main/java/io/deephaven/server/config/ConfigServiceModule.java +++ b/server/src/main/java/io/deephaven/server/config/ConfigServiceModule.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.config; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/config/ServerConfig.java b/server/src/main/java/io/deephaven/server/config/ServerConfig.java index 82561fe838d..c5e2bd33cf3 100644 --- a/server/src/main/java/io/deephaven/server/config/ServerConfig.java +++ b/server/src/main/java/io/deephaven/server/config/ServerConfig.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.config; import io.deephaven.configuration.Configuration; diff --git a/server/src/main/java/io/deephaven/server/console/ConsoleModule.java b/server/src/main/java/io/deephaven/server/console/ConsoleModule.java index 74768398e7c..3aedc3d1336 100644 --- a/server/src/main/java/io/deephaven/server/console/ConsoleModule.java +++ b/server/src/main/java/io/deephaven/server/console/ConsoleModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.console; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/console/ConsoleServiceGrpcBinding.java b/server/src/main/java/io/deephaven/server/console/ConsoleServiceGrpcBinding.java index 6439f217b86..fce04773758 100644 --- a/server/src/main/java/io/deephaven/server/console/ConsoleServiceGrpcBinding.java +++ b/server/src/main/java/io/deephaven/server/console/ConsoleServiceGrpcBinding.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.console; import io.deephaven.internal.log.LoggerFactory; diff --git a/server/src/main/java/io/deephaven/server/console/ConsoleServiceGrpcImpl.java b/server/src/main/java/io/deephaven/server/console/ConsoleServiceGrpcImpl.java index 2dc6bfffbd3..25578fe057c 100644 --- a/server/src/main/java/io/deephaven/server/console/ConsoleServiceGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/console/ConsoleServiceGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.console; import com.google.common.base.Throwables; diff --git a/server/src/main/java/io/deephaven/server/console/ExecutionContextModule.java b/server/src/main/java/io/deephaven/server/console/ExecutionContextModule.java index e81eba1dc56..56497d78c7e 100644 --- a/server/src/main/java/io/deephaven/server/console/ExecutionContextModule.java +++ b/server/src/main/java/io/deephaven/server/console/ExecutionContextModule.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.console; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/console/NoConsoleSessionModule.java b/server/src/main/java/io/deephaven/server/console/NoConsoleSessionModule.java index 3b561f124f7..7b4146938d3 100644 --- a/server/src/main/java/io/deephaven/server/console/NoConsoleSessionModule.java +++ b/server/src/main/java/io/deephaven/server/console/NoConsoleSessionModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.console; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/console/ScopeTicketResolver.java b/server/src/main/java/io/deephaven/server/console/ScopeTicketResolver.java index 8f04dc497de..29e8b940267 100644 --- a/server/src/main/java/io/deephaven/server/console/ScopeTicketResolver.java +++ b/server/src/main/java/io/deephaven/server/console/ScopeTicketResolver.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.console; import com.google.protobuf.ByteStringAccess; diff --git a/server/src/main/java/io/deephaven/server/console/completer/JavaAutoCompleteObserver.java b/server/src/main/java/io/deephaven/server/console/completer/JavaAutoCompleteObserver.java index 338957936be..2cf1b8c1465 100644 --- a/server/src/main/java/io/deephaven/server/console/completer/JavaAutoCompleteObserver.java +++ b/server/src/main/java/io/deephaven/server/console/completer/JavaAutoCompleteObserver.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.console.completer; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/console/completer/PythonAutoCompleteObserver.java b/server/src/main/java/io/deephaven/server/console/completer/PythonAutoCompleteObserver.java index 4f44caa6ff3..22c46a78797 100644 --- a/server/src/main/java/io/deephaven/server/console/completer/PythonAutoCompleteObserver.java +++ b/server/src/main/java/io/deephaven/server/console/completer/PythonAutoCompleteObserver.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.console.completer; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/console/groovy/GroovyConsoleSessionModule.java b/server/src/main/java/io/deephaven/server/console/groovy/GroovyConsoleSessionModule.java index c17b4b6fc11..8497050d449 100644 --- a/server/src/main/java/io/deephaven/server/console/groovy/GroovyConsoleSessionModule.java +++ b/server/src/main/java/io/deephaven/server/console/groovy/GroovyConsoleSessionModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.console.groovy; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/console/groovy/InitScriptsModule.java b/server/src/main/java/io/deephaven/server/console/groovy/InitScriptsModule.java index 1d539a42df5..4f3c0a74ce2 100644 --- a/server/src/main/java/io/deephaven/server/console/groovy/InitScriptsModule.java +++ b/server/src/main/java/io/deephaven/server/console/groovy/InitScriptsModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.console.groovy; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/console/python/DebuggingInitializer.java b/server/src/main/java/io/deephaven/server/console/python/DebuggingInitializer.java index 97867acf324..86813e7f840 100644 --- a/server/src/main/java/io/deephaven/server/console/python/DebuggingInitializer.java +++ b/server/src/main/java/io/deephaven/server/console/python/DebuggingInitializer.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.console.python; import io.deephaven.configuration.Configuration; diff --git a/server/src/main/java/io/deephaven/server/console/python/PythonConsoleSessionModule.java b/server/src/main/java/io/deephaven/server/console/python/PythonConsoleSessionModule.java index c702b74f9b8..adbd69aa0d6 100644 --- a/server/src/main/java/io/deephaven/server/console/python/PythonConsoleSessionModule.java +++ b/server/src/main/java/io/deephaven/server/console/python/PythonConsoleSessionModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.console.python; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/console/python/PythonDebuggingModule.java b/server/src/main/java/io/deephaven/server/console/python/PythonDebuggingModule.java index 7f4d70ab530..74a033e9eda 100644 --- a/server/src/main/java/io/deephaven/server/console/python/PythonDebuggingModule.java +++ b/server/src/main/java/io/deephaven/server/console/python/PythonDebuggingModule.java @@ -1,5 +1,5 @@ // -// Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending // package io.deephaven.server.console.python; diff --git a/server/src/main/java/io/deephaven/server/console/python/PythonGlobalScopeCopyModule.java b/server/src/main/java/io/deephaven/server/console/python/PythonGlobalScopeCopyModule.java index 1e091c35ffd..bd32d9e2634 100644 --- a/server/src/main/java/io/deephaven/server/console/python/PythonGlobalScopeCopyModule.java +++ b/server/src/main/java/io/deephaven/server/console/python/PythonGlobalScopeCopyModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.console.python; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/console/python/PythonGlobalScopeModule.java b/server/src/main/java/io/deephaven/server/console/python/PythonGlobalScopeModule.java index 4b260e6d302..0c647732c85 100644 --- a/server/src/main/java/io/deephaven/server/console/python/PythonGlobalScopeModule.java +++ b/server/src/main/java/io/deephaven/server/console/python/PythonGlobalScopeModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.console.python; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/console/python/PythonImportInitializer.java b/server/src/main/java/io/deephaven/server/console/python/PythonImportInitializer.java index 521845b552e..ff72831ca5c 100644 --- a/server/src/main/java/io/deephaven/server/console/python/PythonImportInitializer.java +++ b/server/src/main/java/io/deephaven/server/console/python/PythonImportInitializer.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.console.python; import io.deephaven.engine.util.PyCallableWrapperJpyImpl; diff --git a/server/src/main/java/io/deephaven/server/grpc/Common.java b/server/src/main/java/io/deephaven/server/grpc/Common.java index 6515c7fe060..741e74c2686 100644 --- a/server/src/main/java/io/deephaven/server/grpc/Common.java +++ b/server/src/main/java/io/deephaven/server/grpc/Common.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.grpc; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/grpc/GrpcErrorHelper.java b/server/src/main/java/io/deephaven/server/grpc/GrpcErrorHelper.java index 97670f55cc5..c2e87bf29d9 100644 --- a/server/src/main/java/io/deephaven/server/grpc/GrpcErrorHelper.java +++ b/server/src/main/java/io/deephaven/server/grpc/GrpcErrorHelper.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.grpc; import com.google.protobuf.Descriptors.Descriptor; diff --git a/server/src/main/java/io/deephaven/server/grpc/GrpcModule.java b/server/src/main/java/io/deephaven/server/grpc/GrpcModule.java index b96cb17a13d..91dd9c398f9 100644 --- a/server/src/main/java/io/deephaven/server/grpc/GrpcModule.java +++ b/server/src/main/java/io/deephaven/server/grpc/GrpcModule.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.grpc; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/healthcheck/HealthCheckModule.java b/server/src/main/java/io/deephaven/server/healthcheck/HealthCheckModule.java index 982cd9bf806..2a34af7b80f 100644 --- a/server/src/main/java/io/deephaven/server/healthcheck/HealthCheckModule.java +++ b/server/src/main/java/io/deephaven/server/healthcheck/HealthCheckModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.healthcheck; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/hierarchicaltable/HierarchicalTableServiceGrpcImpl.java b/server/src/main/java/io/deephaven/server/hierarchicaltable/HierarchicalTableServiceGrpcImpl.java index 96d5d018b09..ea9cbe2d881 100644 --- a/server/src/main/java/io/deephaven/server/hierarchicaltable/HierarchicalTableServiceGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/hierarchicaltable/HierarchicalTableServiceGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.hierarchicaltable; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/hierarchicaltable/HierarchicalTableServiceModule.java b/server/src/main/java/io/deephaven/server/hierarchicaltable/HierarchicalTableServiceModule.java index 7a9f0f39a0d..0d3275c67da 100644 --- a/server/src/main/java/io/deephaven/server/hierarchicaltable/HierarchicalTableServiceModule.java +++ b/server/src/main/java/io/deephaven/server/hierarchicaltable/HierarchicalTableServiceModule.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.hierarchicaltable; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/hierarchicaltable/HierarchicalTableView.java b/server/src/main/java/io/deephaven/server/hierarchicaltable/HierarchicalTableView.java index 5ed12d9d260..8be06bfb72a 100644 --- a/server/src/main/java/io/deephaven/server/hierarchicaltable/HierarchicalTableView.java +++ b/server/src/main/java/io/deephaven/server/hierarchicaltable/HierarchicalTableView.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.hierarchicaltable; import io.deephaven.api.ColumnName; diff --git a/server/src/main/java/io/deephaven/server/hierarchicaltable/HierarchicalTableViewSubscription.java b/server/src/main/java/io/deephaven/server/hierarchicaltable/HierarchicalTableViewSubscription.java index 9909771cab5..695c2b73ac5 100644 --- a/server/src/main/java/io/deephaven/server/hierarchicaltable/HierarchicalTableViewSubscription.java +++ b/server/src/main/java/io/deephaven/server/hierarchicaltable/HierarchicalTableViewSubscription.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.hierarchicaltable; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/log/LogInit.java b/server/src/main/java/io/deephaven/server/log/LogInit.java index bfdd58df3cc..8ba0679b911 100644 --- a/server/src/main/java/io/deephaven/server/log/LogInit.java +++ b/server/src/main/java/io/deephaven/server/log/LogInit.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.log; import io.deephaven.base.system.StandardStreamState; diff --git a/server/src/main/java/io/deephaven/server/log/LogModule.java b/server/src/main/java/io/deephaven/server/log/LogModule.java index 82ad7aae07f..5c77b67a1f1 100644 --- a/server/src/main/java/io/deephaven/server/log/LogModule.java +++ b/server/src/main/java/io/deephaven/server/log/LogModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.log; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/notebook/FilesystemStorageServiceGrpcImpl.java b/server/src/main/java/io/deephaven/server/notebook/FilesystemStorageServiceGrpcImpl.java index d59f64ff0ce..b9c7b79dd93 100644 --- a/server/src/main/java/io/deephaven/server/notebook/FilesystemStorageServiceGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/notebook/FilesystemStorageServiceGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.notebook; import com.google.common.hash.HashFunction; diff --git a/server/src/main/java/io/deephaven/server/notebook/FilesystemStorageServiceModule.java b/server/src/main/java/io/deephaven/server/notebook/FilesystemStorageServiceModule.java index 0888b603802..2ac8b8a1466 100644 --- a/server/src/main/java/io/deephaven/server/notebook/FilesystemStorageServiceModule.java +++ b/server/src/main/java/io/deephaven/server/notebook/FilesystemStorageServiceModule.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.notebook; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/object/ObjectServiceGrpcBinding.java b/server/src/main/java/io/deephaven/server/object/ObjectServiceGrpcBinding.java index f7f85342ea2..5e085ac173a 100644 --- a/server/src/main/java/io/deephaven/server/object/ObjectServiceGrpcBinding.java +++ b/server/src/main/java/io/deephaven/server/object/ObjectServiceGrpcBinding.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.object; import io.deephaven.internal.log.LoggerFactory; diff --git a/server/src/main/java/io/deephaven/server/object/ObjectServiceGrpcImpl.java b/server/src/main/java/io/deephaven/server/object/ObjectServiceGrpcImpl.java index 9b0fa5560d8..052de6b3475 100644 --- a/server/src/main/java/io/deephaven/server/object/ObjectServiceGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/object/ObjectServiceGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.object; import com.google.protobuf.ByteString; diff --git a/server/src/main/java/io/deephaven/server/object/ObjectServiceModule.java b/server/src/main/java/io/deephaven/server/object/ObjectServiceModule.java index e54b8f65410..e92ba7cfef6 100644 --- a/server/src/main/java/io/deephaven/server/object/ObjectServiceModule.java +++ b/server/src/main/java/io/deephaven/server/object/ObjectServiceModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.object; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/object/TypeLookup.java b/server/src/main/java/io/deephaven/server/object/TypeLookup.java index 9a96b0e5082..43d65feb3c1 100644 --- a/server/src/main/java/io/deephaven/server/object/TypeLookup.java +++ b/server/src/main/java/io/deephaven/server/object/TypeLookup.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.object; import io.deephaven.engine.table.Table; diff --git a/server/src/main/java/io/deephaven/server/partitionedtable/PartitionedTableServiceGrpcImpl.java b/server/src/main/java/io/deephaven/server/partitionedtable/PartitionedTableServiceGrpcImpl.java index 87590cb6de6..1cdab319c0d 100644 --- a/server/src/main/java/io/deephaven/server/partitionedtable/PartitionedTableServiceGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/partitionedtable/PartitionedTableServiceGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.partitionedtable; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/partitionedtable/PartitionedTableServiceModule.java b/server/src/main/java/io/deephaven/server/partitionedtable/PartitionedTableServiceModule.java index 20463ab2a2a..21a02a4821b 100644 --- a/server/src/main/java/io/deephaven/server/partitionedtable/PartitionedTableServiceModule.java +++ b/server/src/main/java/io/deephaven/server/partitionedtable/PartitionedTableServiceModule.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.partitionedtable; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/plugin/PluginRegistration.java b/server/src/main/java/io/deephaven/server/plugin/PluginRegistration.java index 9b1a1fb303e..00c7dc3e141 100644 --- a/server/src/main/java/io/deephaven/server/plugin/PluginRegistration.java +++ b/server/src/main/java/io/deephaven/server/plugin/PluginRegistration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin; import io.deephaven.base.log.LogOutput; diff --git a/server/src/main/java/io/deephaven/server/plugin/PluginRegistrationVisitor.java b/server/src/main/java/io/deephaven/server/plugin/PluginRegistrationVisitor.java index 97ec345a555..fe5f16d0c88 100644 --- a/server/src/main/java/io/deephaven/server/plugin/PluginRegistrationVisitor.java +++ b/server/src/main/java/io/deephaven/server/plugin/PluginRegistrationVisitor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin; import io.deephaven.plugin.Plugin; diff --git a/server/src/main/java/io/deephaven/server/plugin/PluginsModule.java b/server/src/main/java/io/deephaven/server/plugin/PluginsModule.java index 8c3b6f27497..7edec8c8ee3 100644 --- a/server/src/main/java/io/deephaven/server/plugin/PluginsModule.java +++ b/server/src/main/java/io/deephaven/server/plugin/PluginsModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/plugin/js/Jackson.java b/server/src/main/java/io/deephaven/server/plugin/js/Jackson.java index 1454b3e5735..a757b9c7708 100644 --- a/server/src/main/java/io/deephaven/server/plugin/js/Jackson.java +++ b/server/src/main/java/io/deephaven/server/plugin/js/Jackson.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.js; import com.fasterxml.jackson.databind.DeserializationFeature; diff --git a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginConfigDirRegistration.java b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginConfigDirRegistration.java index 96b36d7d157..b4520d0948d 100644 --- a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginConfigDirRegistration.java +++ b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginConfigDirRegistration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.js; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginFromNpmPackage.java b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginFromNpmPackage.java index a966904ba62..55eba1ae57e 100644 --- a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginFromNpmPackage.java +++ b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginFromNpmPackage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.js; import io.deephaven.plugin.js.JsPlugin; diff --git a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginManifest.java b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginManifest.java index a74bb7e1c77..2cbd8a8fe75 100644 --- a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginManifest.java +++ b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginManifest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.js; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginManifestEntry.java b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginManifestEntry.java index 4aeca8b05ab..1290606ad2f 100644 --- a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginManifestEntry.java +++ b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginManifestEntry.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.js; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginManifestRegistration.java b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginManifestRegistration.java index 93f1aa66f39..d5b363565e6 100644 --- a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginManifestRegistration.java +++ b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginManifestRegistration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.js; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginModule.java b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginModule.java index 1b966150836..e5175824cb4 100644 --- a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginModule.java +++ b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.js; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginNoopConsumerModule.java b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginNoopConsumerModule.java index a1b90168be3..cd91af5f1bf 100644 --- a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginNoopConsumerModule.java +++ b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginNoopConsumerModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.js; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginNpmPackageRegistration.java b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginNpmPackageRegistration.java index 0acf62337ce..0a4f52c6d91 100644 --- a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginNpmPackageRegistration.java +++ b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginNpmPackageRegistration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.js; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginsFromManifest.java b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginsFromManifest.java index c07540d27db..bf0f39904f8 100644 --- a/server/src/main/java/io/deephaven/server/plugin/js/JsPluginsFromManifest.java +++ b/server/src/main/java/io/deephaven/server/plugin/js/JsPluginsFromManifest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.js; import io.deephaven.plugin.js.JsPlugin; diff --git a/server/src/main/java/io/deephaven/server/plugin/js/NpmPackage.java b/server/src/main/java/io/deephaven/server/plugin/js/NpmPackage.java index 711dfa34831..91faaffc404 100644 --- a/server/src/main/java/io/deephaven/server/plugin/js/NpmPackage.java +++ b/server/src/main/java/io/deephaven/server/plugin/js/NpmPackage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.js; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/server/src/main/java/io/deephaven/server/plugin/python/CallbackAdapter.java b/server/src/main/java/io/deephaven/server/plugin/python/CallbackAdapter.java index 7270a895b61..c2705ffd6a7 100644 --- a/server/src/main/java/io/deephaven/server/plugin/python/CallbackAdapter.java +++ b/server/src/main/java/io/deephaven/server/plugin/python/CallbackAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.python; import io.deephaven.plugin.Registration.Callback; diff --git a/server/src/main/java/io/deephaven/server/plugin/python/Deephaven2ServerPluginModule.java b/server/src/main/java/io/deephaven/server/plugin/python/Deephaven2ServerPluginModule.java index fdd523f997b..31d066de399 100644 --- a/server/src/main/java/io/deephaven/server/plugin/python/Deephaven2ServerPluginModule.java +++ b/server/src/main/java/io/deephaven/server/plugin/python/Deephaven2ServerPluginModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.python; import org.jpy.PyLib.CallableKind; diff --git a/server/src/main/java/io/deephaven/server/plugin/python/ExporterAdapter.java b/server/src/main/java/io/deephaven/server/plugin/python/ExporterAdapter.java index 01d25e34e8d..64c292473e0 100644 --- a/server/src/main/java/io/deephaven/server/plugin/python/ExporterAdapter.java +++ b/server/src/main/java/io/deephaven/server/plugin/python/ExporterAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.python; import io.deephaven.plugin.type.Exporter; diff --git a/server/src/main/java/io/deephaven/server/plugin/python/LivePyObjectWrapper.java b/server/src/main/java/io/deephaven/server/plugin/python/LivePyObjectWrapper.java index 5d34e8219c1..c06d2d19c90 100644 --- a/server/src/main/java/io/deephaven/server/plugin/python/LivePyObjectWrapper.java +++ b/server/src/main/java/io/deephaven/server/plugin/python/LivePyObjectWrapper.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.python; import io.deephaven.engine.liveness.LivenessScopeStack; diff --git a/server/src/main/java/io/deephaven/server/plugin/python/ObjectTypeAdapter.java b/server/src/main/java/io/deephaven/server/plugin/python/ObjectTypeAdapter.java index 0d59c4be1bb..40d21554c5d 100644 --- a/server/src/main/java/io/deephaven/server/plugin/python/ObjectTypeAdapter.java +++ b/server/src/main/java/io/deephaven/server/plugin/python/ObjectTypeAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.python; import io.deephaven.plugin.type.ObjectCommunicationException; diff --git a/server/src/main/java/io/deephaven/server/plugin/python/PythonPluginsRegistration.java b/server/src/main/java/io/deephaven/server/plugin/python/PythonPluginsRegistration.java index f3068c4af1d..f5719086b43 100644 --- a/server/src/main/java/io/deephaven/server/plugin/python/PythonPluginsRegistration.java +++ b/server/src/main/java/io/deephaven/server/plugin/python/PythonPluginsRegistration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.python; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/plugin/type/ObjectTypes.java b/server/src/main/java/io/deephaven/server/plugin/type/ObjectTypes.java index 9c057a764e3..9ee1ea28b69 100644 --- a/server/src/main/java/io/deephaven/server/plugin/type/ObjectTypes.java +++ b/server/src/main/java/io/deephaven/server/plugin/type/ObjectTypes.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.type; import io.deephaven.plugin.type.ObjectType; diff --git a/server/src/main/java/io/deephaven/server/plugin/type/ObjectTypesModule.java b/server/src/main/java/io/deephaven/server/plugin/type/ObjectTypesModule.java index 2039858f0fd..9a39ddb6001 100644 --- a/server/src/main/java/io/deephaven/server/plugin/type/ObjectTypesModule.java +++ b/server/src/main/java/io/deephaven/server/plugin/type/ObjectTypesModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.plugin.type; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/runner/CommunityDefaultsModule.java b/server/src/main/java/io/deephaven/server/runner/CommunityDefaultsModule.java index 9e18fe625e9..72c9af07268 100644 --- a/server/src/main/java/io/deephaven/server/runner/CommunityDefaultsModule.java +++ b/server/src/main/java/io/deephaven/server/runner/CommunityDefaultsModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/runner/ComponentFactoryBase.java b/server/src/main/java/io/deephaven/server/runner/ComponentFactoryBase.java index cb99aca7639..0b5eac065df 100644 --- a/server/src/main/java/io/deephaven/server/runner/ComponentFactoryBase.java +++ b/server/src/main/java/io/deephaven/server/runner/ComponentFactoryBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner; import io.deephaven.base.system.PrintStreamGlobals; diff --git a/server/src/main/java/io/deephaven/server/runner/DeephavenApiConfigModule.java b/server/src/main/java/io/deephaven/server/runner/DeephavenApiConfigModule.java index 376bf26c019..253ace99aa1 100644 --- a/server/src/main/java/io/deephaven/server/runner/DeephavenApiConfigModule.java +++ b/server/src/main/java/io/deephaven/server/runner/DeephavenApiConfigModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/runner/DeephavenApiServer.java b/server/src/main/java/io/deephaven/server/runner/DeephavenApiServer.java index 18211618049..08a2959337a 100644 --- a/server/src/main/java/io/deephaven/server/runner/DeephavenApiServer.java +++ b/server/src/main/java/io/deephaven/server/runner/DeephavenApiServer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner; import io.deephaven.auth.AuthenticationRequestHandler; diff --git a/server/src/main/java/io/deephaven/server/runner/DeephavenApiServerComponent.java b/server/src/main/java/io/deephaven/server/runner/DeephavenApiServerComponent.java index 536e9fcb439..c09a9beef7c 100644 --- a/server/src/main/java/io/deephaven/server/runner/DeephavenApiServerComponent.java +++ b/server/src/main/java/io/deephaven/server/runner/DeephavenApiServerComponent.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner; import dagger.BindsInstance; diff --git a/server/src/main/java/io/deephaven/server/runner/DeephavenApiServerModule.java b/server/src/main/java/io/deephaven/server/runner/DeephavenApiServerModule.java index fe3ebd38d94..a724a64ef70 100644 --- a/server/src/main/java/io/deephaven/server/runner/DeephavenApiServerModule.java +++ b/server/src/main/java/io/deephaven/server/runner/DeephavenApiServerModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/runner/GrpcServer.java b/server/src/main/java/io/deephaven/server/runner/GrpcServer.java index b8c83f36435..d635a56128e 100644 --- a/server/src/main/java/io/deephaven/server/runner/GrpcServer.java +++ b/server/src/main/java/io/deephaven/server/runner/GrpcServer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner; import io.grpc.Server; diff --git a/server/src/main/java/io/deephaven/server/runner/MainHelper.java b/server/src/main/java/io/deephaven/server/runner/MainHelper.java index 6d27ab521bb..dd3607ce56d 100644 --- a/server/src/main/java/io/deephaven/server/runner/MainHelper.java +++ b/server/src/main/java/io/deephaven/server/runner/MainHelper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner; import io.deephaven.base.system.PrintStreamGlobals; diff --git a/server/src/main/java/io/deephaven/server/runner/scheduler/SchedulerModule.java b/server/src/main/java/io/deephaven/server/runner/scheduler/SchedulerModule.java index 26f4b0b32c5..dc399658695 100644 --- a/server/src/main/java/io/deephaven/server/runner/scheduler/SchedulerModule.java +++ b/server/src/main/java/io/deephaven/server/runner/scheduler/SchedulerModule.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner.scheduler; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/runner/updategraph/UpdateGraphModule.java b/server/src/main/java/io/deephaven/server/runner/updategraph/UpdateGraphModule.java index 2e01abff24c..04172c1a422 100644 --- a/server/src/main/java/io/deephaven/server/runner/updategraph/UpdateGraphModule.java +++ b/server/src/main/java/io/deephaven/server/runner/updategraph/UpdateGraphModule.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner.updategraph; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/session/DelegatingSessionListener.java b/server/src/main/java/io/deephaven/server/session/DelegatingSessionListener.java index c24ccab440b..fedbbf9a627 100644 --- a/server/src/main/java/io/deephaven/server/session/DelegatingSessionListener.java +++ b/server/src/main/java/io/deephaven/server/session/DelegatingSessionListener.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.session; import io.deephaven.internal.log.LoggerFactory; diff --git a/server/src/main/java/io/deephaven/server/session/ExportTicketResolver.java b/server/src/main/java/io/deephaven/server/session/ExportTicketResolver.java index 126d1fba760..9888f103dd4 100644 --- a/server/src/main/java/io/deephaven/server/session/ExportTicketResolver.java +++ b/server/src/main/java/io/deephaven/server/session/ExportTicketResolver.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.session; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/session/NoopTicketResolverAuthorization.java b/server/src/main/java/io/deephaven/server/session/NoopTicketResolverAuthorization.java index 81c67c47656..bb38ccff12a 100644 --- a/server/src/main/java/io/deephaven/server/session/NoopTicketResolverAuthorization.java +++ b/server/src/main/java/io/deephaven/server/session/NoopTicketResolverAuthorization.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.session; import org.apache.arrow.flight.impl.Flight; diff --git a/server/src/main/java/io/deephaven/server/session/ObfuscatingErrorTransformerModule.java b/server/src/main/java/io/deephaven/server/session/ObfuscatingErrorTransformerModule.java index 5a3e2170aa1..61525cda799 100644 --- a/server/src/main/java/io/deephaven/server/session/ObfuscatingErrorTransformerModule.java +++ b/server/src/main/java/io/deephaven/server/session/ObfuscatingErrorTransformerModule.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.session; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/session/ScriptSessionModule.java b/server/src/main/java/io/deephaven/server/session/ScriptSessionModule.java index 972c8574671..96d42a8dfdc 100644 --- a/server/src/main/java/io/deephaven/server/session/ScriptSessionModule.java +++ b/server/src/main/java/io/deephaven/server/session/ScriptSessionModule.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.session; import dagger.Module; diff --git a/server/src/main/java/io/deephaven/server/session/SessionCloseableObserver.java b/server/src/main/java/io/deephaven/server/session/SessionCloseableObserver.java index afe3b3f1c23..a45f6ae3eb8 100644 --- a/server/src/main/java/io/deephaven/server/session/SessionCloseableObserver.java +++ b/server/src/main/java/io/deephaven/server/session/SessionCloseableObserver.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.session; import io.grpc.stub.ServerCallStreamObserver; diff --git a/server/src/main/java/io/deephaven/server/session/SessionListener.java b/server/src/main/java/io/deephaven/server/session/SessionListener.java index 1e12e0d2b4f..8b2e759f541 100644 --- a/server/src/main/java/io/deephaven/server/session/SessionListener.java +++ b/server/src/main/java/io/deephaven/server/session/SessionListener.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.session; /** diff --git a/server/src/main/java/io/deephaven/server/session/SessionModule.java b/server/src/main/java/io/deephaven/server/session/SessionModule.java index 4bf591132bb..a3a6401c5da 100644 --- a/server/src/main/java/io/deephaven/server/session/SessionModule.java +++ b/server/src/main/java/io/deephaven/server/session/SessionModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.session; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/session/SessionService.java b/server/src/main/java/io/deephaven/server/session/SessionService.java index dacadc99064..77bc332ae22 100644 --- a/server/src/main/java/io/deephaven/server/session/SessionService.java +++ b/server/src/main/java/io/deephaven/server/session/SessionService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.session; import com.github.f4b6a3.uuid.UuidCreator; diff --git a/server/src/main/java/io/deephaven/server/session/SessionServiceGrpcImpl.java b/server/src/main/java/io/deephaven/server/session/SessionServiceGrpcImpl.java index b355ba776d8..235c7cbac80 100644 --- a/server/src/main/java/io/deephaven/server/session/SessionServiceGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/session/SessionServiceGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.session; import com.google.protobuf.ByteString; diff --git a/server/src/main/java/io/deephaven/server/session/SessionState.java b/server/src/main/java/io/deephaven/server/session/SessionState.java index e45a86b33c6..3e674a46eef 100644 --- a/server/src/main/java/io/deephaven/server/session/SessionState.java +++ b/server/src/main/java/io/deephaven/server/session/SessionState.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.session; import com.github.f4b6a3.uuid.UuidCreator; diff --git a/server/src/main/java/io/deephaven/server/session/TicketResolver.java b/server/src/main/java/io/deephaven/server/session/TicketResolver.java index bb6d757d845..262c696f892 100644 --- a/server/src/main/java/io/deephaven/server/session/TicketResolver.java +++ b/server/src/main/java/io/deephaven/server/session/TicketResolver.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.session; import io.deephaven.engine.context.ExecutionContext; diff --git a/server/src/main/java/io/deephaven/server/session/TicketResolverBase.java b/server/src/main/java/io/deephaven/server/session/TicketResolverBase.java index 0e0fb54d65a..b206000f334 100644 --- a/server/src/main/java/io/deephaven/server/session/TicketResolverBase.java +++ b/server/src/main/java/io/deephaven/server/session/TicketResolverBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.session; import io.deephaven.server.auth.AuthorizationProvider; diff --git a/server/src/main/java/io/deephaven/server/session/TicketRouter.java b/server/src/main/java/io/deephaven/server/session/TicketRouter.java index 792cad9a0c7..fc40a172a40 100644 --- a/server/src/main/java/io/deephaven/server/session/TicketRouter.java +++ b/server/src/main/java/io/deephaven/server/session/TicketRouter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.session; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ExportedTableUpdateListener.java b/server/src/main/java/io/deephaven/server/table/ExportedTableUpdateListener.java index 778d1da62cd..98e39075dff 100644 --- a/server/src/main/java/io/deephaven/server/table/ExportedTableUpdateListener.java +++ b/server/src/main/java/io/deephaven/server/table/ExportedTableUpdateListener.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/TableModule.java b/server/src/main/java/io/deephaven/server/table/TableModule.java index 4644b9324bd..6d66e1a1560 100644 --- a/server/src/main/java/io/deephaven/server/table/TableModule.java +++ b/server/src/main/java/io/deephaven/server/table/TableModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/table/inputtables/InputTableModule.java b/server/src/main/java/io/deephaven/server/table/inputtables/InputTableModule.java index fb6f3a06303..5dfc8c83bdb 100644 --- a/server/src/main/java/io/deephaven/server/table/inputtables/InputTableModule.java +++ b/server/src/main/java/io/deephaven/server/table/inputtables/InputTableModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.inputtables; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/table/inputtables/InputTableServiceGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/inputtables/InputTableServiceGrpcImpl.java index 456afdfdac4..69cfd6ef403 100644 --- a/server/src/main/java/io/deephaven/server/table/inputtables/InputTableServiceGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/inputtables/InputTableServiceGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.inputtables; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/AggSpecAdapter.java b/server/src/main/java/io/deephaven/server/table/ops/AggSpecAdapter.java index 9d04321ea40..52a02b8e5fd 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/AggSpecAdapter.java +++ b/server/src/main/java/io/deephaven/server/table/ops/AggSpecAdapter.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.protobuf.Descriptors.FieldDescriptor; diff --git a/server/src/main/java/io/deephaven/server/table/ops/AggregateAllGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/AggregateAllGrpcImpl.java index 484c00cad86..3c440d14ec5 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/AggregateAllGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/AggregateAllGrpcImpl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.api.agg.spec.AggSpec; diff --git a/server/src/main/java/io/deephaven/server/table/ops/AggregateGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/AggregateGrpcImpl.java index 4c0297fce88..1e694955086 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/AggregateGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/AggregateGrpcImpl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.api.ColumnName; diff --git a/server/src/main/java/io/deephaven/server/table/ops/AggregationAdapter.java b/server/src/main/java/io/deephaven/server/table/ops/AggregationAdapter.java index 6b84224d6ee..31b77003cc1 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/AggregationAdapter.java +++ b/server/src/main/java/io/deephaven/server/table/ops/AggregationAdapter.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.protobuf.Descriptors.FieldDescriptor; diff --git a/server/src/main/java/io/deephaven/server/table/ops/AjRajGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/AjRajGrpcImpl.java index a457fe4c566..222a1b29b11 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/AjRajGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/AjRajGrpcImpl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/ApplyPreviewColumnsGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/ApplyPreviewColumnsGrpcImpl.java index 000ba05560a..3f6b12f0259 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/ApplyPreviewColumnsGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/ApplyPreviewColumnsGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.auth.codegen.impl.TableServiceContextualAuthWiring; diff --git a/server/src/main/java/io/deephaven/server/table/ops/ColumnStatisticsGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/ColumnStatisticsGrpcImpl.java index e66c6c053b4..6418219308f 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/ColumnStatisticsGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/ColumnStatisticsGrpcImpl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/ComboAggregateGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/ComboAggregateGrpcImpl.java index fd74028d507..10049eac7cf 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/ComboAggregateGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/ComboAggregateGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/CreateInputTableGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/CreateInputTableGrpcImpl.java index 2889e9a0afa..79b960b2028 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/CreateInputTableGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/CreateInputTableGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/DropColumnsGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/DropColumnsGrpcImpl.java index 1d0ec203185..d597b76e112 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/DropColumnsGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/DropColumnsGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.auth.codegen.impl.TableServiceContextualAuthWiring; diff --git a/server/src/main/java/io/deephaven/server/table/ops/EmptyTableGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/EmptyTableGrpcImpl.java index 49b3b857c37..a12d0ae2238 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/EmptyTableGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/EmptyTableGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/FetchTableGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/FetchTableGrpcImpl.java index 7c4dfbbc712..bfd18b0e0e0 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/FetchTableGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/FetchTableGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.auth.codegen.impl.TableServiceContextualAuthWiring; diff --git a/server/src/main/java/io/deephaven/server/table/ops/FilterTableGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/FilterTableGrpcImpl.java index ed75018984f..8632e45a49f 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/FilterTableGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/FilterTableGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.api.filter.Filter; diff --git a/server/src/main/java/io/deephaven/server/table/ops/FlattenTableGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/FlattenTableGrpcImpl.java index 53f7b03c478..c8ce86c5a52 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/FlattenTableGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/FlattenTableGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.auth.codegen.impl.TableServiceContextualAuthWiring; diff --git a/server/src/main/java/io/deephaven/server/table/ops/GrpcTableOperation.java b/server/src/main/java/io/deephaven/server/table/ops/GrpcTableOperation.java index 7eb6e1a7375..e554833c9dd 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/GrpcTableOperation.java +++ b/server/src/main/java/io/deephaven/server/table/ops/GrpcTableOperation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.auth.AuthContext; diff --git a/server/src/main/java/io/deephaven/server/table/ops/HeadOrTailByGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/HeadOrTailByGrpcImpl.java index ed187bac668..3727bc460f0 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/HeadOrTailByGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/HeadOrTailByGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/HeadOrTailGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/HeadOrTailGrpcImpl.java index 7a8c0ab22ec..f5039aaec94 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/HeadOrTailGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/HeadOrTailGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/JoinTablesGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/JoinTablesGrpcImpl.java index 00d23904697..757520cd7fd 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/JoinTablesGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/JoinTablesGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/MergeTablesGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/MergeTablesGrpcImpl.java index 9e55a600a05..ca7e9c4d279 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/MergeTablesGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/MergeTablesGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/MetaTableGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/MetaTableGrpcImpl.java index 75b6dead2c1..e3533c6b070 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/MetaTableGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/MetaTableGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.auth.codegen.impl.TableServiceContextualAuthWiring; diff --git a/server/src/main/java/io/deephaven/server/table/ops/MultiJoinGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/MultiJoinGrpcImpl.java index 03321ed5e8d..7a84c42a89e 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/MultiJoinGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/MultiJoinGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/RangeJoinGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/RangeJoinGrpcImpl.java index 715dd2bddd1..3bdeb3afebe 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/RangeJoinGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/RangeJoinGrpcImpl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.protobuf.Descriptors; diff --git a/server/src/main/java/io/deephaven/server/table/ops/RunChartDownsampleGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/RunChartDownsampleGrpcImpl.java index 2aae543fbe1..c17e367dcb2 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/RunChartDownsampleGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/RunChartDownsampleGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.auth.codegen.impl.TableServiceContextualAuthWiring; diff --git a/server/src/main/java/io/deephaven/server/table/ops/SelectDistinctGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/SelectDistinctGrpcImpl.java index 0666a06ab4b..0521cce08bf 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/SelectDistinctGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/SelectDistinctGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/SnapshotTableGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/SnapshotTableGrpcImpl.java index ff039f689a1..216c31fbb79 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/SnapshotTableGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/SnapshotTableGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.auth.codegen.impl.TableServiceContextualAuthWiring; diff --git a/server/src/main/java/io/deephaven/server/table/ops/SnapshotWhenTableGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/SnapshotWhenTableGrpcImpl.java index 5e2cbda7a42..75ae13a31dc 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/SnapshotWhenTableGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/SnapshotWhenTableGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/SortTableGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/SortTableGrpcImpl.java index 66f559a40af..681db1c702c 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/SortTableGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/SortTableGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/TableServiceGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/TableServiceGrpcImpl.java index cf3d338c94d..e67eba02bf8 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/TableServiceGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/TableServiceGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/TimeTableGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/TimeTableGrpcImpl.java index 01dddf79a89..07e1abf3d13 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/TimeTableGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/TimeTableGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/UngroupGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/UngroupGrpcImpl.java index 3eb5f25ebfd..756ee66e683 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/UngroupGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/UngroupGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.api.ColumnName; diff --git a/server/src/main/java/io/deephaven/server/table/ops/UnstructuredFilterTableGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/UnstructuredFilterTableGrpcImpl.java index 00afcfc354f..2c19e3f1064 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/UnstructuredFilterTableGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/UnstructuredFilterTableGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.api.filter.Filter; diff --git a/server/src/main/java/io/deephaven/server/table/ops/UpdateByGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/UpdateByGrpcImpl.java index 70bc8208282..7d5f5a2acd7 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/UpdateByGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/UpdateByGrpcImpl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/table/ops/UpdateOrSelectGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/UpdateOrSelectGrpcImpl.java index 2d389784f46..0388f4e6e91 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/UpdateOrSelectGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/UpdateOrSelectGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.api.Selectable; diff --git a/server/src/main/java/io/deephaven/server/table/ops/WhereInGrpcImpl.java b/server/src/main/java/io/deephaven/server/table/ops/WhereInGrpcImpl.java index 33bd40b7869..b0bafbf39eb 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/WhereInGrpcImpl.java +++ b/server/src/main/java/io/deephaven/server/table/ops/WhereInGrpcImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.api.JoinMatch; diff --git a/server/src/main/java/io/deephaven/server/table/ops/filter/AbstractNormalizeFilters.java b/server/src/main/java/io/deephaven/server/table/ops/filter/AbstractNormalizeFilters.java index dc1b230c698..2b6c42d16aa 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/filter/AbstractNormalizeFilters.java +++ b/server/src/main/java/io/deephaven/server/table/ops/filter/AbstractNormalizeFilters.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.CaseSensitivity; diff --git a/server/src/main/java/io/deephaven/server/table/ops/filter/ConvertInvalidInExpressions.java b/server/src/main/java/io/deephaven/server/table/ops/filter/ConvertInvalidInExpressions.java index 3922426ac25..f7370dcf3df 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/filter/ConvertInvalidInExpressions.java +++ b/server/src/main/java/io/deephaven/server/table/ops/filter/ConvertInvalidInExpressions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.CaseSensitivity; diff --git a/server/src/main/java/io/deephaven/server/table/ops/filter/FilterFactory.java b/server/src/main/java/io/deephaven/server/table/ops/filter/FilterFactory.java index adc3b1c7e34..7b5edc29c9a 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/filter/FilterFactory.java +++ b/server/src/main/java/io/deephaven/server/table/ops/filter/FilterFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.api.ColumnName; diff --git a/server/src/main/java/io/deephaven/server/table/ops/filter/FilterPrinter.java b/server/src/main/java/io/deephaven/server/table/ops/filter/FilterPrinter.java index 3b8efadfea3..cd9efe07fc2 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/filter/FilterPrinter.java +++ b/server/src/main/java/io/deephaven/server/table/ops/filter/FilterPrinter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.CaseSensitivity; diff --git a/server/src/main/java/io/deephaven/server/table/ops/filter/FilterVisitor.java b/server/src/main/java/io/deephaven/server/table/ops/filter/FilterVisitor.java index 33bc5999ce3..e037fe260b1 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/filter/FilterVisitor.java +++ b/server/src/main/java/io/deephaven/server/table/ops/filter/FilterVisitor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.CaseSensitivity; diff --git a/server/src/main/java/io/deephaven/server/table/ops/filter/FlipNonReferenceMatchExpression.java b/server/src/main/java/io/deephaven/server/table/ops/filter/FlipNonReferenceMatchExpression.java index 08da154835c..6ab710cdda0 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/filter/FlipNonReferenceMatchExpression.java +++ b/server/src/main/java/io/deephaven/server/table/ops/filter/FlipNonReferenceMatchExpression.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.CaseSensitivity; diff --git a/server/src/main/java/io/deephaven/server/table/ops/filter/MakeExpressionsNullSafe.java b/server/src/main/java/io/deephaven/server/table/ops/filter/MakeExpressionsNullSafe.java index 78c7ba2d9e9..01ba7ce9978 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/filter/MakeExpressionsNullSafe.java +++ b/server/src/main/java/io/deephaven/server/table/ops/filter/MakeExpressionsNullSafe.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.CaseSensitivity; diff --git a/server/src/main/java/io/deephaven/server/table/ops/filter/MergeNestedBinaryOperations.java b/server/src/main/java/io/deephaven/server/table/ops/filter/MergeNestedBinaryOperations.java index c0458e2472d..cead29e3dff 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/filter/MergeNestedBinaryOperations.java +++ b/server/src/main/java/io/deephaven/server/table/ops/filter/MergeNestedBinaryOperations.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.Condition; diff --git a/server/src/main/java/io/deephaven/server/table/ops/filter/NormalizeFilterUtil.java b/server/src/main/java/io/deephaven/server/table/ops/filter/NormalizeFilterUtil.java index 68ddd1bc776..3c37e6efd02 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/filter/NormalizeFilterUtil.java +++ b/server/src/main/java/io/deephaven/server/table/ops/filter/NormalizeFilterUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.AndCondition; diff --git a/server/src/main/java/io/deephaven/server/table/ops/filter/NormalizeNots.java b/server/src/main/java/io/deephaven/server/table/ops/filter/NormalizeNots.java index da454378d1e..75f870c7099 100644 --- a/server/src/main/java/io/deephaven/server/table/ops/filter/NormalizeNots.java +++ b/server/src/main/java/io/deephaven/server/table/ops/filter/NormalizeNots.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.CaseSensitivity; diff --git a/server/src/main/java/io/deephaven/server/table/stats/BigDecimalChunkedNumericalStats.java b/server/src/main/java/io/deephaven/server/table/stats/BigDecimalChunkedNumericalStats.java index d365e9f693b..bd9059dd473 100644 --- a/server/src/main/java/io/deephaven/server/table/stats/BigDecimalChunkedNumericalStats.java +++ b/server/src/main/java/io/deephaven/server/table/stats/BigDecimalChunkedNumericalStats.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.stats; import io.deephaven.chunk.ObjectChunk; diff --git a/server/src/main/java/io/deephaven/server/table/stats/BigIntegerChunkedNumericalStats.java b/server/src/main/java/io/deephaven/server/table/stats/BigIntegerChunkedNumericalStats.java index df9c735fc6b..3b3c9e91adc 100644 --- a/server/src/main/java/io/deephaven/server/table/stats/BigIntegerChunkedNumericalStats.java +++ b/server/src/main/java/io/deephaven/server/table/stats/BigIntegerChunkedNumericalStats.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.stats; import io.deephaven.chunk.ObjectChunk; diff --git a/server/src/main/java/io/deephaven/server/table/stats/ByteChunkedNumericalStats.java b/server/src/main/java/io/deephaven/server/table/stats/ByteChunkedNumericalStats.java index 5c6c09415dc..dfc4c4dcbc3 100644 --- a/server/src/main/java/io/deephaven/server/table/stats/ByteChunkedNumericalStats.java +++ b/server/src/main/java/io/deephaven/server/table/stats/ByteChunkedNumericalStats.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ShortChunkedNumericalStats and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortChunkedNumericalStats and run "./gradlew replicateColumnStats" to regenerate +// +// @formatter:off package io.deephaven.server.table.stats; import io.deephaven.chunk.ByteChunk; diff --git a/server/src/main/java/io/deephaven/server/table/stats/CharacterChunkedStats.java b/server/src/main/java/io/deephaven/server/table/stats/CharacterChunkedStats.java index b9273a50247..a9fa75659b9 100644 --- a/server/src/main/java/io/deephaven/server/table/stats/CharacterChunkedStats.java +++ b/server/src/main/java/io/deephaven/server/table/stats/CharacterChunkedStats.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.stats; import gnu.trove.map.TCharLongMap; diff --git a/server/src/main/java/io/deephaven/server/table/stats/ChunkedNumericalStatsKernel.java b/server/src/main/java/io/deephaven/server/table/stats/ChunkedNumericalStatsKernel.java index 1163984ab1c..5e0dc4ac2bf 100644 --- a/server/src/main/java/io/deephaven/server/table/stats/ChunkedNumericalStatsKernel.java +++ b/server/src/main/java/io/deephaven/server/table/stats/ChunkedNumericalStatsKernel.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.stats; import io.deephaven.engine.rowset.RowSet; diff --git a/server/src/main/java/io/deephaven/server/table/stats/ChunkedStatsKernel.java b/server/src/main/java/io/deephaven/server/table/stats/ChunkedStatsKernel.java index 32dfed978f1..25c236b3aa2 100644 --- a/server/src/main/java/io/deephaven/server/table/stats/ChunkedStatsKernel.java +++ b/server/src/main/java/io/deephaven/server/table/stats/ChunkedStatsKernel.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.stats; import io.deephaven.engine.rowset.RowSet; diff --git a/server/src/main/java/io/deephaven/server/table/stats/DateTimeChunkedStats.java b/server/src/main/java/io/deephaven/server/table/stats/DateTimeChunkedStats.java index 898c4a6f1db..4754e01d230 100644 --- a/server/src/main/java/io/deephaven/server/table/stats/DateTimeChunkedStats.java +++ b/server/src/main/java/io/deephaven/server/table/stats/DateTimeChunkedStats.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.stats; import io.deephaven.chunk.LongChunk; diff --git a/server/src/main/java/io/deephaven/server/table/stats/DoubleChunkedNumericalStats.java b/server/src/main/java/io/deephaven/server/table/stats/DoubleChunkedNumericalStats.java index 1a2cc7dff62..41c5a8145f1 100644 --- a/server/src/main/java/io/deephaven/server/table/stats/DoubleChunkedNumericalStats.java +++ b/server/src/main/java/io/deephaven/server/table/stats/DoubleChunkedNumericalStats.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit FloatChunkedNumericalStats and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit FloatChunkedNumericalStats and run "./gradlew replicateColumnStats" to regenerate +// +// @formatter:off package io.deephaven.server.table.stats; import io.deephaven.chunk.DoubleChunk; diff --git a/server/src/main/java/io/deephaven/server/table/stats/FloatChunkedNumericalStats.java b/server/src/main/java/io/deephaven/server/table/stats/FloatChunkedNumericalStats.java index 39eb031f6f0..5a29ffbb79d 100644 --- a/server/src/main/java/io/deephaven/server/table/stats/FloatChunkedNumericalStats.java +++ b/server/src/main/java/io/deephaven/server/table/stats/FloatChunkedNumericalStats.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.stats; import io.deephaven.chunk.FloatChunk; diff --git a/server/src/main/java/io/deephaven/server/table/stats/IntegerChunkedNumericalStats.java b/server/src/main/java/io/deephaven/server/table/stats/IntegerChunkedNumericalStats.java index 4cdf3a3b910..8d9913e20d9 100644 --- a/server/src/main/java/io/deephaven/server/table/stats/IntegerChunkedNumericalStats.java +++ b/server/src/main/java/io/deephaven/server/table/stats/IntegerChunkedNumericalStats.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ShortChunkedNumericalStats and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortChunkedNumericalStats and run "./gradlew replicateColumnStats" to regenerate +// +// @formatter:off package io.deephaven.server.table.stats; import io.deephaven.chunk.IntChunk; diff --git a/server/src/main/java/io/deephaven/server/table/stats/LongChunkedNumericalStats.java b/server/src/main/java/io/deephaven/server/table/stats/LongChunkedNumericalStats.java index 97eef2fd464..d8271ffbdf7 100644 --- a/server/src/main/java/io/deephaven/server/table/stats/LongChunkedNumericalStats.java +++ b/server/src/main/java/io/deephaven/server/table/stats/LongChunkedNumericalStats.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit ShortChunkedNumericalStats and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit ShortChunkedNumericalStats and run "./gradlew replicateColumnStats" to regenerate +// +// @formatter:off package io.deephaven.server.table.stats; import io.deephaven.chunk.LongChunk; diff --git a/server/src/main/java/io/deephaven/server/table/stats/ObjectChunkedStats.java b/server/src/main/java/io/deephaven/server/table/stats/ObjectChunkedStats.java index 561d178859f..5254d23fbc5 100644 --- a/server/src/main/java/io/deephaven/server/table/stats/ObjectChunkedStats.java +++ b/server/src/main/java/io/deephaven/server/table/stats/ObjectChunkedStats.java @@ -1,8 +1,10 @@ -/* - * --------------------------------------------------------------------------------------------------------------------- - * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharacterChunkedStats and regenerate - * --------------------------------------------------------------------------------------------------------------------- - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// +// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY +// ****** Edit CharacterChunkedStats and run "./gradlew replicateColumnStats" to regenerate +// +// @formatter:off package io.deephaven.server.table.stats; import java.util.Set; diff --git a/server/src/main/java/io/deephaven/server/table/stats/ShortChunkedNumericalStats.java b/server/src/main/java/io/deephaven/server/table/stats/ShortChunkedNumericalStats.java index 5a6cae838f6..a0c45071997 100644 --- a/server/src/main/java/io/deephaven/server/table/stats/ShortChunkedNumericalStats.java +++ b/server/src/main/java/io/deephaven/server/table/stats/ShortChunkedNumericalStats.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.stats; import io.deephaven.chunk.ShortChunk; diff --git a/server/src/main/java/io/deephaven/server/table/validation/ColumnExpressionValidator.java b/server/src/main/java/io/deephaven/server/table/validation/ColumnExpressionValidator.java index 6bdc8757514..fddccaa2370 100644 --- a/server/src/main/java/io/deephaven/server/table/validation/ColumnExpressionValidator.java +++ b/server/src/main/java/io/deephaven/server/table/validation/ColumnExpressionValidator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.validation; import com.github.javaparser.JavaParser; diff --git a/server/src/main/java/io/deephaven/server/uri/ApplicationResolver.java b/server/src/main/java/io/deephaven/server/uri/ApplicationResolver.java index c387e8b3c75..ab5e8dffd50 100644 --- a/server/src/main/java/io/deephaven/server/uri/ApplicationResolver.java +++ b/server/src/main/java/io/deephaven/server/uri/ApplicationResolver.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.uri; import io.deephaven.appmode.ApplicationState; diff --git a/server/src/main/java/io/deephaven/server/uri/BarrageTableResolver.java b/server/src/main/java/io/deephaven/server/uri/BarrageTableResolver.java index 962264b6687..b70a4199f43 100644 --- a/server/src/main/java/io/deephaven/server/uri/BarrageTableResolver.java +++ b/server/src/main/java/io/deephaven/server/uri/BarrageTableResolver.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.uri; import io.deephaven.UncheckedDeephavenException; diff --git a/server/src/main/java/io/deephaven/server/uri/CsvTableResolver.java b/server/src/main/java/io/deephaven/server/uri/CsvTableResolver.java index 2ddeaf8afca..5b180c4e770 100644 --- a/server/src/main/java/io/deephaven/server/uri/CsvTableResolver.java +++ b/server/src/main/java/io/deephaven/server/uri/CsvTableResolver.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.uri; import io.deephaven.csv.CsvTools; diff --git a/server/src/main/java/io/deephaven/server/uri/ParquetTableResolver.java b/server/src/main/java/io/deephaven/server/uri/ParquetTableResolver.java index cd220706305..022430b9329 100644 --- a/server/src/main/java/io/deephaven/server/uri/ParquetTableResolver.java +++ b/server/src/main/java/io/deephaven/server/uri/ParquetTableResolver.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.uri; import io.deephaven.engine.table.Table; diff --git a/server/src/main/java/io/deephaven/server/uri/QueryScopeResolver.java b/server/src/main/java/io/deephaven/server/uri/QueryScopeResolver.java index 6b9839a753b..3cf003ef907 100644 --- a/server/src/main/java/io/deephaven/server/uri/QueryScopeResolver.java +++ b/server/src/main/java/io/deephaven/server/uri/QueryScopeResolver.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.uri; import io.deephaven.engine.context.ExecutionContext; diff --git a/server/src/main/java/io/deephaven/server/uri/UriModule.java b/server/src/main/java/io/deephaven/server/uri/UriModule.java index 1af9ce58896..eade343cd5f 100644 --- a/server/src/main/java/io/deephaven/server/uri/UriModule.java +++ b/server/src/main/java/io/deephaven/server/uri/UriModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.uri; import dagger.Binds; diff --git a/server/src/main/java/io/deephaven/server/util/AuthorizationWrappedGrpcBinding.java b/server/src/main/java/io/deephaven/server/util/AuthorizationWrappedGrpcBinding.java index fdff6365d9a..b4cdd24b948 100644 --- a/server/src/main/java/io/deephaven/server/util/AuthorizationWrappedGrpcBinding.java +++ b/server/src/main/java/io/deephaven/server/util/AuthorizationWrappedGrpcBinding.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.util; import io.deephaven.auth.ServiceAuthWiring; diff --git a/server/src/main/java/io/deephaven/server/util/GrpcServiceOverrideBuilder.java b/server/src/main/java/io/deephaven/server/util/GrpcServiceOverrideBuilder.java index 8e0dc7868da..97658532f0a 100644 --- a/server/src/main/java/io/deephaven/server/util/GrpcServiceOverrideBuilder.java +++ b/server/src/main/java/io/deephaven/server/util/GrpcServiceOverrideBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.util; import com.google.rpc.Code; diff --git a/server/src/main/java/io/deephaven/server/util/PassthroughInputStreamMarshaller.java b/server/src/main/java/io/deephaven/server/util/PassthroughInputStreamMarshaller.java index 3f9be22f92f..03d64e3fa1e 100644 --- a/server/src/main/java/io/deephaven/server/util/PassthroughInputStreamMarshaller.java +++ b/server/src/main/java/io/deephaven/server/util/PassthroughInputStreamMarshaller.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.util; import io.grpc.MethodDescriptor; diff --git a/server/src/main/java/io/deephaven/server/util/Scheduler.java b/server/src/main/java/io/deephaven/server/util/Scheduler.java index 6a11e666eb1..b54f8195d93 100644 --- a/server/src/main/java/io/deephaven/server/util/Scheduler.java +++ b/server/src/main/java/io/deephaven/server/util/Scheduler.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.util; import io.deephaven.base.clock.Clock; diff --git a/server/src/main/java/io/deephaven/server/util/UnaryInputStreamMarshaller.java b/server/src/main/java/io/deephaven/server/util/UnaryInputStreamMarshaller.java index cbb13ee41e8..05e8258746d 100644 --- a/server/src/main/java/io/deephaven/server/util/UnaryInputStreamMarshaller.java +++ b/server/src/main/java/io/deephaven/server/util/UnaryInputStreamMarshaller.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.util; import io.deephaven.extensions.barrage.util.BarrageProtoUtil; diff --git a/server/src/test/java/io/deephaven/server/appmode/ApplicationConfigTest.java b/server/src/test/java/io/deephaven/server/appmode/ApplicationConfigTest.java index 0021bfb7868..5680e0a5008 100644 --- a/server/src/test/java/io/deephaven/server/appmode/ApplicationConfigTest.java +++ b/server/src/test/java/io/deephaven/server/appmode/ApplicationConfigTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.appmode; import io.deephaven.appmode.ApplicationConfig; diff --git a/server/src/test/java/io/deephaven/server/appmode/ApplicationConfigs.java b/server/src/test/java/io/deephaven/server/appmode/ApplicationConfigs.java index a820c6d8b13..e499de114eb 100644 --- a/server/src/test/java/io/deephaven/server/appmode/ApplicationConfigs.java +++ b/server/src/test/java/io/deephaven/server/appmode/ApplicationConfigs.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.appmode; import io.deephaven.appmode.*; diff --git a/server/src/test/java/io/deephaven/server/appmode/ApplicationExampleTest.java b/server/src/test/java/io/deephaven/server/appmode/ApplicationExampleTest.java index d312a5191fb..20a2afda578 100644 --- a/server/src/test/java/io/deephaven/server/appmode/ApplicationExampleTest.java +++ b/server/src/test/java/io/deephaven/server/appmode/ApplicationExampleTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.appmode; import com.google.auto.service.AutoService; diff --git a/server/src/test/java/io/deephaven/server/appmode/ApplicationServiceGrpcImplTest.java b/server/src/test/java/io/deephaven/server/appmode/ApplicationServiceGrpcImplTest.java index 3d9d5edf847..b8d08f06606 100644 --- a/server/src/test/java/io/deephaven/server/appmode/ApplicationServiceGrpcImplTest.java +++ b/server/src/test/java/io/deephaven/server/appmode/ApplicationServiceGrpcImplTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.appmode; import io.deephaven.engine.context.ExecutionContext; diff --git a/server/src/test/java/io/deephaven/server/appmode/ApplicationTest.java b/server/src/test/java/io/deephaven/server/appmode/ApplicationTest.java index af0ad09ee98..dbfd1a22029 100644 --- a/server/src/test/java/io/deephaven/server/appmode/ApplicationTest.java +++ b/server/src/test/java/io/deephaven/server/appmode/ApplicationTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.appmode; import io.deephaven.appmode.ApplicationState; diff --git a/server/src/test/java/io/deephaven/server/barrage/BarrageBlinkTableTest.java b/server/src/test/java/io/deephaven/server/barrage/BarrageBlinkTableTest.java index 7c80902a289..bce51e45681 100644 --- a/server/src/test/java/io/deephaven/server/barrage/BarrageBlinkTableTest.java +++ b/server/src/test/java/io/deephaven/server/barrage/BarrageBlinkTableTest.java @@ -1,7 +1,6 @@ -/* - * Copyright (c) 2016-2021 Deephaven Data Labs and Patent Pending - */ - +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.barrage; import com.google.protobuf.ByteString; diff --git a/server/src/test/java/io/deephaven/server/barrage/BarrageMessageRoundTripTest.java b/server/src/test/java/io/deephaven/server/barrage/BarrageMessageRoundTripTest.java index 1a3d2f9bb45..4c4f3542851 100644 --- a/server/src/test/java/io/deephaven/server/barrage/BarrageMessageRoundTripTest.java +++ b/server/src/test/java/io/deephaven/server/barrage/BarrageMessageRoundTripTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.barrage; import dagger.BindsInstance; diff --git a/server/src/test/java/io/deephaven/server/console/ConsoleServiceTest.java b/server/src/test/java/io/deephaven/server/console/ConsoleServiceTest.java index 7d3e1cbe98c..574bef99be2 100644 --- a/server/src/test/java/io/deephaven/server/console/ConsoleServiceTest.java +++ b/server/src/test/java/io/deephaven/server/console/ConsoleServiceTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.console; import io.deephaven.io.log.LogLevel; diff --git a/server/src/test/java/io/deephaven/server/object/ObjectServiceTest.java b/server/src/test/java/io/deephaven/server/object/ObjectServiceTest.java index 38d5b7a457a..6badcbaf7de 100644 --- a/server/src/test/java/io/deephaven/server/object/ObjectServiceTest.java +++ b/server/src/test/java/io/deephaven/server/object/ObjectServiceTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.object; import com.google.auto.service.AutoService; diff --git a/server/src/test/java/io/deephaven/server/runner/DeephavenApiServerSingleAuthenticatedBase.java b/server/src/test/java/io/deephaven/server/runner/DeephavenApiServerSingleAuthenticatedBase.java index db78fc8ed6a..bca764b2d6d 100644 --- a/server/src/test/java/io/deephaven/server/runner/DeephavenApiServerSingleAuthenticatedBase.java +++ b/server/src/test/java/io/deephaven/server/runner/DeephavenApiServerSingleAuthenticatedBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner; import io.deephaven.UncheckedDeephavenException; diff --git a/server/src/test/java/io/deephaven/server/runner/DeephavenApiServerSingleUnauthenticatedBase.java b/server/src/test/java/io/deephaven/server/runner/DeephavenApiServerSingleUnauthenticatedBase.java index f90774aca96..f7d2d806f60 100644 --- a/server/src/test/java/io/deephaven/server/runner/DeephavenApiServerSingleUnauthenticatedBase.java +++ b/server/src/test/java/io/deephaven/server/runner/DeephavenApiServerSingleUnauthenticatedBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner; import io.deephaven.proto.DeephavenChannel; diff --git a/server/src/test/java/io/deephaven/server/runner/DeephavenApiServerTestBase.java b/server/src/test/java/io/deephaven/server/runner/DeephavenApiServerTestBase.java index f457e5028b6..0c528e8124c 100644 --- a/server/src/test/java/io/deephaven/server/runner/DeephavenApiServerTestBase.java +++ b/server/src/test/java/io/deephaven/server/runner/DeephavenApiServerTestBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner; import dagger.BindsInstance; diff --git a/server/src/test/java/io/deephaven/server/runner/DeephavenApiServerTestConfig.java b/server/src/test/java/io/deephaven/server/runner/DeephavenApiServerTestConfig.java index 2d65fdf87d1..d80b76e0fec 100644 --- a/server/src/test/java/io/deephaven/server/runner/DeephavenApiServerTestConfig.java +++ b/server/src/test/java/io/deephaven/server/runner/DeephavenApiServerTestConfig.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner; import io.deephaven.annotations.BuildableStyle; diff --git a/server/src/test/java/io/deephaven/server/runner/OperationsTest.java b/server/src/test/java/io/deephaven/server/runner/OperationsTest.java index 47792818a5e..4701ee48fe8 100644 --- a/server/src/test/java/io/deephaven/server/runner/OperationsTest.java +++ b/server/src/test/java/io/deephaven/server/runner/OperationsTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner; import io.deephaven.proto.backplane.grpc.BatchTableRequest; diff --git a/server/src/test/java/io/deephaven/server/runner/ServerBuilderInProcessModule.java b/server/src/test/java/io/deephaven/server/runner/ServerBuilderInProcessModule.java index de4d3caeef1..43da4fdf1a9 100644 --- a/server/src/test/java/io/deephaven/server/runner/ServerBuilderInProcessModule.java +++ b/server/src/test/java/io/deephaven/server/runner/ServerBuilderInProcessModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner; import dagger.Module; diff --git a/server/src/test/java/io/deephaven/server/runner/UnauthenticatedTests.java b/server/src/test/java/io/deephaven/server/runner/UnauthenticatedTests.java index b61f6ab6523..42490d905a3 100644 --- a/server/src/test/java/io/deephaven/server/runner/UnauthenticatedTests.java +++ b/server/src/test/java/io/deephaven/server/runner/UnauthenticatedTests.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner; import io.deephaven.proto.backplane.grpc.EmptyTableRequest; diff --git a/server/src/test/java/io/deephaven/server/runner/scheduler/SchedulerDelegatingImplModule.java b/server/src/test/java/io/deephaven/server/runner/scheduler/SchedulerDelegatingImplModule.java index d3984ddbdd2..7d4eb6d0d3a 100644 --- a/server/src/test/java/io/deephaven/server/runner/scheduler/SchedulerDelegatingImplModule.java +++ b/server/src/test/java/io/deephaven/server/runner/scheduler/SchedulerDelegatingImplModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner.scheduler; import dagger.Module; diff --git a/server/src/test/java/io/deephaven/server/session/SessionServiceTest.java b/server/src/test/java/io/deephaven/server/session/SessionServiceTest.java index b65a2a6a363..7511923517e 100644 --- a/server/src/test/java/io/deephaven/server/session/SessionServiceTest.java +++ b/server/src/test/java/io/deephaven/server/session/SessionServiceTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.session; import io.deephaven.base.verify.Assert; diff --git a/server/src/test/java/io/deephaven/server/session/SessionStateTest.java b/server/src/test/java/io/deephaven/server/session/SessionStateTest.java index 6ee2cb0b4af..2ca0a2b1e31 100644 --- a/server/src/test/java/io/deephaven/server/session/SessionStateTest.java +++ b/server/src/test/java/io/deephaven/server/session/SessionStateTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.session; import io.deephaven.base.verify.Assert; diff --git a/server/src/test/java/io/deephaven/server/table/ExportTableUpdateListenerTest.java b/server/src/test/java/io/deephaven/server/table/ExportTableUpdateListenerTest.java index 3aaf9e4e349..cf9bf3e556f 100644 --- a/server/src/test/java/io/deephaven/server/table/ExportTableUpdateListenerTest.java +++ b/server/src/test/java/io/deephaven/server/table/ExportTableUpdateListenerTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table; import io.deephaven.UncheckedDeephavenException; diff --git a/server/src/test/java/io/deephaven/server/table/ops/AggSpecAdapterTest.java b/server/src/test/java/io/deephaven/server/table/ops/AggSpecAdapterTest.java index 4c320bb2e1b..e406bc1ddb6 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/AggSpecAdapterTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/AggSpecAdapterTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.protobuf.UnknownFieldSet; diff --git a/server/src/test/java/io/deephaven/server/table/ops/AggregateAllGrpcTest.java b/server/src/test/java/io/deephaven/server/table/ops/AggregateAllGrpcTest.java index b707fdd6980..67296b9e7c8 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/AggregateAllGrpcTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/AggregateAllGrpcTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.protobuf.UnknownFieldSet; diff --git a/server/src/test/java/io/deephaven/server/table/ops/AggregateGrpcTest.java b/server/src/test/java/io/deephaven/server/table/ops/AggregateGrpcTest.java index b956c675301..b1eeddca9a7 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/AggregateGrpcTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/AggregateGrpcTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.protobuf.UnknownFieldSet; diff --git a/server/src/test/java/io/deephaven/server/table/ops/AggregationAdapterTest.java b/server/src/test/java/io/deephaven/server/table/ops/AggregationAdapterTest.java index 6205c0acf79..fe1a15c614e 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/AggregationAdapterTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/AggregationAdapterTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.proto.backplane.grpc.Aggregation.TypeCase; diff --git a/server/src/test/java/io/deephaven/server/table/ops/AsOfJoinGrpcTestBase.java b/server/src/test/java/io/deephaven/server/table/ops/AsOfJoinGrpcTestBase.java index 81936772322..82289f80314 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/AsOfJoinGrpcTestBase.java +++ b/server/src/test/java/io/deephaven/server/table/ops/AsOfJoinGrpcTestBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.protobuf.UnknownFieldSet; diff --git a/server/src/test/java/io/deephaven/server/table/ops/BatchGrpcTest.java b/server/src/test/java/io/deephaven/server/table/ops/BatchGrpcTest.java index 777526515d6..ef7ac85f260 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/BatchGrpcTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/BatchGrpcTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.proto.backplane.grpc.BatchTableRequest; diff --git a/server/src/test/java/io/deephaven/server/table/ops/GrpcTableOperationTestBase.java b/server/src/test/java/io/deephaven/server/table/ops/GrpcTableOperationTestBase.java index ea92c579481..9ac387d12ee 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/GrpcTableOperationTestBase.java +++ b/server/src/test/java/io/deephaven/server/table/ops/GrpcTableOperationTestBase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.protobuf.Message; diff --git a/server/src/test/java/io/deephaven/server/table/ops/MultiJoinGrpcTest.java b/server/src/test/java/io/deephaven/server/table/ops/MultiJoinGrpcTest.java index f7ec02a1a8b..cf260959f91 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/MultiJoinGrpcTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/MultiJoinGrpcTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.engine.util.TableTools; diff --git a/server/src/test/java/io/deephaven/server/table/ops/RangeJoinGrpcTest.java b/server/src/test/java/io/deephaven/server/table/ops/RangeJoinGrpcTest.java index 78fbb377497..3e29c6d5a14 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/RangeJoinGrpcTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/RangeJoinGrpcTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.protobuf.UnknownFieldSet; diff --git a/server/src/test/java/io/deephaven/server/table/ops/SnapshotGrpcTest.java b/server/src/test/java/io/deephaven/server/table/ops/SnapshotGrpcTest.java index 351818f8e63..26d3a15a381 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/SnapshotGrpcTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/SnapshotGrpcTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.engine.util.TableTools; diff --git a/server/src/test/java/io/deephaven/server/table/ops/SnapshotWhenGrpcTest.java b/server/src/test/java/io/deephaven/server/table/ops/SnapshotWhenGrpcTest.java index ef483a37018..343bfae45ef 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/SnapshotWhenGrpcTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/SnapshotWhenGrpcTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest; diff --git a/server/src/test/java/io/deephaven/server/table/ops/SnapshotWhenGrpcTestBase.java b/server/src/test/java/io/deephaven/server/table/ops/SnapshotWhenGrpcTestBase.java index 15c571d33db..ba85b79c0d3 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/SnapshotWhenGrpcTestBase.java +++ b/server/src/test/java/io/deephaven/server/table/ops/SnapshotWhenGrpcTestBase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.engine.util.TableTools; diff --git a/server/src/test/java/io/deephaven/server/table/ops/SnapshotWhenHistoryGrpcTest.java b/server/src/test/java/io/deephaven/server/table/ops/SnapshotWhenHistoryGrpcTest.java index 7f1611616dc..9d91f4dddea 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/SnapshotWhenHistoryGrpcTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/SnapshotWhenHistoryGrpcTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest; diff --git a/server/src/test/java/io/deephaven/server/table/ops/SnapshotWhenIncrementalGrpcTest.java b/server/src/test/java/io/deephaven/server/table/ops/SnapshotWhenIncrementalGrpcTest.java index e6554a66bf2..3575beeb26b 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/SnapshotWhenIncrementalGrpcTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/SnapshotWhenIncrementalGrpcTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest; diff --git a/server/src/test/java/io/deephaven/server/table/ops/WhereInGrpcTest.java b/server/src/test/java/io/deephaven/server/table/ops/WhereInGrpcTest.java index ee9261ec0f9..99772f96007 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/WhereInGrpcTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/WhereInGrpcTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops; import com.google.protobuf.UnknownFieldSet; diff --git a/server/src/test/java/io/deephaven/server/table/ops/filter/AbstractNormalizingFilterTest.java b/server/src/test/java/io/deephaven/server/table/ops/filter/AbstractNormalizingFilterTest.java index 170902f6380..fda8d045685 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/filter/AbstractNormalizingFilterTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/filter/AbstractNormalizingFilterTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.Condition; diff --git a/server/src/test/java/io/deephaven/server/table/ops/filter/ConvertInvalidInExpressionsTest.java b/server/src/test/java/io/deephaven/server/table/ops/filter/ConvertInvalidInExpressionsTest.java index 63e5e56c9eb..9b398bf1821 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/filter/ConvertInvalidInExpressionsTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/filter/ConvertInvalidInExpressionsTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.CaseSensitivity; diff --git a/server/src/test/java/io/deephaven/server/table/ops/filter/FilterPrinterTest.java b/server/src/test/java/io/deephaven/server/table/ops/filter/FilterPrinterTest.java index efa82dc4070..fce4e2e0684 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/filter/FilterPrinterTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/filter/FilterPrinterTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.Condition; diff --git a/server/src/test/java/io/deephaven/server/table/ops/filter/FilterTestUtils.java b/server/src/test/java/io/deephaven/server/table/ops/filter/FilterTestUtils.java index 0be8c875fc1..587d2c787fb 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/filter/FilterTestUtils.java +++ b/server/src/test/java/io/deephaven/server/table/ops/filter/FilterTestUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.*; diff --git a/server/src/test/java/io/deephaven/server/table/ops/filter/FlipNonReferenceMatchExpressionTest.java b/server/src/test/java/io/deephaven/server/table/ops/filter/FlipNonReferenceMatchExpressionTest.java index c96fd37e828..29f55cd956e 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/filter/FlipNonReferenceMatchExpressionTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/filter/FlipNonReferenceMatchExpressionTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.CaseSensitivity; diff --git a/server/src/test/java/io/deephaven/server/table/ops/filter/MakeExpressionsNullSafeTest.java b/server/src/test/java/io/deephaven/server/table/ops/filter/MakeExpressionsNullSafeTest.java index ae2faa56ee0..d958c776ff3 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/filter/MakeExpressionsNullSafeTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/filter/MakeExpressionsNullSafeTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.CaseSensitivity; diff --git a/server/src/test/java/io/deephaven/server/table/ops/filter/MergeNestedBinaryOperationsTest.java b/server/src/test/java/io/deephaven/server/table/ops/filter/MergeNestedBinaryOperationsTest.java index 59f7123e388..8746d8a814b 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/filter/MergeNestedBinaryOperationsTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/filter/MergeNestedBinaryOperationsTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.Condition; diff --git a/server/src/test/java/io/deephaven/server/table/ops/filter/NormalizeNotsTest.java b/server/src/test/java/io/deephaven/server/table/ops/filter/NormalizeNotsTest.java index 1199eb1134d..3b9544b73c4 100644 --- a/server/src/test/java/io/deephaven/server/table/ops/filter/NormalizeNotsTest.java +++ b/server/src/test/java/io/deephaven/server/table/ops/filter/NormalizeNotsTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.ops.filter; import io.deephaven.proto.backplane.grpc.*; diff --git a/server/src/test/java/io/deephaven/server/table/stats/ChunkedStatsKernelTest.java b/server/src/test/java/io/deephaven/server/table/stats/ChunkedStatsKernelTest.java index 8ac6a40708c..84ed1d2fc0f 100644 --- a/server/src/test/java/io/deephaven/server/table/stats/ChunkedStatsKernelTest.java +++ b/server/src/test/java/io/deephaven/server/table/stats/ChunkedStatsKernelTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.table.stats; import io.deephaven.api.agg.spec.AggSpec; diff --git a/server/src/test/java/io/deephaven/server/util/TestControlledScheduler.java b/server/src/test/java/io/deephaven/server/util/TestControlledScheduler.java index f9b3aa0ea0e..605aeaf8219 100644 --- a/server/src/test/java/io/deephaven/server/util/TestControlledScheduler.java +++ b/server/src/test/java/io/deephaven/server/util/TestControlledScheduler.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.util; import io.deephaven.base.Pair; diff --git a/server/src/test/java/io/deephaven/server/util/TestUtil.java b/server/src/test/java/io/deephaven/server/util/TestUtil.java index 48b45e01e20..887cc9f0736 100644 --- a/server/src/test/java/io/deephaven/server/util/TestUtil.java +++ b/server/src/test/java/io/deephaven/server/util/TestUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.util; import io.deephaven.base.verify.Assert; diff --git a/server/src/test/java/io/deephaven/util/annotations/TestFinalDefault.java b/server/src/test/java/io/deephaven/util/annotations/TestFinalDefault.java index 5becff64653..a805d559210 100644 --- a/server/src/test/java/io/deephaven/util/annotations/TestFinalDefault.java +++ b/server/src/test/java/io/deephaven/util/annotations/TestFinalDefault.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.util.annotations; import io.deephaven.internal.log.LoggerFactory; diff --git a/server/test/src/main/java/io/deephaven/server/runner/ExecutionContextUnitTestModule.java b/server/test/src/main/java/io/deephaven/server/runner/ExecutionContextUnitTestModule.java index 0633c1cb22f..f81633b00df 100644 --- a/server/test/src/main/java/io/deephaven/server/runner/ExecutionContextUnitTestModule.java +++ b/server/test/src/main/java/io/deephaven/server/runner/ExecutionContextUnitTestModule.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.runner; import dagger.Module; diff --git a/server/test/src/main/java/io/deephaven/server/test/FlightMessageRoundTripTest.java b/server/test/src/main/java/io/deephaven/server/test/FlightMessageRoundTripTest.java index a60bc421d8a..94bdea7ad1f 100644 --- a/server/test/src/main/java/io/deephaven/server/test/FlightMessageRoundTripTest.java +++ b/server/test/src/main/java/io/deephaven/server/test/FlightMessageRoundTripTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.test; import com.google.flatbuffers.FlatBufferBuilder; diff --git a/server/test/src/main/java/io/deephaven/server/test/TestAuthModule.java b/server/test/src/main/java/io/deephaven/server/test/TestAuthModule.java index 4c51d836359..4b80ce7ca7c 100644 --- a/server/test/src/main/java/io/deephaven/server/test/TestAuthModule.java +++ b/server/test/src/main/java/io/deephaven/server/test/TestAuthModule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.test; import dagger.Module; diff --git a/server/test/src/main/java/io/deephaven/server/test/TestAuthorizationProvider.java b/server/test/src/main/java/io/deephaven/server/test/TestAuthorizationProvider.java index 224a44c150c..c7877814673 100644 --- a/server/test/src/main/java/io/deephaven/server/test/TestAuthorizationProvider.java +++ b/server/test/src/main/java/io/deephaven/server/test/TestAuthorizationProvider.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.server.test; import io.deephaven.auth.AuthContext; diff --git a/sql/src/main/java/io/deephaven/sql/AggregateCallAdapterImpl.java b/sql/src/main/java/io/deephaven/sql/AggregateCallAdapterImpl.java index 44623334de7..bcf3d96ca70 100644 --- a/sql/src/main/java/io/deephaven/sql/AggregateCallAdapterImpl.java +++ b/sql/src/main/java/io/deephaven/sql/AggregateCallAdapterImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.ColumnName; diff --git a/sql/src/main/java/io/deephaven/sql/DeephavenTable.java b/sql/src/main/java/io/deephaven/sql/DeephavenTable.java index 81ec55c099a..9706d16ad83 100644 --- a/sql/src/main/java/io/deephaven/sql/DeephavenTable.java +++ b/sql/src/main/java/io/deephaven/sql/DeephavenTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import org.apache.calcite.rel.type.RelDataType; diff --git a/sql/src/main/java/io/deephaven/sql/FieldAdapter.java b/sql/src/main/java/io/deephaven/sql/FieldAdapter.java index f0a9dca1ca3..9937dfc9809 100644 --- a/sql/src/main/java/io/deephaven/sql/FieldAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/FieldAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.ColumnName; diff --git a/sql/src/main/java/io/deephaven/sql/FilterSimplifier.java b/sql/src/main/java/io/deephaven/sql/FilterSimplifier.java index 0d32b34b3e7..a3c014147f2 100644 --- a/sql/src/main/java/io/deephaven/sql/FilterSimplifier.java +++ b/sql/src/main/java/io/deephaven/sql/FilterSimplifier.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.RawString; diff --git a/sql/src/main/java/io/deephaven/sql/Helper.java b/sql/src/main/java/io/deephaven/sql/Helper.java index 8e03f3dc365..9ac31923649 100644 --- a/sql/src/main/java/io/deephaven/sql/Helper.java +++ b/sql/src/main/java/io/deephaven/sql/Helper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.ColumnName; diff --git a/sql/src/main/java/io/deephaven/sql/IndexRef.java b/sql/src/main/java/io/deephaven/sql/IndexRef.java index 6f898a35e31..2f464a38abf 100644 --- a/sql/src/main/java/io/deephaven/sql/IndexRef.java +++ b/sql/src/main/java/io/deephaven/sql/IndexRef.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.ColumnName; diff --git a/sql/src/main/java/io/deephaven/sql/LexConfig.java b/sql/src/main/java/io/deephaven/sql/LexConfig.java index 36a54f2856c..18147309509 100644 --- a/sql/src/main/java/io/deephaven/sql/LexConfig.java +++ b/sql/src/main/java/io/deephaven/sql/LexConfig.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import org.apache.calcite.avatica.util.Casing; diff --git a/sql/src/main/java/io/deephaven/sql/LiteralAdapter.java b/sql/src/main/java/io/deephaven/sql/LiteralAdapter.java index 0d834497208..6534075d28f 100644 --- a/sql/src/main/java/io/deephaven/sql/LiteralAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/LiteralAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.literal.Literal; diff --git a/sql/src/main/java/io/deephaven/sql/LogicalAggregateAdapter.java b/sql/src/main/java/io/deephaven/sql/LogicalAggregateAdapter.java index ce7812bd67d..f28c30d893f 100644 --- a/sql/src/main/java/io/deephaven/sql/LogicalAggregateAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/LogicalAggregateAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.ColumnName; diff --git a/sql/src/main/java/io/deephaven/sql/LogicalFilterAdapter.java b/sql/src/main/java/io/deephaven/sql/LogicalFilterAdapter.java index b3e2240fdd1..b5b88f34abc 100644 --- a/sql/src/main/java/io/deephaven/sql/LogicalFilterAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/LogicalFilterAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.filter.Filter; diff --git a/sql/src/main/java/io/deephaven/sql/LogicalJoinAdapter.java b/sql/src/main/java/io/deephaven/sql/LogicalJoinAdapter.java index 0c4bb281fca..ecad74812ce 100644 --- a/sql/src/main/java/io/deephaven/sql/LogicalJoinAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/LogicalJoinAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.ColumnName; diff --git a/sql/src/main/java/io/deephaven/sql/LogicalProjectAdapter.java b/sql/src/main/java/io/deephaven/sql/LogicalProjectAdapter.java index 36dd6bd19e2..8c027e61e32 100644 --- a/sql/src/main/java/io/deephaven/sql/LogicalProjectAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/LogicalProjectAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.ColumnName; diff --git a/sql/src/main/java/io/deephaven/sql/LogicalSortAdapter.java b/sql/src/main/java/io/deephaven/sql/LogicalSortAdapter.java index 143c0292f91..dbcfad5b6ef 100644 --- a/sql/src/main/java/io/deephaven/sql/LogicalSortAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/LogicalSortAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.ColumnName; diff --git a/sql/src/main/java/io/deephaven/sql/LogicalUnionAdapter.java b/sql/src/main/java/io/deephaven/sql/LogicalUnionAdapter.java index 80d0ef21ddf..1a315976754 100644 --- a/sql/src/main/java/io/deephaven/sql/LogicalUnionAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/LogicalUnionAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.qst.table.MergeTable; diff --git a/sql/src/main/java/io/deephaven/sql/LogicalValuesAdapter.java b/sql/src/main/java/io/deephaven/sql/LogicalValuesAdapter.java index 01ec27ce597..1cdfc0c9a98 100644 --- a/sql/src/main/java/io/deephaven/sql/LogicalValuesAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/LogicalValuesAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import com.google.common.collect.ImmutableList; diff --git a/sql/src/main/java/io/deephaven/sql/NamedAdapter.java b/sql/src/main/java/io/deephaven/sql/NamedAdapter.java index f03d17a59cc..aae87e56dab 100644 --- a/sql/src/main/java/io/deephaven/sql/NamedAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/NamedAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.ColumnName; diff --git a/sql/src/main/java/io/deephaven/sql/OutputFieldAdapter.java b/sql/src/main/java/io/deephaven/sql/OutputFieldAdapter.java index 96932c7ea29..b9b04f513c3 100644 --- a/sql/src/main/java/io/deephaven/sql/OutputFieldAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/OutputFieldAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.ColumnName; diff --git a/sql/src/main/java/io/deephaven/sql/Prefix.java b/sql/src/main/java/io/deephaven/sql/Prefix.java index e6fe5405542..95db407d9d6 100644 --- a/sql/src/main/java/io/deephaven/sql/Prefix.java +++ b/sql/src/main/java/io/deephaven/sql/Prefix.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import java.util.Objects; diff --git a/sql/src/main/java/io/deephaven/sql/RelNodeAdapter.java b/sql/src/main/java/io/deephaven/sql/RelNodeAdapter.java index d722b885f70..8c92a7d4f94 100644 --- a/sql/src/main/java/io/deephaven/sql/RelNodeAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/RelNodeAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.qst.table.TableSpec; diff --git a/sql/src/main/java/io/deephaven/sql/RelNodeAdapterIndexRef.java b/sql/src/main/java/io/deephaven/sql/RelNodeAdapterIndexRef.java index f3d4bb0e6fa..76f01408888 100644 --- a/sql/src/main/java/io/deephaven/sql/RelNodeAdapterIndexRef.java +++ b/sql/src/main/java/io/deephaven/sql/RelNodeAdapterIndexRef.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.qst.table.TableSpec; diff --git a/sql/src/main/java/io/deephaven/sql/RelNodeAdapterNamed.java b/sql/src/main/java/io/deephaven/sql/RelNodeAdapterNamed.java index 62fea7683a3..d450e56c044 100644 --- a/sql/src/main/java/io/deephaven/sql/RelNodeAdapterNamed.java +++ b/sql/src/main/java/io/deephaven/sql/RelNodeAdapterNamed.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.qst.table.TableSpec; diff --git a/sql/src/main/java/io/deephaven/sql/RelNodeVisitor.java b/sql/src/main/java/io/deephaven/sql/RelNodeVisitor.java index ebbf62c4e3c..8dc5b3866b9 100644 --- a/sql/src/main/java/io/deephaven/sql/RelNodeVisitor.java +++ b/sql/src/main/java/io/deephaven/sql/RelNodeVisitor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import org.apache.calcite.rel.RelNode; diff --git a/sql/src/main/java/io/deephaven/sql/RelNodeVisitorAdapter.java b/sql/src/main/java/io/deephaven/sql/RelNodeVisitorAdapter.java index e05202fc6c4..100276c55d0 100644 --- a/sql/src/main/java/io/deephaven/sql/RelNodeVisitorAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/RelNodeVisitorAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import org.apache.calcite.rel.RelNode; diff --git a/sql/src/main/java/io/deephaven/sql/RexNodeExpressionAdapter.java b/sql/src/main/java/io/deephaven/sql/RexNodeExpressionAdapter.java index 8bd2ae29790..8485af530fd 100644 --- a/sql/src/main/java/io/deephaven/sql/RexNodeExpressionAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/RexNodeExpressionAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.expression.Expression; diff --git a/sql/src/main/java/io/deephaven/sql/RexNodeExpressionAdapterImpl.java b/sql/src/main/java/io/deephaven/sql/RexNodeExpressionAdapterImpl.java index c0063ae48d1..05a6f67c968 100644 --- a/sql/src/main/java/io/deephaven/sql/RexNodeExpressionAdapterImpl.java +++ b/sql/src/main/java/io/deephaven/sql/RexNodeExpressionAdapterImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.RawString; diff --git a/sql/src/main/java/io/deephaven/sql/RexNodeFilterAdapter.java b/sql/src/main/java/io/deephaven/sql/RexNodeFilterAdapter.java index 99cb06fc316..4b0ad68a8a0 100644 --- a/sql/src/main/java/io/deephaven/sql/RexNodeFilterAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/RexNodeFilterAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.filter.Filter; diff --git a/sql/src/main/java/io/deephaven/sql/RexNodeFilterAdapterImpl.java b/sql/src/main/java/io/deephaven/sql/RexNodeFilterAdapterImpl.java index 24d1ce8354c..7ae9e2b9944 100644 --- a/sql/src/main/java/io/deephaven/sql/RexNodeFilterAdapterImpl.java +++ b/sql/src/main/java/io/deephaven/sql/RexNodeFilterAdapterImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.api.expression.Expression; diff --git a/sql/src/main/java/io/deephaven/sql/RexVisitorBase.java b/sql/src/main/java/io/deephaven/sql/RexVisitorBase.java index 1e619270e9f..dab3dee61cb 100644 --- a/sql/src/main/java/io/deephaven/sql/RexVisitorBase.java +++ b/sql/src/main/java/io/deephaven/sql/RexVisitorBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import org.apache.calcite.rex.RexCall; diff --git a/sql/src/main/java/io/deephaven/sql/Scope.java b/sql/src/main/java/io/deephaven/sql/Scope.java index 6443980f92e..0e06fc2024a 100644 --- a/sql/src/main/java/io/deephaven/sql/Scope.java +++ b/sql/src/main/java/io/deephaven/sql/Scope.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import java.util.List; diff --git a/sql/src/main/java/io/deephaven/sql/ScopeStaticImpl.java b/sql/src/main/java/io/deephaven/sql/ScopeStaticImpl.java index afd2bbfa963..0ddfa2aa613 100644 --- a/sql/src/main/java/io/deephaven/sql/ScopeStaticImpl.java +++ b/sql/src/main/java/io/deephaven/sql/ScopeStaticImpl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.annotations.BuildableStyle; diff --git a/sql/src/main/java/io/deephaven/sql/SqlAdapter.java b/sql/src/main/java/io/deephaven/sql/SqlAdapter.java index 2e6e6abbf18..502e468a6f6 100644 --- a/sql/src/main/java/io/deephaven/sql/SqlAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/SqlAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.qst.table.TableSpec; diff --git a/sql/src/main/java/io/deephaven/sql/SqlParseException.java b/sql/src/main/java/io/deephaven/sql/SqlParseException.java index 612be0a815c..1a86449128a 100644 --- a/sql/src/main/java/io/deephaven/sql/SqlParseException.java +++ b/sql/src/main/java/io/deephaven/sql/SqlParseException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; public final class SqlParseException extends RuntimeException { diff --git a/sql/src/main/java/io/deephaven/sql/SqlRootContext.java b/sql/src/main/java/io/deephaven/sql/SqlRootContext.java index ea54f1cf38a..4c385b89598 100644 --- a/sql/src/main/java/io/deephaven/sql/SqlRootContext.java +++ b/sql/src/main/java/io/deephaven/sql/SqlRootContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import org.apache.calcite.rel.RelNode; diff --git a/sql/src/main/java/io/deephaven/sql/TableInformation.java b/sql/src/main/java/io/deephaven/sql/TableInformation.java index 6eac6059b91..7516d5cff54 100644 --- a/sql/src/main/java/io/deephaven/sql/TableInformation.java +++ b/sql/src/main/java/io/deephaven/sql/TableInformation.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.annotations.SimpleStyle; diff --git a/sql/src/main/java/io/deephaven/sql/TypeAdapter.java b/sql/src/main/java/io/deephaven/sql/TypeAdapter.java index 61c5ffde476..da775daf69f 100644 --- a/sql/src/main/java/io/deephaven/sql/TypeAdapter.java +++ b/sql/src/main/java/io/deephaven/sql/TypeAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.qst.column.header.ColumnHeader; diff --git a/sql/src/test/java/io/deephaven/sql/SqlAdapterTest.java b/sql/src/test/java/io/deephaven/sql/SqlAdapterTest.java index b8a91f2de3a..752bab3a6ea 100644 --- a/sql/src/test/java/io/deephaven/sql/SqlAdapterTest.java +++ b/sql/src/test/java/io/deephaven/sql/SqlAdapterTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.sql; import io.deephaven.qst.column.header.ColumnHeader; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/Ciphers.java b/ssl/config/src/main/java/io/deephaven/ssl/config/Ciphers.java index b05b1cd921d..54022b0a0f8 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/Ciphers.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/Ciphers.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.annotation.JsonSubTypes; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersExplicit.java b/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersExplicit.java index 7897aadda18..c581f9eab87 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersExplicit.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersExplicit.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersIntermediate.java b/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersIntermediate.java index f11f100737c..4daff8ae365 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersIntermediate.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersIntermediate.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersJdk.java b/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersJdk.java index 3fb9e5d69dc..2cb9f4fec6e 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersJdk.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersJdk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersModern.java b/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersModern.java index 2f462d50ef3..bc123599eda 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersModern.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersModern.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersProperties.java b/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersProperties.java index 5c1f5fcc981..b6fcdc4c874 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersProperties.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/CiphersProperties.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/Identity.java b/ssl/config/src/main/java/io/deephaven/ssl/config/Identity.java index be6fc5c526a..9af820d9c8f 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/Identity.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/Identity.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.annotation.JsonSubTypes; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/IdentityKeyStore.java b/ssl/config/src/main/java/io/deephaven/ssl/config/IdentityKeyStore.java index b67e5b20271..a652372188f 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/IdentityKeyStore.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/IdentityKeyStore.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/IdentityList.java b/ssl/config/src/main/java/io/deephaven/ssl/config/IdentityList.java index 21e4785f29d..10afa5aae53 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/IdentityList.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/IdentityList.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/IdentityPrivateKey.java b/ssl/config/src/main/java/io/deephaven/ssl/config/IdentityPrivateKey.java index ead981146da..7b15bbcbadf 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/IdentityPrivateKey.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/IdentityPrivateKey.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/IdentityProperties.java b/ssl/config/src/main/java/io/deephaven/ssl/config/IdentityProperties.java index 2d85508f018..659d258ab46 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/IdentityProperties.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/IdentityProperties.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/Parser.java b/ssl/config/src/main/java/io/deephaven/ssl/config/Parser.java index 9dc86328c78..14340d66e28 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/Parser.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/Parser.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/Protocols.java b/ssl/config/src/main/java/io/deephaven/ssl/config/Protocols.java index 90d7a307403..9c3092696d1 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/Protocols.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/Protocols.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.annotation.JsonSubTypes; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsExplicit.java b/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsExplicit.java index 187deb7b854..9247fd75fa2 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsExplicit.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsExplicit.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsIntermediate.java b/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsIntermediate.java index a020dda7403..5a8f3e6ab37 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsIntermediate.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsIntermediate.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsJdk.java b/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsJdk.java index 2befb89bd7c..1d2d213645d 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsJdk.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsJdk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsModern.java b/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsModern.java index 0ed861bd185..06358cc0d9c 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsModern.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsModern.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsProperties.java b/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsProperties.java index d155757ed95..43cfd3611b7 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsProperties.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/ProtocolsProperties.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/SSLConfig.java b/ssl/config/src/main/java/io/deephaven/ssl/config/SSLConfig.java index 9bc55375c9c..d95dd7a6d36 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/SSLConfig.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/SSLConfig.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/Trust.java b/ssl/config/src/main/java/io/deephaven/ssl/config/Trust.java index f6f44dabb14..7d55cf2947c 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/Trust.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/Trust.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.annotation.JsonSubTypes; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustAll.java b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustAll.java index 615b777ecd4..342a2c55227 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustAll.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustAll.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustBase.java b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustBase.java index feb0e516bcd..76e1a2754eb 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustBase.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustBase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; public abstract class TrustBase implements Trust { diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustCertificates.java b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustCertificates.java index 103f7cc3b06..73e96b5b99d 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustCertificates.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustCertificates.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.annotation.JsonFormat; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustCustom.java b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustCustom.java index f8b023eb881..672d7a42941 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustCustom.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustCustom.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import io.deephaven.annotations.BuildableStyle; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustJdk.java b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustJdk.java index db9e9098826..f55efe057be 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustJdk.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustJdk.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustList.java b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustList.java index 2eeb9e6bc8a..fed077d85b1 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustList.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustList.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustProperties.java b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustProperties.java index 5c2303a6358..09b6751ed1b 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustProperties.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustProperties.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustStore.java b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustStore.java index 5aa7edcca00..9c012e85766 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustStore.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustStore.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustSystem.java b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustSystem.java index e3fc858dd1f..52115f0672a 100644 --- a/ssl/config/src/main/java/io/deephaven/ssl/config/TrustSystem.java +++ b/ssl/config/src/main/java/io/deephaven/ssl/config/TrustSystem.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/ssl/config/src/test/java/io/deephaven/ssl/config/SSLConfigTest.java b/ssl/config/src/test/java/io/deephaven/ssl/config/SSLConfigTest.java index a9156db1eb4..70e4d0dceb5 100644 --- a/ssl/config/src/test/java/io/deephaven/ssl/config/SSLConfigTest.java +++ b/ssl/config/src/test/java/io/deephaven/ssl/config/SSLConfigTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config; import com.fasterxml.jackson.databind.exc.ValueInstantiationException; diff --git a/ssl/kickstart/src/main/java/io/deephaven/ssl/config/impl/KickstartUtils.java b/ssl/kickstart/src/main/java/io/deephaven/ssl/config/impl/KickstartUtils.java index 3178fbff080..765ba6e4b3a 100644 --- a/ssl/kickstart/src/main/java/io/deephaven/ssl/config/impl/KickstartUtils.java +++ b/ssl/kickstart/src/main/java/io/deephaven/ssl/config/impl/KickstartUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.ssl.config.impl; import io.deephaven.ssl.config.Ciphers; diff --git a/table-api/src/main/java/io/deephaven/api/AsOfJoinMatch.java b/table-api/src/main/java/io/deephaven/api/AsOfJoinMatch.java index 0da8051d5bb..d0bb7aa2990 100644 --- a/table-api/src/main/java/io/deephaven/api/AsOfJoinMatch.java +++ b/table-api/src/main/java/io/deephaven/api/AsOfJoinMatch.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/AsOfJoinRule.java b/table-api/src/main/java/io/deephaven/api/AsOfJoinRule.java index 61b50f324b5..d0d441cb68b 100644 --- a/table-api/src/main/java/io/deephaven/api/AsOfJoinRule.java +++ b/table-api/src/main/java/io/deephaven/api/AsOfJoinRule.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import java.util.Collection; diff --git a/table-api/src/main/java/io/deephaven/api/ColumnName.java b/table-api/src/main/java/io/deephaven/api/ColumnName.java index 0be33eac4e9..503dd022b29 100644 --- a/table-api/src/main/java/io/deephaven/api/ColumnName.java +++ b/table-api/src/main/java/io/deephaven/api/ColumnName.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/JoinAddition.java b/table-api/src/main/java/io/deephaven/api/JoinAddition.java index fcfbe9f6d92..b70a8072c2d 100644 --- a/table-api/src/main/java/io/deephaven/api/JoinAddition.java +++ b/table-api/src/main/java/io/deephaven/api/JoinAddition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.api.snapshot.SnapshotWhenOptions; diff --git a/table-api/src/main/java/io/deephaven/api/JoinAdditionImpl.java b/table-api/src/main/java/io/deephaven/api/JoinAdditionImpl.java index fc1c87b802d..f2598ce3f81 100644 --- a/table-api/src/main/java/io/deephaven/api/JoinAdditionImpl.java +++ b/table-api/src/main/java/io/deephaven/api/JoinAdditionImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/JoinMatch.java b/table-api/src/main/java/io/deephaven/api/JoinMatch.java index 3236e8505c5..645adddf493 100644 --- a/table-api/src/main/java/io/deephaven/api/JoinMatch.java +++ b/table-api/src/main/java/io/deephaven/api/JoinMatch.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import java.util.Arrays; diff --git a/table-api/src/main/java/io/deephaven/api/JoinMatchImpl.java b/table-api/src/main/java/io/deephaven/api/JoinMatchImpl.java index 7c991bb0a33..0141a709a89 100644 --- a/table-api/src/main/java/io/deephaven/api/JoinMatchImpl.java +++ b/table-api/src/main/java/io/deephaven/api/JoinMatchImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/Pair.java b/table-api/src/main/java/io/deephaven/api/Pair.java index 5f70802820d..34614a76c2b 100644 --- a/table-api/src/main/java/io/deephaven/api/Pair.java +++ b/table-api/src/main/java/io/deephaven/api/Pair.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import java.util.Arrays; diff --git a/table-api/src/main/java/io/deephaven/api/PairImpl.java b/table-api/src/main/java/io/deephaven/api/PairImpl.java index 6e5147f10c6..334a793ab24 100644 --- a/table-api/src/main/java/io/deephaven/api/PairImpl.java +++ b/table-api/src/main/java/io/deephaven/api/PairImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/RangeEndRule.java b/table-api/src/main/java/io/deephaven/api/RangeEndRule.java index 12ad8aba004..d72a226c249 100644 --- a/table-api/src/main/java/io/deephaven/api/RangeEndRule.java +++ b/table-api/src/main/java/io/deephaven/api/RangeEndRule.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; /** diff --git a/table-api/src/main/java/io/deephaven/api/RangeJoinMatch.java b/table-api/src/main/java/io/deephaven/api/RangeJoinMatch.java index c1067610b2e..3b14f75a32b 100644 --- a/table-api/src/main/java/io/deephaven/api/RangeJoinMatch.java +++ b/table-api/src/main/java/io/deephaven/api/RangeJoinMatch.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/RangeStartRule.java b/table-api/src/main/java/io/deephaven/api/RangeStartRule.java index 3cb9bdbfd0b..4cd0a1084fa 100644 --- a/table-api/src/main/java/io/deephaven/api/RangeStartRule.java +++ b/table-api/src/main/java/io/deephaven/api/RangeStartRule.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; /** diff --git a/table-api/src/main/java/io/deephaven/api/RawString.java b/table-api/src/main/java/io/deephaven/api/RawString.java index b8875cd0262..29c42bb659c 100644 --- a/table-api/src/main/java/io/deephaven/api/RawString.java +++ b/table-api/src/main/java/io/deephaven/api/RawString.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/Selectable.java b/table-api/src/main/java/io/deephaven/api/Selectable.java index 3fcb1018d84..aa6046e1396 100644 --- a/table-api/src/main/java/io/deephaven/api/Selectable.java +++ b/table-api/src/main/java/io/deephaven/api/Selectable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.api.expression.Expression; diff --git a/table-api/src/main/java/io/deephaven/api/SelectableImpl.java b/table-api/src/main/java/io/deephaven/api/SelectableImpl.java index e9858779659..af487c5b42a 100644 --- a/table-api/src/main/java/io/deephaven/api/SelectableImpl.java +++ b/table-api/src/main/java/io/deephaven/api/SelectableImpl.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/SortColumn.java b/table-api/src/main/java/io/deephaven/api/SortColumn.java index 260ba0d1592..306e5ff1b82 100644 --- a/table-api/src/main/java/io/deephaven/api/SortColumn.java +++ b/table-api/src/main/java/io/deephaven/api/SortColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/Strings.java b/table-api/src/main/java/io/deephaven/api/Strings.java index b4c7e478780..4ebc4ff5ffb 100644 --- a/table-api/src/main/java/io/deephaven/api/Strings.java +++ b/table-api/src/main/java/io/deephaven/api/Strings.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.api.agg.Aggregation; diff --git a/table-api/src/main/java/io/deephaven/api/TableOperations.java b/table-api/src/main/java/io/deephaven/api/TableOperations.java index c8899973338..2f681da7ce9 100644 --- a/table-api/src/main/java/io/deephaven/api/TableOperations.java +++ b/table-api/src/main/java/io/deephaven/api/TableOperations.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.api.agg.Aggregation; diff --git a/table-api/src/main/java/io/deephaven/api/TableOperationsAdapter.java b/table-api/src/main/java/io/deephaven/api/TableOperationsAdapter.java index 42426bcc781..3364ddb9034 100644 --- a/table-api/src/main/java/io/deephaven/api/TableOperationsAdapter.java +++ b/table-api/src/main/java/io/deephaven/api/TableOperationsAdapter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.api.agg.Aggregation; diff --git a/table-api/src/main/java/io/deephaven/api/TableOperationsDefaults.java b/table-api/src/main/java/io/deephaven/api/TableOperationsDefaults.java index e6877c0ff86..34dce310111 100644 --- a/table-api/src/main/java/io/deephaven/api/TableOperationsDefaults.java +++ b/table-api/src/main/java/io/deephaven/api/TableOperationsDefaults.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.api.agg.Aggregation; diff --git a/table-api/src/main/java/io/deephaven/api/agg/Aggregation.java b/table-api/src/main/java/io/deephaven/api/agg/Aggregation.java index 23d249e05dc..3e5467c5c4c 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/Aggregation.java +++ b/table-api/src/main/java/io/deephaven/api/agg/Aggregation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg; import io.deephaven.api.ColumnName; diff --git a/table-api/src/main/java/io/deephaven/api/agg/AggregationDescriptions.java b/table-api/src/main/java/io/deephaven/api/agg/AggregationDescriptions.java index 7c078232cb1..dd7b991a809 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/AggregationDescriptions.java +++ b/table-api/src/main/java/io/deephaven/api/agg/AggregationDescriptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg; import io.deephaven.api.Pair; diff --git a/table-api/src/main/java/io/deephaven/api/agg/AggregationOptimizer.java b/table-api/src/main/java/io/deephaven/api/agg/AggregationOptimizer.java index b80897d82c8..949bcb1724c 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/AggregationOptimizer.java +++ b/table-api/src/main/java/io/deephaven/api/agg/AggregationOptimizer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg; import io.deephaven.api.ColumnName; diff --git a/table-api/src/main/java/io/deephaven/api/agg/AggregationOutputs.java b/table-api/src/main/java/io/deephaven/api/agg/AggregationOutputs.java index c76eb1b21c9..2cd5d8990af 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/AggregationOutputs.java +++ b/table-api/src/main/java/io/deephaven/api/agg/AggregationOutputs.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg; import io.deephaven.api.ColumnName; diff --git a/table-api/src/main/java/io/deephaven/api/agg/AggregationPairs.java b/table-api/src/main/java/io/deephaven/api/agg/AggregationPairs.java index 1ac2fd21c59..c3c67c716a4 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/AggregationPairs.java +++ b/table-api/src/main/java/io/deephaven/api/agg/AggregationPairs.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg; import io.deephaven.api.Pair; diff --git a/table-api/src/main/java/io/deephaven/api/agg/Aggregations.java b/table-api/src/main/java/io/deephaven/api/agg/Aggregations.java index fe65a22e26c..e2bc9bfbcb0 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/Aggregations.java +++ b/table-api/src/main/java/io/deephaven/api/agg/Aggregations.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/ColumnAggregation.java b/table-api/src/main/java/io/deephaven/api/agg/ColumnAggregation.java index ecf779ec6f4..f7f72edfc36 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/ColumnAggregation.java +++ b/table-api/src/main/java/io/deephaven/api/agg/ColumnAggregation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/ColumnAggregations.java b/table-api/src/main/java/io/deephaven/api/agg/ColumnAggregations.java index 04b472ff6eb..52a2f241677 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/ColumnAggregations.java +++ b/table-api/src/main/java/io/deephaven/api/agg/ColumnAggregations.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/Count.java b/table-api/src/main/java/io/deephaven/api/agg/Count.java index 77009f39173..7ab2d176c64 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/Count.java +++ b/table-api/src/main/java/io/deephaven/api/agg/Count.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/FirstRowKey.java b/table-api/src/main/java/io/deephaven/api/agg/FirstRowKey.java index 38fbe7a5e0a..57a7117aab4 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/FirstRowKey.java +++ b/table-api/src/main/java/io/deephaven/api/agg/FirstRowKey.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/LastRowKey.java b/table-api/src/main/java/io/deephaven/api/agg/LastRowKey.java index d79470f7c6f..6c8b75431a9 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/LastRowKey.java +++ b/table-api/src/main/java/io/deephaven/api/agg/LastRowKey.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/Partition.java b/table-api/src/main/java/io/deephaven/api/agg/Partition.java index a2769ca5145..7ca3d5d9a73 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/Partition.java +++ b/table-api/src/main/java/io/deephaven/api/agg/Partition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpec.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpec.java index 1c31715eee4..2a434927ee3 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpec.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpec.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.api.ColumnName; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecAbsSum.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecAbsSum.java index 4a653a941c4..dc196ca0957 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecAbsSum.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecAbsSum.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SingletonStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecApproximatePercentile.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecApproximatePercentile.java index da5fa31d17d..a8b99c79021 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecApproximatePercentile.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecApproximatePercentile.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecAvg.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecAvg.java index da678b58693..056484c5687 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecAvg.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecAvg.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SingletonStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecBase.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecBase.java index ee7add32636..278f61d1e21 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecBase.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.api.agg.Aggregation; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecColumnReferences.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecColumnReferences.java index a853ef2be15..951c75ba942 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecColumnReferences.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecColumnReferences.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.api.ColumnName; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecCountDistinct.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecCountDistinct.java index 39c94b01ecc..23425f169be 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecCountDistinct.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecCountDistinct.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecDistinct.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecDistinct.java index c53ee382ca7..822e2a2d18b 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecDistinct.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecDistinct.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecEmptyBase.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecEmptyBase.java index 3daeeee8792..ac1a3b61851 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecEmptyBase.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecEmptyBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; public abstract class AggSpecEmptyBase extends AggSpecBase { diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecFirst.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecFirst.java index 928ac7bddda..443f2c34f1c 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecFirst.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecFirst.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SingletonStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecFormula.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecFormula.java index ed13e20d576..de6662e6469 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecFormula.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecFormula.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecFreeze.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecFreeze.java index 94c60873bde..244cc016e46 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecFreeze.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecFreeze.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SingletonStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecGroup.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecGroup.java index 9897b4c37db..5da9119bee8 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecGroup.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecGroup.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SingletonStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecLast.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecLast.java index 62b5cf5d26d..713e0deaa94 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecLast.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecLast.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SingletonStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecMax.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecMax.java index 642d1fe2f6d..8e8593cff13 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecMax.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecMax.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SingletonStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecMedian.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecMedian.java index 7d995f0da82..de82ccbb499 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecMedian.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecMedian.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecMin.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecMin.java index 330d5d8ac81..be47015892d 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecMin.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecMin.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SingletonStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecPercentile.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecPercentile.java index 35e113ccd4f..a10d1f63524 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecPercentile.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecPercentile.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecSortedFirst.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecSortedFirst.java index c0a426d492d..30bc590518b 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecSortedFirst.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecSortedFirst.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecSortedLast.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecSortedLast.java index 9fe27d54448..8549bbbd098 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecSortedLast.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecSortedLast.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecStd.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecStd.java index 2e7513bb666..2204ec02dd1 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecStd.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecStd.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SingletonStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecSum.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecSum.java index 2faf3e86a57..947d1db2935 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecSum.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecSum.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SingletonStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecTDigest.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecTDigest.java index 36ba106e098..e72c7825b8b 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecTDigest.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecTDigest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecUnique.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecUnique.java index 6cf6b196943..53faff1ff8b 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecUnique.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecUnique.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecVar.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecVar.java index b86e5fa3eeb..dd740fed89b 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecVar.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecVar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SingletonStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecWAvg.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecWAvg.java index eeef8cc4b23..49325272494 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecWAvg.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecWAvg.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecWSum.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecWSum.java index 821d9a2fd89..5a760a8045c 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecWSum.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecWSum.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/agg/util/PercentileOutput.java b/table-api/src/main/java/io/deephaven/api/agg/util/PercentileOutput.java index 3bf21e066cc..17c8bcbe20e 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/util/PercentileOutput.java +++ b/table-api/src/main/java/io/deephaven/api/agg/util/PercentileOutput.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.util; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/expression/AbstractExpressionFactory.java b/table-api/src/main/java/io/deephaven/api/expression/AbstractExpressionFactory.java index d7d9a31e838..5164b220888 100644 --- a/table-api/src/main/java/io/deephaven/api/expression/AbstractExpressionFactory.java +++ b/table-api/src/main/java/io/deephaven/api/expression/AbstractExpressionFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.expression; public abstract class AbstractExpressionFactory implements ExpressionFactory { diff --git a/table-api/src/main/java/io/deephaven/api/expression/Expression.java b/table-api/src/main/java/io/deephaven/api/expression/Expression.java index dea67a41e9a..fae8b084a14 100644 --- a/table-api/src/main/java/io/deephaven/api/expression/Expression.java +++ b/table-api/src/main/java/io/deephaven/api/expression/Expression.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.expression; import io.deephaven.api.ColumnName; diff --git a/table-api/src/main/java/io/deephaven/api/expression/ExpressionException.java b/table-api/src/main/java/io/deephaven/api/expression/ExpressionException.java index 3142044e8a0..886cecb222b 100644 --- a/table-api/src/main/java/io/deephaven/api/expression/ExpressionException.java +++ b/table-api/src/main/java/io/deephaven/api/expression/ExpressionException.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.expression; /** diff --git a/table-api/src/main/java/io/deephaven/api/expression/ExpressionFactory.java b/table-api/src/main/java/io/deephaven/api/expression/ExpressionFactory.java index a2557f38c79..5866255f3b1 100644 --- a/table-api/src/main/java/io/deephaven/api/expression/ExpressionFactory.java +++ b/table-api/src/main/java/io/deephaven/api/expression/ExpressionFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.expression; import java.util.regex.Matcher; diff --git a/table-api/src/main/java/io/deephaven/api/expression/ExpressionParser.java b/table-api/src/main/java/io/deephaven/api/expression/ExpressionParser.java index 78335c7f872..59ac923456f 100644 --- a/table-api/src/main/java/io/deephaven/api/expression/ExpressionParser.java +++ b/table-api/src/main/java/io/deephaven/api/expression/ExpressionParser.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.expression; import java.util.regex.Pattern; diff --git a/table-api/src/main/java/io/deephaven/api/expression/Function.java b/table-api/src/main/java/io/deephaven/api/expression/Function.java index 463bf9af0fc..9e83386a1c0 100644 --- a/table-api/src/main/java/io/deephaven/api/expression/Function.java +++ b/table-api/src/main/java/io/deephaven/api/expression/Function.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.expression; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/expression/Method.java b/table-api/src/main/java/io/deephaven/api/expression/Method.java index 69805f77860..5cb418a1985 100644 --- a/table-api/src/main/java/io/deephaven/api/expression/Method.java +++ b/table-api/src/main/java/io/deephaven/api/expression/Method.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.expression; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/expression/SelectFactoryConstants.java b/table-api/src/main/java/io/deephaven/api/expression/SelectFactoryConstants.java index 117324b7016..300a61558a0 100644 --- a/table-api/src/main/java/io/deephaven/api/expression/SelectFactoryConstants.java +++ b/table-api/src/main/java/io/deephaven/api/expression/SelectFactoryConstants.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.expression; /** diff --git a/table-api/src/main/java/io/deephaven/api/filter/ExtractAnds.java b/table-api/src/main/java/io/deephaven/api/filter/ExtractAnds.java index dc7f61cdacb..87f6a635fe0 100644 --- a/table-api/src/main/java/io/deephaven/api/filter/ExtractAnds.java +++ b/table-api/src/main/java/io/deephaven/api/filter/ExtractAnds.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.filter; import io.deephaven.api.RawString; diff --git a/table-api/src/main/java/io/deephaven/api/filter/Filter.java b/table-api/src/main/java/io/deephaven/api/filter/Filter.java index 205c4a3f3ad..9f5bd9cf78f 100644 --- a/table-api/src/main/java/io/deephaven/api/filter/Filter.java +++ b/table-api/src/main/java/io/deephaven/api/filter/Filter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.filter; import io.deephaven.api.ColumnName; diff --git a/table-api/src/main/java/io/deephaven/api/filter/FilterAnd.java b/table-api/src/main/java/io/deephaven/api/filter/FilterAnd.java index 4d7e53c7f73..3ef432a0887 100644 --- a/table-api/src/main/java/io/deephaven/api/filter/FilterAnd.java +++ b/table-api/src/main/java/io/deephaven/api/filter/FilterAnd.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.filter; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/filter/FilterBase.java b/table-api/src/main/java/io/deephaven/api/filter/FilterBase.java index 0d0d1daee70..d7723db7af1 100644 --- a/table-api/src/main/java/io/deephaven/api/filter/FilterBase.java +++ b/table-api/src/main/java/io/deephaven/api/filter/FilterBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.filter; import io.deephaven.api.expression.Expression; diff --git a/table-api/src/main/java/io/deephaven/api/filter/FilterComparison.java b/table-api/src/main/java/io/deephaven/api/filter/FilterComparison.java index 65cfebad0f1..953f40f6d97 100644 --- a/table-api/src/main/java/io/deephaven/api/filter/FilterComparison.java +++ b/table-api/src/main/java/io/deephaven/api/filter/FilterComparison.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.filter; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/filter/FilterIn.java b/table-api/src/main/java/io/deephaven/api/filter/FilterIn.java index 287f6abb3e5..86bf7594107 100644 --- a/table-api/src/main/java/io/deephaven/api/filter/FilterIn.java +++ b/table-api/src/main/java/io/deephaven/api/filter/FilterIn.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.filter; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/filter/FilterIsNull.java b/table-api/src/main/java/io/deephaven/api/filter/FilterIsNull.java index a64b100eb86..7e7f3baf107 100644 --- a/table-api/src/main/java/io/deephaven/api/filter/FilterIsNull.java +++ b/table-api/src/main/java/io/deephaven/api/filter/FilterIsNull.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.filter; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/filter/FilterNot.java b/table-api/src/main/java/io/deephaven/api/filter/FilterNot.java index a62c712ffb3..b10d2ab5508 100644 --- a/table-api/src/main/java/io/deephaven/api/filter/FilterNot.java +++ b/table-api/src/main/java/io/deephaven/api/filter/FilterNot.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.filter; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/filter/FilterOr.java b/table-api/src/main/java/io/deephaven/api/filter/FilterOr.java index eb873e14637..dd572e60d28 100644 --- a/table-api/src/main/java/io/deephaven/api/filter/FilterOr.java +++ b/table-api/src/main/java/io/deephaven/api/filter/FilterOr.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.filter; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/filter/FilterPattern.java b/table-api/src/main/java/io/deephaven/api/filter/FilterPattern.java index 49e699bb413..69f353565ef 100644 --- a/table-api/src/main/java/io/deephaven/api/filter/FilterPattern.java +++ b/table-api/src/main/java/io/deephaven/api/filter/FilterPattern.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.filter; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/literal/Literal.java b/table-api/src/main/java/io/deephaven/api/literal/Literal.java index 62b45b0183a..3daeb626f73 100644 --- a/table-api/src/main/java/io/deephaven/api/literal/Literal.java +++ b/table-api/src/main/java/io/deephaven/api/literal/Literal.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.literal; import io.deephaven.api.expression.Expression; diff --git a/table-api/src/main/java/io/deephaven/api/literal/LiteralBase.java b/table-api/src/main/java/io/deephaven/api/literal/LiteralBase.java index 5da6de0333b..a68da832a1c 100644 --- a/table-api/src/main/java/io/deephaven/api/literal/LiteralBase.java +++ b/table-api/src/main/java/io/deephaven/api/literal/LiteralBase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.literal; import io.deephaven.api.expression.Expression; diff --git a/table-api/src/main/java/io/deephaven/api/literal/LiteralBool.java b/table-api/src/main/java/io/deephaven/api/literal/LiteralBool.java index 27a1d602371..2f0836deafd 100644 --- a/table-api/src/main/java/io/deephaven/api/literal/LiteralBool.java +++ b/table-api/src/main/java/io/deephaven/api/literal/LiteralBool.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.literal; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/literal/LiteralByte.java b/table-api/src/main/java/io/deephaven/api/literal/LiteralByte.java index 733b0d77f90..88ce0bd4194 100644 --- a/table-api/src/main/java/io/deephaven/api/literal/LiteralByte.java +++ b/table-api/src/main/java/io/deephaven/api/literal/LiteralByte.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.literal; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/literal/LiteralChar.java b/table-api/src/main/java/io/deephaven/api/literal/LiteralChar.java index a089f5e9e74..742d43aa129 100644 --- a/table-api/src/main/java/io/deephaven/api/literal/LiteralChar.java +++ b/table-api/src/main/java/io/deephaven/api/literal/LiteralChar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.literal; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/literal/LiteralDouble.java b/table-api/src/main/java/io/deephaven/api/literal/LiteralDouble.java index 65e8bb5b62d..2666468584d 100644 --- a/table-api/src/main/java/io/deephaven/api/literal/LiteralDouble.java +++ b/table-api/src/main/java/io/deephaven/api/literal/LiteralDouble.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.literal; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/literal/LiteralFilter.java b/table-api/src/main/java/io/deephaven/api/literal/LiteralFilter.java index 51ccd11458b..116be952e58 100644 --- a/table-api/src/main/java/io/deephaven/api/literal/LiteralFilter.java +++ b/table-api/src/main/java/io/deephaven/api/literal/LiteralFilter.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.literal; import io.deephaven.api.filter.Filter; diff --git a/table-api/src/main/java/io/deephaven/api/literal/LiteralFloat.java b/table-api/src/main/java/io/deephaven/api/literal/LiteralFloat.java index cd0409eca18..8c5a7409408 100644 --- a/table-api/src/main/java/io/deephaven/api/literal/LiteralFloat.java +++ b/table-api/src/main/java/io/deephaven/api/literal/LiteralFloat.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.literal; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/literal/LiteralInt.java b/table-api/src/main/java/io/deephaven/api/literal/LiteralInt.java index 7c87b40b923..29459d22cc3 100644 --- a/table-api/src/main/java/io/deephaven/api/literal/LiteralInt.java +++ b/table-api/src/main/java/io/deephaven/api/literal/LiteralInt.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.literal; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/literal/LiteralLong.java b/table-api/src/main/java/io/deephaven/api/literal/LiteralLong.java index f91bd82e28b..6f9da74a670 100644 --- a/table-api/src/main/java/io/deephaven/api/literal/LiteralLong.java +++ b/table-api/src/main/java/io/deephaven/api/literal/LiteralLong.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.literal; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/literal/LiteralShort.java b/table-api/src/main/java/io/deephaven/api/literal/LiteralShort.java index 7b07ebdb822..11ad966cee7 100644 --- a/table-api/src/main/java/io/deephaven/api/literal/LiteralShort.java +++ b/table-api/src/main/java/io/deephaven/api/literal/LiteralShort.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.literal; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/literal/LiteralString.java b/table-api/src/main/java/io/deephaven/api/literal/LiteralString.java index 1efc05cd105..d1c9ade38dd 100644 --- a/table-api/src/main/java/io/deephaven/api/literal/LiteralString.java +++ b/table-api/src/main/java/io/deephaven/api/literal/LiteralString.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.literal; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/object/UnionObject.java b/table-api/src/main/java/io/deephaven/api/object/UnionObject.java index 15431ee2c01..b39a164c058 100644 --- a/table-api/src/main/java/io/deephaven/api/object/UnionObject.java +++ b/table-api/src/main/java/io/deephaven/api/object/UnionObject.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.object; import java.util.Objects; diff --git a/table-api/src/main/java/io/deephaven/api/object/UnionObjectBase.java b/table-api/src/main/java/io/deephaven/api/object/UnionObjectBase.java index 0d9bd122c91..b0a998af16b 100644 --- a/table-api/src/main/java/io/deephaven/api/object/UnionObjectBase.java +++ b/table-api/src/main/java/io/deephaven/api/object/UnionObjectBase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.object; import java.util.Arrays; diff --git a/table-api/src/main/java/io/deephaven/api/snapshot/SnapshotWhenOptions.java b/table-api/src/main/java/io/deephaven/api/snapshot/SnapshotWhenOptions.java index 2948f6f4f8d..7dcd27d7b5a 100644 --- a/table-api/src/main/java/io/deephaven/api/snapshot/SnapshotWhenOptions.java +++ b/table-api/src/main/java/io/deephaven/api/snapshot/SnapshotWhenOptions.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.snapshot; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/BadDataBehavior.java b/table-api/src/main/java/io/deephaven/api/updateby/BadDataBehavior.java index 631b97d8dc7..c455c146570 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/BadDataBehavior.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/BadDataBehavior.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby; /** diff --git a/table-api/src/main/java/io/deephaven/api/updateby/ColumnUpdateOperation.java b/table-api/src/main/java/io/deephaven/api/updateby/ColumnUpdateOperation.java index 1ac4508f31d..88009dee0d8 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/ColumnUpdateOperation.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/ColumnUpdateOperation.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/DeltaControl.java b/table-api/src/main/java/io/deephaven/api/updateby/DeltaControl.java index fccd6b6444d..5f6f3bd4443 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/DeltaControl.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/DeltaControl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/NullBehavior.java b/table-api/src/main/java/io/deephaven/api/updateby/NullBehavior.java index f5a72b9bdb5..1a96971ae82 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/NullBehavior.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/NullBehavior.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby; /** diff --git a/table-api/src/main/java/io/deephaven/api/updateby/OperationControl.java b/table-api/src/main/java/io/deephaven/api/updateby/OperationControl.java index b24d3f1056e..2d2ef79ed71 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/OperationControl.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/OperationControl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby; import org.immutables.value.Value; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/UpdateByControl.java b/table-api/src/main/java/io/deephaven/api/updateby/UpdateByControl.java index 6395e0c4315..18a249b62c3 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/UpdateByControl.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/UpdateByControl.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/UpdateByOperation.java b/table-api/src/main/java/io/deephaven/api/updateby/UpdateByOperation.java index cd0e3ee4a40..8977fe9608d 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/UpdateByOperation.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/UpdateByOperation.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby; import io.deephaven.api.Pair; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/CumMinMaxSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/CumMinMaxSpec.java index 92a36cc81f7..a945148f05a 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/CumMinMaxSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/CumMinMaxSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/CumProdSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/CumProdSpec.java index a4a3f89ed19..ac672fea849 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/CumProdSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/CumProdSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.SingletonStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/CumSumSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/CumSumSpec.java index d167c2a74b4..353ce92fa79 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/CumSumSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/CumSumSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.SingletonStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/DeltaSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/DeltaSpec.java index 30fd9df0f66..2012c143c52 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/DeltaSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/DeltaSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/EmMinMaxSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/EmMinMaxSpec.java index 32a8b429a80..6c663d57cb8 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/EmMinMaxSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/EmMinMaxSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/EmStdSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/EmStdSpec.java index cea3b98154b..a730a6caf67 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/EmStdSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/EmStdSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/EmaSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/EmaSpec.java index 7ed30bef16f..d42dcaf3adf 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/EmaSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/EmaSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/EmsSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/EmsSpec.java index 95504a503d6..1422c0c696e 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/EmsSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/EmsSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/FillBySpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/FillBySpec.java index d186a00c5af..8becfd7ab77 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/FillBySpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/FillBySpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.SingletonStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingAvgSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingAvgSpec.java index f8b34c03bbe..f30e9cace25 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingAvgSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingAvgSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingCountSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingCountSpec.java index 3ea4271148f..60269247e1c 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingCountSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingCountSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingFormulaSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingFormulaSpec.java index 6a058143cac..55b57c48159 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingFormulaSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingFormulaSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingGroupSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingGroupSpec.java index 92170ce337c..4e7edc854e0 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingGroupSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingGroupSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingMinMaxSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingMinMaxSpec.java index dad63eb40fd..7088f8beb2b 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingMinMaxSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingMinMaxSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingOpSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingOpSpec.java index fd8a3863440..c90bdc457f7 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingOpSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingOpSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import org.immutables.value.Value; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingProductSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingProductSpec.java index 44f65b93bd1..c0a663d1e38 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingProductSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingProductSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingStdSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingStdSpec.java index b6b3f867c83..b1742693f62 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingStdSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingStdSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingSumSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingSumSpec.java index 930233e53bd..9488bbea973 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingSumSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingSumSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingWAvgSpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingWAvgSpec.java index b559885fee0..003104984d4 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingWAvgSpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/RollingWAvgSpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.BuildableStyle; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/UpdateBySpec.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/UpdateBySpec.java index 32cfa6e341f..0c8813edde3 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/UpdateBySpec.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/UpdateBySpec.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.api.Pair; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/UpdateBySpecBase.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/UpdateBySpecBase.java index 8a31302c712..366f792a568 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/UpdateBySpecBase.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/UpdateBySpecBase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.api.Pair; diff --git a/table-api/src/main/java/io/deephaven/api/updateby/spec/WindowScale.java b/table-api/src/main/java/io/deephaven/api/updateby/spec/WindowScale.java index 3f4a4615ef0..9c6ff3e71fe 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/spec/WindowScale.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/spec/WindowScale.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.updateby.spec; import io.deephaven.annotations.SimpleStyle; diff --git a/table-api/src/main/java/io/deephaven/api/util/ConcurrentMethod.java b/table-api/src/main/java/io/deephaven/api/util/ConcurrentMethod.java index ea50fe4a2f3..cb5e1f809bd 100644 --- a/table-api/src/main/java/io/deephaven/api/util/ConcurrentMethod.java +++ b/table-api/src/main/java/io/deephaven/api/util/ConcurrentMethod.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.util; import java.lang.annotation.*; diff --git a/table-api/src/main/java/io/deephaven/api/util/NameValidator.java b/table-api/src/main/java/io/deephaven/api/util/NameValidator.java index 4727765fb60..6dbb6c2c7a3 100644 --- a/table-api/src/main/java/io/deephaven/api/util/NameValidator.java +++ b/table-api/src/main/java/io/deephaven/api/util/NameValidator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.util; import javax.lang.model.SourceVersion; diff --git a/table-api/src/test/java/io/deephaven/api/AsOfJoinMatchTest.java b/table-api/src/test/java/io/deephaven/api/AsOfJoinMatchTest.java index 481786a07eb..cc0e9a38a30 100644 --- a/table-api/src/test/java/io/deephaven/api/AsOfJoinMatchTest.java +++ b/table-api/src/test/java/io/deephaven/api/AsOfJoinMatchTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import org.junit.jupiter.api.Test; diff --git a/table-api/src/test/java/io/deephaven/api/ColumnNameTest.java b/table-api/src/test/java/io/deephaven/api/ColumnNameTest.java index 81b9baf7f5f..91afefb218b 100644 --- a/table-api/src/test/java/io/deephaven/api/ColumnNameTest.java +++ b/table-api/src/test/java/io/deephaven/api/ColumnNameTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import static org.assertj.core.api.Assertions.assertThat; diff --git a/table-api/src/test/java/io/deephaven/api/JoinAdditionTest.java b/table-api/src/test/java/io/deephaven/api/JoinAdditionTest.java index 2e09c39ad4d..eb9015c7ca1 100644 --- a/table-api/src/test/java/io/deephaven/api/JoinAdditionTest.java +++ b/table-api/src/test/java/io/deephaven/api/JoinAdditionTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import org.junit.jupiter.api.Test; diff --git a/table-api/src/test/java/io/deephaven/api/JoinMatchTest.java b/table-api/src/test/java/io/deephaven/api/JoinMatchTest.java index 3a090b818bb..6ed41d6915a 100644 --- a/table-api/src/test/java/io/deephaven/api/JoinMatchTest.java +++ b/table-api/src/test/java/io/deephaven/api/JoinMatchTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import static org.assertj.core.api.Assertions.assertThat; diff --git a/table-api/src/test/java/io/deephaven/api/RangeJoinMatchTest.java b/table-api/src/test/java/io/deephaven/api/RangeJoinMatchTest.java index e806b45baa0..a9338621edc 100644 --- a/table-api/src/test/java/io/deephaven/api/RangeJoinMatchTest.java +++ b/table-api/src/test/java/io/deephaven/api/RangeJoinMatchTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import org.junit.jupiter.api.Test; diff --git a/table-api/src/test/java/io/deephaven/api/SelectableTest.java b/table-api/src/test/java/io/deephaven/api/SelectableTest.java index 6b132bd2ae1..9f917c85ec9 100644 --- a/table-api/src/test/java/io/deephaven/api/SelectableTest.java +++ b/table-api/src/test/java/io/deephaven/api/SelectableTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.api.filter.FilterComparison; diff --git a/table-api/src/test/java/io/deephaven/api/StringsTest.java b/table-api/src/test/java/io/deephaven/api/StringsTest.java index 330833be1a9..b12f1e3fc6b 100644 --- a/table-api/src/test/java/io/deephaven/api/StringsTest.java +++ b/table-api/src/test/java/io/deephaven/api/StringsTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api; import io.deephaven.api.expression.Expression; diff --git a/table-api/src/test/java/io/deephaven/api/agg/AggregationTest.java b/table-api/src/test/java/io/deephaven/api/agg/AggregationTest.java index 97f1b1f65b7..963f59e367a 100644 --- a/table-api/src/test/java/io/deephaven/api/agg/AggregationTest.java +++ b/table-api/src/test/java/io/deephaven/api/agg/AggregationTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg; import io.deephaven.api.agg.Aggregation.Visitor; diff --git a/table-api/src/test/java/io/deephaven/api/agg/PairTest.java b/table-api/src/test/java/io/deephaven/api/agg/PairTest.java index 1e3238d78f4..f8fbe944d66 100644 --- a/table-api/src/test/java/io/deephaven/api/agg/PairTest.java +++ b/table-api/src/test/java/io/deephaven/api/agg/PairTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg; import io.deephaven.api.ColumnName; diff --git a/table-api/src/test/java/io/deephaven/api/agg/spec/AggSpecTest.java b/table-api/src/test/java/io/deephaven/api/agg/spec/AggSpecTest.java index ffbd8380708..934a4a0fd7c 100644 --- a/table-api/src/test/java/io/deephaven/api/agg/spec/AggSpecTest.java +++ b/table-api/src/test/java/io/deephaven/api/agg/spec/AggSpecTest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.agg.spec; import io.deephaven.api.agg.spec.AggSpec.Visitor; diff --git a/table-api/src/test/java/io/deephaven/api/expression/ExpressionTest.java b/table-api/src/test/java/io/deephaven/api/expression/ExpressionTest.java index 0e29dae01fd..bc3b48cfb13 100644 --- a/table-api/src/test/java/io/deephaven/api/expression/ExpressionTest.java +++ b/table-api/src/test/java/io/deephaven/api/expression/ExpressionTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.expression; import io.deephaven.api.ColumnName; diff --git a/table-api/src/test/java/io/deephaven/api/filter/FilterComparisionTest.java b/table-api/src/test/java/io/deephaven/api/filter/FilterComparisionTest.java index 8f68d6dc1c1..9b5555a3369 100644 --- a/table-api/src/test/java/io/deephaven/api/filter/FilterComparisionTest.java +++ b/table-api/src/test/java/io/deephaven/api/filter/FilterComparisionTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.filter; import io.deephaven.api.ColumnName; diff --git a/table-api/src/test/java/io/deephaven/api/filter/FilterTest.java b/table-api/src/test/java/io/deephaven/api/filter/FilterTest.java index 43f57b05f8e..a5342c2422b 100644 --- a/table-api/src/test/java/io/deephaven/api/filter/FilterTest.java +++ b/table-api/src/test/java/io/deephaven/api/filter/FilterTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.filter; import io.deephaven.api.ColumnName; diff --git a/table-api/src/test/java/io/deephaven/api/literal/LiteralTest.java b/table-api/src/test/java/io/deephaven/api/literal/LiteralTest.java index 75cc3e227b7..aaef2cab5e6 100644 --- a/table-api/src/test/java/io/deephaven/api/literal/LiteralTest.java +++ b/table-api/src/test/java/io/deephaven/api/literal/LiteralTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.literal; import io.deephaven.api.Strings; diff --git a/table-api/src/test/java/io/deephaven/api/util/TestNameValidator.java b/table-api/src/test/java/io/deephaven/api/util/TestNameValidator.java index 8b78297ebee..2373a80ad9a 100644 --- a/table-api/src/test/java/io/deephaven/api/util/TestNameValidator.java +++ b/table-api/src/test/java/io/deephaven/api/util/TestNameValidator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.api.util; import org.junit.jupiter.api.Test; diff --git a/web/client-api/src/main/java/io/deephaven/web/DeephavenJsApiLinker.java b/web/client-api/src/main/java/io/deephaven/web/DeephavenJsApiLinker.java index 2f1667112d4..a63679ab7d9 100644 --- a/web/client-api/src/main/java/io/deephaven/web/DeephavenJsApiLinker.java +++ b/web/client-api/src/main/java/io/deephaven/web/DeephavenJsApiLinker.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web; import com.google.gwt.core.ext.LinkerContext; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/BigDecimalWrapper.java b/web/client-api/src/main/java/io/deephaven/web/client/api/BigDecimalWrapper.java index fdbb5091710..ab13c2b4b65 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/BigDecimalWrapper.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/BigDecimalWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import jsinterop.annotations.JsIgnore; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/BigIntegerWrapper.java b/web/client-api/src/main/java/io/deephaven/web/client/api/BigIntegerWrapper.java index 289c9ba1b40..772e66e8042 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/BigIntegerWrapper.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/BigIntegerWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import jsinterop.annotations.JsIgnore; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/Callback.java b/web/client-api/src/main/java/io/deephaven/web/client/api/Callback.java index 415d7d386cd..6fbad3dfd31 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/Callback.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/Callback.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; public interface Callback { diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/Callbacks.java b/web/client-api/src/main/java/io/deephaven/web/client/api/Callbacks.java index 00acc23d0ef..7a32670c3e8 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/Callbacks.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/Callbacks.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import elemental2.dom.DomGlobal; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/ClientConfiguration.java b/web/client-api/src/main/java/io/deephaven/web/client/api/ClientConfiguration.java index 00509b27a82..afcad5b1691 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/ClientConfiguration.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/ClientConfiguration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import elemental2.core.Uint8Array; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/ClientLegacyNamespace.java b/web/client-api/src/main/java/io/deephaven/web/client/api/ClientLegacyNamespace.java index 888d18cfb17..1d2f3340ff6 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/ClientLegacyNamespace.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/ClientLegacyNamespace.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import jsinterop.annotations.JsType; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/Column.java b/web/client-api/src/main/java/io/deephaven/web/client/api/Column.java index 671eb6c1dc7..4e4840754dd 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/Column.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/Column.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsName; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/ConnectOptions.java b/web/client-api/src/main/java/io/deephaven/web/client/api/ConnectOptions.java index 4a8c55b4d68..82bf5d8bfc4 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/ConnectOptions.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/ConnectOptions.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import jsinterop.annotations.JsIgnore; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/CoreClient.java b/web/client-api/src/main/java/io/deephaven/web/client/api/CoreClient.java index 5fe228e1489..2b11d61d8aa 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/CoreClient.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/CoreClient.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsTypeRef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/CustomColumn.java b/web/client-api/src/main/java/io/deephaven/web/client/api/CustomColumn.java index 52f4468ec77..9a530b4f3aa 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/CustomColumn.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/CustomColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import io.deephaven.web.shared.data.CustomColumnDescriptor; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/DateWrapper.java b/web/client-api/src/main/java/io/deephaven/web/client/api/DateWrapper.java index 2e4d6ab1864..4e6580b57c0 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/DateWrapper.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/DateWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import elemental2.core.JsDate; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/EventFn.java b/web/client-api/src/main/java/io/deephaven/web/client/api/EventFn.java index 8cce57c25fd..a220cc4e7df 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/EventFn.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/EventFn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import elemental2.dom.CustomEvent; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/Format.java b/web/client-api/src/main/java/io/deephaven/web/client/api/Format.java index 5984b2f24f9..747a3402b39 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/Format.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/Format.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/HasEventHandling.java b/web/client-api/src/main/java/io/deephaven/web/client/api/HasEventHandling.java index bb78177eaea..adb57092f10 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/HasEventHandling.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/HasEventHandling.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/JoinableTable.java b/web/client-api/src/main/java/io/deephaven/web/client/api/JoinableTable.java index dafd829f865..57aa5af2c9d 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/JoinableTable.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/JoinableTable.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/JsColumnStatistics.java b/web/client-api/src/main/java/io/deephaven/web/client/api/JsColumnStatistics.java index 2b70704618e..7b117047e80 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/JsColumnStatistics.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/JsColumnStatistics.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/JsLayoutHints.java b/web/client-api/src/main/java/io/deephaven/web/client/api/JsLayoutHints.java index 4d434f8628e..489bbceca61 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/JsLayoutHints.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/JsLayoutHints.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/JsLazy.java b/web/client-api/src/main/java/io/deephaven/web/client/api/JsLazy.java index 11f5e6c5df2..f73d77ccaca 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/JsLazy.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/JsLazy.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import java.util.function.BiFunction; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/JsPartitionedTable.java b/web/client-api/src/main/java/io/deephaven/web/client/api/JsPartitionedTable.java index 5eca478264d..650cb3f5a7f 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/JsPartitionedTable.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/JsPartitionedTable.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/JsRangeSet.java b/web/client-api/src/main/java/io/deephaven/web/client/api/JsRangeSet.java index 228def6282f..50e09604c73 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/JsRangeSet.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/JsRangeSet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import io.deephaven.web.client.fu.JsIterator; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/JsRefreshToken.java b/web/client-api/src/main/java/io/deephaven/web/client/api/JsRefreshToken.java index d8f15af9f06..fa2bcf3fb2e 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/JsRefreshToken.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/JsRefreshToken.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/JsTable.java b/web/client-api/src/main/java/io/deephaven/web/client/api/JsTable.java index 9b08a414ceb..69643c13e84 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/JsTable.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/JsTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsName; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/JsTableFetch.java b/web/client-api/src/main/java/io/deephaven/web/client/api/JsTableFetch.java index a8b5fe78da6..38ada42d607 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/JsTableFetch.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/JsTableFetch.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/JsTotalsTable.java b/web/client-api/src/main/java/io/deephaven/web/client/api/JsTotalsTable.java index d83d2359dd6..a3dc0ad6390 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/JsTotalsTable.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/JsTotalsTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/JsTotalsTableConfig.java b/web/client-api/src/main/java/io/deephaven/web/client/api/JsTotalsTableConfig.java index 9b3e53c12ed..8777f250dd0 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/JsTotalsTableConfig.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/JsTotalsTableConfig.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsTypeRef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/JsWorkerHeapInfo.java b/web/client-api/src/main/java/io/deephaven/web/client/api/JsWorkerHeapInfo.java index 423db5f89b6..d588ee0d5f5 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/JsWorkerHeapInfo.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/JsWorkerHeapInfo.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/LazyString.java b/web/client-api/src/main/java/io/deephaven/web/client/api/LazyString.java index e03b39d472f..9859f437e17 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/LazyString.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/LazyString.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/LocalDateWrapper.java b/web/client-api/src/main/java/io/deephaven/web/client/api/LocalDateWrapper.java index be7fb253735..a750b0f0310 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/LocalDateWrapper.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/LocalDateWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.google.gwt.i18n.client.NumberFormat; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/LocalTimeWrapper.java b/web/client-api/src/main/java/io/deephaven/web/client/api/LocalTimeWrapper.java index 9bda0549e8a..10d64798f0d 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/LocalTimeWrapper.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/LocalTimeWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.google.gwt.i18n.client.NumberFormat; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/LogItem.java b/web/client-api/src/main/java/io/deephaven/web/client/api/LogItem.java index dbea12d94af..3f4f352e5b7 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/LogItem.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/LogItem.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/LoginCredentials.java b/web/client-api/src/main/java/io/deephaven/web/client/api/LoginCredentials.java index 730f5cd8efa..32e9f62cb49 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/LoginCredentials.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/LoginCredentials.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import jsinterop.annotations.JsConstructor; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/LongWrapper.java b/web/client-api/src/main/java/io/deephaven/web/client/api/LongWrapper.java index 7f2c9be99b6..ec679c0442a 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/LongWrapper.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/LongWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import jsinterop.annotations.JsIgnore; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/QueryConnectable.java b/web/client-api/src/main/java/io/deephaven/web/client/api/QueryConnectable.java index 15b5e844481..d936024ab05 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/QueryConnectable.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/QueryConnectable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsIgnore; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/QueryInfoConstants.java b/web/client-api/src/main/java/io/deephaven/web/client/api/QueryInfoConstants.java index c3a071eb093..27c3db834a9 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/QueryInfoConstants.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/QueryInfoConstants.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import jsinterop.annotations.JsType; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/ReconnectState.java b/web/client-api/src/main/java/io/deephaven/web/client/api/ReconnectState.java index 788538d7416..cedf5f5deab 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/ReconnectState.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/ReconnectState.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import elemental2.dom.DomGlobal; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/SearchDisplayMode.java b/web/client-api/src/main/java/io/deephaven/web/client/api/SearchDisplayMode.java index 11014b479b0..44c80136e43 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/SearchDisplayMode.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/SearchDisplayMode.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsTypeDef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/ServerObject.java b/web/client-api/src/main/java/io/deephaven/web/client/api/ServerObject.java index e6142df35c0..6347ba2f5af 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/ServerObject.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/ServerObject.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/Sort.java b/web/client-api/src/main/java/io/deephaven/web/client/api/Sort.java index ee3567890e3..a03aee55db5 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/Sort.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/Sort.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsName; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/TableData.java b/web/client-api/src/main/java/io/deephaven/web/client/api/TableData.java index 9c72c19808b..5018db59ab7 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/TableData.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/TableData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsName; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/TableMapEventLegacyNamespace.java b/web/client-api/src/main/java/io/deephaven/web/client/api/TableMapEventLegacyNamespace.java index 8f1bbb3f073..42188ae3627 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/TableMapEventLegacyNamespace.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/TableMapEventLegacyNamespace.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import jsinterop.annotations.JsType; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/TableTicket.java b/web/client-api/src/main/java/io/deephaven/web/client/api/TableTicket.java index 6fc4245aaed..7484bacd4b1 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/TableTicket.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/TableTicket.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import elemental2.core.Uint8Array; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/UserInfo.java b/web/client-api/src/main/java/io/deephaven/web/client/api/UserInfo.java index 7c49998395b..2f48f24e58c 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/UserInfo.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/UserInfo.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; public class UserInfo { diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/ValueType.java b/web/client-api/src/main/java/io/deephaven/web/client/api/ValueType.java index cc9cc2c8281..95c414d4ed9 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/ValueType.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/ValueType.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsTypeDef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/WorkerConnection.java b/web/client-api/src/main/java/io/deephaven/web/client/api/WorkerConnection.java index 7996138b9c2..f9fe987e1b6 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/WorkerConnection.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/WorkerConnection.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.vertispan.tsdefs.annotations.TsIgnore; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/CompressedRangeSetReader.java b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/CompressedRangeSetReader.java index 2737dc5bf38..6a069c279bc 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/CompressedRangeSetReader.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/CompressedRangeSetReader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.barrage; import io.deephaven.web.shared.data.Range; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/ShiftedRangeReader.java b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/ShiftedRangeReader.java index f55c0472a4a..ac2b7524e6b 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/ShiftedRangeReader.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/ShiftedRangeReader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.barrage; import io.deephaven.web.shared.data.Range; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/WebBarrageUtils.java b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/WebBarrageUtils.java index 70d34a8cfc3..a68e9b3d843 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/WebBarrageUtils.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/WebBarrageUtils.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.barrage; import elemental2.core.*; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/WebGrpcUtils.java b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/WebGrpcUtils.java index b6c5ed196f5..5d6ea33527e 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/WebGrpcUtils.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/WebGrpcUtils.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.barrage; import elemental2.dom.DomGlobal; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/def/ColumnDefinition.java b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/def/ColumnDefinition.java index 52d77a412dd..604f80fcd77 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/def/ColumnDefinition.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/def/ColumnDefinition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.barrage.def; import io.deephaven.web.client.api.Column; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/def/InitialTableDefinition.java b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/def/InitialTableDefinition.java index 89868d596e9..189667960cb 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/def/InitialTableDefinition.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/def/InitialTableDefinition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.barrage.def; import java.util.Arrays; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/def/TableAttributesDefinition.java b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/def/TableAttributesDefinition.java index 1d42edf46a9..c21939b71a6 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/def/TableAttributesDefinition.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/def/TableAttributesDefinition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.barrage.def; import java.util.Map; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/stream/BiDiStream.java b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/stream/BiDiStream.java index 7fd809fa335..0132c24899b 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/stream/BiDiStream.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/stream/BiDiStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.barrage.stream; import elemental2.core.Function; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/stream/HandshakeStreamFactory.java b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/stream/HandshakeStreamFactory.java index 1c06a9a37be..260a85254db 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/stream/HandshakeStreamFactory.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/stream/HandshakeStreamFactory.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.barrage.stream; import elemental2.core.Function; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/stream/ResponseStreamWrapper.java b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/stream/ResponseStreamWrapper.java index 0a637e47fc5..09854fafd2b 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/stream/ResponseStreamWrapper.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/barrage/stream/ResponseStreamWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.barrage.stream; import elemental2.core.Function; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/batch/BatchBuilder.java b/web/client-api/src/main/java/io/deephaven/web/client/api/batch/BatchBuilder.java index de1ca6d1d31..f2cbdf58196 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/batch/BatchBuilder.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/batch/BatchBuilder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.batch; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/batch/RequestBatcher.java b/web/client-api/src/main/java/io/deephaven/web/client/api/batch/RequestBatcher.java index 6694204d1da..9d10b006c81 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/batch/RequestBatcher.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/batch/RequestBatcher.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.batch; import elemental2.dom.CustomEventInit; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/batch/TableConfig.java b/web/client-api/src/main/java/io/deephaven/web/client/api/batch/TableConfig.java index c6490bdcf63..b8d5746ed08 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/batch/TableConfig.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/batch/TableConfig.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.batch; import io.deephaven.web.client.api.Sort; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsCommandResult.java b/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsCommandResult.java index 7fe42302893..e248ed4c94f 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsCommandResult.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsCommandResult.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.console; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsVariableChanges.java b/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsVariableChanges.java index 6a7a4f4b69e..31520ff3315 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsVariableChanges.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsVariableChanges.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.console; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsVariableDefinition.java b/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsVariableDefinition.java index 60b5e4261d5..8e8ab300d35 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsVariableDefinition.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsVariableDefinition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.console; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsVariableDescriptor.java b/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsVariableDescriptor.java index 982ce486d75..30fc521f295 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsVariableDescriptor.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsVariableDescriptor.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.console; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsVariableType.java b/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsVariableType.java index 5e5d936dc66..2b1acd7f0cb 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsVariableType.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/console/JsVariableType.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.console; import com.vertispan.tsdefs.annotations.TsTypeDef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/filter/FilterCondition.java b/web/client-api/src/main/java/io/deephaven/web/client/api/filter/FilterCondition.java index b78feafe54f..57eac9f8bba 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/filter/FilterCondition.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/filter/FilterCondition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.filter; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/filter/FilterValue.java b/web/client-api/src/main/java/io/deephaven/web/client/api/filter/FilterValue.java index a224489cd6b..d6687479178 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/filter/FilterValue.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/filter/FilterValue.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.filter; import com.vertispan.tsdefs.annotations.TsTypeRef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/grpc/MultiplexedWebsocketTransport.java b/web/client-api/src/main/java/io/deephaven/web/client/api/grpc/MultiplexedWebsocketTransport.java index a9e173ff53c..dfb0fd7cea4 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/grpc/MultiplexedWebsocketTransport.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/grpc/MultiplexedWebsocketTransport.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.grpc; import elemental2.core.ArrayBuffer; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/i18n/JsDateTimeFormat.java b/web/client-api/src/main/java/io/deephaven/web/client/api/i18n/JsDateTimeFormat.java index 2a229a3ea64..598826c80ee 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/i18n/JsDateTimeFormat.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/i18n/JsDateTimeFormat.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.i18n; import com.google.gwt.i18n.shared.DateTimeFormat; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/i18n/JsNumberFormat.java b/web/client-api/src/main/java/io/deephaven/web/client/api/i18n/JsNumberFormat.java index 1343053263d..2711789bfdd 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/i18n/JsNumberFormat.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/i18n/JsNumberFormat.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.i18n; import com.google.gwt.i18n.client.NumberFormat; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/i18n/JsTimeZone.java b/web/client-api/src/main/java/io/deephaven/web/client/api/i18n/JsTimeZone.java index 5d7d1544547..2564e078b8c 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/i18n/JsTimeZone.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/i18n/JsTimeZone.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.i18n; import com.google.gwt.core.client.GWT; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/impl/TicketAndPromise.java b/web/client-api/src/main/java/io/deephaven/web/client/api/impl/TicketAndPromise.java index 4f850da0a9f..c0aecbb5e76 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/impl/TicketAndPromise.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/impl/TicketAndPromise.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.impl; import elemental2.promise.IThenable; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/input/JsInputTable.java b/web/client-api/src/main/java/io/deephaven/web/client/api/input/JsInputTable.java index 8833a2de7f7..084d8f0ee4c 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/input/JsInputTable.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/input/JsInputTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.input; import elemental2.core.JsObject; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/lifecycle/HasLifecycle.java b/web/client-api/src/main/java/io/deephaven/web/client/api/lifecycle/HasLifecycle.java index 56cb27e3e9a..3fd9f2c4923 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/lifecycle/HasLifecycle.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/lifecycle/HasLifecycle.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.lifecycle; import elemental2.dom.CustomEvent; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/parse/JsDataHandler.java b/web/client-api/src/main/java/io/deephaven/web/client/api/parse/JsDataHandler.java index 899d880b368..d3edf0e03f4 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/parse/JsDataHandler.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/parse/JsDataHandler.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.parse; import com.google.gwt.i18n.client.TimeZone; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/state/HasTableState.java b/web/client-api/src/main/java/io/deephaven/web/client/api/state/HasTableState.java index eb4c0ef3bdb..8268f70abb7 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/state/HasTableState.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/state/HasTableState.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.state; import io.deephaven.web.client.state.ClientTableState; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/state/StateCache.java b/web/client-api/src/main/java/io/deephaven/web/client/api/state/StateCache.java index 9bddd3b2042..2dbb7576b75 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/state/StateCache.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/state/StateCache.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.state; import io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.ticket_pb.Ticket; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/storage/JsFileContents.java b/web/client-api/src/main/java/io/deephaven/web/client/api/storage/JsFileContents.java index 6a7cf336913..3e27fb9a7fc 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/storage/JsFileContents.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/storage/JsFileContents.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.storage; import elemental2.core.ArrayBuffer; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/storage/JsItemDetails.java b/web/client-api/src/main/java/io/deephaven/web/client/api/storage/JsItemDetails.java index 161fffdc0b4..3d45dc0fe7e 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/storage/JsItemDetails.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/storage/JsItemDetails.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.storage; import com.vertispan.tsdefs.annotations.TsTypeRef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/storage/JsItemType.java b/web/client-api/src/main/java/io/deephaven/web/client/api/storage/JsItemType.java index 6aa5c401fab..20a824dd3ce 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/storage/JsItemType.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/storage/JsItemType.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.storage; import com.vertispan.tsdefs.annotations.TsTypeDef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/storage/JsStorageService.java b/web/client-api/src/main/java/io/deephaven/web/client/api/storage/JsStorageService.java index f1984b3ef56..f83c5731910 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/storage/JsStorageService.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/storage/JsStorageService.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.storage; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/QueryConstants.java b/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/QueryConstants.java index 51114c2b368..e49eb7c2846 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/QueryConstants.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/QueryConstants.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.subscription; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/SubscriptionTableData.java b/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/SubscriptionTableData.java index 263d26f66e8..84e4dc1c758 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/SubscriptionTableData.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/SubscriptionTableData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.subscription; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/TableSubscription.java b/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/TableSubscription.java index e342d4fcd43..f94aa9a5775 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/TableSubscription.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/TableSubscription.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.subscription; import com.vertispan.tsdefs.annotations.TsName; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/TableViewportSubscription.java b/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/TableViewportSubscription.java index 2087542f90e..d567fbd3094 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/TableViewportSubscription.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/TableViewportSubscription.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.subscription; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/ViewportData.java b/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/ViewportData.java index b2bffcf14be..3ca96d1ed2e 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/ViewportData.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/ViewportData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.subscription; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/ViewportRow.java b/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/ViewportRow.java index 146d02c8539..ade086f4503 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/ViewportRow.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/ViewportRow.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.subscription; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/tree/JsRollupConfig.java b/web/client-api/src/main/java/io/deephaven/web/client/api/tree/JsRollupConfig.java index 7cf14222b66..f2861b1872c 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/tree/JsRollupConfig.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/tree/JsRollupConfig.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.tree; import com.vertispan.tsdefs.annotations.TsTypeRef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/tree/JsTreeTable.java b/web/client-api/src/main/java/io/deephaven/web/client/api/tree/JsTreeTable.java index aea546f81a5..79a28fb2e0d 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/tree/JsTreeTable.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/tree/JsTreeTable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.tree; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/tree/JsTreeTableConfig.java b/web/client-api/src/main/java/io/deephaven/web/client/api/tree/JsTreeTableConfig.java index 65c465b7990..385ef2acfb7 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/tree/JsTreeTableConfig.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/tree/JsTreeTableConfig.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.tree; import jsinterop.annotations.JsIgnore; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/tree/enums/JsAggregationOperation.java b/web/client-api/src/main/java/io/deephaven/web/client/api/tree/enums/JsAggregationOperation.java index 79fa9a9ec5f..3f76c657292 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/tree/enums/JsAggregationOperation.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/tree/enums/JsAggregationOperation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.tree.enums; import com.vertispan.tsdefs.annotations.TsTypeDef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/JsWidget.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/JsWidget.java index 792aaedea3b..3581ce102a4 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/JsWidget.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/JsWidget.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget; import com.vertispan.tsdefs.annotations.TsName; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/JsWidgetExportedObject.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/JsWidgetExportedObject.java index d6df425e1e9..e6a9da3b95c 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/JsWidgetExportedObject.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/JsWidgetExportedObject.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/WidgetMessageDetails.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/WidgetMessageDetails.java index 2ea701f453b..22f481e84a7 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/WidgetMessageDetails.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/WidgetMessageDetails.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/calendar/JsBusinessCalendar.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/calendar/JsBusinessCalendar.java index 9c747c850e6..c2a50c1417a 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/calendar/JsBusinessCalendar.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/calendar/JsBusinessCalendar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.calendar; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/calendar/JsBusinessPeriod.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/calendar/JsBusinessPeriod.java index 7f22976e4a3..b5203ede9ef 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/calendar/JsBusinessPeriod.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/calendar/JsBusinessPeriod.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.calendar; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/calendar/JsHoliday.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/calendar/JsHoliday.java index 9c4928cbb2a..5cce1d42ee5 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/calendar/JsHoliday.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/calendar/JsHoliday.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.calendar; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/calendar/enums/JsDayOfWeek.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/calendar/enums/JsDayOfWeek.java index b1c4f1e4a4c..af97b580a79 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/calendar/enums/JsDayOfWeek.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/calendar/enums/JsDayOfWeek.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.calendar.enums; import com.vertispan.tsdefs.annotations.TsTypeDef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/ChartData.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/ChartData.java index ccad9b08cb4..b81b84dbc3b 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/ChartData.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/ChartData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/DataUpdateEvent.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/DataUpdateEvent.java index 4656a1ef632..c4253a23939 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/DataUpdateEvent.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/DataUpdateEvent.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/DownsampleOptions.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/DownsampleOptions.java index 9316e528d42..fb4f81d6081 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/DownsampleOptions.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/DownsampleOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import jsinterop.annotations.JsType; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/FigureSubscription.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/FigureSubscription.java index d3af6320dd9..e71ba18e458 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/FigureSubscription.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/FigureSubscription.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import elemental2.dom.CustomEvent; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsAxis.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsAxis.java index 8da63c68c13..3fb16d30ec4 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsAxis.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsAxis.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsAxisDescriptor.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsAxisDescriptor.java index 9edb87760ee..05e27957bb6 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsAxisDescriptor.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsAxisDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsChart.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsChart.java index d31ee8f3dda..989ecd8982d 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsChart.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsChart.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import com.vertispan.tsdefs.annotations.TsTypeRef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsChartDescriptor.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsChartDescriptor.java index 9f7694b8480..ee4147d0238 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsChartDescriptor.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsChartDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsFigure.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsFigure.java index 04f2a7989a7..f16ea87f6fd 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsFigure.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsFigure.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsFigureDescriptor.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsFigureDescriptor.java index 9b3237498f2..aeb5624898b 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsFigureDescriptor.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsFigureDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsFigureFactory.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsFigureFactory.java index 3ffd54794fa..38a6780fcbf 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsFigureFactory.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsFigureFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import com.vertispan.tsdefs.annotations.TsTypeRef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsMultiSeries.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsMultiSeries.java index c03bbb04140..432b9ca6ad9 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsMultiSeries.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsMultiSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsSeries.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsSeries.java index 75724e9768c..d698878efd7 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsSeries.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsSeries.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsSeriesDescriptor.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsSeriesDescriptor.java index 6437cf7178e..3fea7c635a4 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsSeriesDescriptor.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsSeriesDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsSourceDescriptor.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsSourceDescriptor.java index bc93dea0dd5..2c525682fca 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsSourceDescriptor.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/JsSourceDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import io.deephaven.web.client.api.JsTable; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/OneClick.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/OneClick.java index b92089ee750..2736ecc0344 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/OneClick.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/OneClick.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/SeriesDataSource.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/SeriesDataSource.java index 038eee38c33..83a9299d556 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/SeriesDataSource.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/SeriesDataSource.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsAxisFormatType.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsAxisFormatType.java index 986a7342adf..aad7db06e2d 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsAxisFormatType.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsAxisFormatType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot.enums; import com.vertispan.tsdefs.annotations.TsTypeDef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsAxisPosition.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsAxisPosition.java index d9dde0c06c0..91a774ae7bd 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsAxisPosition.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsAxisPosition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot.enums; import com.vertispan.tsdefs.annotations.TsTypeDef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsAxisType.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsAxisType.java index d7156972e82..d6161b83816 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsAxisType.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsAxisType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot.enums; import com.vertispan.tsdefs.annotations.TsTypeDef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsChartType.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsChartType.java index dd4c107288c..8b9b089ff1c 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsChartType.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsChartType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot.enums; import com.vertispan.tsdefs.annotations.TsTypeDef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsSeriesPlotStyle.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsSeriesPlotStyle.java index d075820897f..858c418d810 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsSeriesPlotStyle.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsSeriesPlotStyle.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot.enums; import com.vertispan.tsdefs.annotations.TsTypeDef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsSourceType.java b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsSourceType.java index 007357a9037..4b2a2651ef5 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsSourceType.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/enums/JsSourceType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.widget.plot.enums; import com.vertispan.tsdefs.annotations.TsTypeDef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/fu/CancellablePromise.java b/web/client-api/src/main/java/io/deephaven/web/client/fu/CancellablePromise.java index eccfd7d8577..311094575c9 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/fu/CancellablePromise.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/fu/CancellablePromise.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.fu; import elemental2.promise.Promise; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/fu/JsData.java b/web/client-api/src/main/java/io/deephaven/web/client/fu/JsData.java index b83173cffdc..d3eabb992c9 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/fu/JsData.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/fu/JsData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.fu; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/fu/JsIterator.java b/web/client-api/src/main/java/io/deephaven/web/client/fu/JsIterator.java index e9b783502b4..6aa38213113 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/fu/JsIterator.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/fu/JsIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.fu; import com.vertispan.tsdefs.annotations.TsInterface; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/fu/JsItr.java b/web/client-api/src/main/java/io/deephaven/web/client/fu/JsItr.java index 879766dfaac..b1254a8f973 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/fu/JsItr.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/fu/JsItr.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.fu; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/fu/JsLog.java b/web/client-api/src/main/java/io/deephaven/web/client/fu/JsLog.java index ac7c3921f7b..72cbe97a2ee 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/fu/JsLog.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/fu/JsLog.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.fu; import io.deephaven.web.client.api.LazyString; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/fu/JsSettings.java b/web/client-api/src/main/java/io/deephaven/web/client/fu/JsSettings.java index 995a648dcd4..59f90135ac6 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/fu/JsSettings.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/fu/JsSettings.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.fu; /** diff --git a/web/client-api/src/main/java/io/deephaven/web/client/fu/LazyPromise.java b/web/client-api/src/main/java/io/deephaven/web/client/fu/LazyPromise.java index 662fea40be0..5a9338116cf 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/fu/LazyPromise.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/fu/LazyPromise.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.fu; import com.google.gwt.core.client.GWT; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/ide/CommandInfo.java b/web/client-api/src/main/java/io/deephaven/web/client/ide/CommandInfo.java index 1a1cf2db6d4..ce31e3b2a1e 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/ide/CommandInfo.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/ide/CommandInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.ide; import elemental2.promise.Promise; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/ide/IdeClient.java b/web/client-api/src/main/java/io/deephaven/web/client/ide/IdeClient.java index 6409063b812..ce6a4f785f5 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/ide/IdeClient.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/ide/IdeClient.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.ide; import elemental2.promise.Promise; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/ide/IdeConnection.java b/web/client-api/src/main/java/io/deephaven/web/client/ide/IdeConnection.java index a32b290c613..7ea7d8a8ed1 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/ide/IdeConnection.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/ide/IdeConnection.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.ide; import com.vertispan.tsdefs.annotations.TsTypeRef; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/ide/IdeSession.java b/web/client-api/src/main/java/io/deephaven/web/client/ide/IdeSession.java index 75bedece3c8..c3a2714fc05 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/ide/IdeSession.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/ide/IdeSession.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.ide; import com.google.gwt.user.client.Timer; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/ide/LspTranslate.java b/web/client-api/src/main/java/io/deephaven/web/client/ide/LspTranslate.java index ea0b5eefc99..306ad0f0c3f 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/ide/LspTranslate.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/ide/LspTranslate.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.ide; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/state/ActiveTableBinding.java b/web/client-api/src/main/java/io/deephaven/web/client/state/ActiveTableBinding.java index 607f18ef902..5aed4d5c121 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/state/ActiveTableBinding.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/state/ActiveTableBinding.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.state; import io.deephaven.web.client.api.Column; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/state/ClientTableState.java b/web/client-api/src/main/java/io/deephaven/web/client/state/ClientTableState.java index dd246bf737a..355e3f8e6f2 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/state/ClientTableState.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/state/ClientTableState.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.state; import elemental2.core.JsMap; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/state/HasTableBinding.java b/web/client-api/src/main/java/io/deephaven/web/client/state/HasTableBinding.java index 9f69f3ace0c..ba897fc54e9 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/state/HasTableBinding.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/state/HasTableBinding.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.state; import elemental2.dom.CustomEventInit; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/state/PausedTableBinding.java b/web/client-api/src/main/java/io/deephaven/web/client/state/PausedTableBinding.java index 420d65f664b..27b2f627c61 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/state/PausedTableBinding.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/state/PausedTableBinding.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.state; import io.deephaven.web.client.api.state.HasTableState; diff --git a/web/client-api/src/main/java/io/deephaven/web/client/state/TableReviver.java b/web/client-api/src/main/java/io/deephaven/web/client/state/TableReviver.java index 9ec559c44c1..2f3220b476a 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/state/TableReviver.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/state/TableReviver.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.state; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/shared/ide/ExecutionHandle.java b/web/client-api/src/main/java/io/deephaven/web/shared/ide/ExecutionHandle.java index fafb3a608eb..b883cf9ca46 100644 --- a/web/client-api/src/main/java/io/deephaven/web/shared/ide/ExecutionHandle.java +++ b/web/client-api/src/main/java/io/deephaven/web/shared/ide/ExecutionHandle.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.ide; import io.deephaven.web.shared.cmd.ServerReplyHandle; diff --git a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/CompletionItem.java b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/CompletionItem.java index cc3d0ca5dca..af418dbff2d 100644 --- a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/CompletionItem.java +++ b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/CompletionItem.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.ide.lsp; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/DocumentRange.java b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/DocumentRange.java index 584208f58b1..d749c67d4db 100644 --- a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/DocumentRange.java +++ b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/DocumentRange.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.ide.lsp; import jsinterop.annotations.JsIgnore; diff --git a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/Hover.java b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/Hover.java index ab5602d4fee..98b9986491f 100644 --- a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/Hover.java +++ b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/Hover.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.ide.lsp; import jsinterop.annotations.JsIgnore; diff --git a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/MarkupContent.java b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/MarkupContent.java index e5ef5305277..4548a79e01e 100644 --- a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/MarkupContent.java +++ b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/MarkupContent.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.ide.lsp; import jsinterop.annotations.JsIgnore; diff --git a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/ParameterInformation.java b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/ParameterInformation.java index 439eb16ff1b..b11e874eb5e 100644 --- a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/ParameterInformation.java +++ b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/ParameterInformation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.ide.lsp; import jsinterop.annotations.JsIgnore; diff --git a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/Position.java b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/Position.java index e05da3623c3..c31b7988a29 100644 --- a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/Position.java +++ b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/Position.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.ide.lsp; import jsinterop.annotations.JsIgnore; diff --git a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/SignatureInformation.java b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/SignatureInformation.java index 47921b02c20..d781a8f3374 100644 --- a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/SignatureInformation.java +++ b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/SignatureInformation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.ide.lsp; import elemental2.core.JsArray; diff --git a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/TextDocumentContentChangeEvent.java b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/TextDocumentContentChangeEvent.java index ce941c10ac8..d9cb28edd84 100644 --- a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/TextDocumentContentChangeEvent.java +++ b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/TextDocumentContentChangeEvent.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.ide.lsp; import jsinterop.annotations.JsIgnore; diff --git a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/TextEdit.java b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/TextEdit.java index f2d0731f0c2..01af3806735 100644 --- a/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/TextEdit.java +++ b/web/client-api/src/main/java/io/deephaven/web/shared/ide/lsp/TextEdit.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.ide.lsp; import jsinterop.annotations.JsIgnore; diff --git a/web/client-api/src/test/java/io/deephaven/web/ClientIntegrationTestSuite.java b/web/client-api/src/test/java/io/deephaven/web/ClientIntegrationTestSuite.java index cc08d77bf20..994f2413047 100644 --- a/web/client-api/src/test/java/io/deephaven/web/ClientIntegrationTestSuite.java +++ b/web/client-api/src/test/java/io/deephaven/web/ClientIntegrationTestSuite.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web; import com.google.gwt.junit.tools.GWTTestSuite; diff --git a/web/client-api/src/test/java/io/deephaven/web/ClientUnitTestSuite.java b/web/client-api/src/test/java/io/deephaven/web/ClientUnitTestSuite.java index b8824afe125..4a627ee701c 100644 --- a/web/client-api/src/test/java/io/deephaven/web/ClientUnitTestSuite.java +++ b/web/client-api/src/test/java/io/deephaven/web/ClientUnitTestSuite.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web; import com.google.gwt.junit.tools.GWTTestSuite; diff --git a/web/client-api/src/test/java/io/deephaven/web/client/api/AbstractAsyncGwtTestCase.java b/web/client-api/src/test/java/io/deephaven/web/client/api/AbstractAsyncGwtTestCase.java index 5b70436b950..b0eab4ffe49 100644 --- a/web/client-api/src/test/java/io/deephaven/web/client/api/AbstractAsyncGwtTestCase.java +++ b/web/client-api/src/test/java/io/deephaven/web/client/api/AbstractAsyncGwtTestCase.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.google.gwt.core.client.JavaScriptException; diff --git a/web/client-api/src/test/java/io/deephaven/web/client/api/HierarchicalTableTestGwt.java b/web/client-api/src/test/java/io/deephaven/web/client/api/HierarchicalTableTestGwt.java index 4cc66b6bb05..6a7c4742f11 100644 --- a/web/client-api/src/test/java/io/deephaven/web/client/api/HierarchicalTableTestGwt.java +++ b/web/client-api/src/test/java/io/deephaven/web/client/api/HierarchicalTableTestGwt.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import elemental2.dom.CustomEvent; diff --git a/web/client-api/src/test/java/io/deephaven/web/client/api/JsPredicate.java b/web/client-api/src/test/java/io/deephaven/web/client/api/JsPredicate.java index 927bec52f09..f1d6eae063c 100644 --- a/web/client-api/src/test/java/io/deephaven/web/client/api/JsPredicate.java +++ b/web/client-api/src/test/java/io/deephaven/web/client/api/JsPredicate.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import jsinterop.annotations.JsFunction; diff --git a/web/client-api/src/test/java/io/deephaven/web/client/api/NullValueTestGwt.java b/web/client-api/src/test/java/io/deephaven/web/client/api/NullValueTestGwt.java index de233f37be9..157d718675a 100644 --- a/web/client-api/src/test/java/io/deephaven/web/client/api/NullValueTestGwt.java +++ b/web/client-api/src/test/java/io/deephaven/web/client/api/NullValueTestGwt.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.google.gwt.junit.DoNotRunWith; diff --git a/web/client-api/src/test/java/io/deephaven/web/client/api/TableManipulationTestGwt.java b/web/client-api/src/test/java/io/deephaven/web/client/api/TableManipulationTestGwt.java index 114793bf303..b0299cbc9ca 100644 --- a/web/client-api/src/test/java/io/deephaven/web/client/api/TableManipulationTestGwt.java +++ b/web/client-api/src/test/java/io/deephaven/web/client/api/TableManipulationTestGwt.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import com.google.gwt.junit.DoNotRunWith; diff --git a/web/client-api/src/test/java/io/deephaven/web/client/api/TotalsTableTestGwt.java b/web/client-api/src/test/java/io/deephaven/web/client/api/TotalsTableTestGwt.java index 4c8000f0d51..6a6c2d3e706 100644 --- a/web/client-api/src/test/java/io/deephaven/web/client/api/TotalsTableTestGwt.java +++ b/web/client-api/src/test/java/io/deephaven/web/client/api/TotalsTableTestGwt.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api; import elemental2.core.JsArray; diff --git a/web/client-api/src/test/java/io/deephaven/web/client/api/barrage/CompressedRangeSetReaderTest.java b/web/client-api/src/test/java/io/deephaven/web/client/api/barrage/CompressedRangeSetReaderTest.java index 559362e9995..49becfe52ef 100644 --- a/web/client-api/src/test/java/io/deephaven/web/client/api/barrage/CompressedRangeSetReaderTest.java +++ b/web/client-api/src/test/java/io/deephaven/web/client/api/barrage/CompressedRangeSetReaderTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.barrage; import io.deephaven.web.shared.data.Range; diff --git a/web/client-api/src/test/java/io/deephaven/web/client/api/filter/FilterConditionTestGwt.java b/web/client-api/src/test/java/io/deephaven/web/client/api/filter/FilterConditionTestGwt.java index 27aa370f501..839507a79fe 100644 --- a/web/client-api/src/test/java/io/deephaven/web/client/api/filter/FilterConditionTestGwt.java +++ b/web/client-api/src/test/java/io/deephaven/web/client/api/filter/FilterConditionTestGwt.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.filter; import com.google.gwt.junit.client.GWTTestCase; diff --git a/web/client-api/src/test/java/io/deephaven/web/client/api/i18n/JsDateTimeFormatTestGwt.java b/web/client-api/src/test/java/io/deephaven/web/client/api/i18n/JsDateTimeFormatTestGwt.java index 804b7a9ccd0..7f99daac9a3 100644 --- a/web/client-api/src/test/java/io/deephaven/web/client/api/i18n/JsDateTimeFormatTestGwt.java +++ b/web/client-api/src/test/java/io/deephaven/web/client/api/i18n/JsDateTimeFormatTestGwt.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.i18n; import com.google.gwt.i18n.shared.DateTimeFormat; diff --git a/web/client-api/src/test/java/io/deephaven/web/client/api/i18n/JsNumberFormatTestGwt.java b/web/client-api/src/test/java/io/deephaven/web/client/api/i18n/JsNumberFormatTestGwt.java index 657255826a5..29ac234bd56 100644 --- a/web/client-api/src/test/java/io/deephaven/web/client/api/i18n/JsNumberFormatTestGwt.java +++ b/web/client-api/src/test/java/io/deephaven/web/client/api/i18n/JsNumberFormatTestGwt.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.i18n; import com.google.gwt.junit.client.GWTTestCase; diff --git a/web/client-api/src/test/java/io/deephaven/web/client/api/subscription/ConcurrentTableTestGwt.java b/web/client-api/src/test/java/io/deephaven/web/client/api/subscription/ConcurrentTableTestGwt.java index 87a3212a5d1..4e743f42689 100644 --- a/web/client-api/src/test/java/io/deephaven/web/client/api/subscription/ConcurrentTableTestGwt.java +++ b/web/client-api/src/test/java/io/deephaven/web/client/api/subscription/ConcurrentTableTestGwt.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.subscription; import com.google.gwt.junit.DoNotRunWith; diff --git a/web/client-api/src/test/java/io/deephaven/web/client/api/subscription/ViewportTestGwt.java b/web/client-api/src/test/java/io/deephaven/web/client/api/subscription/ViewportTestGwt.java index 490e42035bd..19e1a1ddf4f 100644 --- a/web/client-api/src/test/java/io/deephaven/web/client/api/subscription/ViewportTestGwt.java +++ b/web/client-api/src/test/java/io/deephaven/web/client/api/subscription/ViewportTestGwt.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.client.api.subscription; import elemental2.core.JsArray; diff --git a/web/client-api/src/test/java/io/deephaven/web/junit/RunStyleRemoteWebDriver.java b/web/client-api/src/test/java/io/deephaven/web/junit/RunStyleRemoteWebDriver.java index 0a33c37f459..fb193b5495c 100644 --- a/web/client-api/src/test/java/io/deephaven/web/junit/RunStyleRemoteWebDriver.java +++ b/web/client-api/src/test/java/io/deephaven/web/junit/RunStyleRemoteWebDriver.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.junit; import com.google.gwt.core.ext.TreeLogger; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/Flatbuffers.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/Flatbuffers.java index b733e1614d4..0819a1ea975 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/Flatbuffers.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/Flatbuffers.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal; import elemental2.core.Float32Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/Flatbuf.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/Flatbuf.java index 3a59819d0a7..d32b397e89b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/Flatbuf.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/Flatbuf.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.message_generated.org.apache.arrow; import io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.message_generated.org.apache.arrow.flatbuf.DictionaryBatch; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/BodyCompression.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/BodyCompression.java index 7b4610c4dbf..77a91516d9c 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/BodyCompression.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/BodyCompression.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.message_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/BodyCompressionMethod.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/BodyCompressionMethod.java index c578913a0df..0fa3c6919e4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/BodyCompressionMethod.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/BodyCompressionMethod.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.message_generated.org.apache.arrow.flatbuf; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/CompressionType.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/CompressionType.java index 8733e036d2d..a395a0317e3 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/CompressionType.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/CompressionType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.message_generated.org.apache.arrow.flatbuf; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/DictionaryBatch.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/DictionaryBatch.java index b955ff94b18..b063716b3c4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/DictionaryBatch.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/DictionaryBatch.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.message_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/FieldNode.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/FieldNode.java index 4fcb9ae6340..e3751057417 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/FieldNode.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/FieldNode.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.message_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/Message.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/Message.java index 4a83494c81f..691e7947369 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/Message.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/Message.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.message_generated.org.apache.arrow.flatbuf; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/MessageHeader.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/MessageHeader.java index dde29c5dd67..48bae3c723d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/MessageHeader.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/MessageHeader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.message_generated.org.apache.arrow.flatbuf; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/RecordBatch.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/RecordBatch.java index d4053aeeac8..619fbee84cb 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/RecordBatch.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/RecordBatch.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.message_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf.Buffer; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/Flatbuf.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/Flatbuf.java index b9ccb65d4a7..c74661f7d31 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/Flatbuf.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/Flatbuf.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow; import io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf.Binary; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Binary.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Binary.java index bafc0cce5f2..9174b46ad62 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Binary.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Binary.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Bool.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Bool.java index 38a36288cc1..a995e0e6a1d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Bool.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Bool.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Buffer.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Buffer.java index 953e7e8ae0d..9cb4e6bc3c6 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Buffer.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Buffer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Date.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Date.java index 7f20ac4d64c..37483e70bcc 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Date.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Date.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/DateUnit.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/DateUnit.java index ed880a3b45e..b5edb152cb7 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/DateUnit.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/DateUnit.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Decimal.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Decimal.java index 1a3b3c816ec..fa3ee35026b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Decimal.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Decimal.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/DictionaryEncoding.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/DictionaryEncoding.java index 0d9da3d81b2..9be0497b0ec 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/DictionaryEncoding.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/DictionaryEncoding.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/DictionaryKind.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/DictionaryKind.java index b804db00408..0a78b7f3036 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/DictionaryKind.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/DictionaryKind.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Duration.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Duration.java index a5f6ff3836b..ae2bc2aee9d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Duration.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Duration.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Endianness.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Endianness.java index f767061679f..e29338b855b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Endianness.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Endianness.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Feature.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Feature.java index 26783a74221..5b81178a43e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Feature.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Feature.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Field.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Field.java index 4411029599f..6cdc1706df3 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Field.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Field.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/FixedSizeBinary.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/FixedSizeBinary.java index 9a4d8422bc8..701078f258f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/FixedSizeBinary.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/FixedSizeBinary.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/FixedSizeList.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/FixedSizeList.java index f8c768b642d..6e7f302b85d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/FixedSizeList.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/FixedSizeList.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/FloatingPoint.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/FloatingPoint.java index f85740fab57..739c3f455d6 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/FloatingPoint.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/FloatingPoint.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Int.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Int.java index d5cedfe432a..c1441852b02 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Int.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Int.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Interval.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Interval.java index efbf213578a..c844a0f89d2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Interval.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Interval.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/IntervalUnit.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/IntervalUnit.java index 15d044ec723..aee19255211 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/IntervalUnit.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/IntervalUnit.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/KeyValue.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/KeyValue.java index bb14a9c007f..3a7511d91eb 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/KeyValue.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/KeyValue.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/LargeBinary.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/LargeBinary.java index ecb48f72d65..98b3ca5480b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/LargeBinary.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/LargeBinary.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/LargeList.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/LargeList.java index feedb7fc168..c7581db121c 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/LargeList.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/LargeList.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/LargeUtf8.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/LargeUtf8.java index 58073e75082..55031aa3e29 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/LargeUtf8.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/LargeUtf8.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/List.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/List.java index 91f4b2708b9..f4a0f64ba0e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/List.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/List.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Map.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Map.java index 9b99d7adf40..1a2e54e0fc6 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Map.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Map.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/MetadataVersion.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/MetadataVersion.java index ccbde14eb98..6e26ef3e21b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/MetadataVersion.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/MetadataVersion.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Null.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Null.java index 44816907fb6..a4c761da693 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Null.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Null.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Precision.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Precision.java index 0070abea01e..0c7f6cad0e3 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Precision.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Precision.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Schema.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Schema.java index fed63ece83c..23ddc811ef7 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Schema.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Schema.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Struct_.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Struct_.java index aa48028535a..62c88e3f8ae 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Struct_.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Struct_.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Time.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Time.java index e78a189b066..0f40072c5dd 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Time.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Time.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/TimeUnit.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/TimeUnit.java index 2d52116418a..780d7cc9e08 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/TimeUnit.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/TimeUnit.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Timestamp.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Timestamp.java index 31a08dd3b5e..fa1ef0923ed 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Timestamp.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Timestamp.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Type.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Type.java index 0e71d3fa769..6336d2a547f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Type.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Type.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Union.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Union.java index 8e292bfafae..a3ff98e8975 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Union.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Union.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import elemental2.core.Int32Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/UnionMode.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/UnionMode.java index 317e0af779f..30553887de2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/UnionMode.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/UnionMode.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Utf8.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Utf8.java index 1f61b27d866..1149f1f8977 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Utf8.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/schema_generated/org/apache/arrow/flatbuf/Utf8.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.schema_generated.org.apache.arrow.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb/BrowserNextResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb/BrowserNextResponse.java index e61b327ca81..047b2a820b9 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb/BrowserNextResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb/BrowserNextResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.browserflight_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/BidirectionalStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/BidirectionalStream.java index 70822885157..05c6ea57c21 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/BidirectionalStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/BidirectionalStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.browserflight_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/BrowserFlightService.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/BrowserFlightService.java index 733d12450b1..f89ddd03a44 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/BrowserFlightService.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/BrowserFlightService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.browserflight_pb_service; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/BrowserFlightServiceClient.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/BrowserFlightServiceClient.java index ca81ca0e1f8..044a754a441 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/BrowserFlightServiceClient.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/BrowserFlightServiceClient.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.browserflight_pb_service; import io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.browserflight_pb.BrowserNextResponse; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/RequestStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/RequestStream.java index 0bd55157dbf..da6a3e02524 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/RequestStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/RequestStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.browserflight_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/ResponseStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/ResponseStream.java index 14a44e2158b..9ac64c2479a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/ResponseStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/ResponseStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.browserflight_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/UnaryResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/UnaryResponse.java index 111c9c692be..5389671ee8e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/UnaryResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/browserflight_pb_service/UnaryResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.browserflight_pb_service; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Action.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Action.java index 90871e1c138..6c6c0890ff0 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Action.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Action.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/ActionType.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/ActionType.java index c7fefba61e5..de3e6eb0e13 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/ActionType.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/ActionType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/BasicAuth.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/BasicAuth.java index c2ddf7e4850..aded1ded55b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/BasicAuth.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/BasicAuth.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Criteria.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Criteria.java index 272762f9717..906c610b5c4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Criteria.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Criteria.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Empty.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Empty.java index 68b1a8f1e1c..2ac786d0856 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Empty.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Empty.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/FlightData.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/FlightData.java index 410abc92559..20d2c8f1f51 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/FlightData.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/FlightData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/FlightDescriptor.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/FlightDescriptor.java index a8a55a82b12..0f05da81467 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/FlightDescriptor.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/FlightDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/FlightEndpoint.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/FlightEndpoint.java index 5661c6fe123..e24fe0ae1e2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/FlightEndpoint.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/FlightEndpoint.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/FlightInfo.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/FlightInfo.java index 8f258467fc7..bb7d926c269 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/FlightInfo.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/FlightInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/HandshakeRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/HandshakeRequest.java index 0a6f1b404d7..523605d7251 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/HandshakeRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/HandshakeRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/HandshakeResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/HandshakeResponse.java index c51884f1b13..35553846e14 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/HandshakeResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/HandshakeResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Location.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Location.java index 12bdff3967b..ea16a573bca 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Location.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Location.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/PutResult.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/PutResult.java index ec4d22d09d6..601c34078ca 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/PutResult.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/PutResult.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Result.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Result.java index 8d21de77c24..7e4c560f3cd 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Result.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Result.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/SchemaResult.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/SchemaResult.java index 120ab380a4c..10fbae8a0a6 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/SchemaResult.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/SchemaResult.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Ticket.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Ticket.java index 9978f3a4f31..e42657ebeab 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Ticket.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/Ticket.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/flightdescriptor/DescriptorTypeMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/flightdescriptor/DescriptorTypeMap.java index 105ca218c68..965d3494359 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/flightdescriptor/DescriptorTypeMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb/flightdescriptor/DescriptorTypeMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb.flightdescriptor; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/BidirectionalStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/BidirectionalStream.java index 2d463b1f41c..2b02ec37f56 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/BidirectionalStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/BidirectionalStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/FlightService.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/FlightService.java index 0bfe6b41ffd..fea83872f26 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/FlightService.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/FlightService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb_service; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/FlightServiceClient.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/FlightServiceClient.java index f6e40be9dcd..2ea3f6ed2fb 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/FlightServiceClient.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/FlightServiceClient.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb_service; import io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb.Action; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/RequestStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/RequestStream.java index 7e1d49d5096..551bccfcc22 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/RequestStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/RequestStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/ResponseStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/ResponseStream.java index 8f4b8be9924..69dffb79fc2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/ResponseStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/ResponseStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/UnaryResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/UnaryResponse.java index 89dab434884..a40a07f209f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/UnaryResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/protocol/flight_pb_service/UnaryResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.arrow.flight.protocol.flight_pb_service; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/browserheaders/BrowserHeaders.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/browserheaders/BrowserHeaders.java index 382ccdbf4e5..e017ad06a67 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/browserheaders/BrowserHeaders.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/browserheaders/BrowserHeaders.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.browserheaders; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/browserheaders/IterateHeaders.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/browserheaders/IterateHeaders.java index 0efe84e22a6..13e1f07f730 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/browserheaders/IterateHeaders.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/browserheaders/IterateHeaders.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.browserheaders; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/browserheaders/Map.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/browserheaders/Map.java index c1878f0b83a..c63c7a08f00 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/browserheaders/Map.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/browserheaders/Map.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.browserheaders; import jsinterop.annotations.JsFunction; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/browserheaders/windowheaders/WindowHeaders.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/browserheaders/windowheaders/WindowHeaders.java index 2776234a089..f61ec2f0333 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/browserheaders/windowheaders/WindowHeaders.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/browserheaders/windowheaders/WindowHeaders.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.browserheaders.windowheaders; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/Builder.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/Builder.java index f80447d8aab..0c9118583d8 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/Builder.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/Builder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.flatbuffers; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/ByteBuffer.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/ByteBuffer.java index 823df641c38..85a71935d92 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/ByteBuffer.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/ByteBuffer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.flatbuffers; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/Encoding.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/Encoding.java index 0642a54bbe6..be269d6968a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/Encoding.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/Encoding.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.flatbuffers; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/Long.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/Long.java index cf47688553b..e7551a82d7d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/Long.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/Long.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.flatbuffers; import jsinterop.annotations.JsMethod; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/Table.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/Table.java index eea43ca7fe0..e2dcada04fb 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/Table.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/flatbuffers/Table.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.flatbuffers; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/ChunkParser.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/ChunkParser.java index 3c03c1235a3..3a0cb942402 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/ChunkParser.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/ChunkParser.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Client.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Client.java index ee5cd568900..342183927ba 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Client.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Client.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb; import io.deephaven.javascript.proto.dhinternal.grpcweb.client.ClientRpcOptions; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Debug.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Debug.java index d1e048c1a1b..dbf94b1092b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Debug.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Debug.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Detach.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Detach.java index 7c0c88f79df..feb1ea013ac 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Detach.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Detach.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb; import jsinterop.annotations.JsFunction; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Grpc.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Grpc.java index 8b31054e93e..a6edaacfe69 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Grpc.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Grpc.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb; import io.deephaven.javascript.proto.dhinternal.grpcweb.grpc.Client; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Invoke.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Invoke.java index 845ab6193e9..716598275ad 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Invoke.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Invoke.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb; import io.deephaven.javascript.proto.dhinternal.grpcweb.invoke.InvokeRpcOptions; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Unary.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Unary.java index 3bc9cdf0a55..5428faec803 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Unary.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Unary.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb; import io.deephaven.javascript.proto.dhinternal.grpcweb.invoke.Request; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Util.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Util.java index e016eefda8d..f9e547cd652 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Util.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/Util.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/chunkparser/ChunkParser.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/chunkparser/ChunkParser.java index 5da95c52792..83b304b25df 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/chunkparser/ChunkParser.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/chunkparser/ChunkParser.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.chunkparser; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/chunkparser/ChunkType.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/chunkparser/ChunkType.java index 1d1193a98f9..958fa7f8339 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/chunkparser/ChunkType.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/chunkparser/ChunkType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.chunkparser; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/client/Client.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/client/Client.java index 597b843a052..3daa341595c 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/client/Client.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/client/Client.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.client; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/client/ClientRpcOptions.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/client/ClientRpcOptions.java index 801904c309a..67b4cf48384 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/client/ClientRpcOptions.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/client/ClientRpcOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.client; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/client/RpcOptions.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/client/RpcOptions.java index 8bf06db1474..878fcfb8b26 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/client/RpcOptions.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/client/RpcOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.client; import io.deephaven.javascript.proto.dhinternal.grpcweb.transports.transport.TransportFactory; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/Client.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/Client.java index 7d6d53c6c21..c16549729bc 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/Client.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/Client.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/ClientRpcOptions.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/ClientRpcOptions.java index 97d9c7f110d..62d27857637 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/ClientRpcOptions.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/ClientRpcOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/Code.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/Code.java index d78d49c231d..ec5fb645e00 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/Code.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/Code.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/CrossBrowserHttpTransportInit.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/CrossBrowserHttpTransportInit.java index 026674dbd43..1993fa30c46 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/CrossBrowserHttpTransportInit.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/CrossBrowserHttpTransportInit.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/FetchReadableStreamInit.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/FetchReadableStreamInit.java index 242165377b0..fe6c00c5bd6 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/FetchReadableStreamInit.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/FetchReadableStreamInit.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/InvokeRpcOptions.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/InvokeRpcOptions.java index 462b42ad971..ca64144316a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/InvokeRpcOptions.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/InvokeRpcOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/MethodDefinition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/MethodDefinition.java index aef3bf22443..0b750ca3a72 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/MethodDefinition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/MethodDefinition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/ProtobufMessage.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/ProtobufMessage.java index a4dfd3f39f7..d39a9eb53e8 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/ProtobufMessage.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/ProtobufMessage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/ProtobufMessageClass.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/ProtobufMessageClass.java index d68b42c246f..9add760797d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/ProtobufMessageClass.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/ProtobufMessageClass.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/Request.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/Request.java index 235422e33b1..9664be614a6 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/Request.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/Request.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/RpcOptions.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/RpcOptions.java index 319ca82dd5d..35f587a11d7 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/RpcOptions.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/RpcOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/ServiceDefinition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/ServiceDefinition.java index cab34fe65da..af4ddd0ca5f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/ServiceDefinition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/ServiceDefinition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/Transport.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/Transport.java index 17d30994c09..af81f449453 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/Transport.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/Transport.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/TransportFactory.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/TransportFactory.java index e11e657a5dd..8a176a7da26 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/TransportFactory.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/TransportFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/TransportOptions.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/TransportOptions.java index 2a712918e3e..a112a6d2354 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/TransportOptions.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/TransportOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/UnaryMethodDefinition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/UnaryMethodDefinition.java index 60b7a63beb4..20ee739fb8d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/UnaryMethodDefinition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/UnaryMethodDefinition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/UnaryOutput.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/UnaryOutput.java index 915715e1d01..12baf59dc5a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/UnaryOutput.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/UnaryOutput.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/UnaryRpcOptions.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/UnaryRpcOptions.java index 8fc3b5c36b2..2c5f9ef8744 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/UnaryRpcOptions.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/UnaryRpcOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/XhrTransportInit.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/XhrTransportInit.java index 36dadb7e765..eb95568f55c 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/XhrTransportInit.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/grpc/XhrTransportInit.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.grpc; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/invoke/InvokeRpcOptions.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/invoke/InvokeRpcOptions.java index ee46185a1d7..a360567a80e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/invoke/InvokeRpcOptions.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/invoke/InvokeRpcOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.invoke; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/invoke/Request.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/invoke/Request.java index 78719e349e1..1d68ba940dc 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/invoke/Request.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/invoke/Request.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.invoke; import jsinterop.annotations.JsFunction; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/message/ProtobufMessage.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/message/ProtobufMessage.java index 268874b1f2d..a39a413cda0 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/message/ProtobufMessage.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/message/ProtobufMessage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.message; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/message/ProtobufMessageClass.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/message/ProtobufMessageClass.java index 192f4a42281..18a791ea90e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/message/ProtobufMessageClass.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/message/ProtobufMessageClass.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.message; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/service/MethodDefinition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/service/MethodDefinition.java index 6fd286ba0cd..41b3cae774f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/service/MethodDefinition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/service/MethodDefinition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.service; import io.deephaven.javascript.proto.dhinternal.grpcweb.message.ProtobufMessageClass; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/service/ServiceDefinition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/service/ServiceDefinition.java index c08faa8ba30..d0a77f3cca7 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/service/ServiceDefinition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/service/ServiceDefinition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.service; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/service/UnaryMethodDefinition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/service/UnaryMethodDefinition.java index 6d910f1c19e..04a3fe45393 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/service/UnaryMethodDefinition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/service/UnaryMethodDefinition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.service; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/Transport.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/Transport.java index 44f9463c783..a833a5f6dfc 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/Transport.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/Transport.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.transports; import io.deephaven.javascript.proto.dhinternal.grpcweb.transports.transport.TransportFactory; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/Fetch.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/Fetch.java index 492a487ec19..7ece0a27563 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/Fetch.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/Fetch.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.transports.http; import io.deephaven.javascript.proto.dhinternal.grpcweb.transports.transport.TransportFactory; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/Http.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/Http.java index 62b757c22db..a5068c88644 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/Http.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/Http.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.transports.http; import io.deephaven.javascript.proto.dhinternal.grpcweb.transports.http.http.CrossBrowserHttpTransportInit; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/Xhr.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/Xhr.java index 5ecf3fa7fce..72f42a164bc 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/Xhr.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/Xhr.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.transports.http; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/XhrUtil.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/XhrUtil.java index cb8f2c4045e..557175813cf 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/XhrUtil.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/XhrUtil.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.transports.http; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/http/CrossBrowserHttpTransportInit.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/http/CrossBrowserHttpTransportInit.java index 5a052368480..3ed20c8b45c 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/http/CrossBrowserHttpTransportInit.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/http/CrossBrowserHttpTransportInit.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.transports.http.http; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/xhr/MozChunkedArrayBufferXHR.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/xhr/MozChunkedArrayBufferXHR.java index cda1e61464c..de24041be30 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/xhr/MozChunkedArrayBufferXHR.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/xhr/MozChunkedArrayBufferXHR.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.transports.http.xhr; import io.deephaven.javascript.proto.dhinternal.grpcweb.transports.transport.TransportOptions; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/xhr/XHR.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/xhr/XHR.java index 91441a1428f..c385ac93981 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/xhr/XHR.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/xhr/XHR.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.transports.http.xhr; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/xhr/XhrTransportInit.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/xhr/XhrTransportInit.java index 6fd6b08d6ac..a3f8420fe5a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/xhr/XhrTransportInit.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/http/xhr/XhrTransportInit.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.transports.http.xhr; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/transport/Transport.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/transport/Transport.java index b8ce671f45c..99bd039bbc3 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/transport/Transport.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/transport/Transport.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.transports.transport; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/transport/TransportFactory.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/transport/TransportFactory.java index a0afdaff8c2..8c5ba43dc2b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/transport/TransportFactory.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/transport/TransportFactory.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.transports.transport; import jsinterop.annotations.JsFunction; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/transport/TransportOptions.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/transport/TransportOptions.java index e3ea0f65226..7bb39eda843 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/transport/TransportOptions.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/transports/transport/TransportOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.transports.transport; import elemental2.core.JsError; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/unary/UnaryOutput.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/unary/UnaryOutput.java index f28926b020d..9541ec93460 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/unary/UnaryOutput.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/unary/UnaryOutput.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.unary; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/unary/UnaryRpcOptions.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/unary/UnaryRpcOptions.java index f4b6cbafa85..395980f90a8 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/unary/UnaryRpcOptions.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/grpcweb/unary/UnaryRpcOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.grpcweb.unary; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageMessageType.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageMessageType.java index 7fc8df94d11..9dc50f672a7 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageMessageType.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageMessageType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.barrage.flatbuf.barrage_generated.io.deephaven.barrage.flatbuf; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageMessageWrapper.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageMessageWrapper.java index 1d41cd07acd..7de97b929cd 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageMessageWrapper.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageMessageWrapper.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.barrage.flatbuf.barrage_generated.io.deephaven.barrage.flatbuf; import elemental2.core.Int8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageModColumnMetadata.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageModColumnMetadata.java index e697aec08f1..076793a4be2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageModColumnMetadata.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageModColumnMetadata.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.barrage.flatbuf.barrage_generated.io.deephaven.barrage.flatbuf; import elemental2.core.Int8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarragePublicationOptions.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarragePublicationOptions.java index b16e4dc9016..0726110f013 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarragePublicationOptions.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarragePublicationOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.barrage.flatbuf.barrage_generated.io.deephaven.barrage.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarragePublicationRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarragePublicationRequest.java index bd25ae066d1..ee5fbe08fcc 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarragePublicationRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarragePublicationRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.barrage.flatbuf.barrage_generated.io.deephaven.barrage.flatbuf; import elemental2.core.Int8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageSnapshotOptions.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageSnapshotOptions.java index fe95e3a0822..efedac5d190 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageSnapshotOptions.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageSnapshotOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.barrage.flatbuf.barrage_generated.io.deephaven.barrage.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageSnapshotRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageSnapshotRequest.java index 3edf98c20bc..8e8d43e6c58 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageSnapshotRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageSnapshotRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.barrage.flatbuf.barrage_generated.io.deephaven.barrage.flatbuf; import elemental2.core.Int8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageSubscriptionOptions.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageSubscriptionOptions.java index 1747c78c637..9b6d39b53ec 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageSubscriptionOptions.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageSubscriptionOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.barrage.flatbuf.barrage_generated.io.deephaven.barrage.flatbuf; import io.deephaven.javascript.proto.dhinternal.flatbuffers.Builder; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageSubscriptionRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageSubscriptionRequest.java index 2b62172084c..807184ee34c 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageSubscriptionRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageSubscriptionRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.barrage.flatbuf.barrage_generated.io.deephaven.barrage.flatbuf; import elemental2.core.Int8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageUpdateMetadata.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageUpdateMetadata.java index 5b5d05938ea..3d9f4bd51df 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageUpdateMetadata.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/BarrageUpdateMetadata.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.barrage.flatbuf.barrage_generated.io.deephaven.barrage.flatbuf; import elemental2.core.Int8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/ColumnConversionMode.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/ColumnConversionMode.java index 942c1eebe9b..30a750f44a6 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/ColumnConversionMode.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/ColumnConversionMode.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.barrage.flatbuf.barrage_generated.io.deephaven.barrage.flatbuf; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/NewSessionRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/NewSessionRequest.java index f6cb8704614..a1f002c434a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/NewSessionRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/NewSessionRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.barrage.flatbuf.barrage_generated.io.deephaven.barrage.flatbuf; import elemental2.core.Int8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/RefreshSessionRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/RefreshSessionRequest.java index 09a3f4c0cf0..3fcc2501206 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/RefreshSessionRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/RefreshSessionRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.barrage.flatbuf.barrage_generated.io.deephaven.barrage.flatbuf; import elemental2.core.Int8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/SessionInfoResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/SessionInfoResponse.java index a692bf632fc..39658a0f27b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/SessionInfoResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/barrage/flatbuf/barrage_generated/io/deephaven/barrage/flatbuf/SessionInfoResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.barrage.flatbuf.barrage_generated.io.deephaven.barrage.flatbuf; import elemental2.core.Int8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/Storage_pb.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/Storage_pb.java index 54170430a4c..ce26afc78b4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/Storage_pb.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/Storage_pb.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto; import io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb.ItemTypeMap; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/Table_pb.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/Table_pb.java index 1f3e5baea99..f1bac7b7bda 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/Table_pb.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/Table_pb.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto; import io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.BadDataBehaviorMap; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb/FieldInfo.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb/FieldInfo.java index c248cde42b7..2e38f756df0 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb/FieldInfo.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb/FieldInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.application_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb/FieldsChangeUpdate.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb/FieldsChangeUpdate.java index e4cb0fd7f2f..97a41941bda 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb/FieldsChangeUpdate.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb/FieldsChangeUpdate.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.application_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb/ListFieldsRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb/ListFieldsRequest.java index 9ca49800fe4..197442aa50b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb/ListFieldsRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb/ListFieldsRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.application_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/ApplicationService.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/ApplicationService.java index 1e4a54baa93..90776d35732 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/ApplicationService.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/ApplicationService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.application_pb_service; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/ApplicationServiceClient.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/ApplicationServiceClient.java index b37faae85ba..9583bc46e42 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/ApplicationServiceClient.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/ApplicationServiceClient.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.application_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/BidirectionalStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/BidirectionalStream.java index 046e5da50ae..7953a6d0833 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/BidirectionalStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/BidirectionalStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.application_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/RequestStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/RequestStream.java index c8824d41d9e..ddf1563fb60 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/RequestStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/RequestStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.application_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/ResponseStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/ResponseStream.java index c2c17bc483b..f6f14aecd97 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/ResponseStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/ResponseStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.application_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/UnaryResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/UnaryResponse.java index da287d54688..5bc78787a8e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/UnaryResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/application_pb_service/UnaryResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.application_pb_service; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/AuthenticationConstantsRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/AuthenticationConstantsRequest.java index 03d8cc9b305..94aff606238 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/AuthenticationConstantsRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/AuthenticationConstantsRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.config_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/AuthenticationConstantsResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/AuthenticationConstantsResponse.java index 85a40c46dbd..8d551d74d10 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/AuthenticationConstantsResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/AuthenticationConstantsResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.config_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/ConfigValue.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/ConfigValue.java index 1a3642698f6..841562c08e5 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/ConfigValue.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/ConfigValue.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.config_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/ConfigurationConstantsRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/ConfigurationConstantsRequest.java index 6b2a9a0ced6..4b1b253a3a7 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/ConfigurationConstantsRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/ConfigurationConstantsRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.config_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/ConfigurationConstantsResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/ConfigurationConstantsResponse.java index a7a475e6d74..291d207bb53 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/ConfigurationConstantsResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/ConfigurationConstantsResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.config_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/configvalue/KindCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/configvalue/KindCase.java index 9d8842f6e0b..bbe8b8c6f87 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/configvalue/KindCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb/configvalue/KindCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.config_pb.configvalue; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/BidirectionalStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/BidirectionalStream.java index 3b57bdd3b2f..847f7d0fef0 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/BidirectionalStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/BidirectionalStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.config_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/ConfigService.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/ConfigService.java index b92d5cd945d..d8140e0de38 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/ConfigService.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/ConfigService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.config_pb_service; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/ConfigServiceClient.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/ConfigServiceClient.java index f6e32ea84dc..9bae0c6f451 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/ConfigServiceClient.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/ConfigServiceClient.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.config_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/RequestStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/RequestStream.java index be556a53d24..5222d55f88c 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/RequestStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/RequestStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.config_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/ResponseStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/ResponseStream.java index f302a297c9c..9e4601d62c0 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/ResponseStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/ResponseStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.config_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/UnaryResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/UnaryResponse.java index eb4b09b8202..edf58896239 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/UnaryResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/config_pb_service/UnaryResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.config_pb_service; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/AutoCompleteRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/AutoCompleteRequest.java index b623fc682a1..dcb3306df15 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/AutoCompleteRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/AutoCompleteRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/AutoCompleteResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/AutoCompleteResponse.java index a55818ea31c..d7abfd9e450 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/AutoCompleteResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/AutoCompleteResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/BindTableToVariableRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/BindTableToVariableRequest.java index 7fbaaf8e538..a7ce5747578 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/BindTableToVariableRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/BindTableToVariableRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/BindTableToVariableResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/BindTableToVariableResponse.java index 60cb1c9f27a..18983f9185d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/BindTableToVariableResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/BindTableToVariableResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/BrowserNextResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/BrowserNextResponse.java index 1d18306d88e..2275b97a6dd 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/BrowserNextResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/BrowserNextResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CancelAutoCompleteRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CancelAutoCompleteRequest.java index cc38a680182..dd07acf7b61 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CancelAutoCompleteRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CancelAutoCompleteRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CancelAutoCompleteResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CancelAutoCompleteResponse.java index b73e9d2dafe..83cd6afa287 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CancelAutoCompleteResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CancelAutoCompleteResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CancelCommandRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CancelCommandRequest.java index 31c4d9b2954..1d8c4d7aff1 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CancelCommandRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CancelCommandRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CancelCommandResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CancelCommandResponse.java index d635b85b837..d8b0cf2277a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CancelCommandResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CancelCommandResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/ChangeDocumentRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/ChangeDocumentRequest.java index 33e79fcf967..2b365dd9049 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/ChangeDocumentRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/ChangeDocumentRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CloseDocumentRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CloseDocumentRequest.java index bf8f0217a7c..c6e95914724 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CloseDocumentRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CloseDocumentRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CompletionContext.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CompletionContext.java index 24452e4f465..5fcd9e0a979 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CompletionContext.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CompletionContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CompletionItem.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CompletionItem.java index b92d607d4c1..2edfdcb48a5 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CompletionItem.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/CompletionItem.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/Diagnostic.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/Diagnostic.java index 348d394b250..982a2cca6c2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/Diagnostic.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/Diagnostic.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/DocumentRange.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/DocumentRange.java index ba1736e5e67..b074155c588 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/DocumentRange.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/DocumentRange.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/ExecuteCommandRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/ExecuteCommandRequest.java index 6c2c7f75623..eab4753767c 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/ExecuteCommandRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/ExecuteCommandRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/ExecuteCommandResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/ExecuteCommandResponse.java index 6b375128e25..cf19b73ecbe 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/ExecuteCommandResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/ExecuteCommandResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/FigureDescriptor.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/FigureDescriptor.java index 4049b3ca750..07631412954 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/FigureDescriptor.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/FigureDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetCompletionItemsRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetCompletionItemsRequest.java index ce92db5898c..e4f24813cbb 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetCompletionItemsRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetCompletionItemsRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetCompletionItemsResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetCompletionItemsResponse.java index ca26551ebb2..eb69bea57e1 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetCompletionItemsResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetCompletionItemsResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetConsoleTypesRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetConsoleTypesRequest.java index d4984e4fe6f..72d3fb24f94 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetConsoleTypesRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetConsoleTypesRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetConsoleTypesResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetConsoleTypesResponse.java index f32130d0fce..e5343b27cc6 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetConsoleTypesResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetConsoleTypesResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetDiagnosticRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetDiagnosticRequest.java index 7737f537d1f..18e6e5727e2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetDiagnosticRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetDiagnosticRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetHeapInfoRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetHeapInfoRequest.java index fc0712e45d0..5871f30d6fe 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetHeapInfoRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetHeapInfoRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetHeapInfoResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetHeapInfoResponse.java index a928be63f5d..e48fb2b83d8 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetHeapInfoResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetHeapInfoResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetHoverRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetHoverRequest.java index e216e53819d..ccb463f1758 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetHoverRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetHoverRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetHoverResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetHoverResponse.java index ddc6d27d1e5..a692e41e8a1 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetHoverResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetHoverResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetPublishDiagnosticResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetPublishDiagnosticResponse.java index ae9fb2cfa88..7bfdd2a1fa8 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetPublishDiagnosticResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetPublishDiagnosticResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetPullDiagnosticResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetPullDiagnosticResponse.java index 2fcfa20e1d5..92027222d58 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetPullDiagnosticResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetPullDiagnosticResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetSignatureHelpRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetSignatureHelpRequest.java index 1e746519b48..6520791cfdd 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetSignatureHelpRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetSignatureHelpRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetSignatureHelpResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetSignatureHelpResponse.java index d9d1a236cbc..79ad567e6cb 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetSignatureHelpResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/GetSignatureHelpResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/LogSubscriptionData.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/LogSubscriptionData.java index 4897420975d..dc6dca73281 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/LogSubscriptionData.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/LogSubscriptionData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/LogSubscriptionRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/LogSubscriptionRequest.java index 54b0d360f81..2ff6f1ed5f5 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/LogSubscriptionRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/LogSubscriptionRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/MarkupContent.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/MarkupContent.java index e469f920c80..42b63731e69 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/MarkupContent.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/MarkupContent.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/OpenDocumentRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/OpenDocumentRequest.java index 12e20ccdc1d..88da692ff2c 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/OpenDocumentRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/OpenDocumentRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/ParameterInformation.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/ParameterInformation.java index 1070ecdf1b4..71b30ef6f88 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/ParameterInformation.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/ParameterInformation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/Position.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/Position.java index e957070e21d..b8a61ef3dd6 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/Position.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/Position.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/SignatureHelpContext.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/SignatureHelpContext.java index 6ec0224842a..7b7db84a0ca 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/SignatureHelpContext.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/SignatureHelpContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/SignatureInformation.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/SignatureInformation.java index 19915e6ed71..e601f9d8f12 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/SignatureInformation.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/SignatureInformation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/StartConsoleRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/StartConsoleRequest.java index 841ea682a62..08962126961 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/StartConsoleRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/StartConsoleRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/StartConsoleResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/StartConsoleResponse.java index 2f230cd0d40..c269ae630eb 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/StartConsoleResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/StartConsoleResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/TextDocumentItem.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/TextDocumentItem.java index 8f20dccf066..4312cea72ec 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/TextDocumentItem.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/TextDocumentItem.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/TextEdit.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/TextEdit.java index 2ec72baa0e6..114fbe9d460 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/TextEdit.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/TextEdit.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/VersionedTextDocumentIdentifier.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/VersionedTextDocumentIdentifier.java index b9ae37ef64b..861cc7d2614 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/VersionedTextDocumentIdentifier.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/VersionedTextDocumentIdentifier.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/autocompleterequest/RequestCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/autocompleterequest/RequestCase.java index dbf1bb22dc2..f6e58697ac8 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/autocompleterequest/RequestCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/autocompleterequest/RequestCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.autocompleterequest; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/autocompleteresponse/ResponseCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/autocompleteresponse/ResponseCase.java index 4ea37ec46e9..cf2f674fdb0 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/autocompleteresponse/ResponseCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/autocompleteresponse/ResponseCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.autocompleteresponse; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/changedocumentrequest/TextDocumentContentChangeEvent.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/changedocumentrequest/TextDocumentContentChangeEvent.java index a9c77f836c4..1443831d80e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/changedocumentrequest/TextDocumentContentChangeEvent.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/changedocumentrequest/TextDocumentContentChangeEvent.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.changedocumentrequest; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/diagnostic/CodeDescription.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/diagnostic/CodeDescription.java index 148dfa07a24..f85e8a7a254 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/diagnostic/CodeDescription.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/diagnostic/CodeDescription.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.diagnostic; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/diagnostic/DiagnosticSeverityMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/diagnostic/DiagnosticSeverityMap.java index 5bdd8267ef9..1f9670f7707 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/diagnostic/DiagnosticSeverityMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/diagnostic/DiagnosticSeverityMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.diagnostic; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/diagnostic/DiagnosticTagMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/diagnostic/DiagnosticTagMap.java index fd8f51d1593..7368b2023ed 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/diagnostic/DiagnosticTagMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/diagnostic/DiagnosticTagMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.diagnostic; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/AxisDescriptor.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/AxisDescriptor.java index bf7eb551060..b2ee9c14b0d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/AxisDescriptor.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/AxisDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/BoolMapWithDefault.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/BoolMapWithDefault.java index c8e5103e2ed..44b99b5bd5b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/BoolMapWithDefault.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/BoolMapWithDefault.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/BusinessCalendarDescriptor.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/BusinessCalendarDescriptor.java index 897f0bde102..75a525ad50c 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/BusinessCalendarDescriptor.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/BusinessCalendarDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/ChartDescriptor.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/ChartDescriptor.java index 97b5e87f77c..aebd59f5ab8 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/ChartDescriptor.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/ChartDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/DoubleMapWithDefault.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/DoubleMapWithDefault.java index 2a87deacc33..6b5f3ebca49 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/DoubleMapWithDefault.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/DoubleMapWithDefault.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/MultiSeriesDescriptor.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/MultiSeriesDescriptor.java index 252e1b35813..b9f0b7e71a5 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/MultiSeriesDescriptor.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/MultiSeriesDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/MultiSeriesSourceDescriptor.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/MultiSeriesSourceDescriptor.java index df11ddb0549..07fc811f04b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/MultiSeriesSourceDescriptor.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/MultiSeriesSourceDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/OneClickDescriptor.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/OneClickDescriptor.java index 7cd3ada77df..28c97f6dcda 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/OneClickDescriptor.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/OneClickDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/SeriesDescriptor.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/SeriesDescriptor.java index 101b7711d70..7626df986e4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/SeriesDescriptor.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/SeriesDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/SeriesPlotStyleMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/SeriesPlotStyleMap.java index 807394a04f0..5bf2fb1dba5 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/SeriesPlotStyleMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/SeriesPlotStyleMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/SourceDescriptor.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/SourceDescriptor.java index 58879656e14..aca4ed2225b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/SourceDescriptor.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/SourceDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/SourceTypeMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/SourceTypeMap.java index a1159dba2c2..08cf6d6c856 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/SourceTypeMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/SourceTypeMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/StringMapWithDefault.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/StringMapWithDefault.java index 2a92bf5cdab..51cf573852f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/StringMapWithDefault.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/StringMapWithDefault.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/axisdescriptor/AxisFormatTypeMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/axisdescriptor/AxisFormatTypeMap.java index c4c7483f8ba..c6c5b97c9b4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/axisdescriptor/AxisFormatTypeMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/axisdescriptor/AxisFormatTypeMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor.axisdescriptor; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/axisdescriptor/AxisPositionMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/axisdescriptor/AxisPositionMap.java index af29830e6d0..d931ef6e26e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/axisdescriptor/AxisPositionMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/axisdescriptor/AxisPositionMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor.axisdescriptor; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/axisdescriptor/AxisTypeMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/axisdescriptor/AxisTypeMap.java index 540e406f3fb..cddba461c49 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/axisdescriptor/AxisTypeMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/axisdescriptor/AxisTypeMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor.axisdescriptor; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/businesscalendardescriptor/BusinessPeriod.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/businesscalendardescriptor/BusinessPeriod.java index 1df65c62494..290a8a90f83 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/businesscalendardescriptor/BusinessPeriod.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/businesscalendardescriptor/BusinessPeriod.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor.businesscalendardescriptor; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/businesscalendardescriptor/DayOfWeekMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/businesscalendardescriptor/DayOfWeekMap.java index ccdd68d4e70..7fc9ccfae26 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/businesscalendardescriptor/DayOfWeekMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/businesscalendardescriptor/DayOfWeekMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor.businesscalendardescriptor; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/businesscalendardescriptor/Holiday.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/businesscalendardescriptor/Holiday.java index d14274db1b9..49bf65ad84e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/businesscalendardescriptor/Holiday.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/businesscalendardescriptor/Holiday.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor.businesscalendardescriptor; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/businesscalendardescriptor/LocalDate.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/businesscalendardescriptor/LocalDate.java index 6073c174877..5d7a7188979 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/businesscalendardescriptor/LocalDate.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/businesscalendardescriptor/LocalDate.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor.businesscalendardescriptor; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/chartdescriptor/ChartTypeMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/chartdescriptor/ChartTypeMap.java index 73ce2d90bfc..4de5d0fc988 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/chartdescriptor/ChartTypeMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb/figuredescriptor/chartdescriptor/ChartTypeMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb.figuredescriptor.chartdescriptor; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/BidirectionalStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/BidirectionalStream.java index d7e652e8c72..4f484d01e1e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/BidirectionalStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/BidirectionalStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/ConsoleService.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/ConsoleService.java index 53ecd9023c5..db74549a4be 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/ConsoleService.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/ConsoleService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb_service; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/ConsoleServiceClient.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/ConsoleServiceClient.java index 6f733b0e111..bb42354b8bc 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/ConsoleServiceClient.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/ConsoleServiceClient.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/RequestStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/RequestStream.java index edd32948689..94d28fb1197 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/RequestStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/RequestStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/ResponseStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/ResponseStream.java index dda608b7564..a133422da5a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/ResponseStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/ResponseStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/UnaryResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/UnaryResponse.java index c0affc57763..f83d04bfbb4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/UnaryResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/console_pb_service/UnaryResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.console_pb_service; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableApplyRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableApplyRequest.java index a28bb013a3f..da1b0e1fdc7 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableApplyRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableApplyRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableApplyResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableApplyResponse.java index 3766d16fe94..ce12587c658 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableApplyResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableApplyResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableDescriptor.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableDescriptor.java index 7c9ff5e8179..03e40e6907a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableDescriptor.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableSourceExportRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableSourceExportRequest.java index 31700e1764c..81ff34d4b21 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableSourceExportRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableSourceExportRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableViewKeyTableDescriptor.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableViewKeyTableDescriptor.java index 38a4045e0e3..2973169f2f9 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableViewKeyTableDescriptor.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableViewKeyTableDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableViewRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableViewRequest.java index 15d98545f4c..fbbc8b10a9f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableViewRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableViewRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableViewResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableViewResponse.java index 5ba6a596ac5..cdceebba510 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableViewResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/HierarchicalTableViewResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/RollupRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/RollupRequest.java index 67485926458..c14b0e32ea7 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/RollupRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/RollupRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/RollupResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/RollupResponse.java index e5ab407106a..50210c06a71 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/RollupResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/RollupResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/TreeRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/TreeRequest.java index 18e503bd713..6ef00ee340d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/TreeRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/TreeRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/TreeResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/TreeResponse.java index 50710921c47..4311f7c68c8 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/TreeResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/TreeResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/hierarchicaltableviewrequest/TargetCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/hierarchicaltableviewrequest/TargetCase.java index ddca4b4398a..06edd15f4fa 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/hierarchicaltableviewrequest/TargetCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb/hierarchicaltableviewrequest/TargetCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb.hierarchicaltableviewrequest; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/BidirectionalStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/BidirectionalStream.java index e6b37321cef..e6f26037c6b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/BidirectionalStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/BidirectionalStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/HierarchicalTableService.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/HierarchicalTableService.java index 2aede39bd16..6ef68ae4636 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/HierarchicalTableService.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/HierarchicalTableService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb_service; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/HierarchicalTableServiceClient.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/HierarchicalTableServiceClient.java index 18dcaf7608e..87b3a420667 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/HierarchicalTableServiceClient.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/HierarchicalTableServiceClient.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/RequestStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/RequestStream.java index e70c5bac206..634ae611f1f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/RequestStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/RequestStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/ResponseStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/ResponseStream.java index b6e062d36a9..74d7935ede9 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/ResponseStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/ResponseStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/UnaryResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/UnaryResponse.java index f28e52d57fd..0bf2189b9e3 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/UnaryResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/hierarchicaltable_pb_service/UnaryResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.hierarchicaltable_pb_service; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb/AddTableRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb/AddTableRequest.java index f7acb7bc9aa..e2773be7776 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb/AddTableRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb/AddTableRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.inputtable_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb/AddTableResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb/AddTableResponse.java index 9860dc067f1..344f680bd83 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb/AddTableResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb/AddTableResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.inputtable_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb/DeleteTableRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb/DeleteTableRequest.java index 6a2217549ca..d82909502d7 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb/DeleteTableRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb/DeleteTableRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.inputtable_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb/DeleteTableResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb/DeleteTableResponse.java index 935750bd720..6ee5569aea7 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb/DeleteTableResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb/DeleteTableResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.inputtable_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/BidirectionalStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/BidirectionalStream.java index 342f48b388f..abf52556ee8 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/BidirectionalStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/BidirectionalStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.inputtable_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/InputTableService.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/InputTableService.java index e7af766c8e5..085cf9a01d4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/InputTableService.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/InputTableService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.inputtable_pb_service; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/InputTableServiceClient.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/InputTableServiceClient.java index c6cf0fb7946..486280b808d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/InputTableServiceClient.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/InputTableServiceClient.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.inputtable_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/RequestStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/RequestStream.java index f83085e1457..f6b6cae7f02 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/RequestStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/RequestStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.inputtable_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/ResponseStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/ResponseStream.java index 71c0f1a56e0..12f30f7266f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/ResponseStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/ResponseStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.inputtable_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/UnaryResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/UnaryResponse.java index ae58f82eada..da778f14d2c 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/UnaryResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/inputtable_pb_service/UnaryResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.inputtable_pb_service; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/BrowserNextResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/BrowserNextResponse.java index d29b4a1d0be..d2110cfc15f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/BrowserNextResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/BrowserNextResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.object_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/ClientData.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/ClientData.java index 5e1ffcae328..d35760ca1ce 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/ClientData.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/ClientData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.object_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/ConnectRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/ConnectRequest.java index e7eda1989ae..e1774fa652c 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/ConnectRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/ConnectRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.object_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/FetchObjectRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/FetchObjectRequest.java index 9a53a724287..b10a940fe1a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/FetchObjectRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/FetchObjectRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.object_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/FetchObjectResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/FetchObjectResponse.java index fb39794f006..b8b151adfe6 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/FetchObjectResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/FetchObjectResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.object_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/ServerData.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/ServerData.java index 3bc464ac8cf..4625b55e91e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/ServerData.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/ServerData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.object_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/StreamRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/StreamRequest.java index fea2647cf86..a319dc523fe 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/StreamRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/StreamRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.object_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/StreamResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/StreamResponse.java index c362ecba244..363d473868a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/StreamResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/StreamResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.object_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/streamrequest/MessageCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/streamrequest/MessageCase.java index 0ff4a2638fe..f361e1b9839 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/streamrequest/MessageCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/streamrequest/MessageCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.object_pb.streamrequest; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/streamresponse/MessageCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/streamresponse/MessageCase.java index b0b77b347e5..b6bea43cd9a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/streamresponse/MessageCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb/streamresponse/MessageCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.object_pb.streamresponse; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/BidirectionalStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/BidirectionalStream.java index 7490d158437..53f5fd68be2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/BidirectionalStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/BidirectionalStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.object_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/ObjectService.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/ObjectService.java index 90b4eef82ce..60846dfa7f5 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/ObjectService.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/ObjectService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.object_pb_service; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/ObjectServiceClient.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/ObjectServiceClient.java index 7596ec87d6d..a65e3ad0e28 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/ObjectServiceClient.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/ObjectServiceClient.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.object_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/RequestStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/RequestStream.java index 89d1905fbc0..57971223937 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/RequestStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/RequestStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.object_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/ResponseStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/ResponseStream.java index ce7c01942bd..90b803cc308 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/ResponseStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/ResponseStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.object_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/UnaryResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/UnaryResponse.java index feb21198f08..041c818ecbc 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/UnaryResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/object_pb_service/UnaryResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.object_pb_service; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/GetTableRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/GetTableRequest.java index be805cd83b4..2cbc207e7ee 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/GetTableRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/GetTableRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.partitionedtable_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/MergeRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/MergeRequest.java index de9b5c4dc75..894b639158a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/MergeRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/MergeRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.partitionedtable_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/PartitionByRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/PartitionByRequest.java index 0f7350ad39c..a2124595862 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/PartitionByRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/PartitionByRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.partitionedtable_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/PartitionByResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/PartitionByResponse.java index 99ef85fbde4..f409fb0abd4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/PartitionByResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/PartitionByResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.partitionedtable_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/PartitionedTableDescriptor.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/PartitionedTableDescriptor.java index a47bb8a1a2c..902a4f0bdeb 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/PartitionedTableDescriptor.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb/PartitionedTableDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.partitionedtable_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/BidirectionalStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/BidirectionalStream.java index 6bf8f1217ab..b9d266f7738 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/BidirectionalStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/BidirectionalStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.partitionedtable_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/PartitionedTableService.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/PartitionedTableService.java index 8d30efe59b2..05516aa8503 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/PartitionedTableService.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/PartitionedTableService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.partitionedtable_pb_service; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/PartitionedTableServiceClient.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/PartitionedTableServiceClient.java index 987cae084e3..d8c4815424b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/PartitionedTableServiceClient.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/PartitionedTableServiceClient.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.partitionedtable_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/RequestStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/RequestStream.java index 50d79def9e2..77b9da9c0a2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/RequestStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/RequestStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.partitionedtable_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/ResponseStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/ResponseStream.java index ccd379a31c6..dd2cc0782a0 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/ResponseStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/ResponseStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.partitionedtable_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/UnaryResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/UnaryResponse.java index a2604112317..8fed64241ec 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/UnaryResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/partitionedtable_pb_service/UnaryResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.partitionedtable_pb_service; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/CloseSessionResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/CloseSessionResponse.java index c1e0e9a11ab..8148f252db7 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/CloseSessionResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/CloseSessionResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ExportNotification.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ExportNotification.java index d03a2dcbf12..4aa2fa3cbb2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ExportNotification.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ExportNotification.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ExportNotificationRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ExportNotificationRequest.java index 10a39c338e2..a18537f0bd2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ExportNotificationRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ExportNotificationRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ExportRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ExportRequest.java index 82fc74b8278..249e6b396d6 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ExportRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ExportRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ExportResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ExportResponse.java index 10639c3fd66..36d7b8d1649 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ExportResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ExportResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/HandshakeRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/HandshakeRequest.java index a048231cb82..f56a14fc702 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/HandshakeRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/HandshakeRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/HandshakeResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/HandshakeResponse.java index 60e1fd9ebac..2f720aa9813 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/HandshakeResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/HandshakeResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/PublishRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/PublishRequest.java index 976ab550f4d..68b6c95c97f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/PublishRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/PublishRequest.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/PublishResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/PublishResponse.java index c3958f59916..8e963edee32 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/PublishResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/PublishResponse.java @@ -1,3 +1,6 @@ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ReleaseRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ReleaseRequest.java index 660a1c81ba5..cfb0f682a90 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ReleaseRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ReleaseRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ReleaseResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ReleaseResponse.java index d1559b68a40..fb6247a28d8 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ReleaseResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/ReleaseResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/TerminationNotificationRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/TerminationNotificationRequest.java index e54c8a2887b..e4d11cff813 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/TerminationNotificationRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/TerminationNotificationRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/TerminationNotificationResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/TerminationNotificationResponse.java index 391aeabe4a7..457547b4764 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/TerminationNotificationResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/TerminationNotificationResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/exportnotification/StateMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/exportnotification/StateMap.java index 07505bb3f29..c505e4ffd36 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/exportnotification/StateMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/exportnotification/StateMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb.exportnotification; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/terminationnotificationresponse/StackTrace.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/terminationnotificationresponse/StackTrace.java index 9bd79c0b1b0..104a978ba94 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/terminationnotificationresponse/StackTrace.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb/terminationnotificationresponse/StackTrace.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb.terminationnotificationresponse; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/BidirectionalStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/BidirectionalStream.java index 5952c5e86c5..95844edf148 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/BidirectionalStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/BidirectionalStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/RequestStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/RequestStream.java index 95755e21a57..bfa1ff5d17c 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/RequestStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/RequestStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/ResponseStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/ResponseStream.java index 0f4f8122da8..c6973401963 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/ResponseStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/ResponseStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/SessionService.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/SessionService.java index b14e5308668..11d60a43d61 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/SessionService.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/SessionService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb_service; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/SessionServiceClient.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/SessionServiceClient.java index 06840fee9c7..4a6bdb8ef03 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/SessionServiceClient.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/SessionServiceClient.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/UnaryResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/UnaryResponse.java index b96771a9c0a..c58389012ea 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/UnaryResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/session_pb_service/UnaryResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.session_pb_service; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/CreateDirectoryRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/CreateDirectoryRequest.java index 953d2d5436a..b0733eed5b4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/CreateDirectoryRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/CreateDirectoryRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/CreateDirectoryResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/CreateDirectoryResponse.java index 29300d3b808..cbb28bb040f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/CreateDirectoryResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/CreateDirectoryResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/DeleteItemRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/DeleteItemRequest.java index fee7c063efb..aeaa5305a26 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/DeleteItemRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/DeleteItemRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/DeleteItemResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/DeleteItemResponse.java index 2bd5ff85e57..f6ffd35c922 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/DeleteItemResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/DeleteItemResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/FetchFileRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/FetchFileRequest.java index 997abf9d2c7..140a252959d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/FetchFileRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/FetchFileRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/FetchFileResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/FetchFileResponse.java index c663ad441df..07ef93eedea 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/FetchFileResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/FetchFileResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/ItemInfo.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/ItemInfo.java index a062853c20f..dda1b79b5b0 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/ItemInfo.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/ItemInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/ItemTypeMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/ItemTypeMap.java index 65d76d46d49..a062f448b62 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/ItemTypeMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/ItemTypeMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/ListItemsRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/ListItemsRequest.java index 1de1bd2b91b..c69e284281e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/ListItemsRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/ListItemsRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/ListItemsResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/ListItemsResponse.java index 39d2636b876..2cdbbfeb7bf 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/ListItemsResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/ListItemsResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/MoveItemRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/MoveItemRequest.java index 5f7988daa98..9c499c8ee73 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/MoveItemRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/MoveItemRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/MoveItemResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/MoveItemResponse.java index 531cce44b0d..13f3e528a01 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/MoveItemResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/MoveItemResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/SaveFileRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/SaveFileRequest.java index ced9f963d30..4a96520d22b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/SaveFileRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/SaveFileRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/SaveFileResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/SaveFileResponse.java index e5f9f6be645..fc24cd0dd23 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/SaveFileResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb/SaveFileResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/BidirectionalStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/BidirectionalStream.java index 2161d7b8d53..9f116c7bb43 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/BidirectionalStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/BidirectionalStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/RequestStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/RequestStream.java index 5daf59a45af..933b91eb2d7 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/RequestStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/RequestStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/ResponseStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/ResponseStream.java index 413a909ceb8..7e7d2318ba2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/ResponseStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/ResponseStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/StorageService.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/StorageService.java index 0c266dca62d..a2e996105b3 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/StorageService.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/StorageService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb_service; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/StorageServiceClient.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/StorageServiceClient.java index 2f8708d7314..8404346fe85 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/StorageServiceClient.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/StorageServiceClient.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/UnaryResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/UnaryResponse.java index f8fcc29c9c0..0e414c3f203 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/UnaryResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/storage_pb_service/UnaryResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.storage_pb_service; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AggSpec.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AggSpec.java index 4af41d800e4..4f6c2ad4678 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AggSpec.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AggSpec.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AggregateAllRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AggregateAllRequest.java index 99d1b66664d..354ce7b19fc 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AggregateAllRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AggregateAllRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AggregateRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AggregateRequest.java index 40e2864d47e..7f94def427b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AggregateRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AggregateRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Aggregation.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Aggregation.java index 78f7b6671c9..f02f07504ce 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Aggregation.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Aggregation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AndCondition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AndCondition.java index 1aae14b5f25..41e74f7335a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AndCondition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AndCondition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ApplyPreviewColumnsRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ApplyPreviewColumnsRequest.java index 68b84e36a61..3b401812279 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ApplyPreviewColumnsRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ApplyPreviewColumnsRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AsOfJoinTablesRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AsOfJoinTablesRequest.java index 75e195bdd1a..9ae89384f1f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AsOfJoinTablesRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/AsOfJoinTablesRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/BadDataBehaviorMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/BadDataBehaviorMap.java index 5a82ee57c0d..04387c9fe75 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/BadDataBehaviorMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/BadDataBehaviorMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/BatchTableRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/BatchTableRequest.java index d6a3dd94ecf..82896702e7f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/BatchTableRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/BatchTableRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/CaseSensitivityMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/CaseSensitivityMap.java index 1b7ef1b3d96..b463c231e23 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/CaseSensitivityMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/CaseSensitivityMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ColumnStatisticsRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ColumnStatisticsRequest.java index eb962c7d1d1..27b3e5f9b84 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ColumnStatisticsRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ColumnStatisticsRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ComboAggregateRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ComboAggregateRequest.java index d9e1dcb27a8..e18d71c1811 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ComboAggregateRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ComboAggregateRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/CompareCondition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/CompareCondition.java index 5657c34211a..acd40f512bf 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/CompareCondition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/CompareCondition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Condition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Condition.java index e972e61beb8..f886c3028bb 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Condition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Condition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ContainsCondition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ContainsCondition.java index 360a69a4c79..be3da687a7f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ContainsCondition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ContainsCondition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/CreateInputTableRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/CreateInputTableRequest.java index 3e97612234a..219697564ba 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/CreateInputTableRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/CreateInputTableRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/CrossJoinTablesRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/CrossJoinTablesRequest.java index b887e526611..38ac8aa539a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/CrossJoinTablesRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/CrossJoinTablesRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/DropColumnsRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/DropColumnsRequest.java index 10c46122987..44e415012bb 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/DropColumnsRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/DropColumnsRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/EmptyTableRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/EmptyTableRequest.java index d4a937f876f..0450266288c 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/EmptyTableRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/EmptyTableRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ExactJoinTablesRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ExactJoinTablesRequest.java index 01823dc06f0..50ae5a5b05d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ExactJoinTablesRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ExactJoinTablesRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ExportedTableCreationResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ExportedTableCreationResponse.java index cee95a356f5..d20cb3fecb6 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ExportedTableCreationResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ExportedTableCreationResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ExportedTableUpdateMessage.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ExportedTableUpdateMessage.java index c6697d5683e..16688f9bdf6 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ExportedTableUpdateMessage.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ExportedTableUpdateMessage.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ExportedTableUpdatesRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ExportedTableUpdatesRequest.java index 9c27bf3b241..e731fc18fad 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ExportedTableUpdatesRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/ExportedTableUpdatesRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/FetchTableRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/FetchTableRequest.java index f98578dabcf..b6a61607788 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/FetchTableRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/FetchTableRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/FilterTableRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/FilterTableRequest.java index 63342a6af06..bcc0bcdb818 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/FilterTableRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/FilterTableRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/FlattenRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/FlattenRequest.java index 11da8a11ed8..b88c1bb697b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/FlattenRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/FlattenRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/HeadOrTailByRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/HeadOrTailByRequest.java index ddb8958eeee..53fa92c659d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/HeadOrTailByRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/HeadOrTailByRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/HeadOrTailRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/HeadOrTailRequest.java index 527778d0d20..68e495d29a4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/HeadOrTailRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/HeadOrTailRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/InCondition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/InCondition.java index ab28ee995af..046fc0e7590 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/InCondition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/InCondition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/InvokeCondition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/InvokeCondition.java index c54f3573ac3..330b8e60402 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/InvokeCondition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/InvokeCondition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/IsNullCondition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/IsNullCondition.java index 28715d4f5f8..a5d96a9a8f7 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/IsNullCondition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/IsNullCondition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/LeftJoinTablesRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/LeftJoinTablesRequest.java index 79ca4150466..2468e9cf1d3 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/LeftJoinTablesRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/LeftJoinTablesRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Literal.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Literal.java index 4da56c77ee1..b9dbdee7eab 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Literal.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Literal.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/MatchTypeMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/MatchTypeMap.java index e18bab03793..a9b85accdd2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/MatchTypeMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/MatchTypeMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/MatchesCondition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/MatchesCondition.java index fda0a647932..1f4dceebbe5 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/MatchesCondition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/MatchesCondition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/MathContext.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/MathContext.java index 00cac24fdc8..f0beaeacbd1 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/MathContext.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/MathContext.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/MergeTablesRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/MergeTablesRequest.java index 45baa42fd80..b396f648720 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/MergeTablesRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/MergeTablesRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/NaturalJoinTablesRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/NaturalJoinTablesRequest.java index d6d5eec70eb..6cf406b2c8b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/NaturalJoinTablesRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/NaturalJoinTablesRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/NotCondition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/NotCondition.java index 1243c1f7730..0d3319e533e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/NotCondition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/NotCondition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/NullValueMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/NullValueMap.java index 4464cdc4a99..1cbc52cf761 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/NullValueMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/NullValueMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/OrCondition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/OrCondition.java index b528b77e47f..7c44800120e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/OrCondition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/OrCondition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Reference.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Reference.java index 3b1d21bc78e..7dbdea2e58a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Reference.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Reference.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/RunChartDownsampleRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/RunChartDownsampleRequest.java index 79740aa14cb..7832e4a7af4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/RunChartDownsampleRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/RunChartDownsampleRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SearchCondition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SearchCondition.java index b428163470f..738701851d9 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SearchCondition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SearchCondition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SeekRowRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SeekRowRequest.java index 406b185902b..d1d2f91b57d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SeekRowRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SeekRowRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SeekRowResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SeekRowResponse.java index ee68f42ff1f..18da0acb40b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SeekRowResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SeekRowResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SelectDistinctRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SelectDistinctRequest.java index c61b1eac2c5..38720138cb4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SelectDistinctRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SelectDistinctRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SelectOrUpdateRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SelectOrUpdateRequest.java index a898a2d3558..da3bf46b17f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SelectOrUpdateRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SelectOrUpdateRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SnapshotTableRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SnapshotTableRequest.java index be2c93d3d82..afd4f68c727 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SnapshotTableRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SnapshotTableRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SnapshotWhenTableRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SnapshotWhenTableRequest.java index e970b33df5b..81aace9cc4d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SnapshotWhenTableRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SnapshotWhenTableRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SortDescriptor.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SortDescriptor.java index 9b0cb9aead2..a7cf2d598cf 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SortDescriptor.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SortDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SortTableRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SortTableRequest.java index 9c0a47adf89..449d3d520d2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SortTableRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/SortTableRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/TableReference.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/TableReference.java index 130eafa6280..d41ba9bec71 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/TableReference.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/TableReference.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/TimeTableRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/TimeTableRequest.java index 1f7bfa6bb8b..6a94051b086 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/TimeTableRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/TimeTableRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/UngroupRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/UngroupRequest.java index 470f57b6bc5..f4fc306367b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/UngroupRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/UngroupRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/UnstructuredFilterTableRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/UnstructuredFilterTableRequest.java index dbbe635b19a..ec67ec18148 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/UnstructuredFilterTableRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/UnstructuredFilterTableRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/UpdateByRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/UpdateByRequest.java index 0763b53a11d..5f943f102c9 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/UpdateByRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/UpdateByRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Value.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Value.java index 6542e163495..ee569a06e22 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Value.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/Value.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/WhereInRequest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/WhereInRequest.java index 8e74a928206..8beca860d9a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/WhereInRequest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/WhereInRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/AggregationColumns.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/AggregationColumns.java index 9da48647c18..10d074e48e3 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/AggregationColumns.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/AggregationColumns.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggregation; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/AggregationCount.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/AggregationCount.java index 881096c4575..9ff896a4a8c 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/AggregationCount.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/AggregationCount.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggregation; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/AggregationPartition.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/AggregationPartition.java index a63ed19d8a0..315afbe8ced 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/AggregationPartition.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/AggregationPartition.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggregation; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/AggregationRowKey.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/AggregationRowKey.java index 92e7ce96372..1752724cd10 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/AggregationRowKey.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/AggregationRowKey.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggregation; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/TypeCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/TypeCase.java index f87adcde218..81e277f95f2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/TypeCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggregation/TypeCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggregation; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecAbsSum.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecAbsSum.java index 98cbfac06f1..c5e5fb2ddbb 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecAbsSum.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecAbsSum.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecApproximatePercentile.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecApproximatePercentile.java index 77a18a0f16d..507c6414287 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecApproximatePercentile.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecApproximatePercentile.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecAvg.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecAvg.java index 328d00b481e..52b70e728ec 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecAvg.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecAvg.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecCountDistinct.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecCountDistinct.java index 656dafecd9f..e1a7b0fa218 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecCountDistinct.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecCountDistinct.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecDistinct.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecDistinct.java index dd33146947b..03201c757ce 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecDistinct.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecDistinct.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecFirst.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecFirst.java index 638a642666e..a388b2c7642 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecFirst.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecFirst.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecFormula.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecFormula.java index e7e083413ed..34a9a3818ff 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecFormula.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecFormula.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecFreeze.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecFreeze.java index 280d843abe0..5b6c8e97c0f 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecFreeze.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecFreeze.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecGroup.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecGroup.java index ffa933209fd..7af64377336 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecGroup.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecGroup.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecLast.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecLast.java index 8f882373480..ee93a9f8d2b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecLast.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecLast.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecMax.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecMax.java index f6b6e6c995a..23cfbeceb2a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecMax.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecMax.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecMedian.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecMedian.java index 2100691231a..10b36efd1a7 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecMedian.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecMedian.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecMin.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecMin.java index be5abf24afc..4fcde5ff812 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecMin.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecMin.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecNonUniqueSentinel.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecNonUniqueSentinel.java index 37723bf33af..d417c262ed4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecNonUniqueSentinel.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecNonUniqueSentinel.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecPercentile.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecPercentile.java index 464ba766c6b..cdbc3223a95 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecPercentile.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecPercentile.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecSorted.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecSorted.java index 4e0b3a131bd..3238715c530 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecSorted.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecSorted.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecSortedColumn.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecSortedColumn.java index bcde5585aff..21392080af2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecSortedColumn.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecSortedColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecStd.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecStd.java index d8e94e5c0ff..8f4187c6723 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecStd.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecStd.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecSum.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecSum.java index 2d1e5eae87e..48a2eb6c12b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecSum.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecSum.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecTDigest.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecTDigest.java index 323f82dc2ef..b593fc2baaa 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecTDigest.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecTDigest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecUnique.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecUnique.java index b98507dc66f..4fd983cbde8 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecUnique.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecUnique.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecVar.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecVar.java index 70b64374ec5..61574cda11e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecVar.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecVar.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecWeighted.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecWeighted.java index cd5b149b4dd..c1eb433a40a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecWeighted.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/AggSpecWeighted.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/TypeCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/TypeCase.java index dffc1e657ec..24ea20c38e1 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/TypeCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/TypeCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/aggspecnonuniquesentinel/TypeCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/aggspecnonuniquesentinel/TypeCase.java index 911e357870b..89aea921a72 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/aggspecnonuniquesentinel/TypeCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/aggspec/aggspecnonuniquesentinel/TypeCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.aggspec.aggspecnonuniquesentinel; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/asofjointablesrequest/MatchRuleMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/asofjointablesrequest/MatchRuleMap.java index e183ce4c269..03edf2cfad2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/asofjointablesrequest/MatchRuleMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/asofjointablesrequest/MatchRuleMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.asofjointablesrequest; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/batchtablerequest/Operation.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/batchtablerequest/Operation.java index 06ec6106607..92bcf5a4565 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/batchtablerequest/Operation.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/batchtablerequest/Operation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.batchtablerequest; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/batchtablerequest/operation/OpCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/batchtablerequest/operation/OpCase.java index 991f5c39ae7..0d0462ebc12 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/batchtablerequest/operation/OpCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/batchtablerequest/operation/OpCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.batchtablerequest.operation; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/comboaggregaterequest/AggTypeMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/comboaggregaterequest/AggTypeMap.java index 001ebe3ebb2..4d728fbd2b3 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/comboaggregaterequest/AggTypeMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/comboaggregaterequest/AggTypeMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.comboaggregaterequest; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/comboaggregaterequest/Aggregate.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/comboaggregaterequest/Aggregate.java index 1bae582b217..27796c79cc4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/comboaggregaterequest/Aggregate.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/comboaggregaterequest/Aggregate.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.comboaggregaterequest; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/comparecondition/CompareOperationMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/comparecondition/CompareOperationMap.java index 6129b353c86..9822ae0b161 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/comparecondition/CompareOperationMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/comparecondition/CompareOperationMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.comparecondition; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/condition/DataCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/condition/DataCase.java index 0650635ebc0..414e86b291c 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/condition/DataCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/condition/DataCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.condition; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/DefinitionCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/DefinitionCase.java index d18d8068632..7c32d2dfd64 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/DefinitionCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/DefinitionCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.createinputtablerequest; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/InputTableKind.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/InputTableKind.java index 0ec0d1ad361..e77a7fb4395 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/InputTableKind.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/InputTableKind.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.createinputtablerequest; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/inputtablekind/InMemoryAppendOnly.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/inputtablekind/InMemoryAppendOnly.java index 9b20f280749..525572d1ae9 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/inputtablekind/InMemoryAppendOnly.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/inputtablekind/InMemoryAppendOnly.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.createinputtablerequest.inputtablekind; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/inputtablekind/InMemoryKeyBacked.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/inputtablekind/InMemoryKeyBacked.java index 1c3359a8463..40fabe10ef4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/inputtablekind/InMemoryKeyBacked.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/inputtablekind/InMemoryKeyBacked.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.createinputtablerequest.inputtablekind; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/inputtablekind/KindCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/inputtablekind/KindCase.java index 011fec8e4f6..4c8e18b97a9 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/inputtablekind/KindCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/createinputtablerequest/inputtablekind/KindCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.createinputtablerequest.inputtablekind; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/literal/ValueCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/literal/ValueCase.java index ace83633d72..e4577ef9410 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/literal/ValueCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/literal/ValueCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.literal; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/mathcontext/RoundingModeMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/mathcontext/RoundingModeMap.java index 3170941319f..447dd882ee3 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/mathcontext/RoundingModeMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/mathcontext/RoundingModeMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.mathcontext; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/runchartdownsamplerequest/ZoomRange.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/runchartdownsamplerequest/ZoomRange.java index 9f7482e14da..913b2e04d58 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/runchartdownsamplerequest/ZoomRange.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/runchartdownsamplerequest/ZoomRange.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.runchartdownsamplerequest; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/sortdescriptor/SortDirectionMap.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/sortdescriptor/SortDirectionMap.java index 28d01af2656..c084c3e07ad 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/sortdescriptor/SortDirectionMap.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/sortdescriptor/SortDirectionMap.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.sortdescriptor; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/tablereference/RefCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/tablereference/RefCase.java index 959d3156aa2..6eb2e8d4d93 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/tablereference/RefCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/tablereference/RefCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.tablereference; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/UpdateByOperation.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/UpdateByOperation.java index 86b742e3c27..5f7c5002a24 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/UpdateByOperation.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/UpdateByOperation.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/UpdateByOptions.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/UpdateByOptions.java index 644c24e3fa5..8260565c887 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/UpdateByOptions.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/UpdateByOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/TypeCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/TypeCase.java index 5e6db71bd39..9d2585c5e47 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/TypeCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/TypeCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest.updatebyoperation; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/UpdateByColumn.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/UpdateByColumn.java index 580579aa8c4..53eb085ce94 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/UpdateByColumn.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/UpdateByColumn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest.updatebyoperation; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/UpdateBySpec.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/UpdateBySpec.java index 5e409d46228..d97b7d75c67 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/UpdateBySpec.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/UpdateBySpec.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest.updatebyoperation.updatebycolumn; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/TypeCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/TypeCase.java index c54205811fe..041bac95de4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/TypeCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/TypeCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest.updatebyoperation.updatebycolumn.updatebyspec; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByCumulativeMax.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByCumulativeMax.java index 266b9fb8b2b..d359297ae9b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByCumulativeMax.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByCumulativeMax.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest.updatebyoperation.updatebycolumn.updatebyspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByCumulativeMin.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByCumulativeMin.java index 086fc2d871f..7ca0b2bd838 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByCumulativeMin.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByCumulativeMin.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest.updatebyoperation.updatebycolumn.updatebyspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByCumulativeProduct.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByCumulativeProduct.java index 5b38ca84d01..adc66d438c4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByCumulativeProduct.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByCumulativeProduct.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest.updatebyoperation.updatebycolumn.updatebyspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByCumulativeSum.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByCumulativeSum.java index 5ffa7e38dfd..8e65e0c0757 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByCumulativeSum.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByCumulativeSum.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest.updatebyoperation.updatebycolumn.updatebyspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByEma.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByEma.java index b37e6e80316..8d7c6a349f4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByEma.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByEma.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest.updatebyoperation.updatebycolumn.updatebyspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByFill.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByFill.java index dc98249eadc..52c8ab997cb 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByFill.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/UpdateByFill.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest.updatebyoperation.updatebycolumn.updatebyspec; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/UpdateByEmaOptions.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/UpdateByEmaOptions.java index 88bd25aa48d..d782e0a1bde 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/UpdateByEmaOptions.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/UpdateByEmaOptions.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest.updatebyoperation.updatebycolumn.updatebyspec.updatebyema; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/UpdateByEmaTimescale.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/UpdateByEmaTimescale.java index 9d750c133af..123863ae487 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/UpdateByEmaTimescale.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/UpdateByEmaTimescale.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest.updatebyoperation.updatebycolumn.updatebyspec.updatebyema; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/updatebyematimescale/TypeCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/updatebyematimescale/TypeCase.java index 88e1a726f16..04ed7928a52 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/updatebyematimescale/TypeCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/updatebyematimescale/TypeCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest.updatebyoperation.updatebycolumn.updatebyspec.updatebyema.updatebyematimescale; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/updatebyematimescale/UpdateByEmaTicks.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/updatebyematimescale/UpdateByEmaTicks.java index 8b9c702e5f4..6de2b6d8364 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/updatebyematimescale/UpdateByEmaTicks.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/updatebyematimescale/UpdateByEmaTicks.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest.updatebyoperation.updatebycolumn.updatebyspec.updatebyema.updatebyematimescale; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/updatebyematimescale/UpdateByEmaTime.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/updatebyematimescale/UpdateByEmaTime.java index c340bb510cf..06fffc9f6a2 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/updatebyematimescale/UpdateByEmaTime.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/updatebyrequest/updatebyoperation/updatebycolumn/updatebyspec/updatebyema/updatebyematimescale/UpdateByEmaTime.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.updatebyrequest.updatebyoperation.updatebycolumn.updatebyspec.updatebyema.updatebyematimescale; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/value/DataCase.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/value/DataCase.java index b0993d10e8f..88b3ad17d45 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/value/DataCase.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb/value/DataCase.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb.value; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/BidirectionalStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/BidirectionalStream.java index e6f8374624c..3484901bb05 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/BidirectionalStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/BidirectionalStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/RequestStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/RequestStream.java index 834ccd874aa..ab8811f0f5e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/RequestStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/RequestStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/ResponseStream.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/ResponseStream.java index 442c72427f1..d6cd958a7c3 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/ResponseStream.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/ResponseStream.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb_service; import elemental2.core.Function; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/TableService.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/TableService.java index 7599fc16339..fb53d626782 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/TableService.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/TableService.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb_service; import jsinterop.annotations.JsOverlay; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/TableServiceClient.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/TableServiceClient.java index 31a8f190524..1ebc02af377 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/TableServiceClient.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/TableServiceClient.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb_service; import io.deephaven.javascript.proto.dhinternal.browserheaders.BrowserHeaders; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/UnaryResponse.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/UnaryResponse.java index 82bd4c40df5..2c4fa172523 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/UnaryResponse.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/table_pb_service/UnaryResponse.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.table_pb_service; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/ticket_pb/Ticket.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/ticket_pb/Ticket.java index e45ed83c178..9913f74000e 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/ticket_pb/Ticket.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/ticket_pb/Ticket.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.ticket_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/ticket_pb/TypedTicket.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/ticket_pb/TypedTicket.java index 01d64c485a4..4ee64bfd7a4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/ticket_pb/TypedTicket.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/io/deephaven/proto/ticket_pb/TypedTicket.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.io.deephaven.proto.ticket_pb; import elemental2.core.Uint8Array; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryConstants.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryConstants.java index 80ad6d80916..3462af1d683 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryConstants.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryConstants.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb; import jsinterop.annotations.JsFunction; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryDecoder.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryDecoder.java index baa27c5e302..2bd02826dcb 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryDecoder.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryDecoder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb; import elemental2.core.ArrayBuffer; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryEncoder.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryEncoder.java index 3c15a5778e6..547e2a303bc 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryEncoder.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryEncoder.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryIterator.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryIterator.java index e31f585ee05..4f1d6dd8440 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryIterator.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryIterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryReader.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryReader.java index 0c78e6ccc40..f7b1bfc0c54 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryReader.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryReader.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb; import elemental2.core.ArrayBuffer; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryWriter.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryWriter.java index ae8cfca45d5..e3897182586 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryWriter.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/BinaryWriter.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb; import elemental2.core.ArrayBuffer; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/ExtensionFieldBinaryInfo.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/ExtensionFieldBinaryInfo.java index 408613a5e07..f5e34a9604a 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/ExtensionFieldBinaryInfo.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/ExtensionFieldBinaryInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb; import jsinterop.annotations.JsFunction; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/ExtensionFieldInfo.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/ExtensionFieldInfo.java index a1e92c43455..559d3160493 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/ExtensionFieldInfo.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/ExtensionFieldInfo.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb; import jsinterop.annotations.JsFunction; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/FieldValueArray.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/FieldValueArray.java index da46d45cbdf..8c45612d70b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/FieldValueArray.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/FieldValueArray.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/Map.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/Map.java index b39ed3a644e..785da52b663 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/Map.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/Map.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/Message.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/Message.java index bd5bb6e76df..d45a4a2744b 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/Message.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/Message.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/arith/Int64.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/arith/Int64.java index 66c13a12ad5..47bb917bd8d 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/arith/Int64.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/arith/Int64.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb.arith; import jsinterop.annotations.JsMethod; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/arith/UInt64.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/arith/UInt64.java index 48867958891..2018d4316dd 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/arith/UInt64.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/arith/UInt64.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb.arith; import elemental2.core.JsArray; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/binaryconstants/FieldType.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/binaryconstants/FieldType.java index 7d86a709cac..221cf45e0e1 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/binaryconstants/FieldType.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/binaryconstants/FieldType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb.binaryconstants; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/binaryconstants/WireType.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/binaryconstants/WireType.java index 76f53195a03..8d75cef56d4 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/binaryconstants/WireType.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/binaryconstants/WireType.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb.binaryconstants; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/map/Iterator.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/map/Iterator.java index d5ce69f65a2..66d20354027 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/map/Iterator.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/map/Iterator.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb.map; import jsinterop.annotations.JsPackage; diff --git a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/map/IteratorResult.java b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/map/IteratorResult.java index c4ea458e3c0..3dd01531b18 100644 --- a/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/map/IteratorResult.java +++ b/web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/jspb/map/IteratorResult.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.javascript.proto.dhinternal.jspb.map; import jsinterop.annotations.JsOverlay; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/ColumnStatistics.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/ColumnStatistics.java index 30d047d2cdc..7a72d3806d5 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/ColumnStatistics.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/ColumnStatistics.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data; import java.io.Serializable; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/ConnectToken.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/ConnectToken.java index 3c36bbafcc5..c6ae828f6d0 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/ConnectToken.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/ConnectToken.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data; import elemental2.core.JsString; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/CustomColumnDescriptor.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/CustomColumnDescriptor.java index f4b6e38cdcd..64dba8f8e14 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/CustomColumnDescriptor.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/CustomColumnDescriptor.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data; import java.io.Serializable; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/DeltaUpdates.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/DeltaUpdates.java index a134fc1dd60..f6e3e59a753 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/DeltaUpdates.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/DeltaUpdates.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data; import io.deephaven.web.shared.data.columns.ColumnData; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/LocalDate.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/LocalDate.java index f86f0043102..69a0cc8cc71 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/LocalDate.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/LocalDate.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data; import java.io.Serializable; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/LocalTime.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/LocalTime.java index 19b2757198d..74ea3b1cfb3 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/LocalTime.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/LocalTime.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data; import java.io.Serializable; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/Range.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/Range.java index 549ca174f07..16ef88a4e60 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/Range.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/Range.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data; import javax.annotation.Nonnull; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/RangeSet.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/RangeSet.java index 41398825cc3..c782582a425 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/RangeSet.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/RangeSet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data; import java.io.Serializable; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/ShiftedRange.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/ShiftedRange.java index 42603e4c971..4b1b587be97 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/ShiftedRange.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/ShiftedRange.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data; import java.io.Serializable; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/TableSnapshot.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/TableSnapshot.java index 6e69d88e894..ae5f8870184 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/TableSnapshot.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/TableSnapshot.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data; import io.deephaven.web.shared.data.columns.ColumnData; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/TableSubscriptionRequest.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/TableSubscriptionRequest.java index fb015f4da78..3dc940db123 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/TableSubscriptionRequest.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/TableSubscriptionRequest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data; import javax.annotation.Nullable; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/Viewport.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/Viewport.java index 4b35bdc8bbf..bdc19ce9e39 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/Viewport.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/Viewport.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data; import java.io.Serializable; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/BigDecimalArrayColumnData.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/BigDecimalArrayColumnData.java index 9dd0f254c2d..9a6bed67823 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/BigDecimalArrayColumnData.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/BigDecimalArrayColumnData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data.columns; import java.math.BigDecimal; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/BigIntegerArrayColumnData.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/BigIntegerArrayColumnData.java index 9b5cb3a2778..b9eb9db11fc 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/BigIntegerArrayColumnData.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/BigIntegerArrayColumnData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data.columns; import java.math.BigInteger; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/BooleanArrayColumnData.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/BooleanArrayColumnData.java index 7bf75c7d6ac..487c6592ca2 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/BooleanArrayColumnData.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/BooleanArrayColumnData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data.columns; import java.util.Arrays; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/ByteArrayColumnData.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/ByteArrayColumnData.java index 6adfe8c3cd3..7bbe9a1b710 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/ByteArrayColumnData.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/ByteArrayColumnData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data.columns; import java.util.Arrays; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/CharArrayColumnData.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/CharArrayColumnData.java index cfc717feb4b..22aae999562 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/CharArrayColumnData.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/CharArrayColumnData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data.columns; import java.util.Arrays; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/ColumnData.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/ColumnData.java index 12dbc2af1ae..20817d4672a 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/ColumnData.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/ColumnData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data.columns; import java.io.Serializable; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/DoubleArrayColumnData.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/DoubleArrayColumnData.java index 652eeb65d18..6864217cfb4 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/DoubleArrayColumnData.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/DoubleArrayColumnData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data.columns; import java.util.Arrays; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/FloatArrayColumnData.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/FloatArrayColumnData.java index db8c6b4bb5d..8fd13a5962f 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/FloatArrayColumnData.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/FloatArrayColumnData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data.columns; import java.util.Arrays; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/IntArrayColumnData.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/IntArrayColumnData.java index 229723c99e6..49b1b2e4d86 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/IntArrayColumnData.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/IntArrayColumnData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data.columns; import java.util.Arrays; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/LocalDateArrayColumnData.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/LocalDateArrayColumnData.java index 583bdf61c3f..4fd4226279e 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/LocalDateArrayColumnData.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/LocalDateArrayColumnData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data.columns; import io.deephaven.web.shared.data.LocalDate; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/LocalTimeArrayColumnData.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/LocalTimeArrayColumnData.java index 0693618f793..2e8ddc291c3 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/LocalTimeArrayColumnData.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/LocalTimeArrayColumnData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data.columns; import io.deephaven.web.shared.data.LocalTime; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/LongArrayColumnData.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/LongArrayColumnData.java index 1c9f42f2d97..a9e252568b1 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/LongArrayColumnData.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/LongArrayColumnData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data.columns; import java.util.Arrays; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/ShortArrayColumnData.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/ShortArrayColumnData.java index 5350002a2a6..d8c0540ce96 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/ShortArrayColumnData.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/ShortArrayColumnData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data.columns; import java.util.Arrays; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/StringArrayArrayColumnData.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/StringArrayArrayColumnData.java index 55d548603ad..721e0aabd72 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/StringArrayArrayColumnData.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/StringArrayArrayColumnData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data.columns; import java.util.Arrays; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/StringArrayColumnData.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/StringArrayColumnData.java index 78754bf6777..338402855bf 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/StringArrayColumnData.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/data/columns/StringArrayColumnData.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data.columns; import java.util.Arrays; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/IdentityHashSet.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/IdentityHashSet.java index 6a5d1558b41..20fd14cd31c 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/IdentityHashSet.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/IdentityHashSet.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.fu; import java.util.AbstractSet; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsBiConsumer.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsBiConsumer.java index 4e9c3641052..a51113f8670 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsBiConsumer.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsBiConsumer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.fu; import jsinterop.annotations.JsFunction; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsConsumer.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsConsumer.java index 26c4bad024f..06c2292d1fc 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsConsumer.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsConsumer.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.fu; import jsinterop.annotations.JsFunction; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsFunction.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsFunction.java index f080f3d0020..810561ead48 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsFunction.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsFunction.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.fu; /** diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsProvider.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsProvider.java index e9c3a5e6955..9499fc71ef4 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsProvider.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsProvider.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.fu; import jsinterop.annotations.JsFunction; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsRunnable.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsRunnable.java index be14fe83ec0..5bd1eb2db0b 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsRunnable.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/JsRunnable.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.fu; import jsinterop.annotations.JsFunction; diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/PromiseLike.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/PromiseLike.java index 968c31e003c..2aa87cac406 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/PromiseLike.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/PromiseLike.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.fu; /** diff --git a/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/RemoverFn.java b/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/RemoverFn.java index e36a773088f..b1a3da9f9d2 100644 --- a/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/RemoverFn.java +++ b/web/shared-beans/src/main/java/io/deephaven/web/shared/fu/RemoverFn.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.fu; import jsinterop.annotations.JsFunction; diff --git a/web/shared-beans/src/test/java/io/deephaven/web/shared/data/RangeSetTest.java b/web/shared-beans/src/test/java/io/deephaven/web/shared/data/RangeSetTest.java index 00e8e94a013..d28a702bbbb 100644 --- a/web/shared-beans/src/test/java/io/deephaven/web/shared/data/RangeSetTest.java +++ b/web/shared-beans/src/test/java/io/deephaven/web/shared/data/RangeSetTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data; import com.google.common.collect.Collections2; diff --git a/web/shared-beans/src/test/java/io/deephaven/web/shared/data/RangeTest.java b/web/shared-beans/src/test/java/io/deephaven/web/shared/data/RangeTest.java index 19560e680a2..3729b56a974 100644 --- a/web/shared-beans/src/test/java/io/deephaven/web/shared/data/RangeTest.java +++ b/web/shared-beans/src/test/java/io/deephaven/web/shared/data/RangeTest.java @@ -1,6 +1,6 @@ -/** - * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending - */ +// +// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending +// package io.deephaven.web.shared.data; import org.junit.Test;